On Tue, May 20, 2008 at 8:27 AM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> Thanks Igor,
>
> I'd been checking all the api for "getXXX" and skipped that.
>
> How do I get the scope to the repeater inside the isVisible of the Border?

pass it in and keep it as a field? make it an anonymous class and a
final variable? this is just java and these things are just java
objects, so its entirely up to you.

-igor

>
>
>
> igor.vaynberg wrote:
>>
>> repeatingview.size() should do it
>>
>> -igor
>>
>>
>> On Tue, May 20, 2008 at 6:39 AM, Ned Collyer <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Hi,
>>> I have a border I've applied to a repeater.
>>> When items are removed from the repeater - and its effectively empty, I'd
>>> like to hide the border.
>>>
>>> I'm not sure how to go about doing this.
>>>
>>> I assume i should override isVisible on the border, but I'm unsure whats
>>> the
>>> best way of checking if it has an empty or unused RepeatingView.
>>>
>>> Rgds
>>>
>>> Ned
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Hiding-a-border-on-a-RepeatingView-tp17340483p17340483.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Hiding-a-border-on-a-RepeatingView-tp17340483p17343184.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to