Re: jboss + ear + wicket

2009-04-22 Thread Francis De Brabandere
As usual I found the problem creating a quickstart. It was a file name problem.

I'm used to woking in linux but for this project I work in windows. It
seems jetty/glassfish classloaders are not case-sensitive but the
jboss one is. That's why one of my markup files was not found on
jboss. (Logpanel.html instead of LogPanel.html). Using linux I would
have seen this problem long before :-s

Thanks for the replys though.

On Tue, Apr 21, 2009 at 1:33 PM, Francis De Brabandere
franci...@gmail.com wrote:
 I know that is supported but he should not be looking for these files
 as the markup is available in ParentClass.html

 for example you have a page with a form with some components in it

 in you page you add the form and to the form you add components
 now he tries to find ParentClass$FormClass.html but that markup is
 contained in the ParentClass.html

 this only happens on jboss using an ear file, deploying the plain war
 works, and deploying the ear on glassfish works

 I'll create an example app to make this more clear.

 Thanks for the replys

 On Tue, Apr 21, 2009 at 12:48 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 ParentClass$InnerClass.html are supported.. I think, I've done that
 with forms atleast.. Could you provide a sample?

 2009/4/21 Francis De Brabandere franci...@gmail.com:
 Nino,

 I think your problem is not related.

 The html files are found, pages without inner classes are correctly
 rendered. It's just that he does not seem to be finding markup that is
 contained in the parent markup. He looks for
 ParentClass$InnerClass.html.

 and we are not using eclipse for that build, standard maven ear and
 war/jar packaging

 I might create a sample project and submit a jira issue later this week

 Francis

 On Fri, Apr 17, 2009 at 11:50 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 Nope not general.. However if you use a eclipse plugin to
 publish/deploy with It might be the case anyhow..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 Ahh I think it was Martijn.. and just a general maven thing perhaps..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 Hi Francis,

 I think I know the problem.. Remember what igor wrote a few days ago
 about the new maven eclipse:eclipse plugin not allowing html resources
 along in main java or test only in resources.. Anyway that seems the
 issue I've run into now on my ubuntu box. I get the exact same thing
 as you do when I run it in a embedded jetty..:

 WicketMessage: Markup of type 'html' for component
 'org.wicketstuff.HomePage' not found. Enable debug messages for
 org.apache.wicket.util.resource to get a list of all filenames tried.:
 [Page class = org.wicketstuff.HomePage, id = 0, version = 0]

 Root cause:

 org.apache.wicket.markup.MarkupNotFoundException: Markup of type
 'html' for component 'org.wicketstuff.HomePage' not found. Enable
 debug messages for org.apache.wicket.util.resource to get a list of
 all filenames tried.: [Page class = org.wicketstuff.HomePage, id = 0,
 version = 0]
 at 
 org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:226)
 at 
 org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:351)
 at org.apache.wicket.Page.onRender(Page.java:1515)
 at org.apache.wicket.Component.render(Component.java:2421)
 at org.apache.wicket.Page.renderPage(Page.java:926)
 at 
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262)
 at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
 at 
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1200)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1271)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1370)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:501)
 at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:455)
 at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:288)
 at 
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
 at 
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
 at 
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at 
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
 at 
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
 at 
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
 at org.mortbay.jetty.Server.handle(Server.java:295)
 at 
 org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
 at 
 org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210

Re: jboss + ear + wicket

2009-04-21 Thread Francis De Brabandere
Nino,

I think your problem is not related.

The html files are found, pages without inner classes are correctly
rendered. It's just that he does not seem to be finding markup that is
contained in the parent markup. He looks for
ParentClass$InnerClass.html.

and we are not using eclipse for that build, standard maven ear and
war/jar packaging

I might create a sample project and submit a jira issue later this week

Francis

