That only gets you about a third of the way there, since JSF isn't giving you a decent semantic way to generate meaningful GET requests in the first place.
-- Adam On 1/27/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 1/27/06, Martin Marinschek <[EMAIL PROTECTED]> wrote: > > outputLink doesn't tie into the action-framework - that's why... > > > > what's Struts-Shale doing here? outputLink with defaultAction="something"? > > If you use view controllers in Shale, a GET request will trigger init(), > then prerender(), then render your view, then call destroy(). Conveniently, > this is exactly the same sequence of events you get when you navigate to the > page in the usual way, so you don't have to code it any differently. > Typically, you'd put logic that sets up the data you need for rendering into > the prerender() method, which you can think of (in Struts terms) as a "setup > action". > > > regards, > > > > Martin > > Craig > >
