You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Thorsten Scherler <th...@wyona.com> on 2006/03/31 10:47:10 UTC

Re: DO NOT REPLY [Bug 39165] New: - Allow different href attributes for sitetree labels

El vie, 31-03-2006 a las 09:18 +0100, bugzilla@apache.org escribió:
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://issues.apache.org/bugzilla/show_bug.cgi?id=39165>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=39165
> 
>            Summary: Allow different href attributes for sitetree labels
>            Product: Lenya
>            Version: unspecified
>           Platform: Other
>         OS/Version: other
>             Status: NEW
>           Severity: enhancement
>           Priority: P2
>          Component: Navigation Framework
>         AssignedTo: dev@lenya.apache.org
>         ReportedBy: andreas@apache.org
> 
> 
> At the moment, it is possible to define a href attribute for sitetree nodes. To
> support different links for different language versions, it would be nice to
> allow href attributes for labels as well:
> 
> <tree:node id="world">
>   <tree:label xml:lang="de" href="http://welt.de">Hallo Welt</tree:label>
>   <tree:label xml:lang="en" href="http://world.com">Hello World</tree:label>
> </tree:node>
> 

Hmm, I have problems with the logic behind this. A "label" is a label of
the "node". The node has a implicit href location and its children
(labels) would now override this? 

TIA

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: DO NOT REPLY [Bug 39165] New: - Allow different href attributes for sitetree labels

Posted by Andreas Hartmann <an...@apache.org>.
Thorsten Scherler wrote:
> El vie, 31-03-2006 a las 09:18 +0100, bugzilla@apache.org escribió:
>> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
>> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
>> <http://issues.apache.org/bugzilla/show_bug.cgi?id=39165>.
>> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
>> INSERTED IN THE BUG DATABASE.
>>
>> http://issues.apache.org/bugzilla/show_bug.cgi?id=39165
>>
>>            Summary: Allow different href attributes for sitetree labels
>>            Product: Lenya
>>            Version: unspecified
>>           Platform: Other
>>         OS/Version: other
>>             Status: NEW
>>           Severity: enhancement
>>           Priority: P2
>>          Component: Navigation Framework
>>         AssignedTo: dev@lenya.apache.org
>>         ReportedBy: andreas@apache.org
>>
>>
>> At the moment, it is possible to define a href attribute for sitetree nodes. To
>> support different links for different language versions, it would be nice to
>> allow href attributes for labels as well:
>>
>> <tree:node id="world">
>>   <tree:label xml:lang="de" href="http://welt.de">Hallo Welt</tree:label>
>>   <tree:label xml:lang="en" href="http://world.com">Hello World</tree:label>
>> </tree:node>
>>
> 
> Hmm, I have problems with the logic behind this. A "label" is a label of
> the "node". The node has a implicit href location and its children
> (labels) would now override this? 

This would only apply to the explicit href location.
We should probably move it from the node to the label.

-- Andreas

-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org