On Fri, Apr 17, 2009 at 11:50 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 Nope not general.. However if you use a eclipse plugin to
 publish/deploy with It might be the case anyhow..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 Ahh I think it was Martijn.. and just a general maven thing perhaps..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 Hi Francis,

 I think I know the problem.. Remember what igor wrote a few days ago
 about the new maven eclipse:eclipse plugin not allowing html resources
 along in main java or test only in resources.. Anyway that seems the
 issue I've run into now on my ubuntu box. I get the exact same thing
 as you do when I run it in a embedded jetty..:

 WicketMessage: Markup of type 'html' for component
 'org.wicketstuff.HomePage' not found. Enable debug messages for
 org.apache.wicket.util.resource to get a list of all filenames tried.:
 [Page class = org.wicketstuff.HomePage, id = 0, version = 0]

 Root cause:

 org.apache.wicket.markup.MarkupNotFoundException: Markup of type
 'html' for component 'org.wicketstuff.HomePage' not found. Enable
 debug messages for org.apache.wicket.util.resource to get a list of
 all filenames tried.: [Page class = org.wicketstuff.HomePage, id = 0,
 version = 0]
 at 
 org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:226)
 at 
 org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:351)
 at org.apache.wicket.Page.onRender(Page.java:1515)
 at org.apache.wicket.Component.render(Component.java:2421)
 at org.apache.wicket.Page.renderPage(Page.java:926)
 at 
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262)
 at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
 at 
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1200)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1271)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1370)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:501)
 at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:455)
 at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:288)
 at 
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
 at 
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
 at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
 at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
 at org.mortbay.jetty.Server.handle(Server.java:295)
 at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
 at 
 org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
 at 
 org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
 at 
 org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

 2009/4/16 Francis De Brabandere franci...@gmail.com:
 Hi,

 Are there any known problems on deploying wicket web applications on JBoss?

 I'm deploying an ear containing a war, this works correctly on
 glassfish but on jboss wicket gives me this exception:
 Markup of type 'html' for component
 'xxx.updater.web.page.HomePage$MainLogPanel' not found
 [stacktrace at the bottom of this mail]

 I have this kind of exection on all pages using (anonymous) inner
 classes (non-static)

 Deploying only the war does not give me this problem (jboss 4.x and 5.x)
 Any idea?


 org.apache.wicket.markup.MarkupNotFoundException: Markup of type
 'html' for component 'xxx.updater.web.page.HomePage$MainLogPanel' not
 found. Enable debug messages for org.apache.wicket.util.resource to
 get a list of all filenames tried.: [MarkupContainer [Component id =
 log]]
     at 
 org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:226)
     at 
 org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:351)
     at 
 org.apache.wicket.MarkupContainer.renderAssociatedMarkup

Re: jboss + ear + wicket

2009-04-21 Thread Francis De Brabandere
I know that is supported but he should not be looking for these files
as the markup is available in ParentClass.html

for example you have a page with a form with some components in it

in you page you add the form and to the form you add components
now he tries to find ParentClass$FormClass.html but that markup is
contained in the ParentClass.html

this only happens on jboss using an ear file, deploying the plain war
works, and deploying the ear on glassfish works

I'll create an example app to make this more clear.

Thanks for the replys

On Tue, Apr 21, 2009 at 12:48 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 ParentClass$InnerClass.html are supported.. I think, I've done that
 with forms atleast.. Could you provide a sample?

 2009/4/21 Francis De Brabandere franci...@gmail.com:
 Nino,

 I think your problem is not related.

 The html files are found, pages without inner classes are correctly
 rendered. It's just that he does not seem to be finding markup that is
 contained in the parent markup. He looks for
 ParentClass$InnerClass.html.

 and we are not using eclipse for that build, standard maven ear and
 war/jar packaging

 I might create a sample project and submit a jira issue later this week

 Francis

 On Fri, Apr 17, 2009 at 11:50 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 Nope not general.. However if you use a eclipse plugin to
 publish/deploy with It might be the case anyhow..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 Ahh I think it was Martijn.. and just a general maven thing perhaps..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 Hi Francis,

 I think I know the problem.. Remember what igor wrote a few days ago
 about the new maven eclipse:eclipse plugin not allowing html resources
 along in main java or test only in resources.. Anyway that seems the
 issue I've run into now on my ubuntu box. I get the exact same thing
 as you do when I run it in a embedded jetty..:

 WicketMessage: Markup of type 'html' for component
 'org.wicketstuff.HomePage' not found. Enable debug messages for
 org.apache.wicket.util.resource to get a list of all filenames tried.:
 [Page class = org.wicketstuff.HomePage, id = 0, version = 0]

 Root cause:

 org.apache.wicket.markup.MarkupNotFoundException: Markup of type
 'html' for component 'org.wicketstuff.HomePage' not found. Enable
 debug messages for org.apache.wicket.util.resource to get a list of
 all filenames tried.: [Page class = org.wicketstuff.HomePage, id = 0,
 version = 0]
 at 
 org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:226)
 at 
 org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:351)
 at org.apache.wicket.Page.onRender(Page.java:1515)
 at org.apache.wicket.Component.render(Component.java:2421)
 at org.apache.wicket.Page.renderPage(Page.java:926)
 at 
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262)
 at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
 at 
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1200)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1271)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1370)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:501)
 at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:455)
 at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:288)
 at 
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
 at 
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
 at 
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at 
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
 at 
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
 at 
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
 at org.mortbay.jetty.Server.handle(Server.java:295)
 at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
 at 
 org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
 at 
 org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
 at 
 org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

 2009/4/16 Francis De Brabandere franci...@gmail.com:
 Hi,

 Are there any known problems on deploying wicket web applications on 
 JBoss?

 I'm deploying an ear containing a war, this works correctly on
 glassfish but on jboss wicket gives me this exception:
 Markup of type

Re: jboss + ear + wicket

2009-04-17 Thread Francis De Brabandere
application.xml

?xml version=1.0 encoding=UTF-8?
!DOCTYPE application PUBLIC
-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN
http://java.sun.com/dtd/application_1_3.dtd;
application
  display-nameupdater-ear/display-name
  description.../description
  module
web
  web-uriupdater-client-web-1.0.0-SNAPSHOT.war/web-uri
  context-root/updater-client-web/context-root
