--- Dilep <[EMAIL PROTECTED]> wrote: > Is there a way to pass a extra paramameter for > DispatchAction apart from parameter=method..
This should be moved to the user list. > Onclick on a link(<html:link > action="/someform.do?method=getRecord">) from Search > Results, I wanna to pass the primary key value. I > can't use hidden values as it is not a form. You can either build the URL via EL (by using the html-el tags) or via the normal parameter map method (see http://struts.apache.org/1.2.9/userGuide/struts-html.html#link) > I have one solution. But i don't know its proper > approach. I tryig to set the session in javascript > and its not working. > > function clickRequestId(value) { > var primaryKey = value; > session.setAttribute("id",primaryKey); > } I'll admit I've never tried that approach... You may have some very basic misconceptions about Javascript. d. ____________________________________________________________________________________ Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
