Re: Page inheritance

2019-05-14 Thread Shengche Hsiao
Thanks! On Wed, May 15, 2019 at 10:54 Maxim Solodovnik wrote: > Sure :) > > I would add some overridable method like `protected boolean > shouldAddJsCss`, returning `true` in base class > and controlling which header items will be rendered > > Or you can create separate method to render those js

Re: Page inheritance

2019-05-14 Thread Maxim Solodovnik
Sure :) I would add some overridable method like `protected boolean shouldAddJsCss`, returning `true` in base class and controlling which header items will be rendered Or you can create separate method to render those js/css resources and override it with empty method ... On Wed, 15 May 2019 at

Page inheritance

2019-05-14 Thread ShengChe Hsiao
Dear Wicketers I have a basepage with headerpanel and footerpanel, every webpage were extends it. Now, I have a question, may I have a page extends basepage, and without output extended js and css files?

Re: Trouble updating component when using markup inheritance

2016-08-06 Thread Lon Varscsak
Perfect! Thank you so much for getting me situated! -Lon On Sat, Aug 6, 2016 at 3:03 AM, Sven Meier wrote: > Hi, > > this is a known problem with TransparentWebMarkupContainers, see > WICKET-5479 > > You should use a WebMarkupContainer and #queue() instead. > > Regards > Sven > > > > On 04.08.

Re: Trouble updating component when using markup inheritance

2016-08-06 Thread Sven Meier
Hi, this is a known problem with TransparentWebMarkupContainers, see WICKET-5479 You should use a WebMarkupContainer and #queue() instead. Regards Sven On 04.08.2016 01:49, Lon Varscsak wrote: Hey guys, I’ve got a component (ComponentB) that subclasses from another component (ComponentA).

Trouble updating component when using markup inheritance

2016-08-03 Thread Lon Varscsak
Hey guys, I’ve got a component (ComponentB) that subclasses from another component (ComponentA). In ComponentB I call a method on ComponentA that updates a div (ajax) that wraps some content on ComponentA in addition to the (which is ComponentB’s content). While this updates correctly, if I hav

Re: Overriding markup loading results in errors with inheritance

2013-04-29 Thread mazabel
le.com/Overriding-markup-loading-results-in-errors-with-inheritance-tp4658319p4658400.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional co

Re: Overriding markup loading results in errors with inheritance

2013-04-28 Thread Martin Grigorov
cases the same content. > > Martin > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Overriding-markup-loading-results-in-errors-with-inheritance-tp4658319p4658369.html > Sent from the Users forum mailing list archive at Nabble.com. &

Re: Overriding markup loading results in errors with inheritance

2013-04-28 Thread mazabel
() delivers in both cases the same content. Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Overriding-markup-loading-results-in-errors-with-inheritance-tp4658319p4658369.html Sent from the Users forum mailing list archive at Nabble.com

Re: Overriding markup loading results in errors with inheritance

2013-04-26 Thread Paul Bors
inherited > markup > } > } > } > > Even if is.getInputStream() gives exactly the same text as > standard.getInputStream(), this leads for any markup containing inheritance > from another markup to the following stacktrace: &

Overriding markup loading results in errors with inheritance

2013-04-26 Thread mazabel
contain inherited markup } } } Even if is.getInputStream() gives exactly the same text as standard.getInputStream(), this leads for any markup containing inheritance from another markup to the following stacktrace: ERROR - MarkupFactory - Markup not found: Base

Re: Problem with markup inheritance in Wicket 6

2013-02-06 Thread Dmitriy Neretin
lt; > dmitriy.nere...@googlemail.com> wrote: > > > Hi Folks, > > > > I have another problem during Wicket 6 migration. This time it is a > problem > > with markup inheritance. > > > > I have an old wicket panel and appropriate markup fil

Re: Problem with markup inheritance in Wicket 6

