I was wondering how to d something that I would think would be a common
situation, yet I'm not finding any examples at the moment...
scenario:... list of employees. You want to be able to click on one of
the employees and go to an "editEmployee" backing bean method that
would retrieve the employee
2:49
PM
To: MyFaces Discussion
Subject: Dealing with
links/buttons to fire off an action? confusion on how to set this up
I was wondering how to d something that I would think would be a common
situation, yet I'm not finding any examples at the moment...
scenario:... list of employees. You
>
>
>
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 26, 2005 2:49 PM
> To: MyFaces Discussion
> Subject: Dealing with links/buttons to fire off an action? confusion on how
> to set this up
>
>
>
s time is using
f:param in the JSP and server side manual request parsing.
Original message
>Date: Fri, 26 Aug 2005 15:19:17 -0400
>From: Mike Kienenberger <[EMAIL PROTECTED]>
>Subject: Re: Dealing with links/buttons to fire off an
action? confusion on how to set this up
&
is time is using
> f:param in the JSP and server side manual request parsing.
>
> Original message
> >Date: Fri, 26 Aug 2005 15:19:17 -0400
> >From: Mike Kienenberger <[EMAIL PROTECTED]>
> >Subject: Re: Dealing with links/buttons to fire off an
> action? c
view to the next.
If anyone has ideas on the first problem, do not be shy.
Original message
>Date: Fri, 26 Aug 2005 15:31:52 -0400
>From: Mike Kienenberger <[EMAIL PROTECTED]>
>Subject: Re: Dealing with links/buttons to fire off an
action? confusion on how to set th
On 8/26/05, Patel, Hitesh (Exchange) <[EMAIL PROTECTED]> wrote:
You can pass the parameter as you have
done and get the value of the parameter as follows
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("empID");
I
would guess this common to hav
On 8/26/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
You can also use dataTable.getRowData(), provided your model data isconsistent, and then you don't need to create or pass a parameter.public void editRecord(ActionEvent event){dataStore.editRecord
(dataTable.getRowData());
D] Sent: Friday, August 26, 2005 2:59
PMTo: MyFaces DiscussionSubject: Re: Dealing with
links/buttons to fire off an action? confusion on how to set this
up
On 8/26/05, Mike
Kienenberger <[EMAIL PROTECTED]> wrote:
You
can also use dataTable.getRowData(), provided your model d
Not as long as the data model is contained in your component tree or
session rather than in some global location.
On 8/26/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
>
>
> On 8/26/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > You can also use dataTable.getRowData(), provided your model da
I'm a fan of the Struts ActionForm. If you wanted to populate an object with
query parameters, you might think about creating a managed bean and use the
setter injection stuff.
formBean
xxx.FormBean
request
username
#{param.username}
You could use a helper m
On 8/26/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
However, I believe that, using this mechanism, there's no real way to get
around using something like or having a
session-scoped bean. Just out of curiosity, what is the objection to using
?
Well I haven't gotten that far in my
Original Message-From: Rick Reumann
[mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 4:41
PMTo: MyFaces DiscussionSubject: Re: Dealing with
links/buttons to fire off an action? confusion on how to set this
up
On 8/26/05, CONNER,
BRENDAN (SBCSI) <[EMAIL PROTECTED]>
ect: Re: Dealing with
links/buttons to fire off an action? confusion on how to set this
up
On 8/26/05, CONNER,
BRENDAN (SBCSI) <[EMAIL PROTECTED]>
wrote:
However, I believe that,
using this mechanism, there's no real way to get around using something
like or
14 matches
Mail list logo