[richfaces-issues] [JBoss JIRA] Assigned: (RF-1015) Togglecontrol component doesn't rendered
Sergey Halipov (JIRA)
jira-events at lists.jboss.org
Wed Oct 3 10:24:04 EDT 2007
[ http://jira.jboss.com/jira/browse/RF-1015?page=all ]
Sergey Halipov reassigned RF-1015:
----------------------------------
Assignee: Maksim Kaszynski (was: Sergey Halipov)
Fixed in trunk. Revision 3225.
> Togglecontrol component doesn't rendered
> ----------------------------------------
>
> Key: RF-1015
> URL: http://jira.jboss.com/jira/browse/RF-1015
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.1
> Reporter: Ilya Shaikovsky
> Assigned To: Maksim Kaszynski
> Fix For: 3.2.0
>
>
> <rich:togglePanel id="panel" initialState="empty"
> switchType="client">
> <f:facet name="first">
> <h:panelGroup>
> <rich:toggleControl for="helloForm:panel" value="Empty "
> switchToState="empty"/>
> <rich:toggleControl for="helloForm:panel" value=" Second"
> switchToState="second"/>
> </h:panelGroup>
> </f:facet>
> <f:facet name="second">
> <h:panelGroup>
> <rich:toggleControl for="helloForm:panel" value="Empty "
> switchToState="empty"/>
> <rich:toggleControl for="helloForm:panel" value=" first"
> switchToState="first"/>
> </h:panelGroup>
> </f:facet>
> <f:facet name="empty">
> <h:panelGroup>
> <rich:toggleControl for="helloForm:panel" value="first "
> switchToState="first"/>
> <rich:toggleControl for="helloForm:panel" value=" second"
> switchToState="second"/>
> </h:panelGroup>
> </f:facet>
> </rich:togglePanel>
> Nothing rendered on the page. If I change switchType to ajax for example - links are appear.
> User that reproted this doesn't use faselets and under JSP he has:
> Stack Trace?
> java.lang.IllegalArgumentException: Component j_id_jsp_407121277_4 attribute switchToState must be a
> value reference, was empty
> at org.ajax4jsf.webapp.taglib.UIComponentTagBase.setValueBinding(UIComponentTagBase.java:375)
> at org.richfaces.taglib.ToggleControlTag.setProperties(ToggleControlTag.java:977)
> at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:209)
> at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:476)
--
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