2013-02-05 Thread Martijn Dashorst
On Tue, Feb 5, 2013 at 10:05 AM, Marios Skounakis wrote: > Understood. I am still unclear why wicket would behave differently in > deployment and development configuration with respect to missing components > in the markup. Is there any actual use case for this? If not, I believe it > would be bet

Re: Problem with markup inheritance in Wicket 6

2013-02-05 Thread Marios Skounakis
xhtml-tags.html#Wicket%2527sXHTMLtags-Elementwicket%253Aextend > https://cwiki.apache.org/WICKET/markup-inheritance.html > > But if this was working for you in 5.x then I presume you do have the > markup inheritence setup right. > > ~ Thank you, >Paul Bors > On Sat, Feb 2, 2013 at 3:52

Re: Problem with markup inheritance in Wicket 6

2013-02-04 Thread Paul Bors
kis wrote: > I've seen this happen too. It's not related to inheritance. If you add a > component in code and omit it in the html file, you get different behavior > in the following cases: > > - if your web.xml specifies configuration=deployment, you don't get an > error

Re: Problem with markup inheritance in Wicket 6

2013-02-02 Thread Marios Skounakis
I've seen this happen too. It's not related to inheritance. If you add a component in code and omit it in the html file, you get different behavior in the following cases: - if your web.xml specifies configuration=deployment, you don't get an error - if you web.xml specifie

Re: Problem with markup inheritance in Wicket 6

2013-02-01 Thread Martin Grigorov
ere...@googlemail.com> wrote: > Hi Folks, > > I have another problem during Wicket 6 migration. This time it is a problem > with markup inheritance. > > I have an old wicket panel and appropriate markup file: > MyOldGoodWicketPanel & MyOldGoodWicketPanel.html > > Markup fi

Problem with markup inheritance in Wicket 6

2013-02-01 Thread Dmitriy Neretin
Hi Folks, I have another problem during Wicket 6 migration. This time it is a problem with markup inheritance. I have an old wicket panel and appropriate markup file: MyOldGoodWicketPanel & MyOldGoodWicketPanel.html Markup file looks like this: ... stuff ... Some months ago I needed

Re: Panel Inheritance with TransparentWebMarkupContainer

2012-08-18 Thread Martin Grigorov
uot; instead of "bodyComponent.add(someOtherComponent)". On Thu, Aug 16, 2012 at 8:52 PM, brad steiner wrote: > Can you please elaborate on the use of TransparentWebMarkupContainer in 1.5 > for use with Panel inheritance? I have a page with tabbed panels, each of > which has its own

Panel Inheritance with TransparentWebMarkupContainer

2012-08-16 Thread brad steiner
Can you please elaborate on the use of TransparentWebMarkupContainer in 1.5 for use with Panel inheritance? I have a page with tabbed panels, each of which has its own left nav. Each panel subclass thus inherits from the base class / markup where the corresponding left nav is defined. When I

RE: Where to add javascript in html pages which follow inheritance relationship.

2012-08-01 Thread kshitiz
:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";> -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p46509

RE: Where to add javascript in html pages which follow inheritance relationship.

2012-08-01 Thread Paul Bors
: if you extend Page3) Also, you should add a to the HTML file(s) that are your base classes (the ones you declared in). See this example on Creating layouts using markup inheritance from Wicket's website: http://wicket.apache.org/learn/examples/markupinheritance.html Hope that

RE: Where to add javascript in html pages which follow inheritance relationship.

