No tiene nada que ver con el tema pero que excelente que algunos hablen
español, me parece excelente el hecho que la comunicacion se pueda realizar
en ambos idiomas!!!.

2010/9/28 Andrés Martínez <andresml...@gmail.com>

> Hola John,
>
> De antemano te agredezco tu ayuda, mi problema es el siguiente:
>
> Tengo una página con login (/index.jsp) la cual válido con Ajax, en el
> ActionBean válido que los campos hayan sido capturados y que se encuentren
> en la DB, en caso de haber un error se escribe el mensaje en la página
> asincronamente. La funcion de JS que estoy usando es:
>
> function invoke(form, event, container) {
>               if (!form.onsubmit) { form.onsubmit = function() { return
> false } };
>               var params = Form.serialize(form, {submit:event});
>               new Ajax.Updater(container, form.action, {method:'post',
> parameters:params});
>    }
>
> y el llamado lo realizo en el evento onclick del <stripes:image
> onclick="invoke(this.form, this.name, 'result');">
>
> Mi duda es la siguiente, una vez que no existen errores que mostrar en la
> página de login, como puedo hacer para que automaticamente se cambie a la
> pagina de bienvenida (/home.jsp)
>
> Saludos y gracias.
> A.
> On Tue, Sep 28, 2010 at 2:41 PM, Newman, John W <
> john.new...@viaoncology.com> wrote:
>
>>  Hi Andres,
>>
>>
>>
>> Based on your email I’m not really sure what your question is.  Can you
>> please clarify what your problem is and what you need to happen so someone
>> can help?
>>
>>
>>
>> También, algunos de nosotros hablan español
>>
>>
>>
>> *From:* Andrés Martínez [mailto:andresml...@gmail.com]
>> *Sent:* Tuesday, September 28, 2010 2:54 PM
>> *To:* Stripes-users@lists.sourceforge.net
>> *Subject:* [Stripes-users] Login page with AJAX
>>
>>
>>
>> Hi,
>>
>>
>>
>> I have a login.jsp page (user and password), the field validation is done
>> with ajax, if there is any error message is displayed on div tag.
>>
>> As I can redirect to login.jsp page home.jsp once the fields are correct.
>>
>> Thanks
>> --
>> Andres M. Luna
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Stripes-users mailing list
>>
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>
>
> --
> Andrés M. Luna
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to