Re: Scalability

2010-04-12 Thread Nico Guba
I've had excellent results with Glassfish. The login server for the MMO I worked on (swtor.com) has been benchmarked at 32,000 logins per second on a 8 CPU machine. The maximum throughput on a simple servlet (nothing dynamic though, just static data), was benchmarked at around 70k.

BookmarkablePageLink functionality in a Button

2010-04-12 Thread Martin Asenov
Hello, everyone! I've got this logout page: public class LogoutPage extends WebPage { public LogoutPage() { add(new FormObject(form).add(new AjaxButton(home) { private static final long serialVersionUID = 1L; @Override protected void onSubmit(AjaxRequestTarget arg0,

Re: What happens after browser's 'back' button?

2010-04-12 Thread Joseph Pachod
Johan Compagner wrote: yes we didnt do that by default because it is quite annoying behavior Back button should be quick and shouldnt load it from the server again at least not by default. You can configure it for you application the way you like. But for many others back should really be

SV: IE6 issue regarding Wicket JS and Ajax

2010-04-12 Thread Wilhelmsen Tor Iver
its a browser from August 27, 2001 ... thats 9 years ago.. So who is using opera 6 ? Or Netscape 7? Or Safari 1.0 ? Sadly, IE6 is also a central component in some Active/X-based apps used in some companies, apps which actually manage to BREAK on newer releases of IE. So they are held

Re: DatePicker icon dont disappear when parent textfield is set to visible false

2010-04-12 Thread Christoph Glass
Hi, thank you all for your replies. The way with the WebMarkupContainer works for me so far (I modified the example from http://www.systemmobile.com/?page_id=253). Sadly it doesnt work with tr rows, but at the moment it suffices. Thanks and best regards Christoph On Sat, Apr 10, 2010 at 4:29

Re: debugging PageExpiredExceptions

2010-04-12 Thread Nikita Tovstoles
So far I traced this down to the fact that sometimes some wicket:interface requests (in our case used in img src and in anchor 'href) do not include a jsessionid - either as a ;jsessionid= URL param or a cookie - thus no session can be found. The container's impl of

wicket an JEE6 (web.xml not mandatory)

2010-04-12 Thread moèz ben rhouma
http://www.jroller.com/ouertani/entry/tips_1_wicket_and_jee

Re: IE6 issue regarding Wicket JS and Ajax

2010-04-12 Thread Martijn Dashorst
But that is no reason not to use newer browsers for the rest of the universe... Is it really that hard for IT organizations to create an embedded IE6 application specific for those backward ActiveX apps? Martijn On Mon, Apr 12, 2010 at 10:26 AM, Wilhelmsen Tor Iver toriv...@arrive.no wrote: its

Re: BookmarkablePageLink functionality in a Button

2010-04-12 Thread James Carman
Have you tried just attaching your link to a button? button wicket:id=myButtonSomeText/button On Mon, Apr 12, 2010 at 3:44 AM, Martin Asenov mase...@velti.com wrote: Hello, everyone! I've got this logout page: public class LogoutPage extends WebPage {  public LogoutPage() {    add(new

Re: debugging PageExpiredExceptions

2010-04-12 Thread Wayne Pope
We're interested in this as well, as our logs are full of these as well. On Mon, Apr 12, 2010 at 10:32 AM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: So far I traced this down to the fact that sometimes some wicket:interface requests (in our case used in img src and in anchor 'href) do

RE: BookmarkablePageLink functionality in a Button

2010-04-12 Thread Martin Asenov
You mean to put an anchor inside the button's body? Best, Martin -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: Monday, April 12, 2010 1:41 PM To: users@wicket.apache.org Subject: Re: BookmarkablePageLink functionality in a Button Have you tried just

Re: problem with WicketTester to load template

2010-04-12 Thread Gustavo Henrique
org.apache.wicket.WicketRuntimeException: path: 'Example:username' does not exist for page: Example at org.apache.wicket.util.tester.BaseWicketTester.fail(BaseWicketTester.java:1344) at

Re: BookmarkablePageLink functionality in a Button

2010-04-12 Thread James Carman
No, do exactly what I put. 2010/4/12 Martin Asenov mase...@velti.com: You mean to put an anchor inside the button's body? Best, Martin -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: Monday, April 12, 2010 1:41 PM To: users@wicket.apache.org

RE: BookmarkablePageLink functionality in a Button

2010-04-12 Thread Martin Asenov
James :) I can't get it... Put what where? Best, Martin -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: Monday, April 12, 2010 3:26 PM To: users@wicket.apache.org Subject: Re: BookmarkablePageLink functionality in a Button No, do exactly what I put.

Re: BookmarkablePageLink functionality in a Button

2010-04-12 Thread James Carman
In your code... add(new BookmarkablePageLink(mylink, myurl)); In your markup: button wicket:id=mylinkWhatever You Want the Button to Say/button 2010/4/12 Martin Asenov mase...@velti.com: James :) I can't get it... Put what where? Best, Martin -Original Message- From: James

RE: BookmarkablePageLink functionality in a Button

