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
Accessing bean in logic Tag
HELP with tiles
tiles and attributes
TilesAction, how to???
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015