paging in wicket

2009-03-10 Thread Douglas Ferguson
I was hunting for docs on how to do paging and discovered this: http://www.wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.PagingPage Also, Anybody know of any good resources on the topic?

Re: paging in wicket

2009-03-10 Thread Michael Sparer
somehow wicketstuff got problems, but the same examples are also on wicket-library.com - have a look at the ajax pager http://www.wicket-library.com/wicket-examples/ajax/pageables.1 ... and everything should be clear :-) regards, michael Douglas Ferguson-2 wrote: I was hunting for docs on

Re: 5 Days of Wicket

2009-03-10 Thread Korbinian Bachl - privat
Hi Andrew, first I was a bit curious about another wicket intro(TM) but after reading it I was amazed. It is one of the best blog entries for wicket starting I've read as it elegantly uses helps like the quickstart and then shows how to config it for real world usage. Only things I miss is:

Re: Creating a brandable or white label type of application

2009-03-10 Thread Tauren Mills
Igor, Thanks! I was already planning to use Brix for CMS purposes, bud didn't realize it had multi-site features like this. Tauren On Sat, Mar 7, 2009 at 1:14 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: if you are just starting to think about building this you might want to consider

Re: memcached session store

2009-03-10 Thread Martin Grotzke
On Mon, 2009-03-09 at 17:15 +0100, Martijn Dashorst wrote: Non-sticky would be rather bad for Wicket performance/programming model. The default of wicket is to redirect after an event to a get request which renders a buffered response. The buffered response is only available on the jvm that

Re: memcached session store

2009-03-10 Thread Martin Grotzke
On Mon, 2009-03-09 at 22:54 -0700, Victor Igumnov wrote: Even if you have the memcached store in place, wicket still requires session affinity. Wicket buffers redirect responses locally so the client needs to go to the same server twice or the client will receive an expired session.

Re: openstreetmap in openlayers

2009-03-10 Thread nino martinez wael
Seems you are on the right track, unfortunately im pretty busy for the time being, new job + an daugther.. The idea for the wicket-openlayers.js are to be a integrator between Openlayers.js and wicket so that it provides facilities to call the wicket ajax back and forth etc. Thats it.. :) regards

Re: openstreetmap in openlayers

2009-03-10 Thread nino martinez wael
Next step for you would be to ask about permission on wicketstuff so you can commit some of the changes you've done... 2009/3/10 nino martinez wael nino.martinez.w...@gmail.com Seems you are on the right track, unfortunately im pretty busy for the time being, new job + an daugther.. The idea

test page rendering

2009-03-10 Thread Swanthe Lindgren
Hi all I have begun unit testing my wicket pages and one of the most basic tests I want to do is to make sure each and every page can render properly. The WicketTester.assertRenderedPage() looks like a good approach but it doesnt seam to care about the HTML. If I remove a wicket:id from the

Re: validation message-keys differences on m3 to rc2

2009-03-10 Thread gilberthuph
I'm having exactly the same problem after moving from 1.4-rc1 - 1.4-rc2 Here's the extract from my properties file TaxiBookingPage.xml. ?xml version=1.0 encoding=UTF-8? !DOCTYPE properties SYSTEM http://java.sun.com/dtd/properties.dtd; properties entry

Portlets - Loosing state in wicket portlets

2009-03-10 Thread Benjamin Ernst
Hi, I am using two Wicket-Portlets in a Liferay 5.2.1 Portal. Both Portlets have a link which switches to another page within the portlet (via setResponsepage(new Page()) ). When I click the link in Portlet_1 the page within the portlet one changes as desired. After that I click the link in

RE: test page rendering

2009-03-10 Thread Jeremy Thomerson
Yes - it simply makes sure THAT page rendered. Removing the wicket:id doesn't make the page fail to render. However, try the inverse of that - remove the component from the java and it will fail. Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original

Re: Future of WicketObjectStreamFactory

2009-03-10 Thread Johan Compagner
that one will be depricated/removed in the further It is to hard to do it on our own and supporting new features of newer platforms (java 6/7) when we are still on java 4/5 the problems you have should be fixed differently On Tue, Mar 10, 2009 at 06:15, David Leangen wic...@leangen.net wrote:

Re: What IDE best fits with Wicket?

2009-03-10 Thread francisco treacy
i would like to add an ingredient here: scala. is there anyone successfully using an IDE with wicket/maven/scala *and* jetty hotswap? i have always developed wicket/java in eclipse (dead easy to set up - create quickstart archetype, right click debug Start.java and off you go). but scala plugin

