I don't understand. If you're transforming XML to HTML via XSLT, then the stylesheet is where you'd build your JS.
Dave (pardon brevity, typos, and top-quoting; on cell) On Jul 9, 2012 8:09 PM, "Anupam Bakshi" <baks...@yahoo.com> wrote: > Hi Steve, > Creating HTML with JS is not the problem. > > The problem is that if I use struts2 tags something needs to process > them before they go to the client browser. > Is there something that can compile JSP pages as they are generated > on-the-fly? > > Thanks, > Anupam > > > > ________________________________ > From: Steve Higham <st...@sjlt.co.uk> > To: 'Struts Users Mailing List' <user@struts.apache.org>; 'Anupam Bakshi' > <baks...@yahoo.com> > Sent: Monday, July 9, 2012 6:47 AM > Subject: RE: Struts2 : XML based View > > Hi, > > I have projects that include JS (and jquery) in the HTML pages they output. > It's then up to you to construct your jquery widgets when the document > loads. Is this what you are looking for... > > Cheers, > > Steve > > -----Original Message----- > From: Anupam Bakshi [mailto:baks...@yahoo.com] > Sent: 09 July 2012 09:02 > To: user@struts.apache.org > Subject: Struts2 : XML based View > > Hello, > In my Struts2 action, I have a database returning XML data as a stream > that is transformed using XSLT2. > This is fine, but I need the result to also have jquery tabs and submit > buttons. > > Is there any way to achieve this on-the-fly generation and insertion of > these struts2 and struts2-jquery tags? > > Thanks, > Anupam > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org