mrachow
Posts: 509
|
Posted: 11/16/2004, 1:32 PM |
|
Hi,
does anybody have an idea / a solution what I could place in a page design to substitute it later by my own?
Where possible I had placed {to Be Substituted} in places where it was not allowed to place labels or links. Later I replaced this using the template functionality.
Now JSP is available without templates only.
Now I'm faced with the situation that I would like dynamically chage things like column caption, Form caption, or text inside ankers. So I'm searching for something i can place inside design to be subtituted later by what technology whatever (maybe tags).
Thanks in advance,
Michael.
_________________
Best regards,
Michael |
|
|
ignat
Posts: 55
|
Posted: 11/17/2004, 1:25 AM |
|
Michael,
You can notice the following instructions in any generated jsp page:
pageContext.setAttribute("parent", DefaultModel);
pageContext.setAttribute("page", DefaultModel);
This is enough to get access to any control from Object Model. Now you can do everything with tags or just plain JSP expressions or JSTL.
"page" is the current Page object and "parent" is the current form object.
Regards,
Ignat.
|
|
|
mrachow
Posts: 509
|
Posted: 11/17/2004, 2:54 AM |
|
Thanks ignat,
but I don't got it.
The problem for me is I'm looking for something I can replace (or replace its Value; whatever) which is not a control.
In these places I want to have this it is not allowed to insert controls.
Thanks,
Michael
_________________
Best regards,
Michael |
|
|
|