I'm not sure if EL handles properties, but if it's going to work like a HashMap, it'll look like this:

${applicationScope.props["viewer.tool.useZoomIn"]}

That should get around the problem of the "."s in the name.

K.C.

John C Cartwright wrote:

Hello All,

I'm trying to use the value of a property in a <c:if test=""> element.

I have the Properties object in application scope, but I can't seem to figure out how (of if) I can address the individual property value of a given key. Something like props.get("viewer.tool.useZoomIn") in a scriptlet.

I thought about transfering the properties to a HashMap, but given the "."s embeded in the property keys, wasn't sure how I'd access them even then.

Thanks for any help or suggestions!


-- john



===================================================== John Cartwright Associate Scientist Geospatial Data Services Group CIRES, National Geophysical Data Center/NOAA (303) 497-6284 [EMAIL PROTECTED] =====================================================



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



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



Reply via email to