Re: error in heritance

2010-11-23 Thread alex shubert
replace wicket:extend with wicket:panel -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: error in heritance

2010-11-23 Thread alex shubert
Sorry, did'nt unfold your message. It looks like you forgot to insert wicket:child in parent markup. That tags mark the place where inherited component will be placed. I hope I didnt miss anything now. On 23 November 2010 15:55, alex shubert alex.shub...@gmail.com wrote: replace wicket:extend

Re: error in heritance

2010-11-23 Thread Alis
Hello Alex, i´m using inheritance. See the cod. html of class extend Panel: ?xml version=1.0 encoding=UTF-8? html xmlns:wicket=http://www.w3.org/1999/XSL/Transform; head /head body wicket:panel div wicket:id=wmcwicket:child AQUI VA EL CHILD/wicket:child/div div

Re: error in heritance

2010-11-23 Thread alex shubert
That day is too long for me. What about html files names? May be typo or incorrect place? Or maybe you build script does not move html to the same packet as corresponding java classes is? - To unsubscribe, e-mail:

Re: error in heritance

2010-11-23 Thread Alis
Alex, the class Base extend Panel (ThirdByRolMain) and the class Sub extend Base (ThirdByRolPolicy). The two class is in package com.consisint.frontend.pages. And the html in C:\programs\FrontEnd\FrontEnd\WebContent\views . Help me please, error: WicketMessage: Base markup of inherited

Re: error in heritance

2010-11-23 Thread Alis
I´m use wicket 1.4.6! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055471.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe,

Re: error in heritance

2010-11-23 Thread alex shubert
Look, you have java classes in path like com\consisint\frontend\pages and corresponding HTML in \FrontEnd\FrontEnd\WebContent\views You have to have HTML files in the same folder where you compilled classes are. Something like $ls com\consisint\frontend\pages ThirdByRolMain.class

Re: error in heritance

2010-11-23 Thread alex shubert
take a look In all the Wicket examples, you have to put all files in the same package directory. This means putting the markup files and the java files next to one another. (c) http://wicket.apache.org/learn/examples/markupinheritance.html -- Best regards Alex

Re: error in heritance

2010-11-23 Thread Alis
I done the class to change the location: public class ConfigHtmlPath extends ResourceStreamLocator { /** * Constructor class */ public ConfigHtmlPath() { } /** * Find the html resource in the dir especified * @param clazz class to localize *

Re: error in heritance

2010-11-23 Thread James Carman
It sounds like you're just getting started with Wicket. Why are you rocking the boat already? Just put the markup where it belongs and don't try messing with putting it elsewhere until you truly understand what you're doing. On Tue, Nov 23, 2010 at 9:26 AM, Alis ajcalve...@yahoo.es wrote:   I

Re: error in heritance

2010-11-23 Thread Alis
James, please help me. Thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/error-in-heritance-tp3055355p3055573.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: error in heritance

2010-11-23 Thread James Carman
Create a quickstart and put it somewhere where we can get to it. Then, someone will be able to help you easier. On Tue, Nov 23, 2010 at 9:50 AM, Alis ajcalve...@yahoo.es wrote:  James, please help me.  Thank you! -- View this message in context: