Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Struts Readonly...

Reply
Thread Tools

Struts Readonly...

 
 
Laverna
Guest
Posts: n/a
 
      06-15-2007
Hi,

can anybody tell me, if it's possible to set sturts fields in an jsp
site to readonly via an action?
Hope it is understandable what I want, my englisch isn't the best...

Greetings
Laverna

 
Reply With Quote
 
 
 
 
Alan Cui
Guest
Posts: n/a
 
      06-15-2007
You have to set this struts HTML input as readonly within JSP, other
than in an action.

Readonly is a status of HTML control. Actions don't deal with such
kind of things, they only care about the value of each control.

for example:
<html:text readonly=""<%=readOnlyValue%>" property="test"/>


On Jun 15, 5:36 pm, Laverna <(E-Mail Removed)> wrote:
> Hi,
>
> can anybody tell me, if it's possible to set sturts fields in an jsp
> site to readonly via an action?
> Hope it is understandable what I want, my englisch isn't the best...
>
> Greetings
> Laverna



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it safe to point to Internet for locating struts DTD files in struts TLDs and XML files? Katie Wright Java 8 01-07-2005 03:37 PM
[Struts] Newbie - For ActionForm population, must I use Struts taglib? Pratap Das Java 2 04-05-2004 07:42 PM
[Struts]output javascript in struts perform() sin Java 3 02-22-2004 08:27 AM
Integrate a Struts app with a non-struts app jc1771 Java 0 12-28-2003 06:36 PM
Struts Installation - missing struts.tld??? Jason Us Java 0 10-03-2003 11:36 PM



Advertisments