logo       

Re: use <TABLE> within presentation folder: msg#00050

java.enhydra.general

Subject: Re: use <TABLE> within presentation folder

On Tue, 15 Oct 2002, [big5] vincentTung(ž³¹BÄw) wrote:

> Dear Sir:
>
> When I use an HTML tags within presentation folder
> example:in WelcomePresentation.java
>
> public void run(HttpPresentationComms comms)
>
> throws HttpPresentationException,
> IOException,NonUniqueQueryException, DataObjectException, SQLException
> {
>
> String cName = "<TABLE><TR><TD>ABC<TD></TR></TABLE>";
>
> welcome.setTextName(cName);
> comms.response.writeDOM(welcome);
> }
>
> WelcomePresentation.po appear in the Browse like that :
> "<TABLE><TR><TD>ABC<TD></TR></TABLE>"
> not in a table form which I want to be .
>
> How can I correct it ?
>

Well, you have to use the DOM-Classes to build up the structure.
setTextXXX() encode your String (show the HTML-Source of your
output).


--
sincerely

Mike Schubert Tel.: ++49-351-3 18 09 15
interface projects GmbH Fax.: ++49-351-3 36 11 87
Tolkewitzer Str.49 E-Mail: mike.schubert@xxxxxxxx
D-01277 D R E S D E N HTTP: www.interface-business.de/

"FreeBSD is like a wigwam, no windows, no gates and an apache inside."


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise