The important thing to remember is that you can always dip down to plain old ERB-with-Rails-helpers-style coding when DRYML gets tricky. Otherwise, something like this should work even if it's not the most idiomatic Hobo:
<table> <tr><th>Product Name</th><th># of License</th></tr> <repeat with="&Product.recent.all"> <tr><td><view:name/></td></tr> </repeat> </table> On Oct 28, 11:19 am, Hobo_Fan <[EMAIL PROTECTED]> wrote: > Tom, > > Thank you so much for your respond. I did go through the Agility > tutorial. > > I am having trouble to list out the details of a product, such as > product name, product id and etc. > > By default, the following codes only display the time the product was > entered into the database: > <section> > <h2>Recent Products</h2> > <collection with="&Product.recent.all"/> > </section> > <a with="&Product">Show All</a> > > Thanks again, > > Sean > > On Oct 28, 12:36 am, Tom Locke <[EMAIL PROTECTED]> wrote: > > > > I am new to Hobo, but I love it. Is there a tutorial on how to use > > > dryml? > > > Have you had a go at the Agility tutorial? > > >http://hobocentral.net/agility-tutorial/ > > > That covers some DRYML and other things, although the DRYML coverage > > is a bit brief. > > > There's also a first cut of a DRYML manual here: > > >http://hobocentral.net/docs/dryml/ > > > A more detailed version is in the works > > > 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 -~----------~----~----~----~------~----~------~--~---
