I had the same problem ...
> Take a look at
> http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to-fix-ajax-back/
>
isn't there a better fix? E.g. it seems to me that this 'hack' avoids
client-side js caching (or is this a wrong observation)?
Regards,
Peter.
--
http://
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 sta
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
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
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 Se
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 wrote:
> All,
>
> I ran into strange behavior involving wicket ajax updates + chrome + back
> button. I am pretty sure the issue is not caused by
Hi,
check this http://markmail.org/thread/u42f6idu2hsdulom
2010/9/22 Ayodeji Aladejebi
> 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 BookmarkablePageL
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.
http://grepcode.com/fil
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
at the end of request
-igor
On Thu, Sep 23, 2010 at 11:55 AM, Douglas Ferguson
wrote:
> When exactly does a page get serialized/serialized?
>
> On Thu, Sep 23, 2010 at 12:54 PM, Igor Vaynberg
> wrote:
>
>> in dev serialization should happen just like in production.
>>
>> -igor
>>
>> On Thu, Sep
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 neede
When exactly does a page get serialized/serialized?
On Thu, Sep 23, 2010 at 12:54 PM, Igor Vaynberg wrote:
> in dev serialization should happen just like in production.
>
> -igor
>
> On Thu, Sep 23, 2010 at 10:34 AM, Douglas Ferguson
> wrote:
> > Hey guys,
> >
> > We overwrote "IObjectStreamFact
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 [mailto:igor.vaynb...@gmail.co
in dev serialization should happen just like in production.
-igor
On Thu, Sep 23, 2010 at 10:34 AM, Douglas Ferguson
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 production logs. Now we
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/
O
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.
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 wrote:
> Does anybody have a suggestion for this?
>
> Thanks,
>
> Shelli
>
> -Original Message-
> From: Shelli Orton
> Sent: Wednesday, September 2
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 :
http://ninomar
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
Works fine.
Thanks a lot!
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
instead of adding the checkbox directly wrap it in a panel.
-igor
On Thu, Sep 23, 2010 at 7:46 AM, Benedikt Schlegel
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 rewriting the whole thing.
>
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 :
> Yes, you'll need to provide your own markup.
>
> MyToo
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 w
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: users-unsubscr...@wicket.a
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.
sonoerin 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 base
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 NoClassDefFoundErro
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 of ?
On Thu, Sep 23, 2010 at 1:41 PM, Alexandru Artimon<
aarti
(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"
To:
Sent: Thursday, September
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 wrote:
> More recent versions of hibernate are available in the JBoss
More recent versions of hibernate are available in the JBoss maven repo
(which I do not see in your pom.xml):
jboss
https://repository.jboss.org/nexus/content/repositories/releases
Sebastian
- Original Message -
From: "Josh Kamau"
To:
Sent: Thursday, September 23, 2010 2:44 PM
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 '' (line 0, column 0)
[markup =
jar:file:/D
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 P
I guess you are aware of ?
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 change into an ed
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 cycle.
Hi,
2010/9/23 Ole Hansen :
> Hi,
>
> 2010/9/23 Martin Grigorov :
>> 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.
No need to look
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 ove
Good point.
On Thu, Sep 23, 2010 at 12:45 PM, James Carman
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
> wrote:
>> Doing
>>
>> getApplication().notifyComponentInstantiationLis
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 1
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
wrote:
> Doing
>
> getApplication().notifyComponentInstantiationListeners(this);
>
> as component does?
>
>
> On Thu, Sep 23, 2010 at 12:39 PM, Jam
Doing
getApplication().notifyComponentInstantiationListeners(this);
as component does?
On Thu, Sep 23, 2010 at 12:39 PM, James Carman
wrote:
> 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 bri
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 Reinaldo
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
wrote:
> I meant the "I
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
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 s
The interface IComponentInstantiationListener is tied to component:
public interface IComponentInstantiationListener
{
/**
* Called for every component that is instantiated. This method is
called
* during construction, so do not depend on the
construction being complete
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.
---
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 wrote:
> I'd be curious to hear for what "other classes" you have in mind. Yo
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
So, why would you need an interface, then? Just do this.
On Thu, Sep 23, 2010 at 6:16 AM, Ernesto Reinaldo Barreiro
wrote:
> Well you could have your hierarchy of classes and on your base class call
>
> getApplication().notifyComponentInstantiationListeners(this);
>
> As component does.
>
> Erne
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
wrote:
> On Thu, Sep 23, 2010 at 5:46 AM, Ernesto Reinaldo Barreiro
> wrote:
>>
>>
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
wrote:
> You don't need to have Wicket instantiate anything for you. The
> listener knows when you instanti
On Thu, Sep 23, 2010 at 5:46 AM, Ernesto Reinaldo Barreiro
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 Component
const
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
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
wrote:
> Shall I create an
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
wrote:
> yeah that would be handy.
>
> 2010/9/23 Ernesto Reinaldo Barreiro :
>> Martin,
>>
>> Yes, I see:
>>
>> getApplication().notifyComponentInstantiationListen
Hi,
2010/9/23 Martin Grigorov :
> 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 WebMarkupContainer("bodyElement
yeah that would be handy.
2010/9/23 Ernesto Reinaldo Barreiro :
> Martin,
>
> Yes, I see:
>
> getApplication().notifyComponentInstantiationListeners(this);
>
> Would it make sense (for 1.5) to have:
>
> -an interface IInstantiable
> -modify
>
> public interface IComponentInstantiationListener
> {
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 is
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 :
> > Hi Nino,
> >
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 :
> 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
ahh cool :) And thanks.. I know im "spamming" alot currently..
2010/9/23 Martin Grigorov :
> 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:
>
>> T
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".
>
>
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:
>
>
> http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nic
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.
T
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
wrote:
> 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 wi
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 :
> Panel is a Component, so you can use @Inject on the Panel members.
> Use Injector.get().inject(target) only in non C
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 abou
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 wrote:
> Hi,
>
> Newbee question: I need to add the onload attribute to the body tag (I
>
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:
http://svn.apache.org/repos
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, t
> 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,
You must weigh benefits and cons about whereto manage your IOC.
**
Martin
2010/9/23 nino martinez wael :
> 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 f
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
wrote:
> Hi
>
> what should I do if I want to use IOC in my panels? In short I need a
> sort of a provi
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 th
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:
...
...
Java:
WebMarkupContainer body = new WebMarkupContainer("bodyElement");
add(new WebMarkupContainer("bodyElement") {
�...@override
public b
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
What is your need exactly?
**
Martin
2010/9/23 nino martinez wael :
> 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
>
>
> 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 conditi
is it because a user disables cookies in the browser?
On Wed, Sep 22, 2010 at 7:35 AM, Wilhelmsen Tor Iver wrote:
> > 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
> created in case
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:
http://www.w3.org/1999/xhtml";
xmlns:wicket="http://org.apache.wicket.sourceforge.net/"; >
...
...
Java:
WebMarkupContainer body = new WebMarkupCont
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
For
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 indicat
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 wrote:
> Hi list,
>
> i want to services the same app using different (but structural
> identical) databases.
> say:
>
> http://foo.org/site/alpha
> http
> 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 whi
85 matches
Mail list logo