: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
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.
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
--- 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/
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
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
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="
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"
&
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
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();
});
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
--- 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
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
--- 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.
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
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
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
--
--- 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
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
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
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
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
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
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
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
>
> -
>
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
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
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
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
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
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,
>
> 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
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
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
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
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
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]
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:
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: [
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
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
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
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?
>
>
>
>
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!!
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
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
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
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
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
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
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
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]
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
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
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.
_
Dont just search. Find. Check out the new MSN Search!
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
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
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
---
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() {
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
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
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
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
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
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
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
|
| cc:
|
| bcc:
) {
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
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
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
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
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
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
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
; 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
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
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
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
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
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
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.
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
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
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
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
[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:
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
87 matches
Mail list logo