2012-07-31 Thread Paul Bors
2012 12:38 PM To: users@wicket.apache.org Subject: Re: Where to add javascript in html pages which follow inheritance relationship. Please help me out here...for a child page..how would I add javascript in its head. I have tried out wicket:head with head tag in base page but it is not wor

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-31 Thread Alec Swan
;> On Tue, Jul 31, 2012 at 10:38 AM, kshitiz wrote: > Please help me out here...for a child page..how would I add javascript in its > head. I have tried out wicket:head with head tag in base page but it is not > working out... > > > > -- > View this me

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-31 Thread kshitiz
-follow-inheritance-relationship-tp4650855p4650903.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread kshitiz
Nothat appeared as a replacement of "" in the forum... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650873.html Sent from the Users forum mailing list archive at

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread Richard W. Adams
I assume the " entities aren't really there in the code? From: kshitiz To: users@wicket.apache.org Date: 07/30/2012 09:16 AM Subject:Re: Where to add javascript in html pages which follow inheritance relationship. hi, Sorry to disturb you again but I am tryin

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread kshitiz
data/wicket-xhtml1.4-strict.dtd";> *JS code is not being called...:(. I have tried out all combinations like removing head tags from Page2 or enclosing wicket:head tags with head tags in Page1* -- View this message in context: http://apache-wicket.18429

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread kshitiz
OkkI was thinking this as a possibility..thanks for clarifying my doubt...:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650869.html Sent from the Users forum mailing list

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread Martin Grigorov
-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650866.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apa

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread kshitiz
So, if put JS in page3, why it is not working? After all, it is the root one... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650866.html Sent from the Users forum mailing list

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-29 Thread Martin Grigorov
pache.org/dtds.data/wicket-xhtml1.4-strict.dtd";> > > > > > > > > Page 1 extends from page2 and page2 extends from page3. Now the problem is I > have a JS code which is being called from page1. When I put that code in > page1 or page3, it does no

Re: nested divs, ajax css inheritance

2012-05-15 Thread Martin Grigorov
gt;         >         .. component here.. >         >     > > > the problem is that I want the inner div to inherit the height:100% > attribute, but that only looks at the parent div.. which was inserted by > wicket and breaks the chain of inheritance... > > i'm sure th

nested divs, ajax css inheritance

2012-05-15 Thread mlabs
et and breaks the chain of inheritance... i'm sure there is some glaringly obvious solution to this... any thoughts? TIA -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/nested-divs-ajax-css-inheritance-tp4635925.html Sent from the Users forum maili

RE: Trouble with Page Markup Inheritance & getVariation()

2012-01-26 Thread Bodis, Jerome
https://issues.apache.org/jira/browse/WICKET-4361 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Trouble with Page Markup Inheritance & getVariation()

2012-01-26 Thread Martin Grigorov
Hi, Looks like a problem in Wicket. Please create a ticket. On Wed, Jan 25, 2012 at 10:30 PM, Bodis, Jerome wrote: > Hi, > > I have a web page 'ChildPage' that inherits (java/markup) from a 'SuperPage' > ('ChildPage' --> 'SuperPage'). 'ChildPage' now needs to override > getVariation() based on

Re: Borders and inheritance in wicket 1.5

2011-11-02 Thread bjolletz
ssage in context: http://apache-wicket.1842946.n4.nabble.com/Borders-and-inheritance-in-wicket-1-5-tp3965704p3982218.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-uns

Re: Borders and inheritance in wicket 1.5

2011-11-02 Thread Igor Vaynberg
e border in other components where I want the same > appearance but dont want to extend from panel A. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Borders-and-inheritance-in-wicket-1-5-tp3965704p3981920.html > Sent from the Users forum maili

Re: Borders and inheritance in wicket 1.5

2011-11-02 Thread bjolletz
-inheritance-in-wicket-1-5-tp3965704p3981920.html Sent from the Users forum 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

Re: Borders and inheritance in wicket 1.5

2011-11-02 Thread Igor Vaynberg
if you are using inheritance why are you using a border? same effect can be achieved with markup inheritance... -igor On Wed, Nov 2, 2011 at 11:55 AM, bjolletz wrote: > > Igor Vaynberg-2 wrote: >> >> extending panel A means that your components go into panel A not into >

Re: Borders and inheritance in wicket 1.5

