forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyriaque Dupoirieux (JIRA)" <j...@apache.org>
Subject [jira] Créée: (FOR-788) Problem chaining hooks with the same name with dispatcher v3
Date Mon, 16 Jan 2006 12:26:20 GMT
Problem chaining hooks with the same name with dispatcher v3
------------------------------------------------------------

         Key: FOR-788
         URL: http://issues.apache.org/jira/browse/FOR-788
     Project: Forrest
        Type: New Feature
  Components: Dispatcher (aka views)  
    Versions: 0.8-dev    
    Reporter: Cyriaque Dupoirieux
 Assigned to: Cyriaque Dupoirieux 
     Fix For: 0.8-dev


There is a generation problem when chaining hooks with the same name.
I.e.

<forrest:hook class="logo">
 <forrest:contract name="branding-logo"/> ...
</forrest:hook>
<forrest:hook class="logo">
 <forrest:contract name="branding-logo"/> ...
</forrest:hook>

Gives this :
<div class="logo">
<!--+ start Logo +-->
   ...
<!--+ end group Logo +-->
<!--+ start Logo +-->
   ...
<!--+ end group Logo +-->
</div>

<div class="logo" />

The first div - that is hook - is not closed after the first logo but after the second ?
The second hook generate an empty div tag - which is as we all know something that several
browsers don't like at all :-) . 
cf. http://www.mail-archive.com/dev%40forrest.apache.org/msg07498.html


-- 
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