html:link/ w/out a href??

2003-06-18 Thread Ben Anderson
I have a form with 2 buttons. I know I can handle this ok using the dispatch property. But, what I'd rather do (so I don't have to put ugly query strings in my links) is use javascript. What I'm wondering is, if there's a way to get action - link resolution that the html:link/ tag gives me

Re: html:link/ w/out a href??

2003-06-18 Thread Gemes Tibor
Ben Anderson rta: I have a form with 2 buttons. I know I can handle this ok using the dispatch property. But, what I'd rather do (so I don't have to put ugly query strings in my links) is use javascript. What I'm wondering is, if there's a way to get action - link resolution that the

Re: html:link/ w/out a href??

2003-06-18 Thread Mark Lowe
could this do it...? script function clicked(path) { window.open(path,My Popup,); } /script a href=javascript:clicked('html:rewrite page=/yourAction.do /') On Wednesday, Jun 18, 2003, at 14:52 Europe/London, Ben Anderson wrote: I have a form with 2 buttons. I know I can handle

Re: html:link/ w/out a href??

2003-06-18 Thread Sandeep Takhar
Why not give the buttons a name and submit to a process action. This action checks the name and forwards to the appropriate place.. sandeep --- Ben Anderson [EMAIL PROTECTED] wrote: I have a form with 2 buttons. I know I can handle this ok using the dispatch property. But, what I'd rather