AW: Tabbed Panel with bookmarkable links

2009-03-10 Thread Christian Helmbold
Since others seem to need it, this might be worth refining over on wicket-stuff. I think it's worth to build a universal bookmarkable tabbed panel. Brill, please post your solution so we can look what is better in your or in my solution and built the ultimative BookmarkableTabbedPanel. I

Re: Tabbed Panel with bookmarkable links

2009-03-10 Thread James Carman
What if you use two different tabbed panels on the same page? On Tue, Mar 10, 2009 at 8:27 AM, Christian Helmbold christian.helmb...@yahoo.de wrote: Since others seem to need it, this might be worth refining over on wicket-stuff. I think it's worth to build a universal bookmarkable tabbed

ModalWindow and JQueryBehavior

2009-03-10 Thread Adriano dos Santos Fernandes
Hi! Has anyone used ModalWindow with JQueryBehavior from wicket-stuff? It seems to cause Javascript problems and the behavior does not do the job. Is ModalWindow susceptible to problems with many Javascript interrelated contributions, some inline and some references? Wicket DateTime

Trying Hibernate Validator Integration

2009-03-10 Thread taha siddiqi
Hi, I was working with Hibernate-validator and thought of sharing the code. It is a listener as well as a behavior which can be used at application level as well as with individual components. It is heavily inspired from wicket-jpa and wicket-hibernate projects... I just tried some changes...

Wicket + Resin, Content-Length Header Issue

2009-03-10 Thread Seth Green
I'm running wicket (1.2.6) on both Jetty and Resin (3.0.25). Everything appears to work correctly on Jetty. However, on Resin, when requesting the wicket-ajax.js file, it is sent back without a content- length header and is therefore unreadable by the browser. It appears this only happens

AW: AW: Tabbed Panel with bookmarkable links

2009-03-10 Thread Christian Helmbold
What if you use two different tabbed panels on the same page? Good point! It doesn't work with two panels on the same page! I don't know why and how to fix it. It was a mistake in my test code, that lead to this error. I accidentally added the tabs of my second tabbed panel to the

Re: Wicket + Resin, Content-Length Header Issue

2009-03-10 Thread Ryan Gravener
I searched Resin Accept-Encoding and looks like I found your papernapkin paste: http://www.papernapkin.org/pastebin/view/4871/ The response header had: Transfer-Encoding: chunked, which would mean that the server is doing on the fly compression and no content-length will ever be sent. Perhaps

Re: validation message-keys differences on m3 to rc2

2009-03-10 Thread Igor Vaynberg
jira, quickstart, you know the drill -igor On Tue, Mar 10, 2009 at 3:15 AM, gilberthuph gdoe6...@yahoo.it wrote: I'm having exactly the same problem after moving from 1.4-rc1 - 1.4-rc2 Here's the extract from my properties file TaxiBookingPage.xml. ?xml version=1.0 encoding=UTF-8?

resource cacheable firefox/opera

2009-03-10 Thread Arthur Leigh Allen
Hi folks,   I've implemented a RemoteImage class which extends the Image class. The method setCacheable works with Internet Explorer but neither with Firefox nor with Opera. If I load an image the first time, the correct image is shown. When I try to load a different image (path is applied

Re: test page rendering

2009-03-10 Thread Igor Vaynberg
if you want the removal of wicket:id to fail turn on component use check in debug settings. -igor On Tue, Mar 10, 2009 at 3:12 AM, Swanthe Lindgren swanthe.lindg...@megasol.se wrote: Hi all I have begun unit testing my wicket pages and one of the most basic tests I want to do is to make sure

AW: resource cacheable firefox/opera

2009-03-10 Thread Arthur Leigh Allen
sorry people. i was trying all the time but i didn't see the class NonCachingImage now it works Von: Arthur Leigh Allen arthurleigh.al...@yahoo.de An: users@wicket.apache.org Gesendet: Dienstag, den 10. März 2009, 15:56:24 Uhr Betreff: resource cacheable

Re: Trying Hibernate Validator Integration

2009-03-10 Thread taha siddiqi
But the problem is when you begin to use the wicket resource files, hibernate-validator comes with its own messages and need to be integrated with wicket ( which i was not able to ) taha On Tue, Mar 10, 2009 at 8:11 PM, Peter Thomas ptrtho...@gmail.com wrote: On Tue, Mar 10, 2009 at 7:35 AM,

