I was able to "solve" the problen on my own.

The error was that i didnt specify any package. I put all the files in the
default-package.
After creating a package and putting all the files into it the example
worked immediately.

Quote from the wicket-hp:
"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."

i thought the default package would also be enough..




Eelco Hillenius wrote:
> 
>> the whole thing compiles and works (the first page is displayed correctly
>> with the border) unless i click one of the links. instead of replacing
>> the
>> wicket:body of the id bodyBorder with the content of the pages, the
>> browser
>> displays only those pages. its like the wicket:link has no effect at all.
> 
> Links embedded in wicket:link tags are to bookmarkable pages (or
> resources). So when you click them, the whole page is replaced. If you
> want to replace only parts of the page, you'll have to use regular
> Wicket components (like Link).
> 
> Eelco
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wicket%3Alink-has-no-effect-tf4237816.html#a12069466
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to