I ran "mvn appfuse:gen -Dentity=Status" on my Status model object. Its a
pretty simple Class with a name, description and a couple o booleans - plus
my standard AuditInfo fields (who, where, what, when for add and last
update).

When I run "mvn jetty:run", I can select the menu entry "Status List" and it
shows me a great looking form with a list of all Status objects in the
database. The address bar at the top shows
"http://localhost:8080/statuss.html";.

When I click on one of the rows displayed, I get an absolutely blank page
with this in the address "http://localhost:8080/editStatus.html?id=1";.

No errors in the maven/jetty console.

Here are the JSP pages in src/main/webapp/WEB-INF/pages:

prompt:pages rnmixon$ pwd 
/Users/rnmixon/ProjectSource/paratale/src/main/webapp/WEB-INF/pages
prompt:pages rnmixon$ ls
admin
dataAccessFailure.jsp
mainMenu.jsp
pickList.jsp
signup.jsp
statusForm.jsp
statusList.jsp
uploadDisplay.jsp
uploadForm.jsp
userForm.jsp
userTextForm.jsp
userTextList.jsp


And here is the struts.xml entry:

  <!--StatusAction-START-->
  <action name="statuss"
class="com.dsbg.paratale.webapp.action.StatusAction" method="list">
    <result>/WEB-INF/pages/statusList.jsp</result>
  </action>

  <action name="editStatus"
class="com.dsbg.paratale.webapp.action.StatusAction" method="edit">
    <result>/WEB-INF/pages/statusForm.jsp</result>
    <result name="error">/WEB-INF/pages/statusList.jsp</result>
  </action>

  <action name="saveStatus"
class="com.dsbg.paratale.webapp.action.StatusAction" method="save">
    <result name="input">/WEB-INF/pages/statusForm.jsp</result>
    <result name="cancel" type="redirect">statuss.html</result>
    <result name="delete" type="redirect">statuss.html</result>
    <result name="success" type="redirect">statuss.html</result>
  </action>
  <!--StatusAction-END-->


I did the same for a more complex class and get the same results. I've
searched Nabble using every conceivable keyword - but have not found a
similar problem.

Thanks for any help/advice on fixing this.
-- 
View this message in context: 
http://www.nabble.com/appfuse%3Agen---generated-list-form-works-fine%2C-edit-form-is-all-blank-tp15949459s2369p15949459.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to