N
nooobody
We are using "useAttribute" in the tiles-defs file of an application
to set a value that is used by a custom Struts tag. This works fine;
however, I had to hard code the values in the tiles-defs. I also have
a class of constants that define the values that represent the
different points in a workflow. These constants are used by the custom
tag to calculate what subsections of a menu to display and what
graphic to display beside each submenu item. Is there a way to gain
access to the constants file from tile-defs so I could just use the
constant name rather than literals?
If so, an example would be a huge help. Thanks!
Tim B
to set a value that is used by a custom Struts tag. This works fine;
however, I had to hard code the values in the tiles-defs. I also have
a class of constants that define the values that represent the
different points in a workflow. These constants are used by the custom
tag to calculate what subsections of a menu to display and what
graphic to display beside each submenu item. Is there a way to gain
access to the constants file from tile-defs so I could just use the
constant name rather than literals?
If so, an example would be a huge help. Thanks!
Tim B