Dear David,
I'm currently working on the web client look and I have a 2 questions:
1/ Some information like the Question list is embedded in the html
file only when it actually exist (that is, when a tag has been selected
and the relevant buton clicked). I would also like to put some
html there when there is no such info. Do you now if the wdialog
allows that? I suspect something like a </ui:elsevar> tag (see below).
<ui:ifvar variable="session.selected-tag" op="ne" value="">
<p>
Questions:<br/>
<ui:select variable="session.selected-question"
base="questions" multiple="no" size="10"/><br/>
</p>
</ui:elsevar>
bla bla bla html
</ui:ifvar>
2/ The "select" html tag does not allow horizontal scrolling, so it
is not the most convenient to display the tag or question list since
some elements may we very long. The "textarea" tag can be used
instead : it has horizontal scrolling, and although it is usually
used as a form to input text, it has a convenient readonly mode
where you can use it to display information. I tried to brutally
replace
<ui:select variable="session.selected-question" base="questions" /><br/>
with
<ui:textarea variable="session.selected-question" base="questions"
/><br/>
but the textarea field is then empty so some wdialog stuff is probably
required.
Any hint?
Thanks,
Felix
_______________________________________________
Demexp-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/demexp-dev