Hey Andrii,

2009/8/28 Andrii Arsirii <[email protected]>:
> Hi, all.
> We have following use case: WComboBox on the page. When user selects
> some item in it - some part of the page changes.
>
> I have noticed that when browser has Javascript disabled - this doesn't
> work. As far as I remember Wt brochure said that developer shouldn't
> bother with browser compatibility:-)....
>
> Is this intended to be so?
> As far as I understand Wt uses forms when JS is not available, so maybe
> this functionality can't be achieved at all. Can it?
>
> Maybe should I use WCheckBox to achieve similar functionality?

Well, as far as technically possible!

See also the documentation of WInteractWidget: only the 'clicked()'
signal (and anchors that cause internal path changes) are available
for non-JavaScript sessions. Any other event cannot be caught...

What you probably want to do in this case is indeed have an option to
propagate the information when JavaScript is not present. You may
chose to add this button only when needed (when
environment().hasAjax() == false).

Regards,
koen

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to