Re: PageExpired in non bookmarkable page with 1.5.2

2011-11-02 Thread Seko Masaya
Thank you. I wait for the fix. --- On Wed, 2011/11/2, Martin Grigorov wrote: > There is a ticket for this problem: > https://issues.apache.org/jira/browse/WICKET-4189 > I'll attach the app to it. > > On Wed, Nov 2, 2011 at 6:50 AM, Igor Vaynberg wrote: > > please attach it to a jira issue. >

wicket job opportunity, we are hiring

2011-11-02 Thread Igor Vaynberg
the company i work for ( 42lines inc) is growing and we are looking for a few good devs. about our approach: * we are a distributed company with employees based predominantly in the usa, i think there are 22 of us now * everyone telecommutes either from home or a coworking space if you get cabin

Re: template navigation using ajax

2011-11-02 Thread pen
This is the wicket page example http://www.wicket-library.com/wicket-examples/template/wicket/bookmarkable/org.apache.wicket.examples.template.pageinheritance.Page1?0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/template-navigation-using-ajax-tp3983962p3983966.html

template navigation using ajax

2011-11-02 Thread pen
Hi All, I need to build a Ajax pages, similar to wicket template example using markup inheritance. Instead of refreshing whole pages when clicked on page1 or page2. Only the content on the right side should be refreshed using Ajax. What is the best way to implement this? `Pen -- View this mess

Updating a child of a transparent resolver via ajax

2011-11-02 Thread Allen Gilbert
Hello, Following Igor's example at http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/, I am trying to paint only the latest item added to a repeater. Although the sample project from the article worked, I could not get the approach to work on my page in my env

Re: [RELEASE] WASP/SWARM/Wicket security 1.4.1 released, roadmap for future direction

2011-11-02 Thread Leonardo D'Alimonte
Great! The main repository (http://wicketstuff.org/maven/repository/org/apache/wicket/wicket-security/swarm/) seems to miss the latest release of Swarm, I can see only 1.4-SNAPSHOT/ and with incomplete dependencies...anyway the mirror repository works perfectly :) Leonardo Martijn Dashorst wrote

Re: Borders and inheritance in wicket 1.5

2011-11-02 Thread bjolletz
Oh, that would probably solve my scenario! I think add() actually was final in 1.4, but as you say that seems to have changed in 1.5. I wasn't aware of that change so did not think that was an option... Thanks you very much for your help and quick replies, much appreciated! -- View this message i

Re: Borders and inheritance in wicket 1.5

2011-11-02 Thread Igor Vaynberg
afair add() method is not final, so you can overwrite it on panel A and forward all calls to the border's body container. -igor On Wed, Nov 2, 2011 at 12:22 PM, bjolletz wrote: > If panel A was the only place where the border was used, that would surely be > true. But I also use the border in ot

Re: Borders and inheritance in wicket 1.5

2011-11-02 Thread bjolletz
If panel A was the only place where the border was used, that would surely be true. But I also use the border in other components where I want the same appearance but dont want to extend from panel A. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Borders-and-inherita

Re: Borders and inheritance in wicket 1.5

2011-11-02 Thread Igor Vaynberg
if you are using inheritance why are you using a border? same effect can be achieved with markup inheritance... -igor On Wed, Nov 2, 2011 at 11:55 AM, bjolletz wrote: > > Igor Vaynberg-2 wrote: >> >> extending panel A means that your components go into panel A not into >> one of its children. >>

Re: Borders and inheritance in wicket 1.5

2011-11-02 Thread bjolletz
Igor Vaynberg-2 wrote: > > extending panel A means that your components go into panel A not into > one of its children. > Yep. That's why I used setTransparentResolver on the sectionBorder in 1.4 to make things work. Igor Vaynberg-2 wrote: > > you can provide a special addChild() method, or

Re: UTF-8 encoding RFE for warning?

2011-11-02 Thread Attila Király
Nitpicking a bit: .properties files need to be in ISO 8859-1 encoding not in default. Attila 2011/11/2 Wilhelmsen Tor Iver > > It's a known fact for me aswell now :) > > Note that even though properties files need to be in the "default" > encoding, you can use non-iso-latin characters by way of

Re: Error with tree component with 1.5.2

2011-11-02 Thread Martin Grigorov
Hi, I have Maven-ized your quickstart app in the ticket because I don't use Eclipse WTP. Unfortunately I wasn't able to reproduce this problem with it. Please modify it so that it fail. On Wed, Nov 2, 2011 at 6:58 PM, PDiefent wrote: > The same problem occurs if I use a PackageResourceReference

Re: Error with tree component with 1.5.2

2011-11-02 Thread PDiefent
The same problem occurs if I use a PackageResourceReference as an image model and try to update it in an AjaxLink. When erasing the toggleIcon component from the target.add method, the error doesn't occur. /** * @author Peter Diefenthäler * Link to toggle visibility of a dependent component. *

Re: navomatic example doesnt´t work

2011-11-02 Thread Martin Grigorov
Fixed with r1196632. Will be updated on the site soon Thanks. On Wed, Nov 2, 2011 at 4:03 PM, jjg wrote: > I am new to Wicket and had the same > issue.(http://wicket.apache.org/learn/examples/navomatic.html) > Updated the code to addToBorder(), and it started working. image='smiley_beam.gif > >

Re: navomatic example doesnt´t work

2011-11-02 Thread jjg
I am new to Wicket and had the same issue.(http://wicket.apache.org/learn/examples/navomatic.html) Updated the code to addToBorder(), and it started working.

Re: StatelessPage & Ajax

2011-11-02 Thread Rodrigo Pereira
If it does not store my page anywhere, how does it know which object to update? I mean, i pass in the object used on this page as modal On 11/02/2011 03:56 PM, Martin Grigorov wrote: On Wed, Nov 2, 2011 at 4:50 PM, Rodrigo Pereira wrote: Hi, no, I don't use it should I? Yes. Wicket'

RE: abort loading lazy components

2011-11-02 Thread Michal Wegrzyn
It is triggered when there is already new "itemList" (it extends DataView), so I suppose that PageAndComponentProvider looks for "itemList:29", which does not exists anymore. Scenario: - Page is loaded but lazy components ('folders:listContainer:itemList:itemPanel:folder:children') are still l

Re: Upgrading of Wicket application on server without losing state

2011-11-02 Thread Martin Grigorov
On Wed, Nov 2, 2011 at 4:51 PM, Doug Leeper wrote: > We are using Weblogic 10.3 and it has a nice feature that allows two versions > of the app to run concurrently. http://www.tomcatexpert.com/blog/2011/05/31/parallel-deployment-tomcat-7 > > What happens is this: > - V1 is running and sessions a

Re: StatelessPage & Ajax

2011-11-02 Thread Martin Grigorov
On Wed, Nov 2, 2011 at 4:50 PM, Rodrigo Pereira wrote: > Hi, > no, I don't use it should I? Yes. Wicket's default Ajax components/behaviors are stateful. I.e. the page is also stateful and should be stored but for some reason it seems it is not ... > I have some AjaxEditableLabel on that pag

Re: abort loading lazy components

2011-11-02 Thread Martin Grigorov
On Wed, Nov 2, 2011 at 4:49 PM, Michal Wegrzyn wrote: > I've updated to Wicket 1.5.2 and I can see also some warnings surrounding > exceptions. > Is it a bug or am I missing something? > > Below full log: > > 15:31:11.847 user [http--2] WARN  o.a.w.r.h.render.WebPageRenderer - The > Buffered

Re: Upgrading of Wicket application on server without losing state

2011-11-02 Thread Doug Leeper
We are using Weblogic 10.3 and it has a nice feature that allows two versions of the app to run concurrently. What happens is this: - V1 is running and sessions are currently active - deploy V2 - existing V1 sessions will continue to use V1 code - new request (i.e. new session) will use V2 This i

Re: StatelessPage & Ajax

2011-11-02 Thread Rodrigo Pereira
Hi, no, I don't use it should I? I have some AjaxEditableLabel on that page, so during onSubmit I update the DB and show the new value for that field. Is it possible to look for the page due to this update? Regards, Rodrigo Pereira On 11/02/2011 03:26 PM, Martin Grigorov wrote: Do you us

RE: abort loading lazy components

2011-11-02 Thread Michal Wegrzyn
I've updated to Wicket 1.5.2 and I can see also some warnings surrounding exceptions. Is it a bug or am I missing something? Below full log: 15:31:11.847 user [http--2] WARN o.a.w.r.h.render.WebPageRenderer - The Buffered response should be handled by BufferedResponseRequestHandler 15:32:2

RE: Upgrading of Wicket application on server without losing state

2011-11-02 Thread Wilhelmsen Tor Iver
> Is there a convenient way to shut down a wicket application so that it saves > its complete state to e.g. the filesystem and the next wicket app that boots > up initially reads the state from those files? anyone else handling server > upgrades differently and in a better way? Well, if you put th

Re: StatelessPage & Ajax

2011-11-02 Thread Martin Grigorov
Do you use jolira's stateless components ? Because for stateless Ajax a new page instance is created for each request. I'm not sure why Wicket tries to find the old page. Maybe the page is not stateless after all. On Wed, Nov 2, 2011 at 4:04 PM, Rodrigo Pereira wrote: > Thanks for your reply. > I

Re: StatelessPage & Ajax

2011-11-02 Thread Rodrigo Pereira
Thanks for your reply. It seems like that it is still only keeping 1 entry in my sessionCache, eventhough I added the following in my MyApp.init() super.init(); setPageManagerProvider( new DefaultPageManagerProvider( this ) { @Override protected IDataStore newDataStore() { ret

RE: UTF-8 encoding RFE for warning?

2011-11-02 Thread Wilhelmsen Tor Iver
> It's a known fact for me aswell now :) Note that even though properties files need to be in the "default" encoding, you can use non-iso-latin characters by way of the \u syntax, though a bit more cumbersome than "raw" Unicode characters. - Tor Iver ---

Re: StatelessPage & Ajax

2011-11-02 Thread Martin Grigorov
On Wed, Nov 2, 2011 at 2:57 PM, Rodrigo Pereira wrote: > > Hi, > I am new to wicket and I am facing some issues with stateless page and ajax. > When I open 2 tabs with stateless pages,  i got page expired exception after > making any ajax request on the 1st, while the 2nd tab keeps ok. > It seems

StatelessPage & Ajax

2011-11-02 Thread Rodrigo Pereira
Hi, I am new to wicket and I am facing some issues with stateless page and ajax. When I open 2 tabs with stateless pages, i got page expired exception after making any ajax request on the 1st, while the 2nd tab keeps ok. It seems like these 2 pages is never serialized, which seems to be correc

Re: How to clear PageMap in Wicket 1.5?

2011-11-02 Thread Martin Grigorov
On Wed, Nov 2, 2011 at 2:09 PM, Matthias Keller wrote: > Hi Martin > > Thanks for the quick reply. > The fix doesn't work for me though, I can still go back and press reload or > do anything I like. > If I use session.replaceSession() it works as expected but as a side effect > also changes the JS

Re: How to clear PageMap in Wicket 1.5?

2011-11-02 Thread Matthias Keller
Hi Martin Thanks for the quick reply. The fix doesn't work for me though, I can still go back and press reload or do anything I like. If I use session.replaceSession() it works as expected but as a side effect also changes the JSESSIONID which usually isn't what you want... I'm using it like

Re: wicketstuff-core 1.5.2 released?

2011-11-02 Thread Martin Grigorov
On Wed, Nov 2, 2011 at 1:48 PM, Sebastian wrote: > wicketstuff 1.5.2 has been released already: > http://repo1.maven.org/maven2/org/wicketstuff/wicketstuff-core/1.5.2/ I didn't notice. > > However, especially if - as you say - anyone can do this, it is even more > relevant to understand the rele

Re: Anyone going to Java2days?

2011-11-02 Thread nino martinez wael
Yup thats the one :) Saw Andrew where presentating.. 2011/11/2 Martin Grigorov > In Sofia, Bulgaria ? > I'll miss it this year but Andrew Lombardi (kinabalu) will be there > and will present Wicket twice. > > On Wed, Nov 2, 2011 at 1:11 PM, nino martinez wael > wrote: > > Hi > > > > Im going w

Re: wicketstuff-core 1.5.2 released?

2011-11-02 Thread Sebastian
wicketstuff 1.5.2 has been released already: http://repo1.maven.org/maven2/org/wicketstuff/wicketstuff-core/1.5.2/ However, especially if - as you say - anyone can do this, it is even more relevant to understand the release's state and the included changes. On 02.11.2011 12:31, Martin Grigoro

Re: Handling form ajax submit on enter key in form field

2011-11-02 Thread Bas Gooren
Cool, thanks! How about browser support for this? We've tested with current Firefox and Chrome releases and it works like a charm. But how about IE < 9 ? Op 2-11-2011 12:33, schreef Martin Grigorov: On Wed, Nov 2, 2011 at 1:29 PM, Bas Gooren wrote: Hi, Yes we currently do form.add( new Aj

Re: Handling form ajax submit on enter key in form field

2011-11-02 Thread Martin Grigorov
On Wed, Nov 2, 2011 at 1:29 PM, Bas Gooren wrote: > Hi, > > Yes we currently do > > form.add( new AjaxFormSubmitBehavior(form, "onsubmit")); > > I've been testing what you describe (enter keys calls submit button), and > this works. > 99% of the time we only have one submit button, so that's good

Re: Anyone going to Java2days?

2011-11-02 Thread Martin Grigorov
In Sofia, Bulgaria ? I'll miss it this year but Andrew Lombardi (kinabalu) will be there and will present Wicket twice. On Wed, Nov 2, 2011 at 1:11 PM, nino martinez wael wrote: > Hi > > Im going with a collegue.. Anybody else? Should we meet somewhere at the > conference? > > > regards Nino >

Re: Handling form ajax submit on enter key in form field

2011-11-02 Thread Bas Gooren
Hi, Yes we currently do form.add( new AjaxFormSubmitBehavior(form, "onsubmit")); I've been testing what you describe (enter keys calls submit button), and this works. 99% of the time we only have one submit button, so that's good enough for us. Thanks! Op 1-11-2011 23:54, schreef Andrea De

Re: wicketstuff-core 1.5.2 released?

2011-11-02 Thread Martin Grigorov
Wicket is released, but WicketStuff is not yet. Usually Michael releases it but I guess anyone can do it by following his " howto release steps" in the wiki. On Wed, Nov 2, 2011 at 1:13 PM, nino martinez wael wrote: > it's right on the homepage: > > http://wicket.apache.org/ > > But are you think

Re: wicketstuff-core 1.5.2 released?

2011-11-02 Thread Martijn Dashorst
Probably Michael hasn't gotten around to tagging and announcing. Martijn On Wed, Nov 2, 2011 at 12:08 PM, Sebastian wrote: > Hi, > > I can see a wicketstuff-core 1.5.2 release in the maven-repo, however in > github no tag exists and no formal announcement has been made. So my > question is, what

Re: Modal Window with Ajax in Firefox

2011-11-02 Thread Andrea Del Bene
Hi, can you reproduce your problem in a separate project and upload it somewhere? It would help much to understand if this problem is a bug and to find a solution. Hi, i am sorry that i didnt reply earlier. I forgot to mention that, when I close modal window with form, I show other modal

Re: wicketstuff-core 1.5.2 released?

2011-11-02 Thread Sebastian
I'm talking about wicketstuff http://wicketstuff.org/, not wicket. The releases used to be announced here too. On 02.11.2011 12:13, nino martinez wael wrote: it's right on the homepage: http://wicket.apache.org/ But are you thinking of a announcement here on the list? 2011/11/2 Sebastian H

Re: wicketstuff-core 1.5.2 released?

2011-11-02 Thread nino martinez wael
it's right on the homepage: http://wicket.apache.org/ But are you thinking of a announcement here on the list? 2011/11/2 Sebastian > Hi, > > I can see a wicketstuff-core 1.5.2 release in the maven-repo, however in > github no tag exists and no formal announcement has been made. So my > questio

Anyone going to Java2days?

2011-11-02 Thread nino martinez wael
Hi Im going with a collegue.. Anybody else? Should we meet somewhere at the conference? regards Nino

wicketstuff-core 1.5.2 released?

2011-11-02 Thread Sebastian
Hi, I can see a wicketstuff-core 1.5.2 release in the maven-repo, however in github no tag exists and no formal announcement has been made. So my question is, what's in it and what happened to the regular announcement? Regards, Seb --

Re: Upgrading of Wicket application on server without losing state

2011-11-02 Thread Robert Dahlström
Well, IF you're really keen on non-intrusive upgrades you can always put in a version in the db and make the code handle both old & new version. But that's admittedly a lot of extra work. Downtime is way easier when schemas change and for web-apps the downtime should be easy to keep short. Re

Re: How to clear PageMap in Wicket 1.5?

2011-11-02 Thread Martin Grigorov
I implemented the feature in the ticket Matt created. Please try it. On Wed, Nov 2, 2011 at 11:35 AM, Andrea Del Bene wrote: > Have you tried session.invalidate()? If you have an AuthenticatedWebSession > you can also use signOut() >> >> Hi >> >> Upon logging out we need to keep the current user'

Re: wicket AjaxCheckBox's onUpdate not called

2011-11-02 Thread Ernesto Reinaldo Barreiro
Try to make a quick-start so that others can test and see what´s happening? Regards, Ernesto On Wed, Nov 2, 2011 at 10:30 AM, Martin A wrote: > The ajaxcheckbox didn't have it and wasn't working so I decided to put it > and still not working. So it doesn't work in both cases. > > Thanks, > Mart

Re: How to clear PageMap in Wicket 1.5?

2011-11-02 Thread Andrea Del Bene
Have you tried session.invalidate()? If you have an AuthenticatedWebSession you can also use signOut() Hi Upon logging out we need to keep the current user's session to still display some information but we want to remove all previous pages from the PageMap (or however that is solved in Wicket

Re: wicket AjaxCheckBox's onUpdate not called

2011-11-02 Thread Martin A
The ajaxcheckbox didn't have it and wasn't working so I decided to put it and still not working. So it doesn't work in both cases. Thanks, Martin On Wed, Nov 2, 2011 at 11:28 AM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Just guessing... try getting rid of > > @Override > >

Re: wicket AjaxCheckBox's onUpdate not called

2011-11-02 Thread Ernesto Reinaldo Barreiro
Just guessing... try getting rid of  @Override >      protected boolean wantOnSelectionChangedNotifications() { >        return true; >      } Ernesto On Wed, Nov 2, 2011 at 10:25 AM, Martin A wrote: > Hello, > > In a Page I have an AjaxCheckBox, as so: > > > >    form.add(new AjaxCheckBox("im

wicket AjaxCheckBox's onUpdate not called

2011-11-02 Thread Martin A
Hello, In a Page I have an AjaxCheckBox, as so: form.add(new AjaxCheckBox("image1_whole", new PropertyModel(this, "image1Whole")) { private static final long serialVersionUID = 1L; @Override protected void onUpdate(AjaxRequestTarget target) { image1PreviewArea.se

Re: [RELEASE] WASP/SWARM/Wicket security 1.4.1 released, roadmap for future direction

2011-11-02 Thread Martijn Dashorst
All is working now. Martijn On Tue, Nov 1, 2011 at 3:48 PM, Martijn Dashorst wrote: > On Tue, Nov 1, 2011 at 3:41 PM, Martijn Dashorst > wrote: >> It is not your problem, but strange enough the main page just works... > > It appears that mij hosting provider has reset/blocked the account for >

Re: UTF-8 encoding RFE for warning?

2011-11-02 Thread nino martinez wael
It's a known fact for me aswell now :) Ok it might be a no go then i guess. Might be the reason why eclipse also has the "encoding determined from content" they actually have to read all the content to *guess* what encoding it is. regards Nino 2011/11/2 Martin Grigorov > On Wed, Nov 2, 2011 at

Re: UTF-8 encoding RFE for warning?

2011-11-02 Thread Martin Grigorov
On Wed, Nov 2, 2011 at 10:54 AM, nino martinez wael wrote: > Hi > > I've UTF-8 encoded all my files, setup tomcat to support utf-8 and > everything.. But something did'nt work because my chars where all garble.. > > Then I tried all sorts of stuff, only to discover that nothing worked. > Finally I

UTF-8 encoding RFE for warning?

2011-11-02 Thread nino martinez wael
Hi I've UTF-8 encoded all my files, setup tomcat to support utf-8 and everything.. But something did'nt work because my chars where all garble.. Then I tried all sorts of stuff, only to discover that nothing worked. Finally I figured out that I was using .property files and not .property.xml , ap

Re: PageExpired in non bookmarkable page with 1.5.2

2011-11-02 Thread Martin Grigorov
There is a ticket for this problem: https://issues.apache.org/jira/browse/WICKET-4189 I'll attach the app to it. On Wed, Nov 2, 2011 at 6:50 AM, Igor Vaynberg wrote: > please attach it to a jira issue. > > -igor > > On Tue, Nov 1, 2011 at 9:21 PM, Seko Masaya wrote: >> Hi. >> >> I prepared quick