Hi Richard,
Richard M wrote:
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.
Whenever I've seen this behaviour, it's usually been caused by a Null
value in one of the variables in a JSP page (whether an EL variable or a
Struts variable or an OGNL expression/variable or whatever).
I'd troubleshoot it by commenting out everything except the page headers
and a bit of static text with jsp comments ( <%-- --%>) to prove that
that was indeed the problem (ie the page would then render something),
then move the comments around, including more and more dynamic stuff
until I located the cause of the problem.
One thing to watch out for with this technique is null variable values
in included pages (eg header.jsp etc.) or the page headers themselves.
HTH,
Rob Hills
Waikiki, Western Australia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]