On Tue, Sep 23, 2003 at 08:15:44AM -0700, Christopher Oliver wrote:
> What output do you get (if any)?
I get the select filled with all options of which none has the selected
attribute set
> And what type of object is "typeList"?
it is ScriptableRowSet.rows (Database.js and helper classes)
> >><select style="width: 147" name="Dev_DtId">
> >> <t:forEach select="#{typeList}">
> >> <t:choose>
> >> <t:when test="#{/pocket/Dev_DtId = Dt_DtId}">
> >> <option value="#{Dt_DtId}"
> >> selected="">#{Dt_Type}</option>
> >> </t:when>
> >> <t:otherwise>
> >> <option
> >> value="#{Dt_DtId}">#{Dt_Type}</option>
> >> </t:otherwise>
> >> </t:choose>
> >> </t:forEach>
> >></select>
> >>
> >>
> >Hmm ... I forgot to write that I've tried this also, but to be sure I tried
> >again now - still does not work.
--
__
| / \ | Leszek Gawron // \\
\_\\ //_/ [EMAIL PROTECTED] _\\()//_
.'/()\'. Phone: +48(501)720812 / // \\ \
\\ // recursive: adj; see recursive | \__/ |
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]