Forums Register Login

commandLink not working in datatable+jsf2.0

+Pie Number of slices to send: Send
I want to display detail viewer by clicking commentlink in dataTable on master viewer, but It doesn't work.
In detail viewer, there is a hiddentext to hold the id.
managedbean with request scope and I don't want to use sessionscope. When sessionscope is used. It works clearly.
Please Help me guys!


Master Viewer:



Detail Viewer: User.xhtml




ManagedBean:

+Pie Number of slices to send: Send
Welcome to the JavaRanch, Gokmen! There's a "Code" button on our message editor that can wrap tags around sample java code and XML. It makes it easier to read.

Personally, I don't like pop-up windows and for that matter, my browser isn't set to open new windows.

However, if you must do so, you need to specify the pop-up window target on your commandLink the same way you would on an HTML "<A HREF=>" tag.
+Pie Number of slices to send: Send
Thanks Tim.
I am not young enough to know everything. - Oscar Wilde This tiny ad thinks it knows more than Oscar:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 4222 times.
Similar Threads
[ajax][jsf][javaEE] double click issue
My binding with datatable give me null ate the backing bean, do i miss some thing
DataTable datas are not actual
Action does not work inside rich:popupPanel
JSF form problems
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:34:47.