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

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
I've removed it (I thought it was mandatory the theme="ajax" in the s:div due to the previous code Buscar usuario It does the same, the results page is loaded but after sorting or pagination the results page is not opened in the div

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
lect.js" > type="text/javascript"/> > <s:head theme="ajax"/> > <link rel="stylesheet" media="all" > type="text/css" > href="src/css/default.css" /> > <script src="src/javascript/stuHover.js" &

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

2008-09-10 Thread Francisco Exposito
And when I go then to the test page (which must be shown in divContenedor), the links are not displayed ok and when I click on sorting or pagination, then it works but the result is not displayed in the divContenedor. It is opened in a new page and my menu is lost! If I check wit

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.

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

2008-07-25 Thread dusty
t; > > > > > > > when I use the above code nothing is display. Can anyone please help me > to solve this problem. I will be vary thankful. > > Thanks in advance > varun > > > > -- View this messa

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

sorting problem with display tag: please help

2008-07-25 Thread Varun Deep
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 file. <%@ taglib prefix="display" uri="http://displaytag.sf.net"%> when I use the above code nothing is display. Can anyone pl

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

sorting problem with display tag: please help

2008-07-24 Thread Varun Deep
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 file. <%@ taglib prefix="display" uri="http://displaytag.sf.net"%> when I use the above code nothing is display. Can anyone pl

Sorting Problem with Displaytag and Struts2

2007-09-03 Thread Marc Eckart
Hi, I use Displaytag and want to use the sorting capability. So I configured the displaytag to go to a empty action, because my list is in the session - nothing should be loaded again, just using the existing search results. If I do this, I get

Re: [OT] problem with displaytag column sorting in struts 1.2 web project

2007-04-09 Thread robinbajaj
the following compareTo method >> (as >> >> following) >> >> http://rafb.net/p/t0CR4Q98.html >> >> >> >> Then I re-build my app and restart it on the server, the displaytag >> >> table shows up fine. But when I click on the first c

Re: [OT] problem with displaytag column sorting in struts 1.2 web project

2007-04-08 Thread Tim Williams
first column PtId, it >> doesn't sort the table. I just get the Http404 error page. >> >> Am I missing something ? > > Try setting the requestURI attribute of the table itself? > --tim > > - >

Re: [OT] problem with displaytag column sorting in struts 1.2 web project

2007-04-08 Thread robinbajaj
g the requestURI attribute of the table itself? > --tim > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in contex

Re: [OT] problem with displaytag column sorting in struts 1.2 web project

2007-04-08 Thread Tim Williams
On 4/8/07, robin bajaj <[EMAIL PROTECTED]> wrote: Hi All, In my Struts 1.2.x webapp, I am getting some Patient records from backend using my PatientManager businessObject (which uses Hibernate) to send back a populated Patients List in the request scope. (Patient is my bean). I am feeding this p

[OT] problem with displaytag column sorting in struts 1.2 web project

2007-04-08 Thread robin bajaj
Hi All, In my Struts 1.2.x webapp, I am getting some Patient records from backend using my PatientManager businessObject (which uses Hibernate) to send back a populated Patients List in the request scope. (Patient is my bean). I am feeding this patientsList to Displaytag table, to show the dat

RE: html:select and sorting

2007-01-05 Thread Bolutiwi, Olu
Thanks much appreciated -Original Message- From: Puneet Lakhina [mailto:[EMAIL PROTECTED] Sent: 04 January 2007 19:47 To: Struts Users Mailing List Subject: Re: html:select and sorting On 1/4/07, Bolutiwi, Olu <[EMAIL PROTECTED]> wrote: > > Hi all, I have the same iss

Re: html:select and sorting

2007-01-04 Thread Ranjan Kumar Baisak
select and sorting Hi, Is there any way to sort all the elements while using html:select? -R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] PLEASE NOTE: THE ABOVE MESSAGE WA

Re: html:select and sorting

