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 <girish.n...@gmail.com> 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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to