This content has been marked as final.
Show 7 replies
-
1. Re: rich:dataTable problem
sergeysmirnov Apr 11, 2007 2:52 PM (in response to eda)"eda" wrote:
if i change value of component then i submit the form. at the backing bean i can read the value of dataTable after changed;but if i just only change rich:dataTable to h:dataTable ,i can get the value what i change.
I am not sure I understand what you want and what you get in both cases (rich: and h:). Could you clarify this please. -
2. Re: rich:dataTable problem
eda Apr 11, 2007 8:29 PM (in response to eda)thank you for you reply
for example:
<rich:column>
<h:inputText value="#{queryCondition.word}"></h:inputText>
</rich:column>
the column can be input and edit
if i input the any word in the column i can't get the column through
#{packQueryPage.ciqQueryCondition},when the tag is rich:datatable and rich:column;but if i use the tag h:datatable and h:column i can get the value what i input.
this is my test codepublic class PackCIQQueryCondition { private String logic; private String item; private String relation; private String word; public PackCIQQueryCondition() { this.logic = ""; this.item = ""; this.relation = ""; this.word = ""; } public PackCIQQueryCondition(String item) { this.logic = ""; this.item = item; this.relation = ""; this.word = ""; } public String getLogic() { return logic; } public void setLogic(String logic) { this.logic = logic; } public String getItem() { return item; } public void setItem(String item) { this.item = item; } public String getRelation() { return relation; } public void setRelation(String relation) { this.relation = relation; } public String getWord() { return word; } public void setWord(String word) { this.word = word; } } public String searchAction() { System.out.print(this.fromDate); System.out.println(this.fromDate); System.out.print(orderby); for(PackCIQQueryCondition condition:ciqQueryCondition) { System.out.print(condition.getItem() + " " + " " + condition.getWord() + "xiame"); } return "CIQSearch"; }
-
3. Re: rich:dataTable problem
sergeysmirnov Apr 11, 2007 8:39 PM (in response to eda)What the version of richfaces you use - 3.0.0 or one of the latest 3.0.1 snapshot ?
-
-
-
6. Re: rich:dataTable problem
sergeysmirnov Apr 11, 2007 8:52 PM (in response to eda)with facelets or without ?
-