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

2008-09-12 Thread Francisco Exposito
can't implement because this tags will be on next release of struts2. Also, could it be a solution to change this ajax functionality by tiles plugin (then the javascript will be loaded in the page I need, I guess...)? Or anybody has a better solution? > Date: Thu, 11 Sep 2008 14:13

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-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 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
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
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
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
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
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-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-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 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 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: > 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 problem with display tag: please help

2008-07-25 Thread dusty
So what the others are saying is that you should NEVER use chopsticks when you are eating soup No just kidding. Depending on what version of struts you are using you likely need a before the display tag. Otherwise your decorator could be messed up in which case you are back to eating so

Re: [Friday][OT] Re: sorting problem with display tag: please help

2008-07-25 Thread Al Sutton
You think he got the message?, or are you expecting another message tomorrow? Dave Newton wrote: --- On Fri, 7/25/08, Al Sutton <[EMAIL PROTECTED]> wrote: What did the display tag people say when you posted on their lists [...] I see what you did there. Dave --

[OT] Re: sorting problem with display tag: please help

2008-07-25 Thread Dave Newton
--- On Fri, 7/25/08, Al Sutton <[EMAIL PROTECTED]> wrote: > What did the display tag people say when you posted on their lists [...] I see what you did there. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: sorting problem with display tag: please help

2008-07-25 Thread Al Sutton
What did the display tag people say when you posted on their lists at http://displaytag.sourceforge.net/11/mail-lists.html ? Varun Deep wrote: Hi I am using the display tag for displaying the employee names . I want to short the names of the employee. Following is the code that is in .jsp

Re: sorting problem with display tag: please help

2008-07-24 Thread Al Sutton
As there are no struts tags you should post this to the displaytag list for a better response; http://displaytag.sourceforge.net/11/mail-lists.html Varun Deep wrote: Hi I am using the display tag for displaying the employee names . I want to short the names of the employee. Following is

RE: Sorting & paging search results with delete button for each row?

2006-02-23 Thread Narayanan, Shiva
Planning to use Hibernate query in my DAO. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 9:06 AM To: Struts Users Mailing List Subject: Re: Sorting & paging search results with delete button for each row? Narayanan, Shiva wrote:

Re: Sorting & paging search results with delete button for each row?

2006-02-23 Thread Dave Newton
Narayanan, Shiva wrote: > I would like to page and sort the data (10 thousand records) retrieved > from the database. I don't want to sort it in memory. > How/where do you want to sort it?! Dave - To unsubscribe, e-mail: [

RE: Sorting & paging search results with delete button for each row?

2006-02-23 Thread Chandra.Ravinithala
To: Struts Users Mailing List Subject: RE: Sorting & paging search results with delete button for each row? I would like to page and sort the data (10 thousand records) retrieved from the database. I don't want to sort it in memory. I am using Struts & DAO Hibernate) and want t

RE: Sorting & paging search results with delete button for each row?

