Hi Steve,
Because Internet Explorer doesn't allow display="none" for an option
element within a select HTML element, it is not currently possible to
memorize an empty itemset to be populated after. To change this, it will
be necessary to associate a JSON structure to xf:select to work with...
I suggest you to use a dedicated instance to store the itemset or to add
the "No translation" item in your current instance with an extra
attribute to filter it when necessary.
Thank you for your feedbacks!
-Alain
Le 20:59, st...@sa... a écrit :
> Hi, Alain,
>
> Here is a problem I am observing in r521 which looks as though
> the nodeset binding on an itemset which depends on the value of
> a checkbox is not being updated properly.
>
> To reproduce:
>
> http://oracc.museum.upenn.edu/itemset-update.xml
>
> Click on 'Erridupizir 1'
>
> Click on select1 on lower right of navigation area which
> reads 'English'--you will see an entry labeled
> 'No translation'
>
> Leave the translation on English
>
> Click on the checkbox labeled 'only'; the display switches
> to show only the translation
>
> Click on the select1 labeled 'English'--the 'No translation'
> entry has disappeared, correctly
>
> Click on the 'only' box to toggle it back to 'false'; the
> Sumerian reappears in the text display area
>
> Click on the select1 labeled 'English' and you see the
> problem: the 'No translation' entry in the select1 has
> not reappeared
>
> You can read the code at a glance, I am sure, but the way
> it is supposed to work is that 'No translation' is an
> itemset which is supposed to display when the checkbox
> transonly is false and hide when transonly is true.
>
> This is with FF 8.0.1 on Mac Lion 10.7.2
>
> Steve
>
>
|