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 tracking changes in an array in a session bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "tracking changes in an array in a session bean" Watch "tracking changes in an array in a session bean" New topic
Author

tracking changes in an array in a session bean

James Howerton
Ranch Hand

Joined: Mar 14, 2009
Posts: 82

Topic
The topic of this question is: debug sessionbean1.java

[icode]
Hello and Thank you in advance for any assistance.
[/icode]



Purpose:



The purpose of this code is to try to find the best way to get a list of what is in the Content[] in the session bean.




Question:



My question concerning this code is the table headers are reflecting the binding for the Sessionbean1.content but the data does not display




Functionality:Based on visual web javaserverfaces app tutorial at :
[url]
http://www.netbeans.org/kb/60/web/web-jpa.html
[/url]



The actual functionality of this code is :

I have two apps one containing the main and an entity class and controller class
The web app has the app.jar files so they are linked.
The MLPController loads the data into Content[] content the JSP is bound to the Sessionbean1.content,the Sessionbean init() and calls the updateContent() to fill the Content[] content I have no Idea what is actually in the content array.




errors:



The errors related to this code there is not data displaying in deployed visual web javaserverfaces table.







Description



Code description the persistence.xml







Description



Code description: table to display







Description



Code description:the Entity class







Description



Code description: the controller class







Description



Code description:The session bean











Thanks again.
-ceyesuma





Solution:I would like to know a way to at least learn how I could somehow track what is actually in the content[]. Is this possible. If it is what is the best way to do this?



The solutions related to this code are





Note:



Note:




 
Consider Paul's rocket mass heater.
 
subject: tracking changes in an array in a session bean