On 11/7/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
I am editing on firefox 1.5.0.7 on SuSE linux 10.1 and there the fields are still editable.
Apart from this, I just checked and it looks like the other form elements also have a method of disabling them by adding a 'disabled' attribute so attribute modifiers could still be a solution. See
http://www.mozilla.org/newlayout/testcases/htmlforms/disabledforms.html
The only problem is in styling these elements so that they become more readable.
Ok, but then I have to look at how to style them because they are not that readable.
It seems that the readonly modifier can only be applied with <input type="text"/> so that is not a general solution. The other one disabling the form works, but suggests that the fields are editable even though form submission has no effect.
what browser/platform are you testing in? in ffox2 on windows i dont think those fields are still editable, they are grayed out.
I am editing on firefox 1.5.0.7 on SuSE linux 10.1 and there the fields are still editable.
Apart from this, I just checked and it looks like the other form elements also have a method of disabling them by adding a 'disabled' attribute so attribute modifiers could still be a solution. See
http://www.mozilla.org/newlayout/testcases/htmlforms/disabledforms.html
The only problem is in styling these elements so that they become more readable.
Also, the second one is an all or nothing solution enabling or disabling all fields at once.
instead of disabling the form you can also disable individual form components
Ok, but then I have to look at how to style them because they are not that readable.
It looks like I have to develop something myself. I am going to think hard now on what to do: develop custom forms and panels for read-only versions or develop a generic mechanism.
-igor
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