2011-11-02 Thread bjolletz
ll > dont really see how this one could be solved without > setTransparentResolver. > > Any ideas? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Borders-and-inheritance-in-wicket-1-5-tp3965704p3965704.html > Sent from the Users forum mail

Re: Borders and inheritance in wicket 1.5

2011-11-01 Thread Igor Vaynberg
it? > > I have read the section about borders in the migration guide, but I still > dont really see how this one could be solved without setTransparentResolver. > > Any ideas? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Borders-

Borders and inheritance in wicket 1.5

2011-11-01 Thread bjolletz
longer possible, or is there another way to do it? I have read the section about borders in the migration guide, but I still dont really see how this one could be solved without setTransparentResolver. Any ideas? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Border

Re: Attribute Inheritance or Copying?

2011-10-26 Thread MattyDE
IValueMap attributes) { this.attributes = attributes; } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Attribute-Inheritance-or-Copying-tp3332828p3940229.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Is it possible to layout the page vertically as well as horizontally using markup inheritance?

2011-07-05 Thread Martin Grigorov
See Panel class. I.e. use composition instead of inheritance. This way one panel can contain the static html and another the dynamically generated one. You can place them wherever you want in any page. On Tue, Jul 5, 2011 at 1:47 PM, Sarah kho wrote: > I am reading http://wicket.apache.org/le

Is it possible to layout the page vertically as well as horizontally using markup inheritance?

2011-07-05 Thread Sarah kho
I am reading http://wicket.apache.org/learn/examples/markupinheritance.html and I want to find a way to make the content section sliced into two parts. I am wondering how I can do that. I want the left section to show a fixed html page and the right section to show load a content page which is a wi

Re: Markup inheritance and constructors call

2011-05-20 Thread Mathilde Pellerin
OK, I found the problem : I used style.css instead of styles.css. Now, .css and images folder are in the right place (next to BasePage.html in the package) and they are in the class path. Thanks to that configuration, when I tried, I had this warning message : INFO - haredResourceRequestTarget - s

Re: Markup inheritance and constructors call

2011-05-20 Thread Martin Grigorov
1. the images in .css should use relative urls to the .css file. For beginning put .css and the images in the same folder and reference them with url('someImage.png') 2. Did you move style(s).css in fr/statlife/protoE4N/ folder ? If you use Wicket's resources then you should put the .css (and the

Re: Markup inheritance and constructors call

2011-05-20 Thread Mathilde Pellerin
OK, I tried "/style.css" but it didn't work : style is apply but error page is called (maybe for images used in style.css?) So, I try to implement the other solution. I found example on the wiki ( https://cwiki.apache.org/WICKET/including-css-resources.html). I try with on basePage.ht

Re: Markup inheritance and constructors call

2011-05-20 Thread Martin Grigorov
u are right again : when I remove the css file of ma BasePage, > > errorPage > > > constructor is not called. > > > > > > So, what is the good practice to declare style css file when you use > > Markup > > > Inheritance? > > > I thougth that put th

Re: Markup inheritance and constructors call

2011-05-20 Thread Martin Grigorov
> it should either be in WEB-INF/ folder or you should use > > .../> > > > > On Fri, May 20, 2011 at 11:27 AM, Mathilde Pellerin < > > mathilde.pelle...@gmail.com> wrote: > > > > > You are right again : when I remove the css file of ma BasePage, &

Re: Markup inheritance and constructors call

2011-05-20 Thread Mathilde Pellerin
ed. > > > > So, what is the good practice to declare style css file when you use > Markup > > Inheritance? > > I thougth that put the link : > > > > > > in the head of basePage was enougth, but visibly not... > > > > > > 2011/5/20 Ma

Re: Markup inheritance and constructors call

2011-05-20 Thread Martin Grigorov
uctor is not called. > > So, what is the good practice to declare style css file when you use Markup > Inheritance? > I thougth that put the link : > > > in the head of basePage was enougth, but visibly not... > > > 2011/5/20 Martin Grigorov > > > You have a re

