Excellent! Thanks for your help.
--
View this message in context:
http://www.nabble.com/Overriding-panel-markup-tp14642196p19161133.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
w this message in context:
http://www.nabble.com/Overriding-panel-markup-tp14642196p19157016.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
ds, etc.
>
> Just create another class. You VM can handle it :-)
>
> Eelco
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Ov
So in your page you are doing exactly the same as Palette, i.e. you
are adding all the components, headers, etc ?
Just because you want to have different markup. Then why don't you
create your own Palette and use fragments to change the markup, that
certainly is a lot code friendlier then repeating
But why does it seem to work with FeedbackPanel? I want just that. A
fragment I understand just means providing optional markups. That is
not exactly what I want because every realization is different.
**
Martin
2008/5/12 Eelco Hillenius <[EMAIL PROTECTED]>:
> > Instead, I want the MyPage.html to
> Instead, I want the MyPage.html to contain the panel markup: In a
> similar manner to how the feedbackpanel markup is given in that
> example in the book "created the component component structure inside
> the page".
You should use a Fragment instead of a Panel in that case.
Eelco
I do not want to have a separate MyPalette.html, because many times I
use the palette its layout must be different.
Instead, I want the MyPage.html to contain the panel markup: In a
similar manner to how the feedbackpanel markup is given in that
example in the book "created the component component
Correct me if i am wrong but is this not the
com.apress.wicketbook.validation.UserProfilePage from the book?
Note that i do not have the book nor have i read it, i just have the
example sourcecode, but judging from the code they are not replacing
FeedBackPanel markup but are actually creating a com
Hi!
I understand that it is possible to override Panel markup in your
within your main page. The Pro Wicket gives a simple example with the
FeedbackPanel:
User Profile
Message goes here
Message log level
However, when I try to override the Palette component layout in a
similar manner:
I imagine it can :)
cheers
Eelco Hillenius wrote:
I wondering what's the best approach to overriding the markup for a
panel. Is there a method I can override or should I just extend the
Panel?
You should extend it. You *could* use a custom resolution (see the
custom markup example in wic
> I wondering what's the best approach to overriding the markup for a
> panel. Is there a method I can override or should I just extend the
> Panel?
You should extend it. You *could* use a custom resolution (see the
custom markup example in wicket-examples), but extending the class is
easier to im
Hi,
I wondering what's the best approach to overriding the markup for a
panel. Is there a method I can override or should I just extend the
Panel? I thought extending might be overkill if all I want to do is
specify different markup but not change the functionality. Specically
I'm trying to o
12 matches
Mail list logo