Re: Format USDollars

2006-06-08 Thread Vinit Sharma
atting in JSP see: http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/fmt/formatNumber.html Ciao Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vinit Sharma IBM

Re: change date validator-rules

2006-05-25 Thread Vinit Sharma
change date validator-rules so ih the input data id equal "#" > > than return that everything > > is ok... How can i do that? > > > > Tnx, Stanislav > > > --------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vinit Sharma IBM

Re: change date validator-rules

2006-05-25 Thread Vinit Sharma
... How can i do that? Tnx, Stanislav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vinit Sharma IBM

Multi-Channels tiles

2006-05-24 Thread Vinit Sharma
Hi, I'm looking for an example on multi-channels tiles. The url: http://www.lifl.fr/~dumoulin/tiles/ did not help me much. Any clues?? Thx, -- Vinit Sharma IBM

Re: get ResourceBundle in ActionForm subclass

2006-05-24 Thread Vinit Sharma
EMAIL PROTECTED] Thanks and Regards, Novin Jaiswal +919890089443(M) +912039511388(H) +912026901306(O) direct +912026982424 Extn:1306 - Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -- Vinit Sharma IBM

Re: Regarding in struts-config.xml

2006-05-24 Thread Vinit Sharma
ro.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vinit Sharma IBM

Re: Null Exception in ActionForm

2006-05-22 Thread Vinit Sharma
ion.java,I guess TestForm may be null.How to do to realize put some value in Form through Action and put return to b.jspshow and may modify these value in b.jsp? Thanks in advance -- Vinit Sharma IBM

Validation Bug 29151

2006-05-15 Thread Vinit Sharma
n errors for other fields than the one currently being processed." Please correct me if I'm wrong. Thanks, -- Vinit Sharma IBM

Re: tiles

2006-05-03 Thread Vinit Sharma
struts framework. Thanks in advance mano -- Vinit Sharma IBM

Re: Validator rules not loaded

2006-05-02 Thread Vinit Sharma
emmens Marketpipe Limited a. 7 Soho Square, London W1D 3QB, UK t. +44 20 7297 8401 f. +44 20 7297 8427 e. [EMAIL PROTECTED] w. www.marketpipe.com -- Vinit Sharma IBM

Re: jsp / html in struts by eclipse

2006-04-28 Thread Vinit Sharma
box is coming as it should,but it stucks ther & doesnt show any progress atall, to come ot of it i hav 2 close whole project & again start eclipse , finally i m nt able to create a jsp & html file thro my eclipse , anybody knowas why? -- Vinit Sharma IBM

Re: How use AND,OR in logic struts tag lib

2006-04-27 Thread Vinit Sharma
|| or && in > > > Thanks > > > > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Vinit Sharma IBM

Re: bean:define in including jsp

2006-04-24 Thread Vinit Sharma
this because, the tiles stuff > is > evaluated before the struts tags? > > If so, how can I have a bean:define in an including jsp, which can be used > in all the included jsps? If I add this bean :define, in b.jsp, it is > obviously accessible in b.jsp, but I don't want to add bean:define in > every > included jsp . > > thanks, > > -- Vinit Sharma IBM

Re: Beginner's question on Struts and JSP

2006-04-23 Thread Vinit Sharma
d link it to the view (JSP) ? Sample > > view > > > code would be very helpful. I think I need to have a collection type > > in the > > > form bean to store the values from the database and some how link to > > the the > > > table in the JSP ( but don;t know how to do it) > > > > > > Thanks ! > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- Vinit Sharma IBM

Re: directly addressing maps in jsp-file

2006-04-18 Thread Vinit Sharma
dcoded? Is it written like this: > > > > > Kind regards, > Andreas Hartmann > > > > Vinit Sharma wrote: > > Hi, > > > > JSTL can help you here. Suppose key comes from bean item: > > > > > > > &g

Re: directly addressing maps in jsp-file

2006-04-18 Thread Vinit Sharma
gt; > > Access with iterate through Arraylist: > > > > > > > > > > > > > > > > > > > > > direct access of the value with the key in the hashtable: > > > > > > > > > The key could come from an method (Something like > some_other_list.get(1) > >

Validation Problem with custom country

2006-04-18 Thread Vinit Sharma
Hi, I'm using localized validations in my application. I would like to use a formset definition for a custom country name, as below: Is there any way I can make Struts validator to work with custom country names?? Thanks, -- Vinit Sharma IBM

Re: [Amount pattern matching - validator]

2006-04-18 Thread Vinit Sharma
on] > > In short, if a user enter the value for this field, it should match this > pattern. > > thanks in adv > > -- > Regards, > Deva. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Vinit Sharma IBM

Re: directly addressing maps in jsp-file

2006-04-12 Thread Vinit Sharma
regards, > Andreas Hartmann > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Vinit Sharma IBM

Validation Problem

