File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes getWrappedData does not return right value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "getWrappedData does not return right value" Watch "getWrappedData does not return right value" New topic
Author

getWrappedData does not return right value

Sveta Milenkovic
Greenhorn

Joined: Feb 27, 2010
Posts: 1
JSP page

<h:form>
<h:dataTable width="100%" value="#{Korisnik.allTestQue}" var="item" columnClasses="box1">

<h:column>
<h:inputTextarea value="#{item.postavkaPitanja}" readonly="true" rows="20" cols="75"/>

<h:inputText value="#{item.stuOdg1}" size="3" rendered="#{ item.odg1}" />

<h:inputText value="#{item.stuOdg2}" size="3" rendered="#{ item.odg2}" />

<h:inputText value="#{item.stuOdg3}" size="3" rendered="#{ item.odg3}" />

<h:inputText value="#{item.stuOdg4}" size="3" rendered="#{ item.odg4}" />

</h:column>

</h:dataTable>

<div align="center"> <h:commandButton value="POTVRDI" action="#{Korisnik.saveAnswers}"> </h:commandButton></div>

</h:form>


This form displays some records from DataTable. So far it is everything ok . Method "saveAnswers" should be saving that list of objects , but
when i try to retrieve that datamodel with method getWrappedData it returns some other values ??? :-/
I cannot explain logicaly why it does not return values that are displayed in JSP page properly .
Any ideas?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getWrappedData does not return right value