Whether a single component gracefully degrades is up to the
component-writer.
THe JSF does (degradation is missing commnd-link...)

But not all component-writers like to put the additional grease on their

components to make them degrade gracefully. Some are just to
JS-fanatics. ;-)

Therefor one must test and then file JS-degradation-bug-requests for
each 
component. I (for myself) would already be happy to read in each
component-
description the JS-requirements and degradation grade.

regards
Alexander



> -----Original Message-----
> From: Guy Coleman [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 24, 2006 12:15 PM
> To: MyFaces Discussion
> Subject: Re: ALLOW_JAVASCRIPT
> 
> 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.
> 

Reply via email to