2006-04-09 Thread Vinit Sharma
nt in request/session scope. In effect, i want to call validation as below: OR based on some param check. This field is part of single formset element, as I mentioned my formset has been localized. Any insight? Thanks in advance, -- Vinit Sharma IBM

Re: How to get only dijest from this group ???

2006-04-06 Thread Vinit Sharma
- > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great > rates starting at 1¢/min. > -- Vinit Sharma IBM

Tree display in JSP page

2006-04-06 Thread Vinit Sharma
s compared to what we can do in a normal class, any idea how this can be done? Thanks, -- Vinit Sharma IBM

Re: how to use message resource key for href

2006-04-05 Thread Vinit Sharma
My c:set is as below: and it works fine. Thanks, On 4/5/06, Adam Hardy <[EMAIL PROTECTED]> wrote: > > What does your c:set look like? > > > Vinit Sharma on 04/04/06 08:58, wrote: > > But I faced a problem with the fmt tag, the variable link contains

Re: how to use message resource key for href

2006-04-04 Thread Vinit Sharma
But I faced a problem with the fmt tag, the variable link contains the key instead of the text value. Any clue?? On 4/4/06, Vinit Sharma <[EMAIL PROTECTED]> wrote: > > Thanks, > > I used a in combination with . But fmt tag looks > neat. > > :) > > > On 4/4/06

Re: how to use message resource key for href

2006-04-04 Thread Vinit Sharma
Thanks, I used a in combination with . But fmt tag looks neat. :) On 4/4/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > > Perhaps somethig like this may work : > > > > Some text > > > Nico. > > Vinit Sharma a écrit : > > Hi, > > &

how to use message resource key for href

2006-04-04 Thread Vinit Sharma
Hi, My requirement is to use a message resource key for html:link href attribute instead of passing a hardcoded value. Below: Some text I want to replace, ${item.link} with a key from resource file, btw my ${ item.link} returns a key only. Can some one give an insight. Thanks, -- Vinit

Internationalized Validation

2006-03-30 Thread Vinit Sharma
submitted, the validation fails on this field. Is there any way I can support validations based on user locale in Struts? Thanks, -- Vinit Sharma

Number Format Error

2006-03-29 Thread Vinit Sharma
Hi, When I tried to run the tip given in article: http://www.jguru.com/faq/view.jsp?EID=915891 I get an error "Cannot format given Object as a Number". Can some one please give an insight on this one. I'm using Struts 1.2.4. Thanks, -- Vinit Sharma

Re: Error

2006-03-24 Thread Vinit Sharma
The page doesn't contain errorKey as an attribute, but certainly I'm working on 1.2.4 binaries. But same approach and binaries have not posed and problem in another implementation. Thanks, On 3/24/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > > On 3/24/06, Vinit Sh

Error

2006-03-24 Thread Vinit Sharma
member of MRInfoForm. CardInfoBean implements Serializable. Thanks, -- Vinit Sharma

Re: [OT]Loading Image Problem

2006-03-23 Thread Vinit Sharma
is X. > > What should I do to fix the problem? Thank you. > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Vinit Sharma

Re: html:option on a nested collection

2006-03-23 Thread Vinit Sharma
n > apps > there is a getter for actions. > > There is no getter for act as this is deifined in the iterate tag > > Still stuck!! > > -----Original Message- > From: Vinit Sharma [mailto:[EMAIL PROTECTED] > Sent: 23 March 2006 15:01 > To: Struts Users Mailing List >

Re: html:option on a nested collection

2006-03-23 Thread Vinit Sharma
If the suggestion is to go with nested tags please provide an example as I > could not get far with this either. > > > > Secondly, If I submit the form but have modified two rows from the drop > down > when I get to the action class how can I know which rows I have modified. > > > > Thanks in advance > > > > > -- Vinit Sharma

Re: Validation Problem

2006-03-22 Thread Vinit Sharma
gt;> input="missions_copyMailToBasket.jsp" > >>> name="candidateForm" > >>> scope="request" > >>> validate="false"> > >>> > >>> > >>> > >>>... > >>> > >>> > >>> >>>parameter="com.cvdunet.controller.ApplicationResources"/> > >>> > >>> > >>> > >>>In the action : > >>> > >>> CandidateForm candidateForm = (CandidateForm) form; > >>> ActionMessages errors = candidateForm.validate(); > >>> if (!errors.isEmpty()) { > >>> this.saveErrors(request, errors); > >>> return mapping.getInputForward(); > >>> } > >>> > >>> > >>> > >>>And in the form : > >>> > >>>public ActionMessages validate() > >>>{ > >>>ActionMessages errors = new ActionMessages(); > >>>ActionMessage error = new > >>>ActionMessage(CandidateConstant.NO_BASKET); > >>>errors.add(ActionMessages.GLOBAL_MESSAGE, error); > >>>return errors; > >>> } > >>> > >>> > >>>Can anyone help ? > >>>Thank you > >>> > >>>-- > >>>Thibaut Lassalle > >>> > >>> > >>> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Vinit Sharma