/web
  /module
/application

web.xml

?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
 version=2.4

display-nameclient-web/display-name

 !--
  There are three means to configure Wickets configuration mode
and they are
  tested in the order given.
  1) A system property: -Dwicket.configuration
  2) servlet specific init-param
  3) context specific context-param
  The value might be either development (reloading when templates 
change)
  or deployment. If no configuration is found, development is
the default.
--

filter
filter-namewicket.client-web/filter-name

filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
init-param
param-nameapplicationClassName/param-name

param-valuecom.xxx.web.UpdaterApplication/param-value
/init-param
/filter

 filter-mapping
  filter-namewicket.client-web/filter-name
url-pattern/*/url-pattern
 /filter-mapping


/web-app

the war contains the wicket libs (WEB-INF/lib)
the ear contains other libs we use (lib)

On Fri, Apr 17, 2009 at 4:47 AM, Grigoriy Tkachuk
grigoriy.tkac...@makingpages.ru wrote:
 16.04.2009 23:58, Francis De Brabandere пишет:

 Hi,

 Are there any known problems on deploying wicket web applications on
 JBoss?

 I'm deploying an ear containing a war, this works correctly on
 glassfish but on jboss wicket gives me this exception:
 Markup of type 'html' for component
 'xxx.updater.web.page.HomePage$MainLogPanel' not found
 [stacktrace at the bottom of this mail]

 I have this kind of exection on all pages using (anonymous) inner
 classes (non-static)

 Deploying only the war does not give me this problem (jboss 4.x and 5.x)
 Any idea?


 org.apache.wicket.markup.MarkupNotFoundException: Markup of type
 'html' for component 'xxx.updater.web.page.HomePage$MainLogPanel' not
 found. Enable debug messages for org.apache.wicket.util.resource to
 get a list of all filenames tried.: [MarkupContainer [Component id =
 log]]
      at
 org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:226)
      at
 org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:351)
      at
 org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:632)
      at
 org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114)
      at org.apache.wicket.Component.renderComponent(Component.java:2596)
      at
 org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521)
      at org.apache.wicket.Component.render(Component.java:2421)
      at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1399)
      at
 org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1586)
      at
 org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1510)
      at org.apache.wicket.Component.renderComponent(Component.java:2596)
      at
 org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521)
      at org.apache.wicket.Component.render(Component.java:2421)
      at
 org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
      at
 org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:66)
      at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1426)
      at
 org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1586)
      at
 org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1510)
      at org.apache.wicket.Component.renderComponent(Component.java:2596)
      at
 org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521)
      at org.apache.wicket.Component.render(Component.java:2421)
      at
 org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
      at
 org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:73)
      at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1426)
      at
 org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1537)
      at org.apache.wicket.Page.onRender(Page.java:1522)
      at org.apache.wicket.Component.render(Component.java:2421

jboss + ear + wicket

2009-04-16 Thread Francis De Brabandere
Hi,

Are there any known problems on deploying wicket web applications on JBoss?

I'm deploying an ear containing a war, this works correctly on
glassfish but on jboss wicket gives me this exception:
Markup of type 'html' for component
'xxx.updater.web.page.HomePage$MainLogPanel' not found
[stacktrace at the bottom of this mail]

I have this kind of exection on all pages using (anonymous) inner
classes (non-static)

Deploying only the war does not give me this problem (jboss 4.x and 5.x)
Any idea?


org.apache.wicket.markup.MarkupNotFoundException: Markup of type
'html' for component 'xxx.updater.web.page.HomePage$MainLogPanel' not
found. Enable debug messages for org.apache.wicket.util.resource to
get a list of all filenames tried.: [MarkupContainer [Component id =
log]]
 at 
org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:226)
 at 
org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:351)
 at 
org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:632)
 at 
org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114)
 at org.apache.wicket.Component.renderComponent(Component.java:2596)
 at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521)
 at org.apache.wicket.Component.render(Component.java:2421)
 at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1399)
 at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1586)
 at 
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1510)
 at org.apache.wicket.Component.renderComponent(Component.java:2596)
 at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521)
 at org.apache.wicket.Component.render(Component.java:2421)
 at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
 at 
org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:66)
 at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1426)
 at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1586)
 at 
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1510)
 at org.apache.wicket.Component.renderComponent(Component.java:2596)
 at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521)
 at org.apache.wicket.Component.render(Component.java:2421)
 at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
 at 
org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:73)
 at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1426)
 at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1537)
 at org.apache.wicket.Page.onRender(Page.java:1522)
 at org.apache.wicket.Component.render(Component.java:2421)
 at org.apache.wicket.Page.renderPage(Page.java:926)
 at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262)
 at 
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
 at 
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1200)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1271)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1370)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:501)
 at 
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:455)
 at 
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:288)

-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



MapModel javadoc spelling

2009-03-30 Thread Francis De Brabandere
Can somebody fix the javadoc for MapModel?

Based on codeModel/code but for mapss of serializable objects.

should be maps instead of mapss

-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: [OT] wicket users around the world

2008-12-12 Thread Francis De Brabandere
near Ghent, Belgium

companies using wicket:

http://www.tvh.com ?
http://www.cropdesign.com (internal statistics/reporting website)

On Fri, Dec 12, 2008 at 9:11 AM, Benjamin Linus
benjamin.d.li...@gmail.com wrote:
 Leuven, Belgium

 Does Anyone know any belgian companies using Wicket ?

 Ben

 2008/12/12 Martin Sachs sachs.mar...@gmail.com

 Berlin, Germany



 francisco treacy schrieb:
  to know a little bit more of our great (and vast) community, i was
  just wondering if you're keen on sharing where you come from and/or
  where you work with wicket...
 
  for instance, here argentinian/belgian working with wicket in antibes,
 france
 
  francisco
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 


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






-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Create custom UrlCodingStrategy

2008-12-02 Thread Francis De Brabandere
sorry for the misunderstanding, I never made a url coding strategy so
I won't be able to help you, anybody else?

On Tue, Dec 2, 2008 at 2:31 PM, Mathias P.W Nilsson
[EMAIL PROTECTED] wrote:

 Nope this is not what I mean!

 What if I want to mount /events to Event.class and 100 customers needs to
 use the same page with different variation?

 when the user attempts http://localhost/myapp/test/events/ ( test is the
 customer name ) then it should invoke /events.
 http://localhost/myapp/test2/events should invoke the same page but with the
 test2 customers variation. I do not want to mount test2/events , test/events
 since there could be 100 customers that uses this. ( imaging doing this for
 all classes and all customers ) I need a way to check the customer name set
 variation in the session.


 --
 View this message in context: 
 http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20792180.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]





-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Create custom UrlCodingStrategy

2008-12-02 Thread Francis De Brabandere
 http://localhost/test/hello
 http://localhost/test2/hello

 Can this be done with wicket?

Yes, this is called mounting pages or resources

see here:
http://cwiki.apache.org/WICKET/url-coding-strategies.html
http://www.javalobby.org/java/forums/t68753.html



 --
 View this message in context: 
 http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20791796.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]





-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Applet Wicket communication

2008-10-23 Thread Francis De Brabandere
Just use an plain servlet, and talk to it using http + add the
WicketSessionFilter in front of it so you can interact with the wicket
session

http://www.wicket-framework.org/apidocs/wicket/protocol/http/servlet/WicketSessionFilter.html

On Thu, Oct 23, 2008 at 1:21 PM, Iqbal Akhtar [EMAIL PROTECTED] wrote:
 Hi everyone,

 I need help regarding applet to wicket communication. Any help, code, pointer 
 will be appreciated.

 Thanks and Regards,
 Iqbal

 _
 Explore the seven wonders of the world
 http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE



-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Development Platform

2008-10-16 Thread Francis De Brabandere
Buying a mac doesn't force you to use macos, I just love their
hardware but stick to linux as dev environment. My mac mini has a
ubuntu/macos dual boot.

If you are going to stick with ubuntu better check if there are any
issues with the new macbooks. I've read about thermal and suspend
problems with the old macbooks but on my mac mini ubuntu runs
smoothly.

On Thu, Oct 16, 2008 at 11:12 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
 Hi

 We use Mac's here at our office too, namely the Apple MacBook Pro. As
 Martijn mentioned apple are a bit slow on the java side, and pretty elusive
 about information..

 We have no problems using mac's. And I never shutdown my mac, always
 hibernate once every 3 or 4 weeks it crashes(but it's probably me
 disconnecting devices when it's sleeping) when I open it so it's pretty
 stable.

 So the

 pros:
 Unix like os
 Small laptop, but with largescreen
 usually noiseless
 eye candy effect (hey even the guys in CSI uses it)

 cons:
 expensive
 java support slow...

 If you ask me what OS/laptop I would use next.. I'd probably go for ubuntu,
 just to try it out, possibly on a mac pro.

 The idea/Eclipse part. I hear that once youve gotten use to idea it should
 be really fast, because of their very good refactoring support. On the
 otherhand idea are a commercial license.. For now I use Eclipse 3.4 JEE
 version.

 greeklinux wrote:

 Hello wicket users,

 I have to bye a new notebook and I am thinking about the new
 Apple MacBook Pro.
 I am using Ubuntu for my development, Java/Wicket with maven,
 Eclipse/Idea,
 Tomcat.

 Are here any Mac OS X users and developers with pros and cons? I want to
 know
 if Mac OS X will be a good dev platform, because I am new to it.

 Hear about your experiences, would be great!




 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684


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





-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: page expire url

2008-10-16 Thread Francis De Brabandere
getApplicationSettings().setPageExpiredErrorPage(Page.class);


On Thu, Oct 16, 2008 at 3:33 PM, Piller Sébastien [EMAIL PROTECTED] wrote:
 I've the same requirement, and til now I didn't find any solution.

 PageExpired means the session is dead, so you have lost any information of
 the user.

 Maybe some core developpers may have a solution?


 itayh a écrit :

 Hi all,

 Is there any way I can control the page expire url? I am using ajax self
 updating and when the page expire for some reason it turns into

 host:port/myapp/;jsessionid=9A04D7E548899E5E36381E6AEBCAD1AE?wicket:bookmarkablePage=:org.apache.wicket.markup.html.pages.PageExpiredErrorPage

 I need it to be url that i can control depends on the pages I came from.

 Thanks in advance,
  Itay



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





-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Show/hide WebMarkupContainer

2008-09-03 Thread Francis De Brabandere
Add the form and set it invisible, after the user clicks the ajax link
set the form visible and add it to the response
target.addComponent(form);

make sure the form has a placeholder
form.setOutputMarkupPlaceholderTag(true);

On Wed, Sep 3, 2008 at 4:27 PM, Chris Stein [EMAIL PROTECTED] wrote:
 I am having trouble understanding how to achieve the following:
 Similar to Xing or Google Mail, I want to show a form with AJAX when the user 
 clicks a link on the same page. I first thought that I can achieve this with 
 the AjaxLazyLoadPanel. By now I got the gist that I need to play with an 
 empty WebMarkupContainer in order to achieve this. However, I seem unable to 
 figure out how this is actually going to work.
 Can somebody please give me a head start on this?

 Sorry if this might be a stupid question and thanks a lot for your help!
 --Chris






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





-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: PageSavingThread keeps running after undeploy

2007-11-23 Thread Francis De Brabandere
issue created: https://issues.apache.org/jira/browse/WICKET-1184

On 11/22/07, Francis De Brabandere [EMAIL PROTECTED] wrote:
 Deploying the phonbook example application does not cause this
 PageSavingThread to be started, is there some other application I can
 try to reproduce this problem?

 Francis

 On 11/22/07, Matej Knopp [EMAIL PROTECTED] wrote:
  Please create a jira entry, it's a bug probably.
 
  -Matej
 
  On Nov 22, 2007 11:17 AM, Francis De Brabandere [EMAIL PROTECTED] wrote:
   Hi all,
  
   We are deploying our wicket application to Glassfish (V2). After 
   undeploying
   and deploying a few times the PageSavingThread's of each deploy keeps
   running. Any ideas why this might be happening?
  
   Thanks in advance,
  
   Francis
  
   --
   http://www.somatik.be
   Microsoft gives you windows, Linux gives you the whole house.
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



 --
 http://www.somatik.be
 Microsoft gives you windows, Linux gives you the whole house.



-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: disabled AjaxEditableMultiLineLabel

2007-11-22 Thread Francis De Brabandere
This is the code (wicket 1.3 rc1)

add(new AjaxEditableMultiLineLabel(Comment, new
PropertyModel(experiment, experimentDetailStat.Comment)){
/*
@Override
protected void onEdit(AjaxRequestTarget target) {
if(isEnabled()){
super.onEdit(target);
}
}
*/