Re: Markup inheritance and constructors call

2011-05-20 Thread Mathilde Pellerin
You are right again : when I remove the css file of ma BasePage, errorPage constructor is not called. So, what is the good practice to declare style css file when you use Markup Inheritance? I thougth that put the link : in the head of basePage was enougth, but visibly not... 2011/5/20 Martin

Re: Markup inheritance and constructors call

2011-05-20 Thread Martin Grigorov
ge's constructor and see the thread stack. > > > > > > On Fri, May 20, 2011 at 10:17 AM, Mathilde Pellerin < > > mathilde.pelle...@statlife.fr> wrote: > > > > > Hi all, > > > > > > I am new in wicket and I encountering a problem with my

Re: Markup inheritance and constructors call

2011-05-20 Thread Mathilde Pellerin
ge's constructor and see the thread stack. > > > On Fri, May 20, 2011 at 10:17 AM, Mathilde Pellerin < > mathilde.pelle...@statlife.fr> wrote: > > > Hi all, > > > > I am new in wicket and I encountering a problem with my Markup > inheritance. >

Re: Markup inheritance and constructors call

2011-05-20 Thread Martin Grigorov
It shouldn't be called as you described it. Put a breakpoint in BasePage's constructor and see the thread stack. On Fri, May 20, 2011 at 10:17 AM, Mathilde Pellerin < mathilde.pelle...@statlife.fr> wrote: > Hi all, > > I am new in wicket and I encountering a problem w

Markup inheritance and constructors call

2011-05-20 Thread Mathilde Pellerin
Hi all, I am new in wicket and I encountering a problem with my Markup inheritance. In my BasePage (that extends WebPage), I have a menu with some BookmarkablePageLink : Accueil Infos E4N FAQ Contact and for each link I have a code like this in my BasePage constructor

Questions about Different Context Paths based on page inheritance

2011-05-03 Thread Eric Gulatee
All, We have developed an application which spans both authenticated and unauthenticated users. We have secured the authenticated part of the application using wicket auth roles. This would be good enough, however, we need to get SSO working between two different application servers & their respe

Re: Attribute Inheritance or Copying?

2011-03-23 Thread MattyDE
842946.n4.nabble.com/Attribute-Inheritance-or-Copying-tp3332828p3399490.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional comma

Re: Attribute Inheritance or Copying?

2011-03-08 Thread Yves-Marie LAINÉ
markupContainer, you can get > and preserve the desired attributes and then remove them. > > In onComponentTag of the TextArea you add the previously preserved > attributes. > > > - > -- > Regards, > Hans > > http://cantaa.de > > -- > View th

Re: Attribute Inheritance or Copying?

2011-03-03 Thread Hans Lesmeister 2
the TextArea you add the previously preserved attributes. - -- Regards, Hans http://cantaa.de -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Attribute-Inheritance-or-Copying-tp3332828p014.html Sent from the Users forum mailing li

Attribute Inheritance or Copying?

2011-03-02 Thread MattyDE
(which itself is a wicket-component also)? I've to access the ComponentTag of my Panel but dont know how, except iam in "onComponentTag". Thanks in Advance for any Hint, Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Attribute-Inheritance-or-

RE: Panel Inheritance

2011-02-24 Thread GOODWIN, MATTHEW (ATTCORP)
arman Sent: Thursday, February 24, 2011 12:37 PM To: users@wicket.apache.org Subject: Re: Panel Inheritance and will only let you add stuff in wherever you put the element in your parent's markup. On Thu, Feb 24, 2011 at 12:32 PM, GOODWIN, MATTHEW (ATTCORP) wrote: > That is my situatio

Re: Panel Inheritance

2011-02-24 Thread James Carman
gt; sufficient. I will review the examples. > > Thanks > > -Original Message- > From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On > Behalf Of James Carman > Sent: Thursday, February 24, 2011 12:26 PM > To: users@wicket.apache.org > S

