[Building Sakai] html in the sakai properties file / RSF issue

David Horwitz david.horwitz at uct.ac.za
Tue Oct 6 05:11:12 PDT 2009


As I recall conversations with Antranig - the spring message source
(which is what RSF uses for properties bundles here) is what escapes the
code as by specification message bundles should not contain any code ....

D

Adam Marshall wrote:
> is there nothing we can do in the properties file itself, I was thinking of something like \<a href ...\> ?
>
>
> adam 
>
> | -----Original Message-----
> | From: Mark Norton [mailto:markjnorton at earthlink.net]
> | Sent: 06 October 2009 13:03
> | To: Adam Marshall
> | Cc: sakai-dev List
> | Subject: Re: [Building Sakai] html in the sakai properties file / RSF
> | issue
> | 
> | Use UIVerbatim() to add HTML to the current view.  This method will not
> | escape the HTML.  Antranig always scolds me for using this method, but
> | there are times when it is unavoidable.
> | 
> | - Mark
> | 
> | Adam Marshall wrote:
> | > With 2.5 we had HTML code in the sakai properties file - this was the
> | text that sits by the 2 input boxes on the "add participants" page in
> | Site Info.
> | >
> | > With the move to RSF in 2.6, this HTML code is now escaped so the <a
> | ...> is changed to &lt;aq ...&gt; and the HTML raw code is displayed in
> | all its glory on the page.
> | >
> | > Is there a way we can stop the HTML being escaped by the RFS engine?
> | >
> | > adam
> | > _______________________________________________
> | > sakai-dev mailing list
> | > sakai-dev at collab.sakaiproject.org
> | > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> | >
> | > TO UNSUBSCRIBE: send email to sakai-dev-
> | unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> | >
> | >
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>   


More information about the sakai-dev mailing list