@Override
protected void onSubmit(AjaxRequestTarget target) {
super.onSubmit(target);
Util.getBean(GenericLocal.class).saveObject(
experiment.getExperimentDetailStat());
}
}.setEnabled(LoginSession.get().isAdmin()));

and I tested by replacing the LoginSession.get().isAdmin() by false but I'm
still able to edit that field

Regards

Francis

On 11/21/07, Gerolf Seitz [EMAIL PROTECTED] wrote:

 Francis,
 i would really be interested in your code that doesn't seem to work, if
 you
 don't mind.
 as of before Al's fix, it already worked for me because:

 the label is dis-/enabled in AjaxEditableLabel#onBeforeRender:
 label.setEnabled(isEnableAllowed()  isEnabled());

 and since the LabelAjaxBehavior is derived from AjaxEventBehavior, the
 eventhandler is only rendered,
 if the associated component is enabled. see
 AjaxEventBehavior#onComponentTag

 regards,
   Gerolf

 On Nov 21, 2007 1:26 PM, Francis De Brabandere [EMAIL PROTECTED]
 wrote:

  ok, i'll check on next release
 
  On Nov 21, 2007 12:56 PM, Al Maw [EMAIL PROTECTED] wrote:
 
   Francis De Brabandere wrote:
doing setEnabled(false) on a AjaxEditableMultiLineLabel does not
  disable
   the
