Can we take a peek at the JQuery code? If the response has the data, then it's JQuery...
-----Mensaje original----- De: Rob Johnston [mailto:[email protected]] Enviado el: miércoles, 01 de abril de 2009 12:04 Para: [email protected] CC: Stripes Users List Asunto: Re: [Stripes-users] Vedr.: Using a jsp in a StreamingResolution? Thanks Dennis If I understand it correctly, the jQuery UI Tabs widget is meant to "just work"... you set up a div for it, and provide a list (ul/li) of links to use as tabs. I assume it uses .load in the background - at least, I tried what you suggested, and I'm getting the same result. The jsp is only a html fragment, and firebug shows that all the dynamic data is in the response (but it's still not being displayed). I ended up using a StringBuilder to build the same html fragment that the jsp would produce, and passing that through to a StreamingResolution. It works, but it feels awfully hackish. Any other suggestions? Rob [email protected] wrote: > > Hi, > > A ForwardResolution should be the right thing to use. So there must be > some other mistake. > > Using jQuery.load() should work just fine with an URL mapped to an > ActionBean event. Note that the JSP should only produce a HTML > fragment (no html, head, body tags etc.) or you can use the selector > functionality in jQuery.load() to just inject part of the response in > your page. > > Have you tried using firefox with firebug to dig into what is actually > requested, responded over the wire? > > -dennis ---------------------------------------------------------------------------- -- _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------------ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
