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" <[email protected]> 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 <[email protected]>
> To: 'Struts Users Mailing List' <[email protected]>; 'Anupam Bakshi'
> <[email protected]>
> 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:[email protected]]
> Sent: 09 July 2012 09:02
> To: [email protected]
> 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: [email protected]
> For additional commands, e-mail: [email protected]

Reply via email to