[
https://jira.jboss.org/jira/browse/RF-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsikhon Kuprevich closed RF-3237.
---------------------------------
> When using SuggestionBoxes into a DataTable it only works in the first row
> --------------------------------------------------------------------------
>
> Key: RF-3237
> URL: https://jira.jboss.org/jira/browse/RF-3237
> Project: RichFaces
> Issue Type: Bug
> Components: planning_all
> Affects Versions: 3.2.0.SR1
> Environment: Operative System: Windows Vista SP1
> Java Version: 1.6.0
> Reporter: Oscar De Moya
> Assignee: Tsikhon Kuprevich
> Fix For: 3.3.0
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> I'm doing a table with a column of InputTexts and SuggestionBoxes, but the
> suggestion only appears for the first input and for the others it gives me an
> "Unspected Error" in IE7 (it doesn't works on firefox neither). There's a
> portion of the code:
> <rich:tab label="Replies">
> <rich:dataTable id="replyList" value="#{mbUser.userReplyList}"
> var="userReply" rowClasses="cursor_hand"
> rowKeyVar="rowIndex"
> onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
>
> onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'">
> <h:column>
> <h:panelGroup>
> <h:inputText id="attribute" value="#{userReply.attribute}" />
> <rich:suggestionbox id="replySuggestions" for="attribute"
> width="100" height="100"
> suggestionAction="#{mbUser.autocompleteUsers}"
> var="user" selfRendered="true">
> <h:column>
> <h:outputText id="out" value="#{user.userName}" />
> </h:column>
> </rich:suggestionbox>
> </h:panelGroup>
> </h:column>
> <h:column>
> <rich:inplaceSelect defaultLabel="#{userReply.operator}"
> viewClass="inplace" changedClass="inplace" layout="block"
> changedHoverClass="inplace_hover"
> viewHoverClass="inplace_hover">
> <f:selectItem itemValue="0" itemLabel="==" />
> <f:selectItem itemValue="1" itemLabel="!=" />
> <f:selectItem itemValue="2" itemLabel=">" />
> <f:selectItem itemValue="3" itemLabel="<" />
> </rich:inplaceSelect>
> <f:facet name="footer">
> <h:panelGroup>
> <rich:inplaceSelect
> viewClass="inplace" changedClass="inplace"
> layout="block"
> changedHoverClass="inplace_hover"
> viewHoverClass="inplace_hover">
> <f:selectItem itemValue="0" itemLabel="==" />
> <f:selectItem itemValue="1" itemLabel="!=" />
> <f:selectItem itemValue="2" itemLabel=">" />
> <f:selectItem itemValue="3" itemLabel="<" />
> </rich:inplaceSelect>
> </h:panelGroup>
> </f:facet>
> </h:column>
> <h:column>
> <rich:inplaceInput value="#{userReply.value}" layout="block"
> viewClass="inplace" changedClass="inplace"
> changedHoverClass="inplace_hover"
> viewHoverClass="inplace_hover" />
> <f:facet name="footer">
> <rich:inplaceInput layout="block"
> viewClass="inplace" changedClass="inplace"
> changedHoverClass="inplace_hover"
> viewHoverClass="inplace_hover" />
> </f:facet>
> </h:column>
>
> <rich:componentControl event="onRowClick">
> <f:param value="#{userReply.id}" name="userReplyId" />
> </rich:componentControl>
> </rich:dataTable>
> </rich:tab>
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues