Rob, thanks - but its simpler than that. I just found a reference. I had to search for "empty" pages instead of "blank" pages. http://www.nabble.com/Some-mvn-appfuse%3Agen-resulting-in-empty-pages-tt13462198s2369.html#a13462198 http://www.nabble.com/Some-mvn-appfuse%3Agen-resulting-in-empty-pages-tt13462198s2369.html#a13462198
The gen goal tries to handle a many-to-one table reference using a "<s:select" tag, but it causes the page to show blank. Deleting the tag appears to fix everything. Rob Hills wrote: > > 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] > > > -- View this message in context: http://www.nabble.com/appfuse%3Agen---generated-list-form-works-fine%2C-edit-form-is-all-blank-tp15949459s2369p15951721.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]