editing feature
   
this can be fixed by overriding onEdit():
   
@Override
protected void onEdit(AjaxRequestTarget target) {
if(isEnabled()){
super.onEdit(target);
}
}
   
but shouldn't this be changed in the AjaxEditableMultiLineLabel
  source?
   
ps: this might be needed on other ajax edit lables too
  
   It is. This should now be fixed in trunk.
  
   Regards,
  
   Al
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  http://www.somatik.be
  Microsoft gives you windows, Linux gives you the whole house.
 




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.


PageSavingThread keeps running after undeploy

2007-11-22 Thread Francis De Brabandere
Hi all,

We are deploying our wicket application to Glassfish (V2). After undeploying
and deploying a few times the PageSavingThread's of each deploy keeps
running. Any ideas why this might be happening?

Thanks in advance,

Francis

-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.


Re: Beyond Wicket:Firefox and Gmail Users (Any Browser Crash Noticed Lately)

2007-11-22 Thread Francis De Brabandere
on my side crashing is just hanging without using 100% cpu, seems I have
firefox 2.0.0.8 on ubuntu 7.10

On 11/22/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:

 i dont have firebug install as well and it keeps me from wicket
 forum...its
 a nasty bug and have switched temporarily to IE7. But i dont know who to
 blaim...Gmail  or Firefox?

 On Nov 21, 2007 12:34 PM, Francis De Brabandere [EMAIL PROTECTED]
 wrote:

  I have the same problem, is that firebug an extension? I don't have it
  installed.
 
  On Nov 20, 2007 10:29 PM, Nick Heudecker [EMAIL PROTECTED] wrote:
 
   Have you disabled Firebug for Gmail?
  
   On Nov 20, 2007 3:28 PM, Ayodeji Aladejebi [EMAIL PROTECTED]
 wrote:
  
