forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <j...@apache.org>
Subject [jira] Created: (FOR-743) siteinfo-feedback contract returns multiple nested a<href> declarations.
Date Mon, 28 Nov 2005 13:34:38 GMT
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


Mime
View raw message