2006-02-23 Thread Narayanan, Shiva
is button should post to a DeleteAction. How do you achieve this using display tag? Thanks in advance!! -Original Message- From: Lixin Chu [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 5:40 PM To: Struts Users Mailing List Subject: Re: Sorting & paging search results with

Re: Sorting & paging search results with delete button for each row?

2006-02-22 Thread Kim Brianne Go
you can add delete functionality with display tag by assigning an actionmapping to delete a particular record based on parameters passed. though i tried using it on extremecomponents. though same concept applies with display tag. On 2/23/06, Lixin Chu <[EMAIL PROTECTED]> wrote: > > why displayta

Re: Sorting & paging search results with delete button for each row?

2006-02-22 Thread Lixin Chu
why displaytag does not meet your requirements ? On 2/22/06, Narayanan, Shiva <[EMAIL PROTECTED]> wrote: > > Hello All, > > What is the best way to sort and page search results, (with delete button > for each row) using Struts? Are there are any open source tag libraries to > achieve this? > > > >

RE: sorting of table columns

2005-11-07 Thread Vu, Thai
Displaytag.sourceforge.net -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 8:11 AM To: user@struts.apache.org Subject: sorting of table columns can we sort table columns when clicked on the column header using struts? I mean does struts provid

Re: sorting of table columns

2005-11-04 Thread Martin Gainty
Good Afternoon Fea I was asking the same question looking at Struts HTML Grid Tags *and some customisation of the submit buttons to be incorporated into the column headings* when Dennis from Evergreen Investments suggested http://displaytag.sourceforge.net/ And..if your are supporting jsp 1.1 (

Re: [OT] [DISPLAYTAG] Re: sorting of table columns

2005-11-04 Thread Dave Newton
fea jabi wrote: How does the JSP know about the display tag? The same way a JSP page knows about any custom tag library. I think you should look at the displaytag docs. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [OT] [DISPLAYTAG] Re: sorting of table columns

2005-11-04 Thread fea jabi
sorry, what I mean is and struts stuff to get dynamic data. How does the JSP know about the display tag? From: Dave Newton <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: [OT] [DISPLAYTAG] Re: sorting of table columns D

Re: [OT] [DISPLAYTAG] Re: sorting of table columns

2005-11-04 Thread Dave Newton
fea jabi wrote: how do I use that with struts table then? What's "struts table?" Do you mean the layout taglib? Dave "Spending too much time on Lisp mailing lists this week" Newton - To unsubscribe, e-mail: [EMAIL PROTECTE

RE: [OT] [DISPLAYTAG] Re: sorting of table columns

2005-11-04 Thread fea jabi
how do I use that with struts table then? From: Dave Newton <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: [OT] [DISPLAYTAG] Re: sorting of table columns Date: Fri, 04 Nov 2005 11:37:46 -0500 fea jabi wrote: is this di

[OT] [DISPLAYTAG] Re: sorting of table columns

2005-11-04 Thread Dave Newton
fea jabi wrote: is this display tag struts stuff. No, it's displaytag stuff. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: sorting of table columns

2005-11-04 Thread fea jabi
I saw this example too. But was not sure about this display tag. is this display tag struts stuff. I don't remember seeing it. Thanks. From: Michael Jouravlev <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: sorting

Re: sorting of table columns

2005-11-04 Thread Michael Jouravlev
On 11/4/05, fea jabi <[EMAIL PROTECTED]> wrote: > can we sort table columns when clicked on the column header using struts? I > mean does struts provide any tag to do so? > > is there an example on how this can be done? http://displaytag.homeip.net/example-sorting.jsp

Re: Sorting of array lists

2005-03-10 Thread PA
On Mar 10, 2005, at 10:36, Rikesh Balan Krishnan wrote: But all this methods are applicable only if the model class extends the comparator interface. No. If your "model class" do not implement java.lang.Comparable, you can provide your own java.util.Comparator to java.util.Collections.sort() an

RE: Sorting of array lists

2005-03-10 Thread Mark Benussi
iling List Subject: RE: Sorting of array lists But all this methods are applicable only if the model class extends the comparator interface.I too had a similar problem,but I was not able to use the collection.sort because if the model class doesn't extend the comparator interface, it will gi

RE: Sorting of array lists

2005-03-10 Thread Rikesh Balan Krishnan
e for a alofrithm where I wrote a sort method.I'm still looking for some different method. -Original Message- From: Mark Benussi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 2:39 PM To: 'Struts Users Mailing List' Subject: RE: Sorting of array lists Krishna

Re: Sorting of array lists

2005-03-10 Thread Ext . Ilitia2
sort it in the private method readPlanObjectFromDB... in the query DB select * from my_table ORDER BY . |-+> | | "Krishna Mohan | | | Radhakrishnan" | | | <[EMAIL PROTECTED]| | |

RE: Sorting of array lists

2005-03-10 Thread Mark Benussi
Krishna, The below example uses a comparator which orders a collection of objects based on a property. You can make the criteria more complicated if you wish. import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; public class Test { public static void ma

Re: Sorting of array lists

2005-03-10 Thread Nicolas De Loof
Use Collections.sort(list, new Comparator() {...}); or Collections.sort(list) if your Plan class implements Comparable Nico. Krishna Mohan Radhakrishnan a écrit : Hi all, I have a doubt regarding sorting in array List. I have an array List which contains array list objects of type Plan. The Plan o

Re: Sorting

2005-01-24 Thread Renaud . Tarnec
Hello Suzy, You could use the display tag library: it does excatly what you are looking for; sorting by clicking on column headers. See http://displaytag.sourceforge.net/ HTH Renaud "Suzy Fynes" <[EMAIL PROTECTED]> 24/01/2005 15:23 Please respond to "Struts Users Mailing List" To cc