I noticed that using part with an id on a collection, like this:
<collection part="notes" id="#{this_parent.typed_id}-notes">
...
</collection>
gives the id above to both the part div and the ul inside:
<div class='part-wrapper' id='list_item_11-notes'>
<ul class="collection notes" id="list_item_11-notes">
...
</ul>
</div>
Thanks,
Andy
________________________________________
From: [email protected] [EMAIL PROTECTED] On Behalf Of Tom Locke
[EMAIL PROTECTED]
Sent: Friday, October 24, 2008 4:09 AM
To: [email protected]
Subject: [Hobo Users] Re: Is it not possible to generate 'part' attribute
values?
> Ok I figured it out: you use the id attribute to generate a unique id
> for a particular part:
Correct : )
I added a recipe on this issue:
http://cookbook.hobocentral.net/recipes/8-use-parts-on-repeated-elements
Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---