This content has been marked as final.
Show 5 replies
-
1. Re: A couple of issues
ilya_shaikovsky Oct 9, 2009 8:30 AM (in response to zjda)1) already fixed and targeted to 3.3.2 SP which should be released soon.
2) which broweser? -
2. Re: A couple of issues
zjda Oct 9, 2009 1:14 PM (in response to zjda)Thanks, Ilya.
The problem 2 can be produced on IE, FF and Safari. The cause of the problem is that I put the rich:inplaceInput inside rich:treeNode:<rich:treeNode type="Text"> <h:panelGrid columns="3" > <h:outputLabel value="#{propItem.name}:" for="text_property" /> <rich:inplaceInput id="text_property" defaultLabel="Click to edit" value="#{propItem.stringValue}"> </rich:inplaceInput> <h:message for="text_property" errorClass="ValidateError" /> </h:panelGrid> </rich:treeNode>
I think that the parent component of rich:inplaceInput handles the key events and don't pass them to its children. Also, when the editor is activated for rich:inplaceInput with no value, the editor initially displays the defaultLabel "Click to edit", which should be empty. Therefore, if it exits edit state, the value in the back bean will be set to "Click to edit".
There is another issue related to rich:extendedDataTable:<rich:extendedDataTable value="#{childrenTable}" var="row" rows="6" id="childrenTable" width="100%" height="175px" selection="#{childrenTable.selection}" enableContextMenu="false" tableState="#{childrenTable.tableState}" binding="#{uiTable}" style="position:relative;" sortMode="multi"> <rich:column sortable="false" width="25px"> <h:graphicImage value="#{row.icon}" /> </rich:column> <rich:columns value="#{childrenTable.propertyNames}" sortable="true" sortBy="#{propName}" var="propName" index="index" id="column#{index}" sortOrder="#{childrenTable.sortOrders[propName]}"> <f:facet name="header"> <h:outputText value="#{propName}" /> </f:facet> <h:outputText value="#{row.map[propName]}" /> </rich:columns> </rich:extendedDataTable>
Initially it dispalys correctly with the icon column first. After I left the page then came back, however, the icon column would be the last column. This problem has been seen for long time.
Again, your helps are appreciated.
-ZJ -
3. Re: A couple of issues
ilya_shaikovsky Oct 12, 2009 5:48 AM (in response to zjda)I will investigate problem with inplace now and just want to add quick quiestion to the next extendeDataTable case. I think there is something about tableState and binding. 1) check that bindign request scoped. And 2) check if the table state object is unique for that table.
-
4. Re: A couple of issues
ilya_shaikovsky Oct 12, 2009 7:58 AM (in response to zjda)thanks for the report on inplaces!
https://jira.jboss.org/jira/browse/RF-7974 -
5. Re: A couple of issues
zjda Oct 12, 2009 2:29 PM (in response to zjda)Hi Ilya,
You are right that I have 2 tables bind to one HtmlExtendedDataTable instance. After separating them, it works fine.
Thank you very much,
-ZJ