i gave my users an boolean called isviewable. I have a collection of
users on the users index-page, but how can I filter the collection to
only show users with isviewable=true ?
here's the markup for my users index page:
<def tag="index-page" for="User">
<page merge title="Users">
<body: class="index-page user" param/>
<content: param>
<header param="content-header">
<h2 param="heading">Users</h2>
<p> Mouseover the employee's picture to preview their names.</
p>
<p>Click the image to see their personal "about me".</p>
</header>
<section param="content-body">
<!-- <a action="new" to="&model" param="new-link"/> -->
<page-nav param="top-page-nav"/>
<collection class="usercollection" param/>
<page-nav param="bottom-page-nav"/>
</section>
</content:>
</page>
</def>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---