Try adding a find to your front controller.  In front controller put:

class FrontController < ApplicationController

  hobo_controller

  def index
    @bookmarks = Bookmark.find(:all)
    
  end

And then try the dryml.


On Feb 6, 2011, at 10:20 PM, FF wrote:

> Hi, all!
> 
> Slowly learning Hobo...
> 
> Now I want to have a field-list for a Bookmark-model (my test project)
> on the front page. How can I achieve that?
> 
> I tried unsuccessfully to add this in the views/front/index.dryml:
> 
>            <field-list fields="Bookmark.url, Bookmark.description,
> Bookmark.tags"/>
> 
> And with no success also this:
> 
>          <do with="&Bookmark">
>            <field-list fields="url, description, tags"/>
>          </do>
> 
> How can I do this?
> 
> Thanks for all your help, folks!
> 
> Frode
> 
> -- 
> 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.
> 

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

Reply via email to