How about using CDATA?

--- On Tue, 9/23/08, Mansour Al Akeel <[EMAIL PROTECTED]> wrote:

> From: Mansour Al Akeel <[EMAIL PROTECTED]>
> Subject: Re: pluto and preference\ values as xml
> To: "Jetspeed Users List" <[email protected]>
> Date: Tuesday, September 23, 2008, 5:26 PM
> Woonsan, thank you. I tried again the escaped html and it
> worked. I 
> missed to ecape one of the tags. Now that I escaped all the
> tags 
> properly it's working fine. I am wondering if
> there's a way to get 
> unescaped html. I can live with the escaped but it will be
> easier just 
> to put plain html. Do you know any ?
> 
> 
> Woonsan Ko wrote:
> > Hi Mansour,
> >
> > I'm not sure but can't we store escaped html
> as a preference?
> > I tried to store a bookmark, name="Apache
> HTTPd",
> value="http://httpd.<b>apache</b>.org/"
> in the bookmark portlet.
> > AFAIK, the bookmark portlet stores the bookmark
> information in the preferences.
> > It seems showing correctly as I intended to.
> >
> > -Woonsan
> >
> >
> > --- On Tue, 9/23/08, Mansour Al Akeel
> <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> From: Mansour Al Akeel
> <[EMAIL PROTECTED]>
> >> Subject: pluto and preference\ values as xml
> >> To: "Jetspeed Users List"
> <[email protected]>
> >> Date: Tuesday, September 23, 2008, 8:45 AM
> >> Hello all,
> >> I am trying to create an embedded html portlet. I
> find it a
> >> little bit 
> >> extra work to use FilePortlet or any other sort of
> static
> >> portlet for 
> >> small chunks of xml. So having an embedded html
> portlet
> >> that get the 
> >> contents of the html from a portlet preference
> that is set
> >> in psml is a 
> >> good work around. Now the problem is that
> preferences as
> >> retrieved as 
> >> text and since the html or XHTML are not strings
> (they have
> >> < and > ) I 
> >> was not able to get the contents from the
> preferences. I
> >> tried escaping 
> >> the html but no luck. I don't know if anyone
> has a work
> >> around. I know 
> >> that the implementation of pluto is set by jsr
> 286, but
> >> does the 
> >> preference have to be string?
> >>
> >> Can anyone comment on this, please ?
> >>
> >> thank you.
> >>
> >>
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> >> [EMAIL PROTECTED]
> >> For additional commands, e-mail:
> >> [EMAIL PROTECTED]
> >>     
> >
> >
> >       
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]


      

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to