Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Rick Reumann
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

RE: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Patel, Hitesh \(Exchange\)
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

Re: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Mike Kienenberger
> > > > 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 > > >

Re: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Dennis Byrne
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 &

Re: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Mike Kienenberger
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

Re: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Dennis Byrne
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

Re: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Rick Reumann
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

Re: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Rick Reumann
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());

RE: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread CONNER, BRENDAN \(SBCSI\)
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

Re: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Mike Kienenberger
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

Re: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Gary VanMatre
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

Re: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread Rick Reumann
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

RE: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-26 Thread CONNER, BRENDAN \(SBCSI\)
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]>

Re: Dealing with links/buttons to fire off an action? confusion on how to set this up

2005-08-27 Thread Rick Reumann
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