Re: How do I pass row data from a data table to a pop up
>From: Sam_arb <[EMAIL PROTECTED]> > > > Hi, > > I want to pass a row data from a data table to be displayed in a pop up. The > "var" property is local only to the data table tag. So how can I pass the > row data where it is referenced using "var" to a pop up? > > Your suggestions and help are greatly appreciated. > You might look at using a statefull action listener that will push around values for you. There are at least a couple implementations of this hanging around myfaces [1]. The JSF 1.2 RI has one of these too. It's called setPropertyActionListener [2]. [1] http://incubator.apache.org/adffaces/trinidad-api/tagdoc/tr_setActionListener.html [2] http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/f/setPropertyActionListener.html > Regards > Sam. Gary > -- > View this message in context: > http://www.nabble.com/How-do-I-pass-row-data-from-a-data-table-to-a-pop-up-tf321 > > 4018.html#a8925195 > Sent from the MyFaces - Users mailing list archive at Nabble.com. >
Re: How do I pass row data from a data table to a pop up
If you are asking how you can display row data in a popup (maybe giving more detail as the mouse moves over a row), here's how I did it: [...] On 2/12/07, Sam_arb <[EMAIL PROTECTED]> wrote: Hi, I want to pass a row data from a data table to be displayed in a pop up. The "var" property is local only to the data table tag. So how can I pass the row data where it is referenced using "var" to a pop up? Your suggestions and help are greatly appreciated. Regards Sam. -- View this message in context: http://www.nabble.com/How-do-I-pass-row-data-from-a-data-table-to-a-pop-up-tf3214018.html#a8925195 Sent from the MyFaces - Users mailing list archive at Nabble.com.