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
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.
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&
--- 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="
gt; type="text/javascript">
>
>
>
>
>
>
> action='IrBuscarUsuario'/>
>
>
> src=".../../src/images/logo.jpg"/>
>
>
>
> Usuarios
>
> theme="ajax"
> href="%{buscarUsuario}"
> targ
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:> > > >
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.
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
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
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
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?
>
>
>
>
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
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 (
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
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
sort it in the private method readPlanObjectFromDB... in the query DB
select * from my_table ORDER BY .
|-+>
| | "Krishna Mohan |
| | Radhakrishnan" |
| | <[EMAIL PROTECTED]|
| |
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
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
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
41 matches
Mail list logo