Please this is off wicket topic but i do notice my Firefox 2.0.0.9
crashes particularly when I try to search the wicket mailing list
 for
FAQs. This started happening since i noticed an upgrade in Gmail
   
Anyone experiencing somthing like this?
   
   
thanks
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
   --
   Nick Heudecker
   Professional Wicket Training  Consulting
   http://www.systemmobile.com
  
   Eventful - Intelligent Event Management
   http://www.eventfulhq.com
  
 
 
 
  --
  http://www.somatik.be
  Microsoft gives you windows, Linux gives you the whole house.
 




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.


Re: PageSavingThread keeps running after undeploy

2007-11-22 Thread Francis De Brabandere
Deploying the phonbook example application does not cause this
PageSavingThread to be started, is there some other application I can
try to reproduce this problem?

Francis

On 11/22/07, Matej Knopp [EMAIL PROTECTED] wrote:
 Please create a jira entry, it's a bug probably.

 -Matej

 On Nov 22, 2007 11:17 AM, Francis De Brabandere [EMAIL PROTECTED] wrote:
  Hi all,
 
  We are deploying our wicket application to Glassfish (V2). After undeploying
  and deploying a few times the PageSavingThread's of each deploy keeps
  running. Any ideas why this might be happening?
 
  Thanks in advance,
 
  Francis
 
  --
  http://www.somatik.be
  Microsoft gives you windows, Linux gives you the whole house.
 

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





-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Beyond Wicket:Firefox and Gmail Users (Any Browser Crash Noticed Lately)

2007-11-22 Thread Francis De Brabandere
On 11/22/07, Frank Bille [EMAIL PROTECTED] wrote:
 On Nov 22, 2007 1:39 PM, Francis De Brabandere [EMAIL PROTECTED] wrote:

  on my side crashing is just hanging without using 100% cpu, seems I have
  firefox 2.0.0.8 on ubuntu 7.10
 

 What do you do to get that? I have the same config and I don't have problems
 (so far).

 Frank


sometimes when the new gmail is opened in a tab or when my session is
restored (about 6 tabs with one of them gmail)


-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



disabled AjaxEditableMultiLineLabel

2007-11-21 Thread Francis De Brabandere
doing setEnabled(false) on a AjaxEditableMultiLineLabel does not disable the
editing feature

this can be fixed by overriding onEdit():

@Override
protected void onEdit(AjaxRequestTarget target) {
if(isEnabled()){
super.onEdit(target);
}
}

but shouldn't this be changed in the AjaxEditableMultiLineLabel source?

ps: this might be needed on other ajax edit lables too

-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.



-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.


Re: Beyond Wicket:Firefox and Gmail Users (Any Browser Crash Noticed Lately)

2007-11-21 Thread Francis De Brabandere
I have the same problem, is that firebug an extension? I don't have it
installed.

On Nov 20, 2007 10:29 PM, Nick Heudecker [EMAIL PROTECTED] wrote:

 Have you disabled Firebug for Gmail?

 On Nov 20, 2007 3:28 PM, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:

  Please this is off wicket topic but i do notice my Firefox 2.0.0.9
  crashes particularly when I try to search the wicket mailing list for
  FAQs. This started happening since i noticed an upgrade in Gmail
 
  Anyone experiencing somthing like this?
 
 
  thanks
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Nick Heudecker
 Professional Wicket Training  Consulting
 http://www.systemmobile.com

 Eventful - Intelligent Event Management
 http://www.eventfulhq.com




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.


Re: disabled AjaxEditableMultiLineLabel

2007-11-21 Thread Francis De Brabandere
we are using 1.3rc1 yes, I don't think it is implemented

