Sorting with displaytag issue due to theme="ajax"

2008-09-09 Thread Francisco Exposito
I am trying to show a table with some data using displaytag. I have a main page which contains the div which will contain the table with the data. Therefore I have in the main page . Then in the results page I have the display:table which shows the data. But when I click over a column to sor

Re: Sorting with displaytag issue due to theme="ajax"

2008-09-09 Thread Dave Newton
--- On Tue, 9/9/08, Francisco Exposito wrote: > But when I reload this page, I receive the error > "jQuery is not defined" and the error seems to be > in the line of displayTagAjax.js: > > jQuery(function($) { > changeLinks(); > }); It looks like the Ajax version of displaytag uses jQuery.

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-09 Thread Francisco Exposito
ot; /> <script src="src/javascript/stuHover.js" type="text/javascript"> CODE TO GO TO THE TABLE PAGE INSIDE THE DIV divContenedor > Date: Tue, 9 Sep 2008 04:14

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-09 Thread Dave Newton
--- On Tue, 9/9/08, Francisco Exposito wrote: > Yes, it uses jquery. If I don't use struts2 ajax, it > works properly. But when I use it, I receive the error > jquery is not defined. > > This code works properly: > [...]src="../../src/javascript/jquery.js" > type="te

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-09 Thread Martin Gainty
this transmission. > Date: Tue, 9 Sep 2008 05:38:26 -0700 > From: [EMAIL PROTECTED] > Subject: RE: Sorting with displaytag issue due to theme="ajax" > To: user@struts.apache.org > > --- On Tue, 9/9/08, Francisco Exposito wrote: > > Yes, it uses jquery. If I do

Re: Sorting with displaytag issue due to theme="ajax"

2008-09-09 Thread Laurie Harper
Francisco Exposito wrote: Also I've tried to use displayTagAjax. In order to use it, I define in the main page: But when I reload this page, I receive the error "jQuery is not defined" and the error seems to be in the line of displayTagAjax.js: jQuery(function($) { changeLinks(); });

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Francisco Exposito
h firebug, all js are loaded (in the menu page and in the test page). > To: user@struts.apache.org> From: [EMAIL PROTECTED]> Subject: Re: Sorting > with displaytag issue due to theme="ajax"> Date: Tue, 9 Sep 2008 18:08:57 > -0400> > Francisco Exposito wrote:> > Also I've tried to use displayTagAjax. > In order to use it, I define in the main page:> > > >

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Dave Newton
gt; type="text/javascript"> > > > > > > > action='IrBuscarUsuario'/> > > > src=".../../src/images/logo.jpg"/> > > > > Usuarios > > theme="ajax" > href="%{buscarUsuario}" > targ

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Francisco Exposito
hangeLoads (which is inside the displayTagAjax.js) and when I click on the button, then the references are changed. But it should be executed automatically. > Date: Wed, 10 Sep 2008 03:37:30 -0700 > From: [EMAIL PROTECTED] > Subject: RE: Sorting with displaytag issue due to theme="

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Dave Newton
x27;d still remove the tags if you're not using their Ajax functionality. Dave > > > > > Date: Wed, 10 Sep 2008 03:37:30 -0700 > > From: [EMAIL PROTECTED] > > Subject: RE: Sorting with displaytag issue due to > theme="ajax" > > To: user@str

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Francisco Exposito
e with the results is loaded in the divContenedor. The script displayTagAjax.js is executed when I load the menu, but not when the results page is loaded. Therefore the hrefs are not modified and the ajax in displaytag doesn't work. I hope I've explained better -if you hav

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Dave Newton
--- On Wed, 9/10/08, Francisco Exposito wrote: > > Does it work if you remove *this* ? Again--if the div itself isn't doing anything but is just a placeholder there's no reason to use , although I don't know if it would break anything. > type="text/javascript"> > src="src/

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Francisco Exposito
30 -0700 > From: [EMAIL PROTECTED] > Subject: RE: Sorting with displaytag issue due to theme="ajax" > To: user@struts.apache.org > > --- On Wed, 9/10/08, Francisco Exposito wrote: > > > > > > Does it work if you remove *this* ? Again--if the div itself isn&

Re: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Zoran Avtarovski
I¹m not certain, but could this be a conflict between jquery and whatever new js libraries you¹ve added: I¹d look into these 3. That¹s probably where the issue lies. Z.

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-12 Thread Francisco Exposito
:30 +1000 > Subject: Re: Sorting with displaytag issue due to theme="ajax" > From: [EMAIL PROTECTED] > To: user@struts.apache.org; [EMAIL PROTECTED] > > I¹m not certain, but could this be a conflict between jquery and whatever > new js libraries you¹ve added: > > ty