-
1. Re: rich:extendedDataTable questions
nimo22 Feb 3, 2009 9:49 AM (in response to nimo22)Another thing is, when using sortBy-Attribute in column,
then the row with the sortable header is shown.
Is there a possibility to deactive the Sort-Menus in my context-Menu via properties for rich:extendedDataTable. -
2. Re: rich:extendedDataTable questions
ilya_shaikovsky Feb 3, 2009 9:52 AM (in response to nimo22)1) no it's our fault. just forgot to remove this. Stabilization has ben cmpleted for the component till 3.3.0
2) How did you fetch the data from databases or some xml settings files and so on? All just the same. And nothing special with using using RF
3) https://jira.jboss.org/jira/browse/RF-6016 -
3. Re: rich:extendedDataTable questions
ilya_shaikovsky Feb 3, 2009 10:20 AM (in response to nimo22)there is one more issue to turn context menu of at all for the table in our jira.
-
4. Re: rich:extendedDataTable questions
nimo22 Feb 3, 2009 10:39 AM (in response to nimo22)thanks for answering, but how it is saved and how can I set/get the properties from it via code (Are there any examples of using the tableState?) I have something like this:
<rich:extendedDataTable tableState="#{MyTableBean.tableState}" value="#{myData}" var="d"> <rich:column sortBy="#{d.id}"> <f:facet name="header"> <h:outputLabel value="ID"/> </f:facet> <h:outputText value ="#{d.id}"/> </rich:column> <rich:column sortBy="#{d.name}"> <f:facet name="header"> <h:outputLabel value="Name"/> </f:facet> <h:outputText value ="#{d.name}"/> </rich:column> <rich:column sortBy="#{d.age}"> <f:facet name="header"> <h:outputLabel value="Age"/> </f:facet> <h:outputText value ="#{d.age}"/> </rich:column> </rich:extendedDataTable>
class MyTableBean { String tableState; //getter/setter }
The table is rendered and shows the data, but when I change the column-order via the dragn drop, then it stops working. Only the ajax-status for progressing is shown, I have waited appox 20 minutes without result - the ajax-status is show without ending. I have tried it with IE7, GoogleChrome and FireFox 3.0.5, all the same. Is there a know issue about that? -
5. Re: rich:extendedDataTable questions
nimo22 Feb 3, 2009 11:24 AM (in response to nimo22)I have to say, that I bound the value="#{myData}" to SEAMs conversation-scope.
-
6. Re: rich:extendedDataTable questions
ilya_shaikovsky Feb 3, 2009 11:28 AM (in response to nimo22)explore ExtendedDataTableState class API docs.
-
7. Re: rich:extendedDataTable questions
nimo22 Feb 3, 2009 11:39 AM (in response to nimo22)cool,
thats exactly what I was searching for!
thanks -
8. Re: rich:extendedDataTable questions
nimo22 Feb 3, 2009 11:49 AM (in response to nimo22)but unfortunately:( the ajax-status is shown without ending
after dragging columns or sorting headers via the context-menu of the rich:extendedDataTable.
I only see the a4j:status in the middle of the screen without ending.
(by the way, I created a wish for that: https://jira.jboss.org/jira/browse/RF-6020)
I turn on the a4j:log and it returns the following when doing e.g. a change order of columns:debug[17:49:59,972]: Have Event [object Object] with properties: target: [object HTMLSpanElement], srcElement: undefined, type: mouseup debug[17:49:59,973]: Query preparation for form 'null' requested
I use Richfaces 3.3.0. -
9. Re: rich:extendedDataTable questions
nimo22 Feb 3, 2009 11:54 AM (in response to nimo22)Ohhh forget all...sorry sorry, it was my fault.
have forgotten the form-tag around my datatable. My mistake..Now, it works !!!