Hmm, there's nothing to be done for that. If the bean you're using has a
value in it, the tag lib will display that value appropriately. To wit,
suppose we have a Person bean and a Name attribute; let us also assume
that myPerson.getName() yields "Joe". In that case, using

<form:text name="myPerson" property="name" />

will construct HTML text like this:

<input type=text name="name" value="Joe">

And subsequent invocations will track changes to myPerson.

On Wed, 13 Dec 2000, Keith Kwiatek wrote:

> Thanks....  I understand that your taglib doesn't do validation, but do you
> have any examples how how I would  take the form data, validate it, and then
> use your taglib to redisplay the selected values? I emphasize the part about
> "redisplaying selected values".....
> 
> 
> Keith
> 
> ----- Original Message -----
> From: "Joseph B. Ottinger" <[EMAIL PROTECTED]>
> To: "Keith Kwiatek" <[EMAIL PROTECTED]>
> Cc: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 13, 2000 8:51 AM
> Subject: Re: Orion JSP form validation and redisplay...
> 
> 
> > My form taglib doesn't do anything except present it for use. Validation
> > is up to the client, following my personal conviction that presenting
> > architecture is fine and good as long as everybody wants to use it - and
> > not everyone wants to use it. :) Thus, the scope of the form taglib that
> > *I* wrote is limited.
> >
> > On Wed, 13 Dec 2000, Keith Kwiatek wrote:
> >
> > > >
> > > > > Thanks,
> > > > >
> > > > > I have found some traces of Orion taglibs, but nothing so far that
> > > handles
> > > > > forms.... anything in them that you have found that handles forms?
> OR
> > > are
> > > > > people using Orion and Struts successfully?
> > > > >
> > > > > Keith
> > > >
> > > > They are, as it turns out; I also have a form taglib (which is very
> > > > similar to Struts' form taglib, although they are unrelated) available
> at
> > > > http://cupid.suninternet.com/~joeo/Form.html .
> > > >
> > >
> > >
> > > Thanks for helping the newbie! It looks pretty good.... but how/where do
> you
> > > do validation on the data?
> > >
> > > Keith
> > >
> >
> > -----------------------------------------------------------
> > Joseph B. Ottinger                           [EMAIL PROTECTED]
> > http://epesh.com/                             IT Consultant
> >
> >
> 

-----------------------------------------------------------
Joseph B. Ottinger                           [EMAIL PROTECTED]
http://epesh.com/                             IT Consultant


Reply via email to