On Nov 21, 2007 12:39 PM, Gerolf Seitz [EMAIL PROTECTED] wrote:

 what wicket version do you use? this should already work in 1.3rc1

  Gerolf

 On Nov 21, 2007 12:20 PM, Francis De Brabandere [EMAIL PROTECTED] 
 wrote:

  doing setEnabled(false) on a AjaxEditableMultiLineLabel does not disable
  the
  editing feature
 
  this can be fixed by overriding onEdit():
 
 @Override
 protected void onEdit(AjaxRequestTarget target) {
 if(isEnabled()){
 super.onEdit(target);
 }
 }
 
  but shouldn't this be changed in the AjaxEditableMultiLineLabel source?
 
  ps: this might be needed on other ajax edit lables too
 
  --
  http://www.somatik.be
  Microsoft gives you windows, Linux gives you the whole house.
 
 
 
  --
  http://www.somatik.be
  Microsoft gives you windows, Linux gives you the whole house.
 




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.


Re: JPA best-practices?

2007-11-16 Thread Francis De Brabandere
 if you use EJB3 you really want to use the wicket-contrib-javaee project
 (wicketstuff) all you need to do is call you @EJB and rest is handled
 automatically !


That project needs an update for 1.3
Add wicket-ioc dep / remove spring dep + some other unneeded deps /
fix package names, I contacted the author but got no response.
Plus you have to define all beans in the web.xml which is not needed
when you work with jsf for example (tested on glassfish). Does anybody
know why that is?

but since this thread is about jpa+guice+wicket on lightweight
container and not j2ee + wicket I suppose that wicket-contrib-javaee
is not what they are looking for.

