if (getpagecount()<2) { setvisible(false); }

-igor

On Fri, Oct 9, 2009 at 9:48 AM, rmattler <robertmatt...@gmail.com> wrote:
>
> WebMarkupContainer wmcNavHead = new WebMarkupContainer("wmcNavHead");
>                WebMarkupContainer wmcNavFoot = new 
> WebMarkupContainer("wmcNavFoot");
>                wmcNavHead.add(new PagingNavigator("navigatorHead", 
> eachProject));
>                if (dp.size() < ROWS_TO_DISPLAY) {
>                        wmcNavHead.setVisible(false);
>                }
>
>
>
>                <div align="center" wicket:id="navigatorHead"></div>
>
>
>
> fachhoch wrote:
>>
>> Yes please send me the code .
>>
>>
>> Douglas Ferguson-2 wrote:
>>>
>>> I override the onRender and set visibility conditionally.
>>>
>>> However, you have to remember to set visible in your page redraws or
>>> else wicket won't even bother calling the onRender method
>>>
>>> If you need, I can send you code.
>>>
>>> On Oct 8, 2009, at 7:18 PM, tubin gen wrote:
>>>
>>>> I am using dataview which comes with pagination , if the total
>>>> records   are
>>>> less than   records per page is there away I can hide pagination bar ?
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/hide-pagination-tp25813802p25824385.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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

Reply via email to