Sorry. I do it for every query but normally every component has its own query.


On Tue, Oct 20, 2009 at 10:26 PM, Pedro Santos <pedros...@gmail.com> wrote:
> every time for every component
> why not for every query?
>
>
> On Tue, Oct 20, 2009 at 6:23 PM, Roman Ilin <roman.i...@gmail.com> wrote:
>
>> Sure I save my user in session.
>> The problem is that I have to implement this filter functionality
>> every time for every component.
>>
>>
>>
>> On Tue, Oct 20, 2009 at 10:18 PM, Pedro Santos <pedros...@gmail.com>
>> wrote:
>> > you can put user on session, and use this information as an filter to
>> > queries than fill the lists on your application models...
>> >
>> > On Tue, Oct 20, 2009 at 6:14 PM, Roman Ilin <roman.i...@gmail.com>
>> wrote:
>> >
>> >> Hi *,
>> >>
>> >> I develop WebApplication where database records belong to different
>> >> organizations.
>> >> I use AjaxFallbackDefaultDataTable to present tabular data. User from
>> >> some organization is allowed to see his organization data only.
>> >> To reach this I implement custom IDataProvider for every table.
>> >>
>> >> Is there some way to have generic IDataProvider which constraints
>> >> shown data rows.
>> >> Pagination and sorting, filtering of data should work as well :)
>> >>
>> >> I have the same problem with DropDownChoice. There choices depend on
>> >> logged in user/organization.
>> >>
>> >> I read Wicket Security Wasp/Swarm tutorials but haven't found this
>> >> functionality there.
>> >> You can have secure model but you can't restrict list of models.
>> >>
>> >> Or I'm wrong?
>> >>
>> >>
>> >> Regards
>> >>
>> >> Roman
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> >> For additional commands, e-mail: users-h...@wicket.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> > Pedro Henrique Oliveira dos Santos
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
> --
> Pedro Henrique Oliveira dos Santos
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to