On Nov 16, 2007 4:45 PM, Korbinian Bachl [EMAIL PROTECTED] wrote:


 Uwe Schäfer schrieb:
  Maris Orbidans schrieb:
 
  Let's remember good old EJB's.  Inject an EntityManager in a session
  bean facade and EJB container will handle all concurrency issues. No
  need to write any boilerplate code.
 
  that´s where i come from. problem is, that you domain object aren´t able
  to lazily fetch attached data from database, unless you manage the EM
  yourself (maybe via Stateful SB, like seam does you encourage to).


 see yourself:
 http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee

 i love this thing!

 Best,

 Korbinian

 
  there are situations in which SBs are the best way to implement DAOs. I
  doubt, these are the majority.
 
  BTW   I have seen that some people use OpenEntityManagerInViewFilter
  and map it to url pattern /*.   It seems that an EntityManager would
  be created every time a static web resource is accessed.  Isn't that
  terrible ?
 
  i don´t know if OpenEntityManagerInViewFilter actually opens an EM.
  my solution wont, but instead provide a Context for EMs, so that they
  can be created and managed (and yes, more than one ;) automatically on
  demand.
 
  cu uwe


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





-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: JPA best-practices?

2007-11-16 Thread Francis De Brabandere
On Nov 16, 2007 8:02 PM, Korbinian Bachl [EMAIL PROTECTED] wrote:
  That project needs an update for 1.3
  Add wicket-ioc dep / remove spring dep + some other unneeded deps /
  fix package names, I contacted the author but got no response.
  Plus you have to define all beans in the web.xml which is not needed
  when you work with jsf for example (tested on glassfish). Does anybody
  know why that is?

 err, you need to checkout the trunk version for 1.3, built is for 1.2 !
 the trunk works perfect with 1.3, but its noted on the page AFAIK


hmm, the pom still needs an update to use ioc instead of swing + what
are those servlet/portlet api dependencies doing there?

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



Re: JPA best-practices?

2007-11-09 Thread Francis De Brabandere
You might want to have a look at http://databinder.net, that project
is using hibernate but the setup should be similar?
The big problem is that a EntityManager is not thread-safe and should
indeed be created per request. Let me know if you get there!

On Nov 9, 2007 1:52 PM, Uwe Schäfer [EMAIL PROTECTED] wrote:
 hi

 i plan to use JPA together with Wicket. Are there any battle-proven
 best-practices out there of how to handle EnityManagers and Transactions?

 What do other people use (no, not the spring crowd ;) ?

 One EntityManager per Request seems to be the obvious idea and a guice
 Provider may help with that. Does anyone have serious experiences with
 that or other suggestions?

 cu uwe
 --

 THOMAS DAILY GmbH
 Adlerstraße 19
 79098 Freiburg
 Deutschland
 T  + 49 761 3 85 59 0
 F  + 49 761 3 85 59 550
 E  [EMAIL PROTECTED]
 www.thomas-daily.de

 Geschäftsführer/Managing Directors:
 Wendy Thomas, Susanne Larbig
 Handelsregister Freiburg i.Br., HRB 3947


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





-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Ajax - Long process indicator ?

2007-09-12 Thread Francis De Brabandere
IndicatingAjaxLink might be what you need

On 9/12/07, Mael Sicsic [EMAIL PROTECTED] wrote:
 Hello,

 I dont find in the available components one that would allow to display a 
 little pop up while a long ajax process is running.
 In a form with an Ajax button, the browser doesnt display any feedback (as 
 the full page isnt re-rendered, there is no  browser loading indicator). If 
 the process associated with the button action takes somes times (a few 
 seconds), the user as the feeling that his click has not been taken in 
 account...

 Is there a allready a component that allow to display some feedback to the 
 user when a button or link is clicked ? If not what is the most 
 straightforward way to implement this fonctionality ?


-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Param = null

2007-09-10 Thread Francis De Brabandere
tried https://lilo:8443/whisky/app/cat/id/1 ?

you might want to have a look at QueryStringUrlCodingStrategy

On 9/10/07, chickabee [EMAIL PROTECTED] wrote:

 Here is the constructor of the class i have:

 public CategoryBrowser(final PageParameters parameters) {
 // Add the simplest type of label
 add(new Label(message, Welcome to the Category Browser Page));

 System.out.println(Param =  + parameters.getString(id) );
 }


 When I use the url:
 https://lilo:8443/whisky/app/cat/?id=1
 Not to mention that i have been using the Nice Url here for the above class.

 I get the following  in consol output:
 Param = null

 Can anyone point out what may b wrong? I expected it to be:
 Param = 1

 --
 View this message in context: 
 http://www.nabble.com/Param-%3D-null-tf4413478.html#a12589727
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Param = null

2007-09-10 Thread Francis De Brabandere
that is the default, you can changed it using a different UrlCodingStrategy

On 9/10/07, chickabee [EMAIL PROTECTED] wrote:

 Simply Amazing! It works like a charm.

 So the Wicket syntx is:
 https://lilo:8443/whisky/app/cat/param1/value1/param2/value2

 Gracias para la ayuda  Fancis!

 =


 tried https://lilo:8443/whisky/app/cat/id/1 ?


 --
 View this message in context: 
 http://www.nabble.com/Param-%3D-null-tf4413478.html#a12589994
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Re: Re: Re: First Day Disgust!

2007-09-08 Thread Francis De Brabandere
if you use netbeans 6 you can just open the maven project without even
running that  netbeans:netbeans command

On 9/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 well thats the thing about maven. it generates setups for different ides. so

 cd wicket
 mvn eclipse:eclipse - builds eclipse config
 mvn idea:idea - builds idea config
 mvn netbeans:netbeans - builds netbeans config

 after you do that all thats left is to import the created project into the
 ide.

 -igor


 On 9/8/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
 
  also, demos come in many fashions,
  the starter demo for an eclipse user differs from a netbeans user and
  differs from a maven user or notepad/vi/command line user
 
  various demos to serve various build or IDE enviroment. it may not be
  helpful when a maven only developer is trying to show a NB only developer
  how to write a demo in wicket or otherwise.
 
  IMO links to various build envrioments should be made open and am sure
  sample demo projects are all over the place
 
  On 08 Sep 2007 23:00:32 +0200 (CEST), Robo [EMAIL PROTECTED] wrote:
  
   It will Igor, just go on ...
  
   Robo
  
   - Originálna Správa -
   Od: \Igor Vaynberg\
   Komu:
   Poslaná: 08.09.2007 23:46
   Predmet: Re: Re: Re: First Day Disgust!
  
   
i would if that made any sense...
   
-igor
   
   
On 08 Sep 2007 22:52:05 +0200 (CEST), Robo  wrote:

 Sorry Igor. I pack wicket app, simple wicket demo app, very well in
   WAR
 layout. If I`m not right please point me to point where wicket app
   border is
 extending WAR layout border.

 Robo
  
  
  
   __
   http://www.tahaj.sk - Stiahnite si najnovsie verzie vasich oblubenych
   programov
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 



-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-07 Thread Francis De Brabandere
Would be great

On 9/7/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 I'll be presenting on JavaPolis this december, so we can easily plan a
 BoF in the evening.

 Martijn

 On 9/7/07, Francis De Brabandere [EMAIL PROTECTED] wrote:
  any chance you could do this a bit more near belgium? :-)
 
  On 9/7/07, C. Bergström [EMAIL PROTECTED] wrote:
   Johan Compagner wrote:
hi,
   
I can organize one if there is enough interest
Martijn and i will be there then.
   
And for example if people are also interested in the wicket security i 
will
also drag Maurice to the table.
   I can attend while I'm in the Netherlands and will probably drag
   (willingly) another colleague of mine.
  
   Did anyone have any ideas where it would be?  (We're near Haarlem and if
   needed *maybe* could host it as well.)
  
   +2
  
   ./C
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  http://www.somatik.be
  Microsoft gives you windows, Linux gives you the whole house.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Buy Wicket in Action: http://manning.com/dashorst
 Apache Wicket 1.3.0-beta3 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

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




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-07 Thread Francis De Brabandere
any chance you could do this a bit more near belgium? :-)

On 9/7/07, C. Bergström [EMAIL PROTECTED] wrote:
 Johan Compagner wrote:
  hi,
 
  I can organize one if there is enough interest
  Martijn and i will be there then.
 
  And for example if people are also interested in the wicket security i will
  also drag Maurice to the table.
 I can attend while I'm in the Netherlands and will probably drag
 (willingly) another colleague of mine.

 Did anyone have any ideas where it would be?  (We're near Haarlem and if
 needed *maybe* could host it as well.)

 +2

 ./C

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




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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