You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Cristina <cr...@acm.org> on 2007/09/01 03:51:32 UTC
Re: Rendering a BoxBorder without the black line border
Hi Eelco,
thanks so much for your reply. Let me try to explain myself better... I've
started with a BoxBorder mainly because the Navomatic example uses it around
a navigation menu: actually, what I'm trying to build is something between 5
and 10 reusable navigation menus.
I've already built a test navigation menu following the Navomatic example
and it works just fine... Now, as I'm trying to use CSS-only styling, I
first thought of using a BoxBorder with the black line set to not visible.
Thies pointed out that I should extend Border and provide my own markup to
get this kind of effect. But then, thanks to Igor's remarks, I realized that
I may be using a Border where I should be using another container for the
Links that make up the menu.
Would you please recommend another navigation menu example, or suggest which
container I should use in place of BoxBorder, if this is the case?
Regards,
Cristina
Eelco Hillenius wrote:
>
>
>> that's true, but I believe the CSS definition wouldn't be needed here
>> anyway
>> because the Border markup is inserted in a page section that already
>> includes it.
>>
>> Still, you're right... Maybe I've asked the wrong question. Actually,
>> what I
>> need is a navigation menu. So I thought I should follow the Navomatic
>> example, which uses a Border around the Links.
>>
>> Since I don't really need a Border, maybe I should look for another
>> container for the Links, like a Panel. Does this seem more reasonable to
>> you?
>
> I can't guess for you Christina, but were you maybe just trying out
> how borders work so that you can actually do something useful with it
> in a later stage? I think Igor is mainly wondering why you want to
> have a border that doesn't seem to do anything (yet).
>
> Eelco
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Rendering-a-BoxBorder-without-the-black-line-border-tf4357178.html#a12436605
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Rendering a BoxBorder without the black line border
Posted by Cristina <cr...@acm.org>.
Hi Eelco,
I realized that I haven't truly understood the Navomatic example... So I got
back to the API JavaDoc. Now I clearly see that the NavomaticBorder in the
example is a concrete subclass of Border composed of 2 instances of
BoxBorder: the 1st holds the navigation menu while the 2nd holds the page
contents itself.
What I need, on the other hand, is just a concrete subclass of Border
without any other instances of a Border subclass inside. I just removed the
"empty" Border subclass I've previously included and the code looks clean
now :-).
Thank you,
Cristina
Eelco Hillenius wrote:
>
> On 8/31/07, Cristina <cr...@acm.org> wrote:
>
>> Hi Eelco,
>>
>> thanks so much for your reply. Let me try to explain myself better...
>> I've
>> started with a BoxBorder mainly because the Navomatic example uses it
>> around
>> a navigation menu: actually, what I'm trying to build is something
>> between 5
>> and 10 reusable navigation menus.
>>
>> I've already built a test navigation menu following the Navomatic example
>> and it works just fine... Now, as I'm trying to use CSS-only styling, I
>> first thought of using a BoxBorder with the black line set to not
>> visible.
>> Thies pointed out that I should extend Border and provide my own markup
>> to
>> get this kind of effect. But then, thanks to Igor's remarks, I realized
>> that
>> I may be using a Border where I should be using another container for the
>> Links that make up the menu.
>>
>> Would you please recommend another navigation menu example, or suggest
>> which
>> container I should use in place of BoxBorder, if this is the case?
>
> Maybe looking at this: http://wicketstuff.org/wicket13/template/ helps?
>
> Eelco
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
--
View this message in context: http://www.nabble.com/Rendering-a-BoxBorder-without-the-black-line-border-tf4357178.html#a12566917
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Rendering a BoxBorder without the black line border
Posted by Eelco Hillenius <ee...@gmail.com>.
On 8/31/07, Cristina <cr...@acm.org> wrote:
>
> Hi Eelco,
>
> thanks so much for your reply. Let me try to explain myself better... I've
> started with a BoxBorder mainly because the Navomatic example uses it around
> a navigation menu: actually, what I'm trying to build is something between 5
> and 10 reusable navigation menus.
>
> I've already built a test navigation menu following the Navomatic example
> and it works just fine... Now, as I'm trying to use CSS-only styling, I
> first thought of using a BoxBorder with the black line set to not visible.
> Thies pointed out that I should extend Border and provide my own markup to
> get this kind of effect. But then, thanks to Igor's remarks, I realized that
> I may be using a Border where I should be using another container for the
> Links that make up the menu.
>
> Would you please recommend another navigation menu example, or suggest which
> container I should use in place of BoxBorder, if this is the case?
Maybe looking at this: http://wicketstuff.org/wicket13/template/ helps?
Eelco
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org