Hi all (but specifically Craig perhaps)...
I'm putting together my first Shale app, and so far I have much of the
basics down, although it winds up being basically just plain JSF at this
point.
I'm coming up against one thing that I'd like to ask bere... Rick
Reumann was very helpful in providing an answer, but I can't help but
think there must be another...
The problem, which IIRC was discussed a bit here already, is this
situation... imagine I have the typical index.jsp page that is the
default welcome page in web.xml. This page is nothing but a forward to
summary.faces, which is to be a page to display a list of items a user
will then select from.
In Struts, you would be forwarding to some Action that presumably pulls
the data from a database and puts it in request scope to be rendered on
summary.jsp. In JSP, it appears I simply wind up on summary.jsp,
without the opportunity to gather that data.
Now, with Shale, thanks to Rick, I understand you can have a backing
bean extending AbstracyViewController with a prerender() method to do
this, and without even having to explicitly tell anything to use that
backing bean or method. Very nice.
But, how would one accomplish this with plain JSF? *IS* there a way to
do this, or do I need to approach the problem with a different mindset
perhaps? None of the myriad examples I've looked at seems to mention
this situation, but it is way too common to not be addressed in some
way. Thanks!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]