Hi all

I have a requirement for the web app to be usable even when javascript is
disabled or not available.

Using SWF + MyFaces Trinidad-1.2.11 and facelets.

The expectation is that the site will work even if we loose the client side
validations but seems like setting the context param ALLOW_JAVASCRIPT to
false have no significance. when I try to view the page with javascript
disabled in the browser there is a message that js is required etc. and the
form does not submit.


Eventually what is desireable is for such js enebling configuration to be
done per user session so extracting info from the request and use the
appropriate kit accordingly. 

I did not find a working example for that or a discussion on this topic but
a few blogs that this context param doesnt actually work.  
http://matthiaswessendorf.wordpress.com/2008/10/27/client-side-validation-done-wrong-with-spring-faces/
http://matthiaswessendorf.wordpress.com/2008/10/27/client-side-validation-done-wrong-with-spring-faces/
 

My question is does anyone if there is a known issue with this aspect
(disabling js per user) or I might be missing something in the configuration
(didnt want to bombard with all the config code but will be happy should
required)?

Otherwise is a workaround required? such as extending the Renderer or
components themselves (in which case we might consider turning to another
framework).

Many thanks in advance

Shai

-- 
View this message in context: 
http://www.nabble.com/-Trinidad--ALLOW_JAVASCRIPT---works--tp24778894p24778894.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to