Rick, consider trying Faclets (from Java.net) w/ Struts Ti (from Dev
List) combo; that may be more powerfull and more teachable.
.V
Rick Reumann wrote:
David Haynes wrote the following on 8/22/2005 4:19 PM:
I'm just fumbling my way through like most others...
Trust me you don't want me
On 8/22/05, Rick Reumann [EMAIL PROTECTED] wrote:
I'm looking in my Core JSF book and I can seem to find out how to do
something that I would think would/should be pretty simple...
How do I use a jsp:forward to trigger a method in my backing bean?
jsp:forward
Craig McClanahan wrote the following on 8/22/2005 12:50 PM:
It doesn't ... if you want to fire the standard request processing
lifecycle, you need to actually submit the request. Using
jsp:forward page=/foo.faces/ will cause /foo.jsp to be rendered
(assuming you are using the standard
David Geary advised me to use rendered attribute of view of subview,
like this:
f:subview id=step1 rendered=#{wizardBean.step1}
You can stick whatever code you want into the method, and simply
return true. I don't know is there a better way to do this.
Michael.
On 8/22/05, Rick Reumann [EMAIL
Michael Jouravlev wrote the following on 8/22/2005 2:41 PM:
David Geary advised me to use rendered attribute of view of subview,
like this:
f:subview id=step1 rendered=#{wizardBean.step1}
You can stick whatever code you want into the method, and simply
return true. I don't know is there a
Rick Reumann wrote:
Craig McClanahan wrote the following on 8/22/2005 12:50 PM:
It doesn't ... if you want to fire the standard request processing
lifecycle, you need to actually submit the request. Using
jsp:forward page=/foo.faces/ will cause /foo.jsp to be rendered
(assuming you are using
On 8/22/05, Rick Reumann [EMAIL PROTECTED] wrote:
Craig McClanahan wrote the following on 8/22/2005 12:50 PM:
It doesn't ... if you want to fire the standard request processing
lifecycle, you need to actually submit the request. Using
jsp:forward page=/foo.faces/ will cause /foo.jsp to
Craig McClanahan wrote:
On 8/22/05, Rick Reumann [EMAIL PROTECTED] wrote:
Craig McClanahan wrote the following on 8/22/2005 12:50 PM:
It doesn't ... if you want to fire the standard request processing
lifecycle, you need to actually submit the request. Using
jsp:forward
Craig McClanahan wrote the following on 8/22/2005 3:38 PM:
Grab Shale. Make your backing bean implement ViewController. Stick
the list setup logic in the prerender() method. Smile, knowing that
this technique works not only for the welcome page, but for *any* page
to which you navigate (in
David Haynes wrote the following on 8/22/2005 3:57 PM:
public List getList() {
List list = populateList();
return list;
}
The getList would be invoked during the jsp:useBean wouldn't it?
I'm probably missing something obvious here, but this seems so much
simpler.
I would think that I
Rick Reumann wrote:
David Haynes wrote the following on 8/22/2005 3:57 PM:
public List getList() {
List list = populateList();
return list;
}
The getList would be invoked during the jsp:useBean wouldn't it?
I'm probably missing something obvious here, but this seems so much
simpler.
David Haynes wrote the following on 8/22/2005 4:19 PM:
I'm just fumbling my way through
like most others...
I can relate. Trust me you don't want me as your 'JSF running back'
right now in JSF Fantasy Football. I've been fumbling in all my
pre-season attempts at carrying the ball:) I think
On 8/22/05, David Haynes [EMAIL PROTECTED] wrote:
Sorry to hi-jack this thread a bit, but I am confused. Can't the getter
methods be enhanced to call the data population methods to do what Rick
wants? By that I mean something like getList() containing a List which
is populated by a call
Wendy Smoak wrote the following on 8/22/2005 4:28 PM:
Consider that Struts added services on top of Servlets and JSP... and
now Shale is adding services on top of JSF.
True. I keep forgetting the separation. I keep thinking JSF is to
servlets/JSP as Struts is to servlets/JSP but I remember
14 matches
Mail list logo