demexp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Demexp-dev] Customizing TEXTAREA in web client


From: Felix HENRY
Subject: [Demexp-dev] Customizing TEXTAREA in web client
Date: Wed, 19 Oct 2005 23:03:16 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050817)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]