RE: AGAIN: Using ApplicationResources.properties for submit button

2001-10-25 Thread Bajaj, Simrandeep

use a normal button and call the submit function on click of button 

other wise u have to use scriptlets in value of button and the scriptlet
will have the value of string that gets loaded using application resources
properties

Thanks



-Original Message-
From: Bernhard J. Hirschmann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 4:12 AM
To: Struts-User
Subject: AGAIN: Using ApplicationResources.properties for submit button


Hello guys!

Just in case anybody can give me a hint - again my message from yesterday:

==

How is it possible to use a String defined in
ApplicationResources.properties for the value of a submit button?

I would need something like:

"
property="udmButton" />

...but that doesn't work.


Thanks in advance for any help!



RE: Enabling/Disabling of form fields on page load

2001-08-09 Thread Bajaj, Simrandeep

i was doing the same thing.
I am doing this way.

I am adding attributes in formbean respective to fields which has boolean
values that it is read only or not.I am setting the values in the action
depending on user role.

Then i enable and disable the fields in jsp through javascript and getting
the values from form bean.


thanks

-Original Message-
From: B Manikandan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 2:10 PM
To: struts
Subject: Enabling/Disabling of form fields on page load


Hi,
   I have a requirement where I need to enable/disable form fields on
page load up.The enabling/disabling depends on user access and I have
the access rights as on object in context.

   How do I use this object ? I do not want to resort to 
as my code will become big.

Mani