Newbie: Can commandLink calls javascript as href does?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   saf_ram
Posted On:   Wednesday, November 28, 2007 09:15 PM


I am trying to make my comandLink behave like href does. I know that commandLink has a default href="#", but in my case, would it be possible to change the default href to something I want such as calling javascripts.




Suppose I have a commandLink like this:





Now, I want this commandLink to behave like href below:


a href="javascript:config.loadModel('mainMap','./gis/kenya.xml')">Kenya a
About | Sitemap | Contact