-
1. Re: rich:jQuery
bleathem Oct 28, 2013 12:06 PM (in response to csobotka)Can you provide a http://sscce.org/ sample I can run locally?
-
2. Re: Re: rich:jQuery
csobotka Oct 31, 2013 7:25 PM (in response to bleathem)Well I'm not sure exactly what you need, but I'm working in a maven project that uses JSF 2.2, Richfaces 4.3.3.Final and servlet-api-2.5.
The following code in a *.xhtml file will give the same Richfaces not defined exception:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:rich="http://richfaces.org/rich" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j" xmlns:t="http://myfaces.apache.org/tomahawk"> <html> <h:head> <rich:jQuery selector="#test" query="addClass('tested')" /> </h:head> <h:body> <input type="text" id="test" /> </h:body> </html> </f:view>
When the html renders for the client, I can see the richfaces javascript files being included in the body of the document rather than the head. Hopefully this is what you were looking for.
Edit: Is there a certain way to add <code> to these responses? The tag isn't working here for me.
-
3. Re: Re: rich:jQuery
bleathem Oct 31, 2013 7:27 PM (in response to csobotka)Sounds like a bug. Can you file a RichFaces jira issue?
https://issues.jboss.org/browse/RF
As for embedding code blocks, you'll have to use the GUI toolbar. Please file a jboss.org jira requesting this feature. It's much more meaningful to the site ops when these request come from users rather than us.