Hi Chad Am 21 Apr 2005 um 23:45 hat Wouter Zoons geschrieben:
> [EMAIL PROTECTED] wrote: > > Hi list, > > > > 1. will it work if I use "strict MM.yyyy" without dd as date validation > > format? > > > > yes This does not work. If I submit a valid date in this format MM.yyyy the hint displayed. "Date is not a valid date or does not respect the 'MM.yyyy' format. I think there is only a problem in the js if using this format. > > If that's working will the day filled by default with 01? > > > > I can only refer to the java.text.SimpleDateFormat javadoc > > > And will the incoming page variable (date) rendered in this format too? > > > > try it, I don't have enough information to answer you This works. Thank you > > 2. If using pattern validation do I have to add a backslash before a wanted > > backslash > > like in java strings? (\\. or \.) > > > > you have to write the pattern that will be used in JavaScript (without > the leading ^ and trailing $) > > > 3. If I'm using a table with many columns the body will rendered under the > > menu. What > > would you do to handle such problem? A new tiles definition? > > > > configure displaytag, using CSS you can play with the table layout > > > > 4. Is there a way to set the checked item of a select widget. If I have to > > manually edit > > the jsp, is there a jstl way for such thing? I would do that with tricky, > > ugly code? > > > > yes, suppose you have a parameter 'person' that is a <select> > then you'll see 'getPersonBackingList()' in the action form > > so you populate the list to have all the entries (= the backing list) > and if you set the 'person' property you will indicate which entry to > show by default > > no need to edit the page > > -- Wouter > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Andromda-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/andromda-user > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
