wicket:extend Not Showing in Parent

2013-04-24 Thread dhongyt
I've been reading up on markup inheritance and believe I understand it
correctly but its not quite working for me.

My HomePage.html has the wicket:child/ tag


And I have extended the FileSubPage.java to HomePage.java.


Also added the wicket:extend to the FileSubPage


What is it that when my HomePage loads, TEST does not show up after my
forms?
Am I missing an add in my HomePage.java? I thought markup inheritance will
just add the child into the parent automatically?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-extend-Not-Showing-in-Parent-tp4658243.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: wicket:extend Not Showing in Parent

2013-04-24 Thread vineet semwal
it will show up when you will load FileSubPage :-)


On Wed, Apr 24, 2013 at 9:52 PM, dhongyt davidhtr...@gmail.com wrote:

 I've been reading up on markup inheritance and believe I understand it
 correctly but its not quite working for me.

 My HomePage.html has the wicket:child/ tag


 And I have extended the FileSubPage.java to HomePage.java.


 Also added the wicket:extend to the FileSubPage


 What is it that when my HomePage loads, TEST does not show up after my
 forms?
 Am I missing an add in my HomePage.java? I thought markup inheritance will
 just add the child into the parent automatically?



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/wicket-extend-Not-Showing-in-Parent-tp4658243.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




-- 
regards,

Vineet Semwal


Re: wicket:extend Not Showing in Parent

2013-04-24 Thread dhongyt
Do you mean loading it via the HomPage.java
How do I load FileSubPage.java?

I did a setResponsePage and ended up getting a redirection loop.

Thanks!
David



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-extend-Not-Showing-in-Parent-tp4658243p4658249.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: wicket:extend Not Showing in Parent

2013-04-24 Thread vineet semwal
no i didn't mean loading through HomePage,i meant you are expecting on
HomePage which is wrong since the extended page is FileSubPage it will show
on extened page and not basepage,think it in this way it can't be shown on
HomePage because baseclass has no knowledge of extended class FileSubPage
so it can't show anything which you did in subclass .


On Wed, Apr 24, 2013 at 11:25 PM, dhongyt davidhtr...@gmail.com wrote:

 Do you mean loading it via the HomPage.java
 How do I load FileSubPage.java?

 I did a setResponsePage and ended up getting a redirection loop.

 Thanks!
 David



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/wicket-extend-Not-Showing-in-Parent-tp4658243p4658249.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




-- 
regards,

Vineet Semwal


Re: wicket:extend Not Showing in Parent

2013-04-24 Thread dhongyt
So if I want FileSubPage to show up on HomePage I have to put all the code
and markup from FileSubPage on HomePage?

Its confusing because the way the wicket example shows repeaters
http://www.wicket-library.com/wicket-examples-6.0.x/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.RepeatingPage?0

You can see that the table is a extend to the BasePage. They didn't do
anything special and it shows up on the BasePage automatically? Or am I
looking at this wrong?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-extend-Not-Showing-in-Parent-tp4658243p4658251.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: wicket:extend Not Showing in Parent

2013-04-24 Thread vineet semwal
yes you are looking at it wrong,you are asking/requesting for RepeatingPage
which extends BasePage ,you are not requesting for BasePage itself  ,now
apply the same logic in your case ..



On Thu, Apr 25, 2013 at 12:42 AM, dhongyt davidhtr...@gmail.com wrote:

 So if I want FileSubPage to show up on HomePage I have to put all the code
 and markup from FileSubPage on HomePage?

 Its confusing because the way the wicket example shows repeaters

 http://www.wicket-library.com/wicket-examples-6.0.x/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.RepeatingPage?0

 You can see that the table is a extend to the BasePage. They didn't do
 anything special and it shows up on the BasePage automatically? Or am I
 looking at this wrong?



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/wicket-extend-Not-Showing-in-Parent-tp4658243p4658251.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




-- 
regards,

Vineet Semwal