Re: AW: Tabbed Panel with bookmarkable links

2009-03-10 Thread Brill Pappin
Instead of competing, why don't we set up a project some place and check both solutions in under different packages? We can then refactor them into one and take the best of both :) - Brill On 10-Mar-09, at 8:27 AM, Christian Helmbold wrote: Since others seem to need it, this might be worth

Re: Trying Hibernate Validator Integration

2009-03-10 Thread Peter Thomas
On Tue, Mar 10, 2009 at 9:04 AM, taha siddiqi tawushaf...@gmail.com wrote: But the problem is when you begin to use the wicket resource files, hibernate-validator comes with its own messages and need to be integrated with wicket ( which i was not able to ) There is some info here on how to

Re: Tabbed Panel with bookmarkable links

2009-03-10 Thread Brill Pappin
That is exactly the problem I *do* have :) Have not resolved it yet, but I was thinking or allowing them to be nested to its actually one tab panel, but with multiple levels. - Brill On 10-Mar-09, at 8:41 AM, James Carman wrote: What if you use two different tabbed panels on the same page?

Re: resource cacheable firefox/opera

2009-03-10 Thread Pointbreak
You use the same url for different images? Firefox uses a memory cache in addition to a disk cache. Check what headers are send with your image. No-store and no-cache headers will NOT prevent firefox3 from using its memory cache (at least not with pages). Your best bet is to use different urls.

AW: AW: Tabbed Panel with bookmarkable links

2009-03-10 Thread Christian Helmbold
Instead of competing, why don't we set up a project some place and check both solutions in under different packages? We can then refactor them into one and take the best of both :) I agree. Is there an existing place in the wicket project to do this? I've discovered some troubles in my

Re: Trying Hibernate Validator Integration

2009-03-10 Thread taha siddiqi
but then how to get a ResourceBundle from wicket resource ?? On Tue, Mar 10, 2009 at 8:43 PM, Peter Thomas ptrtho...@gmail.com wrote: On Tue, Mar 10, 2009 at 9:04 AM, taha siddiqi tawushaf...@gmail.com wrote: But the problem is when you begin to use the wicket resource files,

Re: Tabbed Panel with bookmarkable links

2009-03-10 Thread James Carman
It may not be worth it. Having multiple tabbed panels on the same page may not be a very common usecase. Perhaps it's better to settle for YAGNI in this case and if it really does comes up and someone wants to solve the issue, then address it then. But, for now, a good Javadoc warning might

Re: Wicket + Resin, Content-Length Header Issue

2009-03-10 Thread Seth Green
So... The only compression I know of is resin has a GZIP filter on it. But that means that everything is being GZIP'd, which is what I see in the headers for all requests (both to wicket /host/app/... and to non- wicket resources /host/css/...). I believe this (the wicket-generated

Need to minimize the names using Ajax

2009-03-10 Thread newbie_to_wicket
Hi All, I am using wicket framework. I have to achieve the functionality as I shown in the below image. http://www.nabble.com/file/p22437770/names.jpeg Whenever I pressed R in the textfield box then it should displays the names which contans R as the first letter. Thanks for your help J --

AW: Tabbed Panel with bookmarkable links

2009-03-10 Thread Christian Helmbold
The problem is that the tabbed panels have to know the state of other panels to generate correct stateful links. So we need some object that keeps track of all tabbed panels and their states. This object must be initialized before the newLink method is called. But this method is called during

Re: Need to minimize the names using Ajax

2009-03-10 Thread Sébastien Piller
Use an AjaxEditableLabel. newbie_to_wicket wrote: Hi All, I am using wicket framework. I have to achieve the functionality as I shown in the below image. http://www.nabble.com/file/p22437770/names.jpeg Whenever I pressed R in the textfield box then it should displays the names which contans

Re: Need to minimize the names using Ajax

2009-03-10 Thread Igor Vaynberg
see AutoCompleteTextField -igor On Tue, Mar 10, 2009 at 8:14 AM, newbie_to_wicket sm.shaf...@gmail.comwrote: Hi All, I am using wicket framework. I have to achieve the functionality as I shown in the below image. http://www.nabble.com/file/p22437770/names.jpeg Whenever I pressed R in the

Re: 5 Days of Wicket

2009-03-10 Thread Andrew Lombardi
Thanks for the kind words! We don't plan to cover databinder in these tutorials, but would definitely be willing to do some follow-on's at a later date. And yeah, the image is different than the pastebin that follows it in the writing, but we didn't have a UI yet :) If you like that, day

