Hello,
Why don't you use the validate() method ?
Julien
-Message d'origine-
De : Dean Pullen [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 12 octobre 2007 17:13
À : Struts Users Mailing List
Objet : Validation errors in Action
Hi all,
How do you get hold of the validation errors in an A
an ajax library that
will help you do it like Prototype, YUI, DWR, etc etc, or Dojo itself.
regards
musachy
On 10/11/07, Julien Leonard <[EMAIL PROTECTED]> wrote:
>
> No, I want to send a the request in a onclick of a ^^
>
> Julien
>
> -Message d'origine-
> De : M
that you want to do it yourself
(like, just for fun, it isn't any fun at all :) )?
regards
musachy
On 10/11/07, Julien Leonard <[EMAIL PROTECTED]> wrote:
>
> If fact, I don't need anymore to do this.
> But i'm curious !
>
> In fact, I want to send an ajax reques
Hello,
I think that you can try :
Julien
-Message d'origine-
De : Dean Pullen [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 11 octobre 2007 15:32
À : Struts Users Mailing List
Objet : Localized text in a tooltip
What's the best way to get localized text in a tooltip?
Cheers.
to answer this question. When used with the
Struts 2.0 Ajax theme, some of the Struts tags have some Ajax capability,
but the key point is what the tags do with the response.
HTH, Ted
http://www.catb.org/~esr/faqs/smart-questions.html
On 10/9/07, Julien Leonard <[EMAIL PROTECTED]> wrote
List
Objet : Re: [S2] Send a request AJAX in JS
--- Julien Leonard wrote:
> I want to make an ajax request (with a target) in a javascript
> function. In fact, I want to do what this
> does: <:a href="url" theme="ajax"
targets="target1">Make request
Hello all,
I want to make an ajax request (with a target) in a javascript function.
In fact, I want to do what this does :
<:a href="url" theme="ajax" targets="target1">Make request
but in a fonction javascript.
Somone know how to do that with struts 2.0.9 ?
Julien
This e-mail, any attach
Hello all,
In my Struts2 project, I use a custom ResourceBundle which takes i18n in a
database and cache them.
I have configured Struts to use it in struts.xml like this :
And it works !
But I want to acces to the ressource bundle instance to be able to invalid
the cache.
Is there someone t
Hi all,
I want to format currency in my application.
So I've tried this :
format.money={0,number,currency}
And it works fine. But I want to keep the same currency symbol in all locales.
In fact, I want an equivalence for this :
Can someone help me?
Julien
--
Hi all,
In 2.0.6, I used optiontransfertselect with Long params like this :
allowUpDownOnRight="false">
in my action I have this :
private List selectedCountries = new LinkedList();
public List getSelectedCountries()
{
return selectedCountries;
}
public void setSelectedCou
Hello all
I have a Jsp which in there is a form with a list of elements.
If we click on a element of the list, another list is deployed (in ajax)
with checkboxes.
If I submit the form, the values in the checkbox added by ajax, aren't send
with the form.
How can I resolve this?
Julien
elect template, but by adding it to the form we ensure
it's always executed even if the is form loaded via ajax with the
javascript removed.
See also http://www.mail-archive.com/user@struts.apache.org/msg60673.html
Julien Leonard wrote:
> Thanks for the information.
> But I have ano
AIL PROTECTED]>:
Just to confirm what you said, in 2.0.x javascript files referenced on
pages
loaded using the ajax tags are not loaded. This will be fixed on 2.1
musachy
On 5/28/07, Julien Leonard <[EMAIL PROTECTED]> wrote:
>
> Sorry for the mail.
> It work.
>
Sorry for the mail.
It work.
My solution :
-inclide optiontransfertselect.js in the parent page.
-set the attributes id and doubleId
Julien
2007/5/28, Julien Leonard <[EMAIL PROTECTED]>:
Hello all,
I have a problem on the optiontransfertselect Tag.
I success to display the optiontra
Hello all,
I have a problem on the optiontransfertselect Tag.
I success to display the optiontransfert but when i try to transfet an
option, I have this in my javascript error console :
Erreur : moveSelectedOptions is not defined
Fichier source : http://localhost:9090/listProduct.action
Ligne :
Maybe with this : instead of
2007/5/23, Andrew Penrose <[EMAIL PROTECTED]>:
Check to see if you have scriptaculos.js included as well as you dojo
scripts...I was getting a problem with firefox in relation to this.
Andrew
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECT
tValue();
to get a Date object:
dojo.widget.byId("datePicker").getDate();
musachy
On 5/22/07, Julien Leonard <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Since there is some problem with ajax validation, i'm trying to validate
> my
> self my dates with topics.
> But I
Hello
Try to had at the begining of your jsp.
Julien
2007/5/22, Mansour <[EMAIL PROTECTED]>:
I can not get datetimepicker to work.
Here's my Code:
and here's the html output:
dojo.require("dojo.widget.DatePicker");
Any Idea? Is there alternative for this one ?
-
Hello,
Since there is some problem with ajax validation, i'm trying to validate my
self my dates with topics.
But I can't get the value of the component in JS,.
Is someone know how to get the value of a datetimepicker ?
Julien
Hello all,
I'm using a datetimepicker in a search form, the result of the form is
displayed in a s:div (thanks theme="ajax" on s:submit ).
My problem is, when the user set a wrong value in the datetimepicker (
"toto"), the s:div is updated but with the error page. In fact it's another
form with a
if I want UTF8 specials characters, I must to also use tile for ajax
results.
Thanks for your reactivity Musachy.
Julien
2007/5/14, Musachy Barroso < [EMAIL PROTECTED]>:
Try setting struts.i18n.encoding in struts.properties or struts.xml
musachy
On 5/14/07, Julien Leonard <[EMAIL PRO
a regular request, what is the
encoding?
For struts, an ajax request is not different from a regular request.
musachy
On 5/14/07, Julien Leonard <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> I have a problem with characters encoding in ajax results.
> In fact I have a jsp wich
ll my .properties (for label) are encoded in UTF-8, my JSPs too. Adn I put
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> in
each JSPs.
Is anyone had this problem?
Julien Leonard
Hi,
I had the same problem.
Did you put tag?
In fact I think that the datetimepicker needs ajax includes.
Julien
2007/5/11, [EMAIL PROTECTED] <
[EMAIL PROTECTED]>:
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis
Investor Servicing. Les adresses mails des collaborateu
24 matches
Mail list logo