2010-04-12 Thread Martin Asenov
Never knew I could put a wicket link in a button tag... :-) Thank you, James! Best, Martin -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: Monday, April 12, 2010 3:55 PM To: users@wicket.apache.org Subject: Re: BookmarkablePageLink functionality in a

Re: BookmarkablePageLink functionality in a Button

2010-04-12 Thread James Carman
You can put a wicket link on almost anything! 2010/4/12 Martin Asenov mase...@velti.com: Never knew I could put a wicket link in a button tag... :-) Thank you, James! Best, Martin -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: Monday, April

Google Charts integration

2010-04-12 Thread Alexander Monakhov
Hi, guys. Is there currently any integration of google charts with wicket? I've found some articles like that http://www.codecommit.com/blog/java/a-wicket-api-for-google-charts. But they are really old. So, I'm curious whether there is any active integration with google charts. Best regards,

Re: Google Charts integration

2010-04-12 Thread Martin Makundi
Hi! There was a simple example at: http://cwiki.apache.org/WICKET/showing-a-remote-image-on-wicket-site.html It's quite trivial. ** Martin 2010/4/12 Alexander Monakhov domin...@gmail.com: Hi, guys. Is there currently any integration of google charts with wicket? I've found some articles

Re: Google Charts integration

2010-04-12 Thread Major Péter
Hi, I've just checked out the project from https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3.x/wicket-googlecharts/ and after changing the wicket version in the pom, it still compiles, so it worth a try. :) Regards, Peter 2010-04-12 15:00 keltezéssel, Alexander

Re: problem with WicketTester to load template

2010-04-12 Thread Per Newgro
This looks strange to me: public class Example extends WebPage { public void Blank() { add(new RequiredTextField(username)); } } Why is Blank a Uppercase method name? You don't have any constructor yet. So Blank never gets executed and the username component is not added to

Re: How to centrally handle common exceptions from the databsae layer?

2010-04-12 Thread David Chang
Since I did not hear any response, I would like to ask folks here, humbly, one more time. Am I asking the right question? Or Is my question confusing or unclear? Here is some background info why I am asking this quesiton. I did a spring web app before. I have a base form controller and its

how to make a wicket web editor

2010-04-12 Thread wicketyan
hi guys,I'm a freshman on js.Could anyone tell me how to user a web editor in wicket.I know wicket-stuff already have a project tinymce,But I don't like tinymce.There are so many web editor,I want to use my favorated editor.I just knew a little about abstractajaxbehavior,But something deep is

Re: Google Charts integration

2010-04-12 Thread nino martinez wael
So someone should bump the version.. Anyone knows if the project are still active?.. I might be headed down the googlecharts road and if I go there. I'll make sure the project works on wicket 1.4.7 and update the project .. 2010/4/12 Major Péter majorpe...@sch.bme.hu: Hi, I've just checked out

Re: How to centrally handle common exceptions from the databsae layer?

2010-04-12 Thread James Carman
Those type of exceptions should be guarded against in your code (with validators, etc.). You shouldn't typically want to see them in production. I don't do anything special to handle unchecked exceptions for database problems because it's usually one of the following issues: 1. My code isn't

Re: Google Charts integration

2010-04-12 Thread Major Péter
There is nothing much wicket specific in the project, it only extends a WebComponent. As far as I saw, the Google Chart didn't change much too. So it's most probably going to work without any issue after bumping. Regards, Peter 2010-04-12 16:01 keltezéssel, nino martinez wael írta: So someone

Re: Google Charts integration

2010-04-12 Thread Alexander Monakhov
Thanks for replies, guys. Yes, I've checked this project. As I understand it hasn't been updates a lot of time. I guess it has lived without update from 2007. I can see that it's supporting not so many types of chart as Google Charts is providing currently. And Major Peter is right, it depends

Re: problem with WicketTester to load template

2010-04-12 Thread Gustavo Henrique
I'm sorry! Blank is the constructor. It is a wrong word, because in my source the class name is Blank (only for test) and I renamed for Example in this post!

Re: GAE loses shared resources

2010-04-12 Thread jbrookover
I'm going to bump this with some more information... I see that Application's getSharedResources() is final, as is SharedResources's get() method. So, that doesn't seem like it would work. SharedResourceRequestTarget is referenced in several places directly (not using a factory), so that's

Re: Wicket and JEE6