AW: AW: Tabbed Panel with bookmarkable links

2009-03-10 Thread Christian Helmbold
In my code were two little bugs. If the constructor with parameter defaultTabIndex was used, the active tab was always set to this value regardless what tab the use clicked on. The other issue affected the specified parameter name that stores the active tab. It did not work in the constructor

StatelessForm - problem with parameters after validation fails

2009-03-10 Thread Stefan Simik
Many wicket users are reporting the same and common problem - page parameters are doubling in ACTION of the stateless form after first validation error. Is there any solution please ? I think, this is very common use case and some solution must exist. See the same reports here: 1.

Re: How (not) to: IModel and Collections (and generics)

2009-03-10 Thread Johannes Schneider
Thanks for your reply. I think I can (at least partially) understand your position and think there aren't any new arguments here I can mention. So the discussions seems to be at an end here. Maybe it is a matter of taste... If I find any time, I will create a patch... Regards, Johannes On

Re: Security in a Spring Wicket layered application

2009-03-10 Thread Kent Larsson
Integrating with jSecurity instead is really a last resort. If it is at all possible I wouldn't like to introduce more framework dependencies. That integration project seems a bit early to use as well, but it might be interesting in the future. Thanks for the link! Regarding Spring Security (SS).

Re: Security in a Spring Wicket layered application

2009-03-10 Thread Les Hazlewood
Hi Kent, Although it is early, I am using the wicket-jsecurity integration in one of my (big) projects. It is working pretty well. Feel free to ask questions - I'm happy to help along the way. Cheers, Les (JSecurity founder) On Tue, Mar 10, 2009 at 1:42 PM, Kent Larsson

Re: PageExpiredException after mounting WebPage package

2009-03-10 Thread qssdy
Wow, your 1 line directed me to the problem. That's awesome, thanks! The problem turned out to be that we had put the HazelCast filter in front of Wicket. We haven't debugged what the interaction problem is, but removing the HazelCast filter and sending requests directly to Wicket works.

Re: Security in a Spring Wicket layered application

2009-03-10 Thread James Carman
My wicket-advanced demo code integrates Spring Security and Wicket using wicket-auth-roles: http://svn.carmanconsulting.com/public/wicket-advanced/trunk/ The key is the SpringSecuritySession class:

RE: Security in a Spring Wicket layered application

2009-03-10 Thread Kai Mütz
Kent Larsson mailto:kent.lars...@gmail.com wrote: Integrating with jSecurity instead is really a last resort. If it is at all possible I wouldn't like to introduce more framework dependencies. That integration project seems a bit early to use as well, but it might be interesting in the future.

using wasp/swarm + acegi and RunAs capability

2009-03-10 Thread novotny
Hi, I'm currently using wicket security with acegi following the wicketstuff documentation http://wicketstuff.org/confluence/display/STUFFWIKI/Swarm+and+Acegi+HowTo. WaspSession is subclasssed to provide authenticate and logoff methods that use spring's AuthenticationManager and

AW: resource cacheable firefox/opera

2009-03-10 Thread Arthur Leigh Allen
the path is the same, the filename differs. yes you're right, no-store and no-cache didn't change anything. instead of Image i'm using NonCacheableImage as the subclass and now it works fine with any browser. but thanks for the hint greetz leigh Von:

Re: using wasp/swarm + acegi and RunAs capability

2009-03-10 Thread novotny
I just found SwitchUser in the Spring security code as well-- this seems to be what I want, has anyone had any experience using it? Thanks, Jason novotny wrote: Hi, I'm currently using wicket security with acegi following the wicketstuff documentation

Putting an Ajax Callback in AjaxEventBehavior

2009-03-10 Thread danelav
I have an image with an onmouseup AjaxEventBehavior. This results in the following markup: lt;img id=M6 onmouseup=var wcall=wicketAjaxGet('?wicket:interface=:0:lightBulbsBank:bankItems:1:image::IBehaviorListener:1:',null,null, function() {return Wicket.$('M6') != null;}.bind(this)); ... /gt; I

Re: AW: AW: Tabbed Panel with bookmarkable links

2009-03-10 Thread Brill Pappin
Yes, because you no longer have the previous state... I have the same problem, but maybe some ideas for a solution. - Brill On 10-Mar-09, at 11:25 AM, Christian Helmbold wrote: Instead of competing, why don't we set up a project some place and check both solutions in under different