perhaps a compilation problem?

Abdul Rahman Advany wrote:

wicket-0.9.15-beta.jar, thats what maven downloaded for me!

I renamed the package, and It didn't work, so I did undo on all the files and it works, weird : )

Jonathan Locke wrote:


i think it's probably not a great idea to use a package name under wicket, since that's the wicket package name.... but it shouldn't hurt anything.


i don't immediately see the problem. what version of wicket are you using? and do the examples work for you?

try putting a print statement in your constructor and see if the add statement is happening.

Abdul Rahman Advany wrote:

thnx, it works, was trying to make my first example, only tryed the working example's till now with a old jar.
But its not working, I think I am doing everything right, get the error:


wicket.markup.MarkupException: Unable to find component named 'hellomessage' in [class = wicket.quickstart.Index, id = 104]
[markup = E:\eclipse\workspace\AdvancedFramework\target\classes\wicket\quickstart\Index.html, index = 1, current = '<span id="wcn-hellomessage">' (line 6, column 5)]


[code]
package wicket.quickstart;

import wicket.PageParameters;
import wicket.markup.html.HtmlPage;
import wicket.markup.html.basic.Label;


public class Index extends HtmlPage {
/**
* Constructor that is invoked when page is invoked without a session.
*
* @param parameters
* Page parameters
*/
public Index(final PageParameters parameters) {
// Add table of existing comments
add(new Label("hellomessage", "Hello world!"));
}
}
[/code]


[html]
<html>
<head>
    <title>Wicket - Hello World example</title>
</head>
<body>
    <span id="wcn-hellomessage"></span>
</body>
</html>
[/html]

Juergen Donnerstag wrote:

Abdul,

the easiest way to go:
install maven (it'll download all jars for you)
run "maven eclipse" and everything will be set up for you.

For more details please scan recent mails. Eelco explained to Jon a
view days before.

Juergen


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop





-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop






-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to