There is no readonly attribute in s:datetimepicker tag. I am using the
following tag
<s:datetimepicker id="registration_date_of_birth_field"
name="dateOfBirth"
labelposition="left"
type="date" toggleDuration="2000"
toggleType="fade" disabled="true"
required="true"
displayFormat="yyyy-MM-dd'T'HH:mm:ss"
weekStartsOn="1" />
PFA for the rendered UI for the above tag.
Regards,
---------------------------------------------------------
Girish Naik
Mobile:-+91-09740091638
[email protected]
Frank Lloyd
Wright<http://www.brainyquote.com/quotes/authors/f/frank_lloyd_wright.html>
- "TV is chewing gum for the eyes."
On Fri, May 29, 2009 at 11:37 PM, Jim Collings <[email protected]> wrote:
> I just did this a while ago. All I had to do was set:
>
> readonly="true"
>
> on the struts textfield tag. Mine doesn't have an icon though.
>
> On Fri, May 29, 2009 at 2:00 PM, Girish Naik <[email protected]>
> wrote:
> > Hi,
> > I have used struts2-core-2.0.11.2 in My Application. And intend to use
> the
> > Struts date time picker, but the text field is coming as an editable
> field.
> > I want to make it as a readonly textbox. The funny thing is that the
> dojo
> > is not ready to pass my id to the textbox. Only name is supplied to the
> text
> > box.
> >
> > Any suggesstions on how to make the textbox non editable and only the
> icon
> > clickable?
>
> ---------------------------------------------------------------------
> 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]