Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jan 10, 2003
Nov 02, 2004 18:10:00
I want to compare a tiles-attribute in a logic tag to constant
This is the way I save it:
ut name="step" value="search"/>
But later on I don't know how to access it in an logic tag
<logic:equal ??? value="search">
I can only access it throw this:
Can anyone tell me how to access the tiles-attribute in a logic tag?
Joined: Sep 02, 2004
Nov 02, 2004 20:50:00
In the tile you're inserting you'll need a tiles:useAttribute tag, then you just set the name field in your logic:equal to be the same as the id field in your useAttribute tag.
I agree. Here's the link:
subject: Compare tiles-attribute
tiles and attributes
Accessing bean in logic Tag
TilesAction, how to???
HELP with tiles
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013