[richfaces-issues] [JBoss JIRA] Commented: (RF-7152) a4j:queue generated JS Code should be placed like queue definition in jsp code

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri May 15 06:44:46 EDT 2009


    [ https://jira.jboss.org/jira/browse/RF-7152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12467739#action_12467739 ] 

Nick Belaevski commented on RF-7152:
------------------------------------

Gerrit,

We've discussed such options. The problem is that we cannot affect FORM rendering if we don't redefine renderer for h:form component. But redefining the renderer is dangerous, because renderer behavior is implementation-dependent (e.g. JSF RI and MyFaces use different scripts supporting h:commandLink components). 

You can try to load combined script by a4j:loadScript component.   

> a4j:queue generated JS Code should be placed like queue definition in jsp code
> ------------------------------------------------------------------------------
>
>                 Key: RF-7152
>                 URL: https://jira.jboss.org/jira/browse/RF-7152
>             Project: RichFaces
>          Issue Type: Feature Request
>    Affects Versions: 3.3.1
>            Reporter: Gerrit Brehmer
>
> We are using LoadScriptStrategy=NONE to load all necessary script files inside one http-request (by packaging and minimizing/obfuscating with Jawr/yuicompressor). Because a4j:queue will generate JavaScript-Code at the top of the head, we couldn't use this generated snippet, because our file (with RichFaces AjaxScript.js inside) will be loaded after that.
> Is it possible to generate JS Code near the form (for form-based-queue) or at the top of the view (view-based), but inside of body instead of head?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list