[
http://jira.jboss.com/jira/browse/RF-1506?page=all ]
Nick Belaevski updated RF-1506:
-------------------------------
Summary: Toggle panel cant be closed/opened (was: Toggle panel cant be
closed/opened on the page with Ordering list)
Fix Version/s: 3.2.0
Description:
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
<rich:orderingList id="orderingListID"
value="#{orderingList.list}" var="item"
listHeight="#{orderingList.listHeight}"
listWidth="#{orderingList.listWidth}"
controlsType="#{orderingList.controlsType}"
converter="orderingListConverter"
bottomControlLabel="#{orderingList.bottomControlLabel}"
captionLabel="#{orderingList.captionLabel}"
topControlLabel="#{orderingList.topControlLabel}"
upControlLabel="#{orderingList.upControlLabel}"
controlsHorizontalAlign="#{orderingList.controlsHorizontalAlign}"
controlsVerticalAlign="#{orderingList.controlsVerticalAlign}"
headerLabel="#{orderingList.headerLabel}"
downControlLabel="#{orderingList.downControlLabel}"
orderControlsVisible="#{orderingList.orderControlsVisible}"
fastOrderControlsVisible="#{orderingList.fastOrderControlsVisible}"
rendered="#{orderingList.rendered}"
showButtonLabels="#{orderingList.showButtonLabels}"
selection="#{orderingList.selection}">
<f:facet name="header">
<h:outputText value="header" />
</f:facet>
<f:facet name="footer">
<h:outputText value="footer" />
</f:facet>
<h:column width="100px">
<f:facet name="header">
<h:outputText value="Number" />
</f:facet>
<h:outputText value="#{item.int0}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Input" />
</f:facet>
<h:inputText value="#{item.str0}" />
</h:column>
<h:column width="100px">
<f:facet name="header">
<h:outputText value="Button" />
</f:facet>
<h:commandButton onclick="submit();"
action="#{orderingList.cbAction}" value="#{item.str0} submit();"
/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Input" />
</f:facet>
<h:inputText value="#{item.str1}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Link" />
</f:facet>
<a4j:commandLink action="#{orderingList.clAction}"
onclick="submit()" value="#{item.str1} submit()"
reRender="orderingListID"></a4j:commandLink>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="select" />
</f:facet>
<h:selectOneMenu value="#{item.str2}">
<f:selectItem itemLabel="select0" itemValue="select0" />
<f:selectItem itemLabel="select1" itemValue="select1" />
<f:selectItem itemLabel="select2" itemValue="select2" />
<f:selectItem itemLabel="select3" itemValue="select3" />
<f:selectItem itemLabel="select4" itemValue="select4" />
<a4j:support event="onclick"
action="submit();"></a4j:support>
</h:selectOneMenu>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Text" />
</f:facet>
<h:outputText value="#{item.str3}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="graphicImage" />
</f:facet>
<h:graphicImage value="#{item.str3}" />
</h:column>
</rich:orderingList>
JS error occurs
was:
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
<rich:orderingList id="orderingListID"
value="#{orderingList.list}" var="item"
listHeight="#{orderingList.listHeight}"
listWidth="#{orderingList.listWidth}"
controlsType="#{orderingList.controlsType}"
converter="orderingListConverter"
bottomControlLabel="#{orderingList.bottomControlLabel}"
captionLabel="#{orderingList.captionLabel}"
topControlLabel="#{orderingList.topControlLabel}"
upControlLabel="#{orderingList.upControlLabel}"
controlsHorizontalAlign="#{orderingList.controlsHorizontalAlign}"
controlsVerticalAlign="#{orderingList.controlsVerticalAlign}"
headerLabel="#{orderingList.headerLabel}"
downControlLabel="#{orderingList.downControlLabel}"
orderControlsVisible="#{orderingList.orderControlsVisible}"
fastOrderControlsVisible="#{orderingList.fastOrderControlsVisible}"
rendered="#{orderingList.rendered}"
showButtonLabels="#{orderingList.showButtonLabels}"
selection="#{orderingList.selection}">
<f:facet name="header">
<h:outputText value="header" />
</f:facet>
<f:facet name="footer">
<h:outputText value="footer" />
</f:facet>
<h:column width="100px">
<f:facet name="header">
<h:outputText value="Number" />
</f:facet>
<h:outputText value="#{item.int0}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Input" />
</f:facet>
<h:inputText value="#{item.str0}" />
</h:column>
<h:column width="100px">
<f:facet name="header">
<h:outputText value="Button" />
</f:facet>
<h:commandButton onclick="submit();"
action="#{orderingList.cbAction}" value="#{item.str0} submit();"
/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Input" />
</f:facet>
<h:inputText value="#{item.str1}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Link" />
</f:facet>
<a4j:commandLink action="#{orderingList.clAction}"
onclick="submit()" value="#{item.str1} submit()"
reRender="orderingListID"></a4j:commandLink>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="select" />
</f:facet>
<h:selectOneMenu value="#{item.str2}">
<f:selectItem itemLabel="select0" itemValue="select0" />
<f:selectItem itemLabel="select1" itemValue="select1" />
<f:selectItem itemLabel="select2" itemValue="select2" />
<f:selectItem itemLabel="select3" itemValue="select3" />
<f:selectItem itemLabel="select4" itemValue="select4" />
<a4j:support event="onclick"
action="submit();"></a4j:support>
</h:selectOneMenu>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Text" />
</f:facet>
<h:outputText value="#{item.str3}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="graphicImage" />
</f:facet>
<h:graphicImage value="#{item.str3}" />
</h:column>
</rich:orderingList>
Assignee: Pavel Yaschenko (was: Nick Belaevski)
Priority: Critical (was: Major)
Toggle panel cant be closed/opened
----------------------------------
Key: RF-1506
URL:
http://jira.jboss.com/jira/browse/RF-1506
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Reporter: Alexander Francuzov
Assigned To: Pavel Yaschenko
Priority: Critical
Fix For: 3.2.0
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
<rich:orderingList id="orderingListID"
value="#{orderingList.list}" var="item"
listHeight="#{orderingList.listHeight}"
listWidth="#{orderingList.listWidth}"
controlsType="#{orderingList.controlsType}"
converter="orderingListConverter"
bottomControlLabel="#{orderingList.bottomControlLabel}"
captionLabel="#{orderingList.captionLabel}"
topControlLabel="#{orderingList.topControlLabel}"
upControlLabel="#{orderingList.upControlLabel}"
controlsHorizontalAlign="#{orderingList.controlsHorizontalAlign}"
controlsVerticalAlign="#{orderingList.controlsVerticalAlign}"
headerLabel="#{orderingList.headerLabel}"
downControlLabel="#{orderingList.downControlLabel}"
orderControlsVisible="#{orderingList.orderControlsVisible}"
fastOrderControlsVisible="#{orderingList.fastOrderControlsVisible}"
rendered="#{orderingList.rendered}"
showButtonLabels="#{orderingList.showButtonLabels}"
selection="#{orderingList.selection}">
<f:facet name="header">
<h:outputText value="header" />
</f:facet>
<f:facet name="footer">
<h:outputText value="footer" />
</f:facet>
<h:column width="100px">
<f:facet name="header">
<h:outputText value="Number" />
</f:facet>
<h:outputText value="#{item.int0}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Input" />
</f:facet>
<h:inputText value="#{item.str0}" />
</h:column>
<h:column width="100px">
<f:facet name="header">
<h:outputText value="Button" />
</f:facet>
<h:commandButton onclick="submit();"
action="#{orderingList.cbAction}" value="#{item.str0} submit();"
/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Input" />
</f:facet>
<h:inputText value="#{item.str1}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Link" />
</f:facet>
<a4j:commandLink action="#{orderingList.clAction}"
onclick="submit()" value="#{item.str1} submit()"
reRender="orderingListID"></a4j:commandLink>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="select" />
</f:facet>
<h:selectOneMenu value="#{item.str2}">
<f:selectItem itemLabel="select0" itemValue="select0" />
<f:selectItem itemLabel="select1" itemValue="select1" />
<f:selectItem itemLabel="select2" itemValue="select2" />
<f:selectItem itemLabel="select3" itemValue="select3" />
<f:selectItem itemLabel="select4" itemValue="select4" />
<a4j:support event="onclick"
action="submit();"></a4j:support>
</h:selectOneMenu>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Text" />
</f:facet>
<h:outputText value="#{item.str3}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="graphicImage" />
</f:facet>
<h:graphicImage value="#{item.str3}" />
</h:column>
</rich:orderingList>
JS error occurs
--
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