RE: Panel Inheritance

2011-02-24 Thread GOODWIN, MATTHEW (ATTCORP)
Sent: Thursday, February 24, 2011 12:26 PM To: users@wicket.apache.org Subject: Re: Panel Inheritance However, sometimes that just doesn't work, because you want to inject stuff at different places in the subpanel. You can override the entire markup file if you want in that case, right? On Thu

Re: Panel Inheritance

2011-02-24 Thread James Carman
However, sometimes that just doesn't work, because you want to inject stuff at different places in the subpanel. You can override the entire markup file if you want in that case, right? On Thu, Feb 24, 2011 at 12:24 PM, Martin Grigorov wrote: > The Wicket way is to use in MyPanel.html and > ...

Re: Panel Inheritance

2011-02-24 Thread Martin Grigorov
The Wicket way is to use in MyPanel.html and in MyExtPanel.html See the examples. On Thu, Feb 24, 2011 at 7:05 PM, GOODWIN, MATTHEW (ATTCORP) wrote: > I would like to extend a custom panel that we have and add some > additional components. > > > > Ex pseudocode: > > > > public class MyPanel

Panel Inheritance

2011-02-24 Thread GOODWIN, MATTHEW (ATTCORP)
I would like to extend a custom panel that we have and add some additional components. Ex pseudocode: public class MyPanel extends Panel { // adding 2 components add(component a); add(component b); } public class MyExtPanel extends MyPanel { // add additional 2 components a

Re: Class-only inheritance

2011-01-26 Thread DCarr
remove wicket:child tag. >> >> -igor >> >> >> On Wed, Jan 26, 2011 at 9:13 AM, DCarr wrote: >>> Hi, >>> >>>    Is it possible to have class inheritance without markup inheritance? >>> >>>    I would like a wicket-aware base

Re: Class-only inheritance

2011-01-26 Thread DCarr
tag. > > -igor > > > On Wed, Jan 26, 2011 at 9:13 AM, DCarr wrote: >> Hi, >> >>    Is it possible to have class inheritance without markup inheritance? >> >>    I would like a wicket-aware base class (with an associated markup >> file) >&

Re: Class-only inheritance

2011-01-26 Thread Igor Vaynberg
>    Is it possible to have class inheritance without markup inheritance? > >    I would like a wicket-aware base class (with an associated markup file) > with derived classes supplying data (e.g.. BaseClass with an 'abstract > protected String getName()') and no markup files

Class-only inheritance

2011-01-26 Thread DCarr
Hi, Is it possible to have class inheritance without markup inheritance? I would like a wicket-aware base class (with an associated markup file) with derived classes supplying data (e.g.. BaseClass with an 'abstract protected String getName()') and no markup files (or XML

Re: multilevel markup inheritance

2010-11-23 Thread Juraj Petko
k and want to make a big use of markup inheritance. What i can't do is to make a page3, which markup inherits from page2 and at the same time page2 markup inherits from page1. Am i doing something wrong, or there is no support for this

Re: multilevel markup inheritance

2010-11-23 Thread Andrea Del Bene
No problem, it should work fine. Page inheritance is just like standard class inheritance Hello, i am starting to explorer this beautifull framework and want to make a big use of markup inheritance. What i can't do is to make a page3, which markup inherits from page2 and at the same time

Re: multilevel markup inheritance

2010-11-23 Thread James Carman
Page/markup inheritance is supported. Do you have code that isn't working? On Tue, Nov 23, 2010 at 8:31 AM, Juraj Petko wrote: > Hello, >  i am starting to explorer this beautifull framework and want to make a > big use of markup inheritance. What i can't do is to make a pa

Re: multilevel markup inheritance

2010-11-23 Thread Matthias Keller
LayoutPage LayoutPage.html : ..layout stuff.. This will be replaced by Page1 .. more layout stuff .. Page1.html : .. Page1 stuff .. Matt On 2010-11-23 14:31, Juraj Petko wrote: Hello, i am starting to explorer this beautifull framework and want to make a big use of markup inheritan

multilevel markup inheritance

2010-11-23 Thread Juraj Petko
Hello, i am starting to explorer this beautifull framework and want to make a big use of markup inheritance. What i can't do is to make a page3, which markup inherits from page2 and at the same time page2 markup inherits from page1. Am i doing something wrong, or there is no support for

Re: Inheritance and inside a component tag (Wicket 1.5)

2010-10-06 Thread Alexander Morozov
s in extended pages from my > parent page. > > cheer gab > -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Inheritance-and-wicket-child-inside-a-component-tag-Wicket-1-5-tp2965286p2966068.html Sent from the Users f

Re: Inheritance and inside a component tag (Wicket 1.5)

2010-10-06 Thread Gabriel Bucher
Have you tried to use the TransparentWebMarkupContainer? based on the migration guide this could be a potential solution. also have a look at this open bug https://issues.apache.org/jira/browse/WICKET-3045 then after using the TransparentWebMarkupContainer... wicket was no longer able to find

Re: Inheritance and inside a component tag (Wicket 1.5)

2010-10-06 Thread Igor Vaynberg
havior in case > of Wicket 1.5. > > Wicket gurus, I need your advice :) > > Thanks > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Inheritance-and-wicket-child-inside-a-component-tag-Wicket-1-5-tp2965286p2965286.html >

Inheritance and inside a component tag (Wicket 1.5)

2010-10-06 Thread Alexander Morozov
.1842946.n4.nabble.com/Inheritance-and-wicket-child-inside-a-component-tag-Wicket-1-5-tp2965286p2965286.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Markup Inheritance example with Ajax?

2010-07-02 Thread heapifyman
Am 25.06.2010 20:09, schrieb Jeremy Thomerson: > If you want to do this, you are basically using the single-page paradigm > where your content is always a panel. Basically you just create a single > page, and then all of your content goes into panels instead of pages with > markup

Re: Markup Inheritance example with Ajax?

2010-06-25 Thread Jeremy Thomerson
If you want to do this, you are basically using the single-page paradigm where your content is always a panel. Basically you just create a single page, and then all of your content goes into panels instead of pages with markup inheritance. Then swap the panel in your link and add it to the ajax

Re: Markup Inheritance example with Ajax?

2010-06-25 Thread Edward Zarecor
What you are trying to accomplish doesn't require markup inheritance. You can use a panel and replace it with an Ajax link. That panel could be nested within wicket children participating in markup inheritance, but that's another matter. The panel should be the component ad

Markup Inheritance example with Ajax?

2010-06-25 Thread heapifyman
Hello all, I would like to extend the Markup Inheritance example (http://wicket.apache.org/examplemarkupinheritance.html) by replacing the content part of the page (i.e. the wicket:child) using Ajax. I tried to replace the BookmarkablePageLink on the BasePage with an AjaxLink but this does not

RE: Question about markup inheritance and page layouts

2010-06-15 Thread Brown, Berlin [GCG-PFS]
-Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, June 15, 2010 11:34 AM To: users@wicket.apache.org Cc: Berlin Brown Subject: Re: Question about markup inheritance and page layouts > > > > Where did you place the wicket:panel

Re: Question about markup inheritance and page layouts

2010-06-15 Thread Jeremy Thomerson
> > > > Where did you place the wicket:panel tags in your markup? > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > They are in the SomePage: > > > SomePage.html: > > > > > > > > > > > > > No, the wicket:panel tags that must appear in the panel html files - where are they? -

RE: Question about markup inheritance and page layouts

2010-06-15 Thread Brown, Berlin [GCG-PFS]
-Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, June 15, 2010 11:26 AM To: users@wicket.apache.org Cc: Berlin Brown Subject: Re: Question about markup inheritance and page layouts On Tue, Jun 15, 2010 at 10:07 AM, Brown, Berlin [GCG-PFS

Re: Question about markup inheritance and page layouts

2010-06-15 Thread Jeremy Thomerson
On Tue, Jun 15, 2010 at 10:07 AM, Brown, Berlin [GCG-PFS] < berlin.br...@primerica.com> wrote: > I was a little confused about page layouts and markup inheritance. I > was thinking that a I could take a piece of HTML markup and reuse that > component when I need to, and use it

Question about markup inheritance and page layouts

2010-06-15 Thread Brown, Berlin [GCG-PFS]
I was a little confused about page layouts and markup inheritance. I was thinking that a I could take a piece of HTML markup and reuse that component when I need to, and use it multiple times within page without ever having to create the content. I was not able to do this. What I have now

RE: doctype and markup inheritance

2010-05-10 Thread Stefan Lindner
Yes, but both are missing in HTML A. -Ursprüngliche Nachricht- Von: Sven Meier [mailto:s...@meiers.net] Gesendet: Di 11.05.2010 08:52 An: users@wicket.apache.org Betreff: Re: doctype and markup inheritance #setStripXmlDeclarationFromOutput() has nothing to do with doctype - it

Re: doctype and markup inheritance

2010-05-10 Thread Sven Meier
#setStripXmlDeclarationFromOutput() has nothing to do with doctype - it controls the xml prolog. Sven -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Html-root-tag-and-contents-repeating-in-response-after-302-redirect-tp2173315p2173399.html Sent from the Wicket - Use

Re: doctype and markup inheritance

2010-05-10 Thread Dr. Wolf Blecher
Hi Stefan, as far as I understood markup inheritance correctly, the xml and doctype of B is ignored and only the part that is specified inside the ... tags is taken over in A instead of the ... part. Everything that is specified additionally in B is only for previewing B in a browser of your

doctype and markup inheritance

2010-05-10 Thread Stefan Lindner
Dear Wicket wizzards, given is a page A with a HTML file that has no doctype, just starting with ... The Page's class is extended by B and the markup of B has a proper HTML file with XML and doctype lines. What is the intended behavior of wicket? 1. Ignore the exdending B's xml and doctype an

Re: Inheritance strips XML header

2009-11-10 Thread Neil Curzon
Reported WICKET-2569: https://issues.apache.org/jira/browse/WICKET-2569 . I worked around this issue by using a label to render the xml header. On Mon, Nov 9, 2009 at 5:40 PM, Neil Curzon wrote: > Hi all, > > It seems that Wicket 1.4.3 is stripping the XML header when using page >

Inheritance strips XML header

2009-11-09 Thread Neil Curzon
Hi all, It seems that Wicket 1.4.3 is stripping the XML header when using page inheritance for layout. My super page defines the layout and has a ?xml header at the top. If a sub page has content, when wicket renders it, the ?xml header will be excluded. Strangely, for subclasses with no content

Re: Page inheritance problem

2009-10-06 Thread jWeekend
ow.de > xing | http://www.xing.com/profile/Jens_Zastrow > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: ht

Re: Page inheritance problem

2009-10-06 Thread Jens Zastrow
The "SuperDiv" component is just a WebMarkupContainer I just tried to find the getTransparentResolver() method, but without success... Igor Vaynberg schrieb: -- dipl. inform jens zastrow phone | +49.152.04840108 mail | m...@jens-zastrow.de web | http://jens-zastrow.de xing | http://www.xin

Re: Page inheritance problem

2009-10-06 Thread Igor Vaynberg
yeah, what you are doing is not inheritance, it is a mix of composition and inhertiace - which is quiet hard to map. the transparent resolver hack is there for such circumstances but...use at your own risk :) -gior On Tue, Oct 6, 2009 at 2:45 PM, jWeekend wrote: > > Jens, > > That

  1   2   3   >