----- Original Message -----
From: "Thorsten Scherler" <[EMAIL PROTECTED]>
To: <dev@forrest.apache.org>
Sent: Monday, February 27, 2006 7:42 PM
Subject: Re: [Structurer feed-back]
X-SpamKiller-AcctId: 1
X-SpamKiller-MsgId: 1129546381.12199
El lun, 27-02-2006 a las 12:20 +0100, Cyriaque Dupoirieux escribió:
Thorsten Scherler a écrit :
..
>> * Links are no more rewritten, I mean in the dispatcher, the links
>> included in the text of a contract were transformed into
>> hyperlinks (with Lex help he I remember)
>>
>
> ¿? Can you explain.
>
For instance, in the previous version of my site, when I wrote in the
document a URL (http://...) or a mail ([EMAIL PROTECTED])
the generated html was respectively :
* <a href="http://...">http://...</a>
* <a
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
Remember the http://issues.apache.org/jira/browse/FOR-743.
I made a correction to be able to anti-slash the url or mail we don't
want to rewrite (such with the webmestre e-mail address)
Now, no URL nor e-mail are rewritten...
Yeah, if you do:
<document>
<header>
<title>know the unknown - about</title>
</header>
<body>
<section id="about-x">
<title>about tarGET-X</title>
<p>
<a href="http://www.uni-paderborn.de/">
<strong> University of Paderborn, Germany </strong>
</a>
<p>
</section>
</body>
</document>
That should produce a link.
If you do
<document>
<header>
<title>know the unknown - about</title>
</header>
<body>
<section id="about-x">
<title>about tarGET-X</title>
<p>
<strong> University of Paderborn, Germany </strong> -
http://www.uni-paderborn.de/<p>
</section>
</body>
</document>
You should not get any link!
In v2 that was a bug caused by FOR-745 and the fix in FOR-743 is
affecting only pipes that are using the Lex (e.g. the css-dispatcher).
If you want a link you need to use <a/>. ;-)
For XHTML 2 this will need to change, you dont need to use <a href> for a
hyperlink.
But we are still a bit off that yet.
Gav...
salu2
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)