Josh,
I asked a very similar question a few weeks ago and I've got almost no
replays and no pointers to a real applications using both.
Regards,
Ernesto
1-http://apache-wicket.1842946.n4.nabble.com/production-quality-wicket-applications-running-on-GAE-td2289729.html
On Thu, Sep 23, 2010 at
Hi list,
i want to services the same app using different (but structural
identical) databases.
say:
http://foo.org/site/alpha
http://foo.org/site/beta
http://foo.org/site/ceti
...
I have managed to get JPA working with an routing datasource, to
switch the database
depending on the url path.
You could abstract the datastore in the stack using JDO/DataNucleus. It
supports DB40. In fact as it also supports RDBMS you could easily create
a datastore agnostic Wicket/Scala stack - that would be most awesome!
Just as a side note:
there is/was an mini example with warp persist which
you can try writing your own webrequestcodingstrategy, but be careful
not to break relative urls.
-igor
On Wed, Sep 22, 2010 at 11:59 PM, Bert taser...@gmail.com wrote:
Hi list,
i want to services the same app using different (but structural
identical) databases.
say:
We are running Glassfish 3.0.1 + Liferay 5.2.3 and have some portlets using
Wicket 1.4.9 (in deployment mode). These work fine on the platform when running
on our local Windows developer PCs, but when deployed onto a Solaris server
running the same software, forms stop working. Debugging
Hi
what should I do if I want to use IOC in my panels? In short I need a
sort of a provider injected into a panel, what's the prettiest way to
do it?
regards Nino
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
Hi,
Newbee question: I need to add the onload attribute to the body tag (I
can't use other methods to accomplish the same thing...)
My html:
html xmlns=http://www.w3.org/1999/xhtml;
xmlns:wicket=http://org.apache.wicket.sourceforge.net/;
wicket:head
...
/wicket:head
wicket:extend
body
is it because a user disables cookies in the browser?
On Wed, Sep 22, 2010 at 7:35 AM, Wilhelmsen Tor Iver toriv...@arrive.nowrote:
I have been tryin to figure out what to do to remove jsessionid from
the URL
The web container will add that to the first response URL when a session is
Don't worry, we've all had those head -- palm moments :)
PEBKAC. :)
Maybe a FindBugs plugin that checks that overridden methods always have a
non-empty implementation? Even the Eclipse built-in test for empty blocks would
help in some cases (except it allows a comment to satisfy the
What is your need exactly?
**
Martin
2010/9/23 nino martinez wael nino.martinez.w...@gmail.com:
Hi
what should I do if I want to use IOC in my panels? In short I need a
sort of a provider injected into a panel, what's the prettiest way to
do it?
regards Nino
Hello,
I have a problem when saving a component to the session, all it's
children disappear.
I do the save like this:
session.bind();
session.setMetaData(MY_KEY, component);
Regards,
Alexandru
Hi,
Newbee question: I need to add the onload attribute to the body tag (I
can't use other methods to accomplish the same thing...)
My html:
html
wicket:head
...
/wicket:head
wicket:extend
body wicket:id=bodyElement
...
/body
/wicket:extend
/html
Java:
WebMarkupContainer body = new
I need to be able to inject a service into my panel..
Should I then just use:
org.apache.wicket.injection.Injector.get().inject(Object object).
or are there are prettier way? I feel that calling
org.apache.wicket.injection.Injector.get().inject(Object object)
inside my panels sort of violates
Nino,
Can you just @SpringBean or @Inject? Don't know if this is the
pretties way as this might be a matter of personal taste;-)
Enresto
On Thu, Sep 23, 2010 at 10:14 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Hi
what should I do if I want to use IOC in my panels? In short I
You must weigh benefits and cons about whereto manage your IOC.
**
Martin
2010/9/23 nino martinez wael nino.martinez.w...@gmail.com:
I need to be able to inject a service into my panel..
Should I then just use:
org.apache.wicket.injection.Injector.get().inject(Object object).
or are there
is it because a user disables cookies in the browser?
Yes, in that case the rewritten URLs are needed to maintain session state.
- Tor Iver
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands,
Hi
Seems the way you mount pages has been change, the migration guide
(https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5#MigrationtoWicket1.5-WicketIOCchanges)
does not mention this.
Also the default way that 1.4 mapped pages was as a
querystringurlcodingstrategy AFAIK,
seem the wicket examples also are incomplete here as they uses deprecated calls:
http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java
Igor and Martin seems to be working on a new example:
Why do you have two components on bodyElement ?
WebMarkupContainer body = new WebMarkupContainer(bodyElement);
add(new WebMarkupContainer(bodyElement) {
On Thu, Sep 23, 2010 at 11:00 AM, Ole Hansen ssej1...@gmail.com wrote:
Hi,
Newbee question: I need to add the onload attribute to the body
Panel is a Component, so you can use @Inject on the Panel members.
Use Injector.get().inject(target) only in non Component classes.
P.S. The API above is for 1.5.
On Thu, Sep 23, 2010 at 11:03 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
You must weigh benefits and cons about
but how should panel then be managed..
Because if I create the panel myself in the page it won't work right?
Can I ask wicket to instansiate my panel?
2010/9/23 Martin Grigorov mgrigo...@apache.org:
Panel is a Component, so you can use @Inject on the Panel members.
Use
There is a component instantiation listener that takes care of that:
you just use new as always.
Ernesto
On Thu, Sep 23, 2010 at 11:17 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
but how should panel then be managed..
Because if I create the panel myself in the page it won't
Forgot to mention that the component is an AjaxEditableLabel and I
need to save it to session because I'm creating a custom wicket tag for
translation purposes. When in translator mode I want all the labels to
be replaced by AjaxEditableLabel's so that the translator can do his job
easier.
Hi Nino,
On Thu, Sep 23, 2010 at 11:10 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
seem the wicket examples also are incomplete here as they uses deprecated
calls:
Panel's constructor calls super() and Component's ctor asks the
instantiation listener to do its work
On Thu, Sep 23, 2010 at 11:21 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
There is a component instantiation listener that takes care of that:
you just use new as always.
ahh cool :) And thanks.. I know im spamming alot currently..
2010/9/23 Martin Grigorov mgrigo...@apache.org:
Panel's constructor calls super() and Component's ctor asks the
instantiation listener to do its work
On Thu, Sep 23, 2010 at 11:21 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com
Hehe, wrong link to the documentation..
But I actually do not get named parameters(it's just null) when using
MountedMapper..
2010/9/23 Martin Grigorov mgrigo...@apache.org:
Hi Nino,
On Thu, Sep 23, 2010 at 11:10 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
seem the wicket
See MountedMapperTest
On Thu, Sep 23, 2010 at 11:43 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Hehe, wrong link to the documentation..
But I actually do not get named parameters(it's just null) when using
MountedMapper..
2010/9/23 Martin Grigorov mgrigo...@apache.org:
Hi
Martin,
Yes, I see:
getApplication().notifyComponentInstantiationListeners(this);
Would it make sense (for 1.5) to have:
-an interface IInstantiable
-modify
public interface IComponentInstantiationListener
{
/**
* Called for every component that is instantiated. This method
yeah that would be handy.
2010/9/23 Ernesto Reinaldo Barreiro reier...@gmail.com:
Martin,
Yes, I see:
getApplication().notifyComponentInstantiationListeners(this);
Would it make sense (for 1.5) to have:
-an interface IInstantiable
-modify
public interface
Hi,
2010/9/23 Martin Grigorov mgrigo...@apache.org:
Why do you have two components on bodyElement ?
WebMarkupContainer body = new WebMarkupContainer(bodyElement);
Yes it is redundant, but dosent seem to make a difference weather it
is there or not.
Thanks,
Jess
add(new
Shall I create an RFE? Or this something that does not make much sense?
Ernesto
On Thu, Sep 23, 2010 at 11:51 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
yeah that would be handy.
2010/9/23 Ernesto Reinaldo Barreiro reier...@gmail.com:
Martin,
Yes, I see:
You don't need to have Wicket instantiate anything for you. The
listener knows when you instantiate any component (Component's
constructor does the magic). Just use @SpringBean in your panel and
it will work.
On Thu, Sep 23, 2010 at 6:07 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
I'd be curious to hear for what other classes you have in mind. You'll
always need to call the instantiation listener at some point to invoke the
injector.
So simply implementing IInstantiable will not be enough to have injection
magically work.
I think the reason it's currently implemented
On Thu, Sep 23, 2010 at 5:46 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
So that other classes could use the same trick by implementing IInstantiable ?
How, exactly, is Wicket going to know when they're instantiated? The
only way the component instantiation stuff works is that the
James,
I think know how it works: I was just wondering if it can be extended
for other types of objects and how useful it could be.
Ernesto
On Thu, Sep 23, 2010 at 12:09 PM, James Carman
ja...@carmanconsulting.com wrote:
You don't need to have Wicket instantiate anything for you. The
Well you could have your hierarchy of classes and on your base class call
getApplication().notifyComponentInstantiationListeners(this);
As component does.
Ernesto
On Thu, Sep 23, 2010 at 12:11 PM, James Carman
ja...@carmanconsulting.com wrote:
On Thu, Sep 23, 2010 at 5:46 AM, Ernesto Reinaldo
So, why would you need an interface, then? Just do this.
On Thu, Sep 23, 2010 at 6:16 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Well you could have your hierarchy of classes and on your base class call
getApplication().notifyComponentInstantiationListeners(this);
As component
what about custom IModel impls ?
it will work automatically for all IModel impls provided by Wicket, but will
not work for custom ones. And then the users will start creating tickets ...
On Thu, Sep 23, 2010 at 12:16 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Well you could have
Some Models maybe? Right now I have a few of them where I have
InjectorHolder.getInjector().inject(this);
But maybe you are right and this out of Wicket's scope.
Ernesto
On Thu, Sep 23, 2010 at 12:11 PM, Bas Gooren b...@iswd.nl wrote:
I'd be curious to hear for what other classes you have in
Thanks a lot! IMarkupResourceStreamProvider does the trick:)
-
www.hermanhorsten.be
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/dynamic-template-page-tp2550354p2551774.html
Sent from the Users forum mailing list archive at Nabble.com.
The interface IComponentInstantiationListener is tied to component:
public interface IComponentInstantiationListener
{
/**
* Called for every component that is instantiated. This method is
called
* strongduring/strong construction, so do not depend on the
construction
Guys,
I work on the same project as below (integrating an interface translator
with Wicket) and we are a bit stuck. Any ideas?
Thanks in advance for your time !
Mihai
On 09/23/2010 12:29 PM, Alexandru Artimon wrote:
Forgot to mention that the component is an AjaxEditableLabel and I
need to
I meant the Instantiatable interface you mentioned. I would assume
that it would be a marker interface that would indicate to Wicket that
you want it injected. This already happens with @SpringBean without
the need for an interface. If the injector sees a @SpringBean field,
it injects it. For
Listeners could be used for other things: not only injecting
dependencies. The interface would mark classes that could be
instantiated by wicket listeners. But yes you are probably right and
it would be overkilling...
Ernesto
On Thu, Sep 23, 2010 at 12:27 PM, James Carman
Again, how would merely putting a marker interface on some random
class allow Wicket to be notified about when it is instantiated? Now,
if you bring AspectJ into the mix, you might have something. Or, as
someone else already suggested, use Salve.
On Thu, Sep 23, 2010 at 6:35 AM, Ernesto
Doing
getApplication().notifyComponentInstantiationListeners(this);
as component does?
On Thu, Sep 23, 2010 at 12:39 PM, James Carman
ja...@carmanconsulting.com wrote:
Again, how would merely putting a marker interface on some random
class allow Wicket to be notified about when it is
I meant automatically. Why introduce an interface if you're going to
just do this anyway?
On Thu, Sep 23, 2010 at 6:42 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Doing
getApplication().notifyComponentInstantiationListeners(this);
as component does?
On Thu, Sep 23, 2010 at
I'm not sure why the children disappear but it looks odd to me to save
component in the session in first place.
why not:
if (request.getParameter(editMode)) { label = new AjaxEditableLabel(id,
model);} else {label = new Label(id, model);}
parent.addOrReplace(label);
?
On Thu, Sep 23, 2010 at
Good point.
On Thu, Sep 23, 2010 at 12:45 PM, James Carman
ja...@carmanconsulting.com wrote:
I meant automatically. Why introduce an interface if you're going to
just do this anyway?
On Thu, Sep 23, 2010 at 6:42 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Doing
Hello,
This aproach didn't work for me. I tried first only adding an
AjaxEditableLabel in my ComponentResolver, but once I clicked the label
(in order to change into an edit box) wicket complained that it couldn't
find the AjaxEditableLabel component in the Page. So that's how I ended
up
Hi,
2010/9/23 Ole Hansen ssej1...@gmail.com:
Hi,
2010/9/23 Martin Grigorov mgrigo...@apache.org:
Why do you have two components on bodyElement ?
WebMarkupContainer body = new WebMarkupContainer(bodyElement);
Yes it is redundant, but dosent seem to make a difference weather it
is there or
Hello,
I've been working with Wicket for about a week now and things were
moving along all cruisy until I started adding Hibernate and
Databinder dependencies into my POM. Then all hell broke loose and I
seem to now find myself in the NoClassDefFoundError, then find and
manually install jar
I guess you are aware of wicket:message key=.. ?
On Thu, Sep 23, 2010 at 1:41 PM, Alexandru Artimon
aarti...@dgfoundation.org wrote:
Hello,
This aproach didn't work for me. I tried first only adding an
AjaxEditableLabel in my ComponentResolver, but once I clicked the label (in
order to
I suggest you use hibernate 3.5+. it seems more organized adding
hibernate-core , hibernate-annotations adds all the neccessary hibernate
dependencies.
I normally use hibernate JPA entity manager and all i add is one dependency
for hibernate-entitymanager.
Regards.
On Thu, Sep 23, 2010 at 3:28
I've implemented a CheckGroupColumn which is supposed to easily extend
the DataTable with multi-row actions.
But when i add it to my DataTable i get the following exception:
---
WicketMessage: Component label must be applied to a tag of type
'input', not 'span wicket:id=label' (line 0, column 0)
More recent versions of hibernate are available in the JBoss maven repo
(which I do not see in your pom.xml):
repository
idjboss/id
urlhttps://repository.jboss.org/nexus/content/repositories/releases/url
/repository
Sebastian
- Original Message -
From: Josh Kamau
I would not add those external repositories to your own pom, but rely
on a repository manager instead to retrieve the dependencies.
See:
* artifactory
* nexus
* archiva
Martijn
On Thu, Sep 23, 2010 at 2:48 PM, Bas Gooren b...@iswd.nl wrote:
More recent versions of hibernate are available
(Sorry for the topic hijacking Ichiro ...) Interesting tip, thanks!
I've only been using maven for a year now, mainly by using m2eclipse to
prevent library jars ending up in my source repository.
Sebastian
- Original Message -
From: Martijn Dashorst martijn.dasho...@gmail.com
To:
Yeah it's not what we need, that's why we are implementing some other.
And also wicket:message doesn't have the ability to work in an
editor-mode.
Alexandru
On 09/23/2010 03:34 PM, Martin Grigorov wrote:
I guess you are aware ofwicket:message key=.. ?
On Thu, Sep 23, 2010 at 1:41 PM,
On 09/23/10 14:28, Ichiro Furusato wrote:
Hello,
I've been working with Wicket for about a week now and things were
moving along all cruisy until I started adding Hibernate and
Databinder dependencies into my POM. Then all hell broke loose and I
seem to now find myself in the
sonoerin humblecelt at yahoo.com writes:
customerA.domain.com
customerB.domain.com
So I am not sure if its best to just have multiple deployments each with
their own Wicket Application/homepage or if there is a way to bundle them
all into a single app that handles each request/response
If you want to stick with Ant, try Ivy instead of Maven. It can read Maven pom
files, and has a decent eclipse plug-in.
On Sep 23, 2010, at 5:28 AM, Ichiro Furusato wrote:
. I'm guessing I must be doing something
wrong, as I'm still pretty new to Maven, being a longstanding Ant
person.
In short, i want to add a CheckGroupSelector instead of a Label.
So i guess i need a way to replace the markup of HeaderToolbar,
without rewriting the whole thing.
Suggestions?
-
To unsubscribe, e-mail:
Yes, you'll need to provide your own markup.
MyToolbar extends HeaderToolbar {
// override the constroctor only
}
then provide MyToolbar.html which is modified version of HeaderToolbar.html
On Thu, Sep 23, 2010 at 4:46 PM, Benedikt Schlegel
codecab.dri...@googlemail.com wrote:
In short, i
Well... most of the logic is in the constructor. So i have to copy the
whole code from there and just make some little tweaks.
Kinda ugly but now i realized that theres no other way. What a pity!
Thanks anyway.
2010/9/23 Martin Grigorov mgrigo...@apache.org:
Yes, you'll need to provide your
instead of adding the checkbox directly wrap it in a panel.
-igor
On Thu, Sep 23, 2010 at 7:46 AM, Benedikt Schlegel
codecab.dri...@googlemail.com wrote:
In short, i want to add a CheckGroupSelector instead of a Label.
So i guess i need a way to replace the markup of HeaderToolbar,
without
Works fine.
Thanks a lot!
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Does anybody have a suggestion for this?
Thanks,
Shelli
-Original Message-
From: Shelli Orton
Sent: Wednesday, September 22, 2010 1:54 PM
To: users@wicket.apache.org
Subject: Setting Checked Boxes in CheckGroup
Hi,
I am trying to use a CheckGroup to manage which columns are used in a
if I where you i'd go use one of the legup archetypes or wicket stuff
iolite (although a bit outdated) and build on those, they provide the
boilder plate so you dont have to write it. Use a artifact manager
like nexus or artifactory..
As for the rest of it, I wrote an article here :
im going to guess something is wrong with your model. hard to tell
without a quickstart.
-igor
On Thu, Sep 23, 2010 at 9:25 AM, Shelli Orton shelli.or...@sjrb.ca wrote:
Does anybody have a suggestion for this?
Thanks,
Shelli
-Original Message-
From: Shelli Orton
Sent: Wednesday,
What do you mean by quickstart?
Shelli
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Thursday, September 23, 2010 10:57 AM
To: users@wicket.apache.org
Subject: Re: Setting Checked Boxes in CheckGroup
im going to guess something is wrong with your model.
Hey guys,
We overwrote IObjectStreamFactory with a copy that has more logging and we
found the object that is causing the problems in our production logs. Now we
need to recreate it in a more controlled environment.
How could we force serialization of this object in a dev environmental?
D/
On
in dev serialization should happen just like in production.
-igor
On Thu, Sep 23, 2010 at 10:34 AM, Douglas Ferguson
doug...@douglasferguson.us wrote:
Hey guys,
We overwrote IObjectStreamFactory with a copy that has more logging and we
found the object that is causing the problems in our
See http://wicket.apache.org/start/quickstart.html
Use this to create a small application that exhibits the bug.
Regards,
Erik.
Op 23-09-10 19:26, Shelli Orton schreef:
What do you mean by quickstart?
Shelli
-Original Message-
From: Igor Vaynberg
When exactly does a page get serialized/serialized?
On Thu, Sep 23, 2010 at 12:54 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
in dev serialization should happen just like in production.
-igor
On Thu, Sep 23, 2010 at 10:34 AM, Douglas Ferguson
doug...@douglasferguson.us wrote:
Hey
Our team is developing a new application using the following technologies :
-Wicket
-Hibernate
-Portlet
-Liferay
So we are looking for a Java developer for 6 month.
The project starts in October.
You must at least be skilled in Java and Wicket.
We will teach you the other technologies if
at the end of request
-igor
On Thu, Sep 23, 2010 at 11:55 AM, Douglas Ferguson
doug...@douglasferguson.us wrote:
When exactly does a page get serialized/serialized?
On Thu, Sep 23, 2010 at 12:54 PM, Igor Vaynberg
igor.vaynb...@gmail.comwrote:
in dev serialization should happen just like
You really don't want to save a component in a session. A component has
its own lifecycle, tied to pagerequests, and its own scope tied to its
parent components and the page it is part of. From what I understand of
your story, what you should do is write your own component that wraps a
Label or an
Hello,
Pages are serialized at the end of the request cycle (this includes at
the end of ajax requests)
Look at AbstractPageStore.serializePage(...)
Specificically the call to
Objects.objectToByteArray(page.getPageMapEntry()) which turns the page
into a bytearray.
Hi,
check this http://markmail.org/thread/u42f6idu2hsdulom
2010/9/22 Ayodeji Aladejebi aladej...@gmail.com
Hi,
I have been tryin to figure out what to do to remove jsessionid from the
URL
I have mount(new QueryStringUrlCodingStrategy(/home, AppHomePage.class));
All my links are
Take a look at
http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to-fix-ajax-back/
On Wed, Sep 22, 2010 at 12:58 PM, Ryan Crumley crum...@gmail.com wrote:
All,
I ran into strange behavior involving wicket ajax updates + chrome + back
button. I am pretty sure the issue is
Doesn't it make more sense to override WebPage's setHeaders(WebResponse)
method? You get the response as a param instead of pulling it from the request
cycle and the method name is just right.
_
From: Richard Nichols [mailto:r...@visural.com]
To: users@wicket.apache.org
Sent: Thu, 23
Thanks very much all for your helpful replies. I'll try to answer all at once:
Josh, I'm using Hibernate 3.5.6-Final. I'm going to clean out my .m2
repository of the Hibernate stuff, then try Bas' suggestion and see if
it works without me having to manually install the jars to my local
repository
Hi Guys,
I am trying to make a reusable DecoratedButton component (extension of
wicket Button), which would draw itself with appropriate icon, color, and
other styles, based on the provided ButtonType, an enum e.g. 'Save', 'Edit',
'Delete', 'Search', 'Cancel' etc...
I am trying to find solution
Looks great, thanks for the link.
+1 on CouchDB, et al vs only DB4o,
Wicket+Scala+Couch is a really nice stack
Thanks
On 9/21/10 11:42 PM, Thomas Kappler wrote:
On 09/22/10 03:41, Sam Stainsby wrote:
Today we officially announced our project to provide a Wicket-DB4O-Scala
web application
86 matches
Mail list logo