2010-04-12 Thread Erik Brakkee
On Mon, Apr 12, 2010 at 12:12 AM, James Carman jcar...@carmanconsulting.com wrote: I would imagine that most implementations would cache their injectors (it's part of the BeanT) I was triggered by the remark in the WeldCOmponentInstantiationListener which says 'TODO Cache the NonContextual'

Re: problem with WicketTester to load template

2010-04-12 Thread Per Newgro
It's always easier to check the real failing code. If you exchange only half of the appropriate words it's hard to find the error. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: problem with WicketTester to load template

2010-04-12 Thread Per Newgro
Am 12.04.2010 16:58, schrieb Gustavo Henrique: I'm sorry! Blank is the constructor. It is a wrong word, because in my source the class name is Blank (only for test) and I renamed for Example in this post! Blank is not a constructor - it's a method. If you want it to be constructor, remove

Nesting Links

2010-04-12 Thread Jered Myers
I need to be able to nest links and have the link clicked on trigger, but not its parent. I am not sure how to do this with a regular Link. Right now, I believe that I have a problem with event bubbling. The parent link it firing when I click on the child. Any help is appreciated.

Re: Nesting Links

2010-04-12 Thread Jered Myers
I figured out a solution that works for me, so here it is: protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); String script = tag.getAttribute(onclick); String stopBubble = e = window.event; if(e.stopPropagation){e.stopPropagation();}else{e.cancelBubble =

Re: Google Charts integration

2010-04-12 Thread Major Péter
I've just started to move the application into wicketstuff-core. I will check also, whether the API has enhanced in the meantime. Stay tuned.. Regards, Peter 2010-04-12 16:01 keltezéssel, nino martinez wael írta: So someone should bump the version.. Anyone knows if the project are still

Re: Recover from session expiration ?

2010-04-12 Thread Boris Goldowsky
Thanks for the suggestion! StatelessAjaxFallbackLink is very nearly magical. It in fact almost works, but unfortunately seems incompatible with most UrlCodingStrategies. It generates some spurious URLs with the wrong number of ..'s if the page has a subdirectory or two in the URL. Back to

Re: problem with WicketTester to load template

2010-04-12 Thread Gustavo Henrique
Yes, the problem is the word void in the constructor. Now is ok! Thank you guys!

How to get stable DOM IDs without hacks?

2010-04-12 Thread bht
Hi, Wicket has its own mind - it changes IDs in HTML forms so JavaScript breaks. Example: Source: input type=button wicket:id=addButton id=addButton value=Add/ Generated: input type=button id=addButtona value=Add name=addButton/ Please note that Wicket renames the id from addButton to

Re: How to get stable DOM IDs without hacks?

2010-04-12 Thread Pierre Goupil
Hello, You can use myComponent.setMarkupId(blah), but then it's up to you to ensure the id uniqueness. Regards, Pierre On Tue, Apr 13, 2010 at 12:35 AM, b...@actrix.gen.nz wrote: Hi, Wicket has its own mind - it changes IDs in HTML forms so JavaScript breaks. Example: Source: input

Re: AW: Fading Content Updates Into a Ajax Refreshing ListView

2010-04-12 Thread DaHe
Hello!! I tried this suggestion on my app. I have a DataView made with AjaxPaginNavigator, onClick I call a JavaScript, this toggle a HighLight the row. When I pass to next page, my JS does not work. I wrote this code: AjaxPagingNavigator pager = new AjaxPagingNavigator(navigator,

Re: AW: Fading Content Updates Into a Ajax Refreshing ListView

2010-04-12 Thread Igor Vaynberg
see here http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ this will get you most of the way there, then just add some js effects -igor On Mon, Apr 12, 2010 at 3:44 PM, DaHe danielavalero...@gmail.com wrote: Hello!! I tried this suggestion on  my app.

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-12 Thread Richard Nichols
Hey all, I had also created a JSR-303 integration solution as part of visural-wicket. It's not been fully documented yet w/ examples, but is fully functional and is a really handy addition. I planned to include/document it in the next release of visural-wicket (0.6).

Re: Wicket And GAE

2010-04-12 Thread Richard Nichols
Biggest problem, and IMO a show stopper, is the Serialization issues. Since Wicket serializes session data (pagemap etc) you have to enable the GAE session-store to get wicket working correctly on GAE. GAE clusters sessions by writing them to the GAE data store to spread the session across the

Re: How to get stable DOM IDs without hacks?

2010-04-12 Thread McIlwee, Craig
Like Pierre said, component.setMarkupId(component.getId()) will work, but it was discussed just a couple of weeks ago why that's a bad approach. The thread isn't appearing on nabble though, not sure why that is. Anyway, a safer approach (to prevent duplicate ID issues) is to generate your

Re: how to make a wicket web editor

2010-04-12 Thread m j
Well, if you know how to use JQuery you can hard code the javascript and html into the page, which is pretty easy and obvious as it just goes into the HTML. The other option if your familiar at all with Wicket is to put it into a panel to allow more control and usability. On Mon, Apr 12, 2010 at

Re: How to get stable DOM IDs without hacks?

2010-04-12 Thread bht
Thanks a lot to you both for your solutions! Regards Bernard On Mon, 12 Apr 2010 23:36:16 -0400, you wrote: Like Pierre said, component.setMarkupId(component.getId()) will work, but it was discussed just a couple of weeks ago why that's a bad approach. The thread isn't appearing on nabble

Re: Google Charts integration

2010-04-12 Thread nino martinez wael
Yeah, the things I usually change are, just bumping wicket version and Javascript dependency version. And most times that just works. 2010/4/12 Major Péter majorpe...@sch.bme.hu: There is nothing much wicket specific in the project, it only extends a WebComponent. As far as I saw, the Google