Results 1 to 3 of 3
- 10-29-2012, 03:18 PM #1
Member
- Join Date
- Oct 2012
- Posts
- 1
- Rep Power
- 0
Using JSF and EJB to develop a simple CRUD application from scratch...
I have been using JAVA for some time now, but have just decided to delve into Web Applications using JSF. In my understanding, it's always best on understand the very fundamentals of creating, reading, updating and deleting an application to really get a good start in Enterprise application development.
I am trying to build a simple enterprise application using jsf and ejb session beans and entity classes for java db, the entity class has three fields; id, firstname, and lastname. I can persist the data to the database, but i am stuck on finding a particular record using the usual find method with the id parameter, and i can't find a way out. I get this error message; Unable to find matching navigation case with from-view-id '/finder.xhtml' for action '#{identity.find(identity.itable.id)}' with outcome 'entities.identitytable[ id=51 ]'
I have a class name finder.xhtml, a managed bean named identity and this is the main code in the finder.xhtml file if necessary
<h:body>
<h2>Welcome to Record Finder!</h2>
<f:view>
<h:form>
<h:panelGrid id="panel" columns="2">
<h:panelGroup/>
<h:messages for="panel"/>
<h:inputText id="searchtext" title="Enter Search Text" value="#{identity.itable.id}"/>
<h:commandButton id="searchbutton" value="Find" action="#{identity.find(identity.itable.id)}"/>
<h:outputLabel value="First Name:" for="firstname"/>
<h:outputText id="firstname" value="#{identity.itable.setFirstname(identity.ita ble.firstname)}"/>
<h:outputLabel value="Last Name:" for="lastname"/>
<h:outputText id="lastname" value="#{identity.itable.lastname}"/>
</h:panelGrid>
</h:form>
</f:view>
</h:body>
please help me so i can proceed....
- 10-29-2012, 04:24 PM #2
Re: Using JSF and EJB to develop a simple CRUD application from scratch...
Please go through the Forum Rules -- particularly the second paragraph. The duplicate thread you started in Advanced Java has been removed.
Please also go through Guide For New Members and BB Code List - Java Programming Forum and edit your post accordingly.
db
edit Also removed the triplicate thread from New to Java.Why do they call it rush hour when nothing moves? - Robin Williams
- 10-29-2012, 04:28 PM #3
Re: Using JSF and EJB to develop a simple CRUD application from scratch...
Why do they call it rush hour when nothing moves? - Robin Williams
Similar Threads
-
Develop Java Database Application
By rona in forum Advanced JavaReplies: 4Last Post: 12-31-2012, 12:53 PM -
Java Application for handling records(CRUD)
By salmanmanekia in forum XMLReplies: 0Last Post: 04-11-2012, 05:05 PM -
"CRUD"(java desktop database application) in java application posible???
By juliarjan in forum AWT / SwingReplies: 0Last Post: 11-25-2011, 06:16 AM -
How to develop a standalone application using java
By santhoshkeleti in forum New To JavaReplies: 2Last Post: 11-15-2011, 06:21 PM -
CRUD J2EE Application
By Assaf A in forum EclipseReplies: 1Last Post: 10-28-2008, 12:29 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks