You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andre L DINIZ-POLITEC <an...@hsbcglt.com.br> on 2009/04/14 18:32:04 UTC

Validation - Simple Theme

Hi Guys,

How can I use the Struts validation approach using "simple" theme?

Any sample?

Thanks,

André.


-----------------------------------------
This E-mail is confidential. It may also be legally 
privileged. If you are not the addressee you may not
copy, forward, disclose or use any part of it. If 
you have received this message in error, please delete
it and all copies from your system and notify the sender
immediately by return E-mail.
Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept 
liability for any errors or omissions.
"SAVE PAPER - THINK BEFORE YOU PRINT!"
 
Esta mensagem pode conter informações confidenciais e/ou 
privilegiadas. Se você não for o destinatário ou a pessoa
autorizada a recebê-la, não pode usar, copiar ou divulgar
as informações nela contidas ou tomar qualquer ação baseada
nelas. Se você recebeu esta mensagem por engano, por favor,
avise imediatamente o remetente, e em seguida, apague-a.
Comunicações pela Internet não podem ser garantidas quanto
à segurança ou inexistência de erros ou de vírus.
O remetente, por esta razão, não aceita responsabilidade por
qualquer erro ou omissão no contexto da mensagem decorrente
da transmissão via Internet.
"ECONOMIZE PAPEL - PENSE ANTES DE IMPRIMIR!"

Issue with RequestAware

Posted by Sa...@harvardpilgrim.org.
Hello,

I have a quick question regarding RequestAware interface. When implemented 
by an action class, what would be the contents of the Map? I am always 
seeing the following three. My expectation was, it would contain the input 
from JSP as well (like text from textbox, selection from a list box etc). 

struts.actionMapping 
struts.valueStack 
__cleanup_recursion_counter 

Is my understanding incorrect? If so, how do I access the values submitted 
by the user? Thanks in advance. 

Regards
Sateesh



------------------------------------------------------------------
The information contained in this email message and any attachments may be privileged and/or confidential.  It is for intended addressee(s) only.  If you are not the intended recipient, you are hereby notified that any review, disclosure, reproduction, distribution or other use of this communication is strictly prohibited.  If you received this email in error, please notify the sender by reply and delete the message without saving, copying or disclosing it.  Thank you. 

Re: Validation - Simple Theme

Posted by Dave Newton <ne...@yahoo.com>.
Andre L DINIZ-POLITEC wrote:
> How can I use the Struts validation approach using "simple" theme?

The only issue is displaying field error messages.

Checking for field error messages is as simple as checking the 
fieldErrors map for values using the field name as the key: OGNL is your 
friend.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org