2007-01-04 Thread Puneet Lakhina
the order in which they were inserted in the map that should keep you database ordering intact. hope it helps Cheers -Original Message- From: Ranjan Kumar Baisak [mailto:[EMAIL PROTECTED] Sent: 04 January 2007 15:30 To: Struts Users Mailing List Subject: html:select and sorting Hi,

RE: html:select and sorting

2007-01-04 Thread Dave Newton
> > How can I use a collection that supports key & value, keep it sorted > and use it in my html:select without messing up the sort order. Use a different Comparator when you instantiate your TreeMap. Html:select is just a thin wrapper around the standard HTML tags... Sorting must

RE: html:select and sorting

2007-01-04 Thread Manos Batsis
Quoting "Bolutiwi, Olu" <[EMAIL PROTECTED]>: > How can I use a collection that supports key & value, keep it sorted > and > use it in my html:select without messing up the sort order. You can make your keys comparable [1] or put your results in a collection that does not try to re-sort them. [1

RE: html:select and sorting

2007-01-04 Thread Bolutiwi, Olu
supports key & value, keep it sorted and use it in my html:select without messing up the sort order. Cheers -Original Message- From: Ranjan Kumar Baisak [mailto:[EMAIL PROTECTED] Sent: 04 January 2007 15:30 To: Struts Users Mailing List Subject: html:select and sorting Hi, Is there

Re: html:select and sorting

2007-01-04 Thread Ranjan Kumar Baisak
Dave Newton wrote: From: Ranjan Kumar Baisak [mailto:[EMAIL PROTECTED] Is there any way to sort all the elements while using html:select? Sure; sort the collection before you use it in html:select. Dave - To unsubscr

RE: html:select and sorting

2007-01-04 Thread Dave Newton
From: Ranjan Kumar Baisak [mailto:[EMAIL PROTECTED] > Is there any way to sort all the elements while using html:select? Sure; sort the collection before you use it in html:select. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED

html:select and sorting

2007-01-04 Thread Ranjan Kumar Baisak
Hi, Is there any way to sort all the elements while using html:select? -R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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? > > > >

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

2006-02-21 Thread Narayanan, Shiva
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? Looked at displaytag. I want to retrieve data from the database using hibernate. Many Thanks!!

struts layout collection client side sorting

2005-11-17 Thread Raghu Kanchustambham
Hi, I have the following code: http://enquiry.id/>}" sortable="true"/> http://enquiry.id/>}">enroll http://enquiry.id/>}">View / http://enquiry.id/>}"> Update When I code this way, I see "sort" icons in the head

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

Re: sorting of table columns

2005-11-04 Thread Martin Gainty
king for ?? Martin- - Original Message - From: "fea jabi" <[EMAIL PROTECTED]> To: Sent: Friday, November 04, 2005 9:11 AM Subject: sorting of table columns can we sort table columns when clicked on the column header using struts? I mean does struts provide any tag to

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

sorting of table columns

2005-11-04 Thread fea jabi
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? Thanks. _ Don’t just search. Find. Check out the new MSN Search!

Re: Problem using sorting, paging on displaytag+struts tile

2005-10-25 Thread Laurie Harper
sapto wrote: first i'd like to say sorry if someone already ask this question before, i face problem when using paging and sorting using displaytag on struts tile, it happened when i click link for paging or sorting, displaytag try to reloading .jsp page (that act as template for othe

Problem using sorting, paging on displaytag+struts tile

2005-10-25 Thread sapto
first i'd like to say sorry if someone already ask this question before, i face problem when using paging and sorting using displaytag on struts tile, it happened when i click link for paging or sorting, displaytag try to reloading .jsp page (that act as template for other jsp ) not relo

Re: OT Friday - Random sorting

2005-06-03 Thread Dave Newton
Mark Benussi wrote: I am trying to write a comparator that randomly sorts a collection. I'm not entirely convinced that the word "sort" it applicable here. Collections.shuffle might do what you want if you have a List. Dave ---

Re: OT Friday - Random sorting

2005-06-03 Thread Riyaz Mansoor
i may be missing something here, but if random is what u want in a collection, then y don't u use Collections.shuffle() ? riyaz Mark Benussi wrote: Hello. I am trying to write a comparator that randomly sorts a collection. I have something like this: new Comparator() {

OT Friday - Random sorting

2005-06-03 Thread Mark Benussi
Hello. I am trying to write a comparator that randomly sorts a collection. I have something like this: new Comparator() { /** * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object) */ public int compare(Object object1, Object object

RE: Problem with localization and database sorting

2005-03-10 Thread Benedict, Paul C
Kelly, I think you have conflicting requirements. You can't rely on strings outside the database for I18N support and then rely on them for sorting within the database. I think this leaves you with two options: 1. Create a 2nd table which contains your text messages. Join to this table and

Problem with localization and database sorting

2005-03-10 Thread Kelly Harward
sort columns by clicking on the column header (which munges the SORT BY clause on the underlying SQL query and relegates the actual task of sorting the data to the database). In many instances, we have various properties that are stored in the database using arbitrary tokens (think of an event log

Problem with localization and database sorting

2005-03-10 Thread Kelly Harward
sort columns by clicking on the column header (which munges the SORT BY clause on the underlying SQL query and relegates the actual task of sorting the data to the database). In many instances, we have various properties that are stored in the database using arbitrary tokens (think of an event log

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
| | cc: | | bcc:

RE: Sorting of array lists

2005-03-10 Thread Mark Benussi
) { title = string; } } } -Original Message- From: Krishna Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: 10 March 2005 08:35 To: Struts Users Mailing List Subject: Sorting of array lists Hi all, I have a doubt regarding sorting in array List. I have an array List

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

Sorting of array lists

2005-03-10 Thread Krishna Mohan Radhakrishnan
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 object contains 3 variables : plantitle ,plandescription and planname. I have to sort the arraylist based on the plantitle first and then based on the

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 Ma

Re: Fw: Sorting

2005-01-24 Thread Jim Barrows
rce Evangelist > EdgeTech, Inc. > 678.910.8017 > AIM: jmitchtx > > - Original Message - > From: "Suzy Fynes" <[EMAIL PROTECTED]> > To: > Sent: Monday, January 24, 2005 8:53 AM > Subject: Sorting > > > > > > > Hi, > > > > Can any

Sorting

2005-01-24 Thread Suzy Fynes
Hi, Can anyone suggest the best way to order data in a JSP (from mysql database) using struts? i.e. list of names and address, can click a column to order by first name, or last name or address etc Thanks Suzy

Fw: Sorting

2005-01-24 Thread James Mitchell
D]> To: Sent: Monday, January 24, 2005 8:53 AM Subject: Sorting Hi, Can anyone suggest the best way to order data in a JSP (from mysql database) using struts? i.e. list of names and address, can click a column to order by first name, or last name or address

RE: Displaytag, number formatting, and sorting

2005-01-07 Thread Paul McCulloch
; From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] > Sent: 07 January 2005 02:00 > To: 'Andy Engle '; 'user@struts.apache.org ' > Subject: RE: Displaytag, number formatting, and sorting > > > Use a column decorator. > > decorator="com.whitesandso

RE: Displaytag, number formatting, and sorting

2005-01-06 Thread Barnett, Brian W.
2005 6:41 PM Subject: Displaytag, number formatting, and sorting Hi all, I am using displaytag, and I would like to have a sortable column of large numbers. I want to format these numbers (they're going to be dollar amounts, like 1,400.00, 6.99, and the like), but it seems that I cannot have th

Displaytag, number formatting, and sorting

2005-01-06 Thread Andy Engle
t the same time. I either get a sortable column of numbers that look like this: 1400.00 33938.39 3450984530.83 .99 ...or a non-sortable column of nicely formatted numbers, like this: 1,400.00 33,938.39 3,450,984,530.83 .99 Has anyone been able to get the number formatting and the sorting to

Re: For sorting columns on user side with records

2004-10-20 Thread Zoran Avtarovski
Have a look at the displaytag taglib - displaytag.sourceforge.net. It provides sorting + a whole lot more. And it's struts friendly to boot. Z. >   > hi , > suppose i am using struts based app while showing data in various columns and > i wish to give user the choice to sort

Re: For sorting columns on user side with records

2004-10-20 Thread Frank W. Zammetti
g some really contrived JavaScript ... Good luck with your search. Eddie - Original Message - From: "nitin t" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 20, 2004 2:13 AM Subject: For sorting columns on use

Re: For sorting columns on user side with records

2004-10-20 Thread Eddie Bush
olutions that I can think of involve writing some really contrived JavaScript ... Good luck with your search. Eddie - Original Message - From: "nitin t" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 20, 20

Re: For sorting columns on user side with records

2004-10-20 Thread Jeff Beal
esigned to work well with Struts. I think this is more server-side sorting, though. There's a fast JavaScript table sorter at http://www.litotes.demon.co.uk/example_scripts/index.html. This is a big hairy JavaScript file, but it doesn't require much extra markup in your HTML file.

Re: For sorting columns on user side with records

2004-10-20 Thread Matt Bathje
Here is another solution that is more generic (you don't have to hard code data into arrays) and I know works in at least IE6 and FireFox/Mozilla. Not my work, I just like it a lot :) http://www.kryogenix.org/code/browser/sorttable/ Matt [EMAIL PROTECTED] wrote: Nothing exists in the taglibs or

Re: For sorting columns on user side with records

2004-10-20 Thread fzlists
ctionality, but means I only have to worry about proper operation in one browser!). Here's some code... Sorting example BODY { color: #00; font-SIZE: 13px; FONT-FAMILY: Verdana; BACKGROUND-COLOR: White; } B { color: Navy;font-SIZE: 13px; FONT-FAMILY: Verdana; B

For sorting columns on user side with records

2004-10-20 Thread nitin t
  hi , suppose i am using struts based app while showing data in various columns and i wish to give user the choice to sort the column based on his choice does there is a support in struts html tags or other validator javascript generator so that this feature can be performed like we previousl

RE: [DisplayTag]How to avoid 'context switching' when sorting col umns

2004-04-13 Thread Paul McCulloch
The attribute you are after is requestURI. Paul > -Original Message- > From: Takhar, Sandeep [mailto:[EMAIL PROTECTED] > Sent: Monday, April 12, 2004 12:21 PM > To: Struts Users Mailing List > Subject: RE: [DisplayTag]How to avoid 'context switching' when so

RE: [DisplayTag]How to avoid 'context switching' when sorting columns

2004-04-12 Thread Takhar, Sandeep
[mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 5:13 PM To: Struts Users Mailing List Subject: [DisplayTag]How to avoid 'context switching' when sorting columns Hi, i´ve got a sortable table with an actionbar generatet by decorator. The decorator returns dynamic links like this:

[DisplayTag]How to avoid 'context switching' when sorting columns

2004-04-08 Thread Frank Schaare
Hi, i´ve got a sortable table with an actionbar generatet by decorator. The decorator returns dynamic links like this: return "doIt". Though, an action in http://{myContext}/doSomething.do?id=x is called. This worked fine for me, until i tried to sort some colunms. Now, the jsp calls itself rek