You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Cyriaque Dupoirieux (JIRA)" <ji...@apache.org> on 2006/01/16 13:26:20 UTC

[jira] Créée: (FOR-788) Problem chaining hooks with the same name with dispatcher v3

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


Re: [jira] Créée: (FOR-788) Problem chaining hooks with the same name with dispatcher v3

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
Can someone with enough rights change the type of this FOR into Bug 
please...

Cyriaque,


Cyriaque Dupoirieux (JIRA) a écrit :

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

[jira] Fermé: (FOR-788) Problem chaining hooks with the same name with dispatcher v3

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

    Resolution: Fixed

Thanks to Thorsten clues...

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