I have looked at the website before, but I haven't tried it yet... But isn't Shale still at it's early development state?
Matthias Wessendorf wrote: > Bj�rn, > > it is now worth to look at Shale. > > Shale provides an interface that each backing bean *could* implement > it provides a init() method for initializing stuff like you want. > (see: > http://people.apache.org/~craigmcc/shale-core-javadocs/org/apache/shale/ViewController.html) > > There is use case app, that shows how to use Shale. In that you see, > that there is an abstract BaseBackingBean that implements the interface. > all your backing beans extend that base backing bean. Since JSF uses > POJO you are free to integrate each framework you like. > > The sample (use case sample) also provides DAO access for backing beans. > > Look at: > http://wiki.apache.org/struts/StrutsShale > <http://wiki.apache.org/struts/StrutsShale> > > Shale is a framework by Craig McClanahan (ex JSF EG lead) under the > umbrella of Apache Struts. It relies only on JSF and not on *legacy* > Struts API > > HTH, > Matthias > > On 5/23/05, Bj�rn T Johansen <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: >> I was wondering what's the best way of handling the following: >> >> - A managed bean need to be "filled" with data from a database using > DAO methods; is >> it best just to pass the managed bean as parameter og should one use > another VO bean >> and populate the managed bean from the VO bean? >> >> - when moving to a page, some fields need to be filled with existing > values, is this >> best done in the action method that "calls" the new page and value > binding against a >> managed bean for that page or is there another better way of doing this? >> >> >> Regards, >> >> BTJ >> >> -- >> > ----------------------------------------------------------------------------------------------- >> Bj�rn T Johansen >> >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> > ----------------------------------------------------------------------------------------------- >> Someone wrote: >> "I understand that if you play a Windows CD backwards you hear strange > Satanic messages" >> To which someone replied: >> "It's even worse than that; play it forwards and it installs Windows" >> > ----------------------------------------------------------------------------------------------- > >> > > > -- > Matthias Wessendorf

