RE: Validation errors in Action

2007-10-12 Thread Julien Leonard
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

RE: [S2] Send a request AJAX in JS

2007-10-11 Thread Julien Leonard
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

RE: [S2] Send a request AJAX in JS

2007-10-11 Thread Julien Leonard
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

RE: Localized text in a tooltip

2007-10-11 Thread Julien Leonard
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.

RE: [S2] Send a request AJAX in JS

2007-10-11 Thread Julien Leonard
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

RE: [S2] Send a request AJAX in JS

2007-10-09 Thread Julien Leonard
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

[S2] Send a request AJAX in JS

2007-10-09 Thread Julien Leonard
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

[S2] Access to ressource Bundle

2007-10-04 Thread Julien Leonard
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

[S2] format currency

2007-07-31 Thread Julien Leonard
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 --

[S2] OptionTransferSelect in 2.0.8

2007-06-25 Thread Julien Leonard
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

[S2] dynamic forms

2007-06-04 Thread Julien Leonard
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

Re: [S2] Optiontransfertselect tag

2007-05-29 Thread Julien Leonard
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

Re: [S2] Optiontransfertselect tag

2007-05-29 Thread Julien Leonard
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. >

Re: [S2] Optiontransfertselect tag

2007-05-28 Thread Julien Leonard
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

[S2] Optiontransfertselect tag

2007-05-28 Thread Julien Leonard
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 :

Re: [S2 v2.1.0] DateTimePicker : Dojo javascript error

2007-05-23 Thread Julien Leonard
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

Re: [S2] How to get the value of the datetimepicker?

2007-05-22 Thread Julien Leonard
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

Re: datetimepicker is not showing at all

2007-05-22 Thread Julien Leonard
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 ? -

[S2] How to get the value of the datetimepicker?

2007-05-22 Thread Julien Leonard
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

[S2] Validation on datetimepicker

2007-05-21 Thread Julien Leonard
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

Re: [S2] UTF8 with ajax results

2007-05-14 Thread Julien Leonard
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

Re: [S2] UTF8 with ajax results

2007-05-14 Thread Julien Leonard
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

[S2] UTF8 with ajax results

2007-05-14 Thread Julien Leonard
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

Re: datetimepicker tag problem

2007-05-11 Thread 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