On 20/07/2006 22:02, Mike Kienenberger wrote:
On 7/20/06, ragsta <[EMAIL PROTECTED]> wrote:
a simple question: does the ALLOW_JAVASCRIPT parameter work?
Is very important for me that my site work even if the javascript is
disabled on the user browser but turnig off the param outputlink doesn't
work more...even if the primary goal of turning off the param is to
change
the behaviour of this command....
if this option is bugged I think I have to all back to a different
framework...
You will be very limited in what you can do if you disabled javascript.
For instance, h:commandLink cannot work without javascript.
Most of the interesting components also require javascript, as do a
lot of the common "tricks" for accomplishing tasks.
You're probably better off not using JSF if you're not able to allow
javascript.
We have had some success with using styled h:commandButtons instead of
commandLinks to avoid Javascript.
It's true that some advanced components cannot be used without
Javascript, but we have taken the approach that a site that degrades
gracefully is acceptable. For example, the inputDate popup cannot be
used without Javascript but the user can still enter a date manually in
the input box.
-Guy.