hyperlink1_action() fires button1_action()

I have a button bound to button1_action(). It performs a search and creates a dynamic table with the results. Every cell in the table contains a hyperlink that is bound to hyperlink1_action(). hyperlink1_action() loads a file into a text display.

When I click button1_action() a search kicks off and the table is filled. When I click on one of the hyperlinks in the table, the search is kicked off again before the text is loaded into the text display! The search can only be kicked off in button1_action()...how the heck is that function being called by clicking a hyperlink bound to hyperlink1_action()?

Any insight would be delightfuly appreciated.

-Mark

[682 byte] By [CandideEC] at [2007-11-26 9:10:13]
# 1
Check out the properties on the hyperlink component and make sure it is tied up with the right action handlers.Thanks,Sakthi
sakthivelgopal at 2007-7-6 23:28:57 > top of Java-index,Development Tools,Java Tools...
# 2
I have seen several cases where the other action methods are called along with the one you want. You have to do alot of extra coding to trap these. Good luck.
ParkCityGroup at 2007-7-6 23:28:57 > top of Java-index,Development Tools,Java Tools...
# 3
If this happens again, maybe you can report it.Some things to do when it happens.(1) Look at the JSP for the component and see if its action method binding is as expected. (2) Do a Clean Build. (3) Restart the server.
jetsons at 2007-7-6 23:28:57 > top of Java-index,Development Tools,Java Tools...
# 4

> When I click button1_action() a search kicks off and

> the table is filled. When I click on one of the

> hyperlinks in the table, the search is kicked off

> again before the text is loaded into the text

> display! The search can only be kicked off in

> button1_action()...how the heck is that function

> being called by clicking a hyperlink bound to

> hyperlink1_action()?

Can you show the JSP for the button and hyperlink components and the code for the two action methods?

jetsons at 2007-7-6 23:28:57 > top of Java-index,Development Tools,Java Tools...