This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes how to use a struts tag inside innerHTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

how to use a struts tag inside innerHTML

sanju sreedharan
Ranch Hand

Joined: Nov 25, 2008
Posts: 48
can anyone tell me how to use a struts tag inside innerHTML..

thanks
sanju
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

*sigh*

You need to duplicate the HTML emitted by the Struts tag.
sanju sreedharan
Ranch Hand

Joined: Nov 25, 2008
Posts: 48
david

can you please tell me with an example

sanju
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

...

How about viewing the source of the output created by a Struts tag? Then create the new inner HTML using that, but with an increased ID?

This isn't a Struts issue, this is basic JavaScript programming.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use a struts tag inside innerHTML
 
Similar Threads
how to use a struts tag inside innerHTML
adding dynamic controls in struts2
how to use struts-menu tag?
jsp exception while using logic:iterate
Link within innerText/textContent