Java Maps and non-SQL database

2012-04-21 Thread Marc Marc
Hello,

I want to develop an application-interpreter. The interpreter runs an 
application model consisting of entity-relationships and fairly easy business. 
My idea is to use Wicket using Java maps as underlying model and to use a 
non-SQL database to make the Java maps persistent. This way I try to omit to 
have to compile the application model towards Java POJO’s and towards SQL 
tables. So I would appreciate your insight on the following 2 questions:
1)Are there already existing implementations of the combination wicket – Java 
map – non-SQL database?
2) On wiki side, what is the best way to having Java maps as model (instead of 
POJOs). Should I develop my own subclasses of IModel (see also thread demand 
for maps)

Thanks for your insights,
Marc-Mail.be, WebMail and 
Virtual Officehttp://www.mail.be

Re: Unable to find error during hello World

2012-04-18 Thread Marc Marc
Martin,

thanks for your test. This allowed me to deduce that the cause is elsewhere:
I found it now:
I did not stopped the embedded Jetty server before trying my changes. 

Regards,
Marc

> 
> From: Marc Marc 
> Sent: Sun Apr 15 08:47:21 CEST 2012
> To: 
> Subject: Unable to find error during hello World
> 
> 
> Hello,
> 
> I am a new user. I succeeded the quickstart but can not run the "Hello World"
> example. I get the following error:
> Unable to find component with id 'message' in [Page class =
> com.modelandgo.HomePage, id = 0, render count = 1]Expected: '.message'.
> 
> I searched in the mailing list but did not found the solution.
> I add my simple code hereunder.
> 
> Thanks!
> Marc
> __
> 
> my application:
> public class WicketApplication extends WebApplication
> { 
>   @Override
>   public Class getHomePage()
>   {
>   return HomePage.class;
>   }
> 
> }
> 
> my page:
> public class HomePage extends WebPage {
>   private static final long serialVersionUID = 1L;
> 
> public HomePage(final PageParameters parameters) {
>   
> add(new Label("message", "I am a newbie"));
> 
> }
> }
> 
> my html:
> 
> http://wicket.apache.org";>
>   
>   Message goes here
>   
>   
> 
> 
> 
> -
> Mail.be, WebMail and Virtual Office
> http://www.mail.be
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 

-
Mail.be, WebMail and Virtual Office
http://www.mail.be

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Unable to find error during hello World

2012-04-14 Thread Marc Marc
Hello,

I am a new user. I succeeded the quickstart but can not run the "Hello World"
example. I get the following error:
Unable to find component with id 'message' in [Page class =
com.modelandgo.HomePage, id = 0, render count = 1]  Expected: '.message'.

I searched in the mailing list but did not found the solution.
I add my simple code hereunder.

Thanks!
Marc
__

my application:
public class WicketApplication extends WebApplication
{   
@Override
public Class getHomePage()
{
return HomePage.class;
}

}

my page:
public class HomePage extends WebPage {
private static final long serialVersionUID = 1L;

public HomePage(final PageParameters parameters) {

add(new Label("message", "I am a newbie"));

}
}

my html:

http://wicket.apache.org";>

Message goes here





-
Mail.be, WebMail and Virtual Office
http://www.mail.be

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org