What with jstl 1.1's function abilities I find myself tied between, using
them or providing the same via a bean.

eg

<html-el:select property="qgr1" size="1"
value="${options.adjOptions[fn:length(options.adjOptions)].value}">
        <html:optionsCollection name="options" property="adjOptions" />
</html-el:select>

or

<html-el:select property="qgr1" size="1"
value="${options.adjOptions.length}">
        <html:optionsCollection name="options" property="adjOptions.array" />
</html-el:select>

My inclination is to go with the latter, I don't think the view should be
overly complex, especially when I'm trying to provide many tiers.

--
Mike W


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to