You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by struts lover <st...@yahoo.com> on 2004/08/23 19:31:35 UTC

Browse button localization -- IMPORTANT !!!!

Hello Everyone,
I am stuck with this localization issue. 
I am using <html:file> tag. I am not able to localize
the text of the Browse button.
Does any one know how to solve this problem. 
Please help.

Thanks

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: Browse button localization -- IMPORTANT !!!!

Posted by struts lover <st...@yahoo.com>.
Thanks


--- Leandro Melo <lt...@yahoo.com.br> wrote:

> I think this problem goes right at the same point as
> the 100 last messages of the list... :-), the ones
> about a image button replacing the browse button.
> 
> 
>  --- struts lover <st...@yahoo.com> escreveu: 
> > Hello Everyone,
> > I am stuck with this localization issue. 
> > I am using <html:file> tag. I am not able to
> > localize
> > the text of the Browse button.
> > Does any one know how to solve this problem. 
> > Please help.
> > 
> > Thanks
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > http://mail.yahoo.com 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> > user-help@struts.apache.org
> > 
> >  
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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


Re: Browse button localization -- IMPORTANT !!!!

Posted by Leandro Melo <lt...@yahoo.com.br>.
I think this problem goes right at the same point as
the 100 last messages of the list... :-), the ones
about a image button replacing the browse button.


 --- struts lover <st...@yahoo.com> escreveu: 
> Hello Everyone,
> I am stuck with this localization issue. 
> I am using <html:file> tag. I am not able to
> localize
> the text of the Browse button.
> Does any one know how to solve this problem. 
> Please help.
> 
> Thanks
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
>  

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: date parsing/validation

Posted by Research labs <re...@yahoo.co.uk>.
Noted. Thank you very much.

 --- Erik Weber <er...@mindspring.com> wrote: 
> Looks to me like you probably want dd/MM/yyyy.
> 
> Erik
> 
> 
> Erik Weber wrote:
> 
> > Please see the API documentation for
> java.text.SimpleDateFormat's 
> > pattern syntax, which you are violating with
> DD/MON/YYYY. "MON" is not 
> > an acceptable token, and DD is day-in-year, not
> day in month.
> >
> > Erik
> >
> >
> > Research labs wrote:
> >
> >> Can anyone please tell what I can do in order to
> stop
> >> users from entering invalid dates. The validator
> does
> >> not raise an error if a user enters 33 as ad day,
> as
> >> in this sample date: 33/jan/2000.
> >>
> >> I am using Struts validator, which is setup as
> >> follows:
> >> <field property="dob"
> >> depends="maxlength,date">
> >> <arg0 key="cargoForm.dob"/>
> >> <arg1 name="maxlength"
> >> key="${var:maxlength}" resource="false"/>
> >> <var>
> >> <var-name>datePattern</var-name>
> >> <var-value>DD/MON/YYYY</var-value>
> >> </var>
> >> <var>
> >> <var-name>maxlength</var-name>
> >> <var-value>11</var-value>
> >> </var>
> >> </field>
> >>
> >> Thanks.
> >>
> >>
> >>
> >>
> >>
> >>
>
___________________________________________________________ALL-NEW
> 
> >> Yahoo! Messenger - all new features - even more
> fun! 
> >> http://uk.messenger.yahoo.com
> >>
> >>
>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail:
> user-help@struts.apache.org
> >>
> >>
> >>
> >>
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> user-help@struts.apache.org
> >
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
>  


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com

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


Re: date parsing/validation

Posted by Erik Weber <er...@mindspring.com>.
Looks to me like you probably want dd/MM/yyyy.

Erik


Erik Weber wrote:

> Please see the API documentation for java.text.SimpleDateFormat's 
> pattern syntax, which you are violating with DD/MON/YYYY. "MON" is not 
> an acceptable token, and DD is day-in-year, not day in month.
>
> Erik
>
>
> Research labs wrote:
>
>> Can anyone please tell what I can do in order to stop
>> users from entering invalid dates. The validator does
>> not raise an error if a user enters 33 as ad day, as
>> in this sample date: 33/jan/2000.
>>
>> I am using Struts validator, which is setup as
>> follows:
>> <field property="dob"
>> depends="maxlength,date">
>> <arg0 key="cargoForm.dob"/>
>> <arg1 name="maxlength"
>> key="${var:maxlength}" resource="false"/>
>> <var>
>> <var-name>datePattern</var-name>
>> <var-value>DD/MON/YYYY</var-value>
>> </var>
>> <var>
>> <var-name>maxlength</var-name>
>> <var-value>11</var-value>
>> </var>
>> </field>
>>
>> Thanks.
>>
>>
>>
>>
>>
>> ___________________________________________________________ALL-NEW 
>> Yahoo! Messenger - all new features - even more fun! 
>> http://uk.messenger.yahoo.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


Re: date parsing/validation

Posted by Erik Weber <er...@mindspring.com>.
Please see the API documentation for java.text.SimpleDateFormat's 
pattern syntax, which you are violating with DD/MON/YYYY. "MON" is not 
an acceptable token, and DD is day-in-year, not day in month.

Erik


Research labs wrote:

>Can anyone please tell what I can do in order to stop
>users from entering invalid dates.  The validator does
>not raise an error if a user enters 33 as ad day, as
>in this sample date: 33/jan/2000.
>
>I am using Struts validator, which is setup as
>follows:
>			 <field property="dob"
>                    depends="maxlength,date">
>                    <arg0 key="cargoForm.dob"/>
>                   <arg1 name="maxlength"
>key="${var:maxlength}" resource="false"/>
>                    <var>
>                      
><var-name>datePattern</var-name>
>                      
><var-value>DD/MON/YYYY</var-value>
>                    </var>
>                    <var>
>                       <var-name>maxlength</var-name>
>                       <var-value>11</var-value>
>                    </var>
>			 </field>
>
>Thanks.
>
>
>	
>	
>		
>___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>  
>

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


date parsing/validation

Posted by Research labs <re...@yahoo.co.uk>.
Can anyone please tell what I can do in order to stop
users from entering invalid dates.  The validator does
not raise an error if a user enters 33 as ad day, as
in this sample date: 33/jan/2000.

I am using Struts validator, which is setup as
follows:
			 <field property="dob"
                    depends="maxlength,date">
                    <arg0 key="cargoForm.dob"/>
                   <arg1 name="maxlength"
key="${var:maxlength}" resource="false"/>
                    <var>
                      
<var-name>datePattern</var-name>
                      
<var-value>DD/MON/YYYY</var-value>
                    </var>
                    <var>
                       <var-name>maxlength</var-name>
                       <var-value>11</var-value>
                    </var>
			 </field>

Thanks.


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com

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