Hi everyone,
I am using Spring 2.5 and Tiles2. I have a function testing project, but I don't know how can I set attribute from spring controller class. For example:
Tiles definitions:
Main layout:
Test page:HTML Code:<title><tiles:insertAttribute name="title"/></title> <body><tiles:insertAttribute name="testPage"/></body>
Between tag title will be putted title from tiles definition file as a value and content of the test page will be added between <body> and </body>. It is ok, but I don't know what will be between <title> and </title>HTML Code:<h1>heading</h1> <p>text..</p>
I want get data from database and then (in some Controller for example) set some text as a title. Is it possible?
Thanks


Reply With Quote
