CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Template like placeholders for JSP (no templates)

Print topic Send  topic

Author Message
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
View profile  Send private message
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.
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.