Sorry for my qustion. I did get work that. jetty have not reload my
class... and that was a problem.
Code is good.


2009/12/15, marioosh.net <[email protected]>:
> Yes, i use maven quickstart project.
>
>
> 2009/12/15, MattyDE <[email protected]>:
>>
>> Hi Mariusz ,
>>
>> is your "HomePage.html" file in the same folder as "HomePage.class"?
>>
>>
>>
>> marioosh.net wrote:
>>>
>>> I have template:
>>> <html
>>> xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";
>>>>
>>>     <body>
>>>         <input type="button" wicket:id="ok" value="ok"/>
>>>     </body>
>>> </html>
>>>
>>> and class:
>>> public class HomePage extends WebPage {
>>>     public HomePage(final PageParameters parameters) {
>>>         add(new Button("ok"));
>>>     }
>>> }
>>>
>>> But i get error:
>>> Unable to find component with id 'ok' .....  or that the hierarchy
>>> does not match.
>>>
>>> --
>>> Pozdrawiam,
>>> Mariusz
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/-newbie--Adding-button---simple-question-tp26793576p26793696.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
> --
> Pozdrawiam,
> Mariusz
>


-- 
Pozdrawiam,
Mariusz

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to