You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2005/11/28 14:34:38 UTC

[jira] Created: (FOR-743) siteinfo-feedback contract returns multiple nested a declarations.

siteinfo-feedback contract returns multiple nested a<href> declarations.
------------------------------------------------------------------------

         Key: FOR-743
         URL: http://issues.apache.org/jira/browse/FOR-743
     Project: Forrest
        Type: Bug
  Components: Views  
    Versions: 0.8-dev    
    Reporter: Gavin


This description taken from http://marc.theaimsgroup.com/?l=forrest-dev&m=113313199327182&w=2

>3. index.fv provided with /samples/ has this for the footer feedback 
>contract :-
>
><forrest:contract name="siteinfo-feedback">
>          <forrest:properties contract="siteinfo-feedback">
>            <forrest:property name="siteinfo-feedback">
>              <feedback to="webmaster@foo.com"
>                href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
>                Send feedback about the website to:
>              </feedback>
>            </forrest:property>
>          </forrest:properties>
>        </forrest:contract>
>
>The code this produces is :-
>
><div id="siteinfo-feedback">
>                Send feedback about the website to:
>              <a id="feedbackto" 
>href="mailto:webmaster@foo.com?subject=Feedback samples/index.html"><a 
>href="mailto:webmaster@foo.com">webmaster at
>   foo.com</a></a></div>
>
>which is incorrect nesting of the <a> element and also multiple declarations 
>of the href and mailto when there is no need. Should this not read
>
><div id="siteinfo-feedback">
>                Send feedback about the website to:
>              <a id="feedbackto" 
>href="mailto:webmaster@foo.com?subject=Feedback 
>samples/index.html"></a></div>
>
>Where is the extra.. <a href="mailto:webmaster@foo.com">webmaster at 
>foo.com</a> ..coming from ??


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Réglée: (FOR-743) siteinfo-feedback contract returns multiple nested a declarations.

Posted by "Cyriaque Dupoirieux (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-743?page=all ]
     
Cyriaque Dupoirieux resolved FOR-743:
-------------------------------------

    Fix Version: 0.8-dev
     Resolution: Fixed

This problem comes from the link rewritting.

Add the ability to "escape" mailto addresses or links in order to avoid they are automatically rewritten by forrest.
If a link or an address must appear in the text of the site, but the user does not need a real link he can prefix both by '\' character.
Examples :
- \xxx.yyy@zzz.www will not be rewritten as a mailto link but just like text - without the \ -
cf. http://svn.apache.org/viewcvs.cgi?rev=354793&view=rev


> siteinfo-feedback contract returns multiple nested a<href> declarations.
> ------------------------------------------------------------------------
>
>          Key: FOR-743
>          URL: http://issues.apache.org/jira/browse/FOR-743
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: Gavin
>     Assignee: Cyriaque Dupoirieux
>      Fix For: 0.8-dev

>
> This description taken from http://marc.theaimsgroup.com/?l=forrest-dev&m=113313199327182&w=2
> >3. index.fv provided with /samples/ has this for the footer feedback 
> >contract :-
> >
> ><forrest:contract name="siteinfo-feedback">
> >          <forrest:properties contract="siteinfo-feedback">
> >            <forrest:property name="siteinfo-feedback">
> >              <feedback to="webmaster@foo.com"
> >                href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
> >                Send feedback about the website to:
> >              </feedback>
> >            </forrest:property>
> >          </forrest:properties>
> >        </forrest:contract>
> >
> >The code this produces is :-
> >
> ><div id="siteinfo-feedback">
> >                Send feedback about the website to:
> >              <a id="feedbackto" 
> >href="mailto:webmaster@foo.com?subject=Feedback samples/index.html"><a 
> >href="mailto:webmaster@foo.com">webmaster at
> >   foo.com</a></a></div>
> >
> >which is incorrect nesting of the <a> element and also multiple declarations 
> >of the href and mailto when there is no need. Should this not read
> >
> ><div id="siteinfo-feedback">
> >                Send feedback about the website to:
> >              <a id="feedbackto" 
> >href="mailto:webmaster@foo.com?subject=Feedback 
> >samples/index.html"></a></div>
> >
> >Where is the extra.. <a href="mailto:webmaster@foo.com">webmaster at 
> >foo.com</a> ..coming from ??

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (FOR-743) siteinfo-feedback contract returns multiple nested a declarations.

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-743?page=all ]
     
Thorsten Scherler closed FOR-743:
---------------------------------


> siteinfo-feedback contract returns multiple nested a<href> declarations.
> ------------------------------------------------------------------------
>
>          Key: FOR-743
>          URL: http://issues.apache.org/jira/browse/FOR-743
>      Project: Forrest
>         Type: Bug

>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: Gavin
>     Assignee: Cyriaque Dupoirieux
>      Fix For: 0.8-dev

>
> This description taken from http://marc.theaimsgroup.com/?l=forrest-dev&m=113313199327182&w=2
> >3. index.fv provided with /samples/ has this for the footer feedback 
> >contract :-
> >
> ><forrest:contract name="siteinfo-feedback">
> >          <forrest:properties contract="siteinfo-feedback">
> >            <forrest:property name="siteinfo-feedback">
> >              <feedback to="webmaster@foo.com"
> >                href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
> >                Send feedback about the website to:
> >              </feedback>
> >            </forrest:property>
> >          </forrest:properties>
> >        </forrest:contract>
> >
> >The code this produces is :-
> >
> ><div id="siteinfo-feedback">
> >                Send feedback about the website to:
> >              <a id="feedbackto" 
> >href="mailto:webmaster@foo.com?subject=Feedback samples/index.html"><a 
> >href="mailto:webmaster@foo.com">webmaster at
> >   foo.com</a></a></div>
> >
> >which is incorrect nesting of the <a> element and also multiple declarations 
> >of the href and mailto when there is no need. Should this not read
> >
> ><div id="siteinfo-feedback">
> >                Send feedback about the website to:
> >              <a id="feedbackto" 
> >href="mailto:webmaster@foo.com?subject=Feedback 
> >samples/index.html"></a></div>
> >
> >Where is the extra.. <a href="mailto:webmaster@foo.com">webmaster at 
> >foo.com</a> ..coming from ??

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assignées: (FOR-743) siteinfo-feedback contract returns multiple nested a declarations.

Posted by "Cyriaque Dupoirieux (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-743?page=all ]

Cyriaque Dupoirieux reassigned FOR-743:
---------------------------------------

    Assign To: Cyriaque Dupoirieux

> siteinfo-feedback contract returns multiple nested a<href> declarations.
> ------------------------------------------------------------------------
>
>          Key: FOR-743
>          URL: http://issues.apache.org/jira/browse/FOR-743
>      Project: Forrest
>         Type: Bug
>   Components: Views
>     Versions: 0.8-dev
>     Reporter: Gavin
>     Assignee: Cyriaque Dupoirieux

>
> This description taken from http://marc.theaimsgroup.com/?l=forrest-dev&m=113313199327182&w=2
> >3. index.fv provided with /samples/ has this for the footer feedback 
> >contract :-
> >
> ><forrest:contract name="siteinfo-feedback">
> >          <forrest:properties contract="siteinfo-feedback">
> >            <forrest:property name="siteinfo-feedback">
> >              <feedback to="webmaster@foo.com"
> >                href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
> >                Send feedback about the website to:
> >              </feedback>
> >            </forrest:property>
> >          </forrest:properties>
> >        </forrest:contract>
> >
> >The code this produces is :-
> >
> ><div id="siteinfo-feedback">
> >                Send feedback about the website to:
> >              <a id="feedbackto" 
> >href="mailto:webmaster@foo.com?subject=Feedback samples/index.html"><a 
> >href="mailto:webmaster@foo.com">webmaster at
> >   foo.com</a></a></div>
> >
> >which is incorrect nesting of the <a> element and also multiple declarations 
> >of the href and mailto when there is no need. Should this not read
> >
> ><div id="siteinfo-feedback">
> >                Send feedback about the website to:
> >              <a id="feedbackto" 
> >href="mailto:webmaster@foo.com?subject=Feedback 
> >samples/index.html"></a></div>
> >
> >Where is the extra.. <a href="mailto:webmaster@foo.com">webmaster at 
> >foo.com</a> ..coming from ??

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira