By using JSF commandlink and button i need to clik twice any link why?
hi
i am using commanlink in my application.
i need to click twice to display a page. if i open a new browser it goes one click.but if i use the same page i already used the application . i need to click on the button or commanlink twice.
do i need to clean seesion or request when every i open the pplication
how does i slove this problem
on one click i want to enter the page.
please some one guide me
thansk in advance
sree
Hello,
I had almost the same problem, and I read in some post that there is a bug about this, and we should try setting navigation with <redirect>.
I changed and it works fine, I磎 not sure why, but it works.
I hope it works fine for you, and somebody else could explain it better.
[]s
First of all sorry for my english.
I've tried to use <redirect> but the problem still exists. In Firefox and also in IE. Could someone tell me how to get rid off this problem ?
I have a commandLink with an ObjectImage Inside in a column of a adf table.
I have to clic two times to get the commnadLink action to work.
The strange thing is that sometimes i need two clics sometimes with a single clic the action is triggered....
please help me
thanks a lot in advance
yamia at 2007-7-13 11:26:20 >

First of all, Thanks for the reply!
I was using ADF commandLink. but now, i've changed to h:commandLink and everything works well. It is strange that ADF commandLink does not work.
When i clicked on adf commandLink the action method was not called, only a refresh of the page with all get Methods called.
after the second click the action method is called. Even if i've tried to make the action directly and put a SetActionListener under the commandLink (cause i need to save a value of the table) it needed the double clic anyway.
bye
yami
Yamia at 2007-7-13 11:26:20 >

Thanks smurray_erie for the reply. i have still that problem. because the h:commandLink calls the action method a number of times equals to the number of rows of the table.if you have some suggestions, please reply.byeyami
Yamia at 2007-7-13 11:26:20 >

Well that should not happen and I am trying to figure out why. Are you triggering this using your own javascript or are you staying within ADF framework? Could you post a small snippet of code containing h:commandLink and a snippet of code containing the action method, that would help