forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: problem with javascript in contracts
Date Tue, 09 Aug 2005 07:39:12 GMT
I just tried
<a
href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&#38;mode=hide&#38;pid=12310000&#38;sorter/order=DESC&#38;sorter/field=priority&#38;resolutionIds=-1&#38;component=12310083">views@issues</a>

and it is working fine.

On Sun, 2005-08-07 at 00:06 -0700, Diwaker Gupta wrote:
> Sorry for the late response guys, I've been tied up with work and school :)
> 
> On Thursday 04 August 2005 2:25 am, Thorsten Scherler wrote:
> > You need to escape the "&". It depends on your contract but the subject
> > is javascript in contracts.
> > alert(unescape("http%3A//maps.google.com/maps%3Ffile%3Dapi%26v%3D1"));
> 
> Tried this, but it outputs the stuff _as is_ in the generated page (that is, I 
> want the HTML page to contain "file=api&v=1" and *not* "file%3Dapi%26v%3D1". 
> I'm doing some more tests to see if that might actually work,
> 
> > If you use plain xml then refer to
> > http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_xhtml_char
> >acter_entities
> 
> Is this similar to what Todd suggested? That is, I just use &amp; ? Do I need 
> to explicitly invoke the xhtml-special.ent for this?
> 

No, just use &#38;

> > Like said by Cyriaque: "can you explain us exactly what you want to do
> > with your contract ?"
> 
> Pretty simple actually :) I'm just trying to make a configurable contract that 
> will let the user include a custom google map in his/her content. The 
> configurable parameters being the API key and the location (and later on, 
> other things that the Google Maps API supports)
> 

Very nice. Looking forward.

> Diwaker

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message