[richfaces-issues] [JBoss JIRA] Closed: (RF-2301) rich:simpleTogglePanel is not AJAX switchType friendly when org.ajax4jsf.xmlparser.ORDER is NONE

Mike Hanafey (JIRA) jira-events at lists.jboss.org
Wed Feb 20 10:05:42 EST 2008


     [ http://jira.jboss.com/jira/browse/RF-2301?page=all ]

Mike Hanafey closed RF-2301.
----------------------------

    Resolution: Duplicate Issue

Duplicate of http://jira.jboss.com/jira/browse/RF-2303

> rich:simpleTogglePanel is not AJAX switchType friendly when org.ajax4jsf.xmlparser.ORDER is NONE
> ------------------------------------------------------------------------------------------------
>
>                 Key: RF-2301
>                 URL: http://jira.jboss.com/jira/browse/RF-2301
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.4
>            Reporter: Mike Hanafey
>
> The following simple Facelets page does not work for the simple toggle panel with switch type "ajax" if org.ajax4jsf.xmlparser.ORDER is NONE:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
>         xmlns:ui="http://java.sun.com/jsf/facelets"
>         xmlns:h="http://java.sun.com/jsf/html"
>         xmlns:f="http://java.sun.com/jsf/core"
>         xmlns:rich="http://richfaces.org/rich"
>         xmlns:a4j="http://richfaces.org/a4j">
> <head>
>     <title>Test</title>
> </head>
> <body>
> <span style="display:none">#{a4j.version}</span>
> <a4j:log hotkey="M"/>
> <a4j:form>
>     <h:panelGrid columns="3" width="100%">
>         <rich:simpleTogglePanel switchType="server" label="Server Switch Type">
>             The regular JSF form submission is processed during the changing mode between
>             showing and hidding the additional content.
>         </rich:simpleTogglePanel>
>         <rich:simpleTogglePanel switchType="ajax" label="Ajax Switch Type">
>             This type allows to perform the partual view update instead of the
>             whole page reloading. You also can point to other areas of the view
>             to be re-rendered while the panel content is toggled.
>         </rich:simpleTogglePanel>
>         <rich:simpleTogglePanel switchType="client" label="Client Switch Type">
>             The switching between showing and hiding the toggle panel content
>             performs on the client side.
>         </rich:simpleTogglePanel>
>     </h:panelGrid>
> </a4j:form>
> </body>
> </html>
> If the xmlparser is set to TIDY, the ajax mode does work. The ajax log, and the firebug console show errors. I assume the component itself does not generate clean xml, but the exact issue eludes me...

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

        



More information about the richfaces-issues mailing list