accesing a constants file from tiles-defs.xml

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top