This content has been marked as final.
Show 37 replies
-
15. Re: adding a new row
waq Jan 20, 2010 7:24 AM (in response to nbelaevski)yes Nick
<
rich:column>
<h:outputText value="#{row}"/>
</rich:column>
this shows the index number correctly in the table starting from 0 and so on.
.JAVA
private
int topicIndex;
public
void removeTopicRow() {
System.
out.println("index is ....... " + this.getTopicIndex());
topicList.remove(this.getTopicIndex());
}
//end removeTopicRow()
However this SOP statement always shows the value of index 0
-
16. Re: adding a new row
nbelaevski Jan 20, 2010 8:18 AM (in response to waq)No, not rendered, but updated. -
17. Re: adding a new row
waq Jan 20, 2010 8:26 AM (in response to nbelaevski)what do u mean by update?
What i found it is that when i click a button to add a row, the setter for topicIndex is not being called.
-
18. Re: adding a new row
waq Jan 20, 2010 11:25 AM (in response to waq)ok i figured it out the issue behind the exception(illegalStateException). We need to call FacesContext.getCurrentInstance() in the method instead of calling in the class scope.
But that delete row issue is still there. Any help? -
19. Re: adding a new row
waq Jan 26, 2010 12:49 PM (in response to waq)any suggestion on what i m doing wrong while deleting the row? -
-
21. Re: adding a new row
waq Jan 27, 2010 8:41 AM (in response to nbelaevski)setPropertyActionListener is not available i my core lib -
22. Re: adding a new row
nbelaevski Jan 27, 2010 3:19 PM (in response to waq)Hmm, what are JSF & RF versions used? -
23. Re: adding a new row
waq Jan 28, 2010 3:35 AM (in response to nbelaevski)JSF RI 1.2
TOMCAT 6RF 3.3.0
-
24. Re: adding a new row
nbelaevski Jan 28, 2010 5:48 AM (in response to waq)Then f:setPropertyActionListener tag should be available. -
25. Re: adding a new row
ilya_shaikovsky Jan 28, 2010 5:48 AM (in response to waq)but as you could see we using it within the same JSF environment at rf-demo -
26. Re: adding a new row
waq Jan 28, 2010 5:52 AM (in response to ilya_shaikovsky)strange, is there any upgrades requried? -
27. Re: adding a new row
nbelaevski Jan 28, 2010 6:22 AM (in response to waq)Try updating to the latest JSF 1.2 version. -
-
29. Re: adding a new row
nbelaevski Jan 28, 2010 7:09 AM (in response to waq)Is it the latest version of 1.2?