[Seasar-user:10949] Re: Time validator

Yasuo Higa [E-MAIL ADDRESS DELETED]
2007年 10月 11日 (木) 11:54:06 JST


Hi, guys.
> 
> I'm sorry , still can't work.
>  I am afraid it is the onload function which changes the values of select
> options each time i validator.
> I'd better to write a js to resolve this case?
> 
I'm not sure of your js code.
Please, refer to the below page.
http://teeda.seasar.org/ja/extension_component_reference.html#
selectOneMenu
> >
> > Hi, all.
> > >
> > > I designed a selectbox to select years like below:
> > > <select  id="SYear">
> > > </select>
> > >
> > > And in the html onload function evaluated the options :
> > >  <body onload="setSYear();">
> > >
> > > And these is a Search button to do Search.Before search i need to do
> > > some validation .
> > > But once my validation failed , the select  value disappeared. Others
> > like
> > > input text all maintained , why?
> > >
> > The reason is that "SYearItems" is not kept
> > after reder phase.
> >
> > So, You should define hidden tag as follows:
> > <input type="hidden" id="SYearItemsSave"/>
> >
> > --
> > Yasuo Higa
> > [E-MAIL ADDRESS DELETED]
> > _______________________________________________
> > Seasar-user mailing list
> > [E-MAIL ADDRESS DELETED]
> > https://ml.seasar.org/mailman/listinfo/seasar-user
> >
> 
> 
> 
> 
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user
> 
> 
> 


--
Yasuo Higa
[E-MAIL ADDRESS DELETED]



Seasar-user メーリングリストの案内