You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jeffrey Porter <PO...@WMGMAIL.wmg.warwick.ac.uk> on 2005/10/17 16:02:10 UTC

commandButton & passing a value?

 

What is the correct way to pass a value into a method when a button is
pressed.

 

I have the situation where I have a table rendered, via h:dataTable, and
I want to add button for each row.

So that when the button is pressed, an action starts, loads some data &
redirects to a new page.

 

Do create a hidden textfield that's contains the value or is there
another way?

 

Thanks

Jeff

 


RE: survey: what tool are you using for JSF ?

Posted by Guillermo Meyer <gm...@interbanking.com.ar>.
JDeveloper 10g Release 3 (10.1.3) Early Access.

 

-----Original Message-----
From: Rafael Nami [mailto:rafanami@gmail.com] 
Sent: Lunes, 17 de Octubre de 2005 03:19 p.m.
To: MyFaces Discussion
Subject: Re: survey: what tool are you using for JSF ?

 

eclipse 3.1 with MyEclipse.

2005/10/17, Andrew robinson <an...@gmail.com>: 

Eclipse + Exadel Studio has been my choice. Had some bad experience with
NetBeans in the past. 

 

On 10/17/05, Randahl Fink Isaksen < randahl@rockit.dk
<ma...@rockit.dk> > wrote: 

NB 5.0 here too. I develop my JSF pages as .xml files, so in fact any 
editor would work.

Randahl


Francesco Consumi wrote:

>
> Hi people,
>
> I'm asking what kind of IDE/Tool are you using for developing your JSF
> Web apps.
> We're using NetBeans 5.0, but I'm beginning to think it isn't too 
> fast.....
>
>
>







 



NOTA DE CONFIDENCIALIDAD
Este mensaje (y sus anexos) es confidencial, esta dirigido exclusivamente a las personas direccionadas en el mail y puede contener informacion (i)de propiedad exclusiva de Interbanking S.A. o (ii) amparada por el secreto profesional. Cualquier opinion en el contenido, es exclusiva de su autor y no representa necesariamente la opinion de Interbanking S.A. El acceso no autorizado, uso, reproduccion, o divulgacion esta prohibido. Interbanking S.A no asumira responsabilidad ni obligacion legal alguna por cualquier informacion incorrecta o alterada contenida en este mensaje. Si usted ha recibido este mensaje por error, le rogamos tenga la amabilidad de destruirlo inmediatamente junto con todas las copias del mismo, notificando al remitente. No debera utilizar, revelar, distribuir, imprimir o copiar este mensaje ni ninguna de sus partes si usted no es el destinatario. Muchas gracias.

Re: survey: what tool are you using for JSF ?

Posted by Rafael Nami <ra...@gmail.com>.
eclipse 3.1 with MyEclipse.

2005/10/17, Andrew robinson <an...@gmail.com>:
>
> Eclipse + Exadel Studio has been my choice. Had some bad experience with
> NetBeans in the past.
>
> On 10/17/05, Randahl Fink Isaksen < randahl@rockit.dk> wrote:
> >
> > NB 5.0 here too. I develop my JSF pages as .xml files, so in fact any
> > editor would work.
> >
> > Randahl
> >
> >
> > Francesco Consumi wrote:
> >
> > >
> > > Hi people,
> > >
> > > I'm asking what kind of IDE/Tool are you using for developing your JSF
> > > Web apps.
> > > We're using NetBeans 5.0, but I'm beginning to think it isn't too
> > > fast.....
> > >
> > >
> > >
> >
> >
> >
>

Re: survey: what tool are you using for JSF ?

Posted by Andrew robinson <an...@gmail.com>.
Eclipse + Exadel Studio has been my choice. Had some bad experience with
NetBeans in the past.

On 10/17/05, Randahl Fink Isaksen <ra...@rockit.dk> wrote:
>
> NB 5.0 here too. I develop my JSF pages as .xml files, so in fact any
> editor would work.
>
> Randahl
>
>
> Francesco Consumi wrote:
>
> >
> > Hi people,
> >
> > I'm asking what kind of IDE/Tool are you using for developing your JSF
> > Web apps.
> > We're using NetBeans 5.0, but I'm beginning to think it isn't too
> > fast.....
> >
> >
> >
>
>
>

Re: survey: what tool are you using for JSF ?

Posted by Randahl Fink Isaksen <ra...@rockit.dk>.
NB 5.0 here too. I develop my JSF pages as .xml files, so in fact any 
editor would work.

Randahl


Francesco Consumi wrote:

>
> Hi people,
>
> I'm asking what kind of IDE/Tool are you using for developing your JSF 
> Web apps.
> We're using NetBeans 5.0, but I'm beginning to think it isn't too 
> fast.....
>
>
>


Re: survey: what tool are you using for JSF ?

Posted by Navid Vahdat <na...@vahdat.de>.
Eclipse 3.1 and MyEclipse
Not too happy, because MyEclipse doesn't validate if a the managed beans
referenced in the JSPs and the expression language in general. Since
mistyped managed beans fail silently in MyFaces this takes time over and
over. After opening a JSP that wasn't part of the project in Eclipse the
MyEclipse installation was completely ruined.

Since I'm using OpenArchitectureWare to generate the application I've
dropped using tools.

Francesco Consumi wrote:
> Hi people,
>
> I'm asking what kind of IDE/Tool are you using for developing your JSF 
> Web apps.
> We're using NetBeans 5.0, but I'm beginning to think it isn't too fast.....


RE: survey: what tool are you using for JSF ?

Posted by "David G. Friedman" <hu...@ix.netcom.com>.
Eclipse + FacesIDE + EclipseHTMLEditor.

-David

-----Original Message-----
From: Francesco Consumi [mailto:consumi@istitutodeglinnocenti.it]
Sent: Monday, October 17, 2005 1:38 PM
To: users@myfaces.apache.org
Subject: survey: what tool are you using for JSF ?

Hi people,

I'm asking what kind of IDE/Tool are you using for developing your JSF Web
apps. We're using NetBeans 5.0, but I'm beginning to think it isn't too
fast.....

--
Francesco Consumi


survey: what tool are you using for JSF ?

Posted by Francesco Consumi <co...@istitutodeglinnocenti.it>.
Hi people,

I'm asking what kind of IDE/Tool are you using for developing your JSF 
Web apps.
We're using NetBeans 5.0, but I'm beginning to think it isn't too fast.....



-- 
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133



Re: commandButton & passing a value?

Posted by Marius Kreis <ma...@nulldevice.org>.
Another way is to use <f:action type="org.host.MyClass"> or 
<f:actionListener type="org.host.MyClass"> tag.
But be aware of that only the ActionListener has access to the context 
whereas only the Action can be used for dynamic navigation.

Jeffrey Porter wrote:
>  
> 
> What is the correct way to pass a value into a method when a button is 
> pressed.
> 
>  
> 
> I have the situation where I have a table rendered, via h:dataTable, and 
> I want to add button for each row.
> 
> So that when the button is pressed, an action starts, loads some data & 
> redirects to a new page.
> 
>  
> 
> Do create a hidden textfield that’s contains the value or is there 
> another way?
> 
>  
> 
> Thanks
> 
> Jeff
> 
>  
>