Thanks, I see that now the problem is with table-plus. How can be this
condition inserted into table-plus? It might filter the entire rows, or only
the fields that aren't allowed to be seen

2010/5/24 kevinpfromnm <[email protected]>

> would guess from your description would be <b-name-view: if="..." />
>
> On May 24, 6:46 am, Tomasz Czekala <[email protected]> wrote:
> > Thanks, but could you be more specyfic about where exactly should I
> insert
> > this condition.
> > My index.drylm looks like this:
> > <index-page>
> >   <content: replace>
> >    <div>
> >       <table-plus fields="this, b.name">
> >       </table-plus>
> >     </div>
> >   </content>
> > </index-page>
> >
> > 2010/5/24 Matt Jones <[email protected]>
> >
> >
> >
> >
> >
> > > On May 24, 2010, at 7:47 AM, Tom wrote:
> >
> > >  Hi, I've got two models - A and B, model A has_one model B. Some user
> > >> is allowed to see all items of model A, but only some items of model B
> > >> and each item of model A has one item of model B. When the model B
> > >> item is allowed to be seen there is no problem, but when it's not I'm
> > >> getting error "view of non-viewable field 'name' of". What can I do to
> > >> filter (not show) rows, where model B' items are not allowed to be
> > >> seen?
> >
> > > This is a bug:
> >
> > >https://hobo.lighthouseapp.com/projects/8324/tickets/726
> >
> > > For now, if you write out the repeat explicitly and call:
> >
> > > <if test="&can_view?(this)>
> >
> > > (instead of the version without (this) as an argument) it should work.
> >
> > > --Matt Jones
> >
> > > --
> > > 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]<hobousers%[email protected]>
> <hobousers%[email protected]<hobousers%[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]<hobousers%[email protected]>
> .
> > For more options, visit this group athttp://
> 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]<hobousers%[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