You could use jsp tags to create a hidden template row.
Client side you can clone the template row using dwr.util.cloneNode() then tweak the appropriate bits.

newtostruts struts wrote:
I'm trying to use DWR with Struts2. The problem is when I'm trying to build the row of a table 
with a <a href=""> link to an action class, I'm not able to send any params in 
that link.
eg: var getUname = function( user ) { return '<a href="UserEdit.action?uname='+ user.uname +'" onClick="">' + user.uname + '</a>' }; This is what I'm trying to do but getting errors and not able to retrieve param value in the action class. Since this is done in javascript functions, I can't use any struts tags. Any suggestions please... Vinod


--------------------------------- Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to