Re: 500 error from server with very quickly click on component

2009-11-17 Thread Haulyn R. Jason
Hi, Makundi, I try to set threadpool to the max, always 500 on the way On Wed, Nov 18, 2009 at 3:51 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Not knowing anything about anything.. maybe your threadpool runs short? > > ** > Martin > > 2009/11/18 Haulyn R. Jason : > > Hi

Re: 500 error from server with very quickly click on component

2009-11-17 Thread Martin Makundi
Not knowing anything about anything.. maybe your threadpool runs short? ** Martin 2009/11/18 Haulyn R. Jason : > Hi: > > My architecture is using wicket as UI layer, then use Hessian as RPC web > service. I find a problem, everything works well in common condition, if I > click a link very quickl

500 error from server with very quickly click on component

2009-11-17 Thread Haulyn R. Jason
Hi: My architecture is using wicket as UI layer, then use Hessian as RPC web service. I find a problem, everything works well in common condition, if I click a link very quickly twice or more at the same time, the page must be crashed or the server will return 500 error. I try to use JMeter to tes

How to use IAuthorizationStrategy to control TabbedPanel title?

2009-11-17 Thread Haulyn R. Jason
Hi, I use IAuthorizationStrategy to control all my applications, but I do not know how to control TabbedPanel. I have three panels, I can control the panel itself, but in the same way, I write code to control the tabbledPanel title to display or not, it does not work. Is there a way to control t

Re: [1.4] override getObject() return type not the same with original model ?

2009-11-17 Thread Igor Vaynberg
chain the two models: class numstringmodel extends abstractreadonlymodel { private final imodel intmodel; public numstringmodel(imodel intmodel) { this.intmodel=intmodel; } public string getobject() { int val=intmodel.getobject(); switch (val) } public void det

Re: TextField & escape characters

2009-11-17 Thread vela
Hello again, Even setEscapeModelStrings() is set to false, the character "ö" is only displayed & not the “Rösch” (R followed by ampersand followed by hash followed by 246 followed by seimcolon followed by sch ). In a web page subclass we have a text field and the characters “Rösch” (R foll

Re: London Wicket Event, Saturday November 21st

2009-11-17 Thread jun...@infobusiness.com.br
or in Porto Alegre, Brazil ;) Mauro Ciancio wrote: Nicolas: On Wed, Oct 7, 2009 at 3:25 PM, Nicolas Melendez wrote: When a Wicket Event in Buenos Aires, Argentina ?? We also have lots of pubs :) I'm expecting for that event too. =) Cheers!

Re: web projct of wicket can be changed to swing?

2009-11-17 Thread Jeremy Thomerson
Yeah - you can do anything you want. You could also convert it to flash, Tapestry, or c++ . But it will require rewriting the entire UI. Wicket components can't be used as Swing components. Sorry -- Jeremy Thomerson http://www.wickettraining.com On Tue, Nov 17, 2009 at 11:34 PM, maven a

web projct of wicket can be changed to swing?

2009-11-17 Thread maven apache
Hi: There is a web project which uses the wicket framework as present tier ,can I change them to swing?

Re: [1.4] override getObject() return type not the same with original model ?

2009-11-17 Thread Jeremy Thomerson
Well, you can't make a subclass a different parameterized type than it's parent. It won't work. You should be using an Integer model for this and using a converter rather than a nested model to make it a string. That's what converters are for. -- Jeremy Thomerson http://www.wickettraining.com

[1.4] override getObject() return type not the same with original model ?

2009-11-17 Thread smallufo
Hi all I've already converted most of my code from 1.3 to 1.4 , except this situation : Label intToStringLabel = new Label("intToString" , new PropertyModel(this , "integer") { @Override public Object getObject() { int value = ((Integer) super.getObject()).intVal

Re: London Wicket Event, Saturday November 21st

2009-11-17 Thread Mauro Ciancio
Nicolas: On Wed, Oct 7, 2009 at 3:25 PM, Nicolas Melendez wrote: > When a Wicket Event in Buenos Aires, Argentina ?? We also have lots of > pubs > :) > I'm expecting for that event too. =) Cheers! -- Mauro Ciancio

Re: tomcat live remote war redeploy

2009-11-17 Thread Igor Vaynberg
cheers -igor On Tue, Nov 17, 2009 at 4:11 PM, Steve Jensen Widmar wrote: > Hi, Igor. > > Well, before I remembered the context.xml requirements in this situation, the > app directory was being left under the tomcat webapps directory, with the > only file being the wicket jar (1.4.1). > > > > I

RE: tomcat live remote war redeploy

2009-11-17 Thread Steve Jensen Widmar
Hi, Igor. Well, before I remembered the context.xml requirements in this situation, the app directory was being left under the tomcat webapps directory, with the only file being the wicket jar (1.4.1). I've since updated to 1.4.3, things are still working OK. Cheers - Steve

Re: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Eelco Hillenius
So in typical web applications, people would install a session filter (like https://www.hibernate.org/43.html), which would open a session at the start of a request, and close it afterwards. You probably need to find an alternative for that filter in your test code. Eelco On Tue, Nov 17, 2009 at

Re: tomcat live remote war redeploy

2009-11-17 Thread Igor Vaynberg
when you undeploy the app what files are left behind in your context? -igor On Tue, Nov 17, 2009 at 3:40 PM, Steve Jensen Widmar wrote: > D'oh!   I forgot context.xml. > > META-INF/context.xml: > > > > > > > > > > > - > To un

RE: tomcat live remote war redeploy

2009-11-17 Thread Steve Jensen Widmar
D'oh! I forgot context.xml. META-INF/context.xml: - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Modal window and resource request target

2009-11-17 Thread mfs
Thats Ernesto, that certainly is one rather clean alternative. Thanks, Farhan. reiern70 wrote: > > Maybe the solution Sven proposes here can be of some help > > http://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html > >

Re: London Wicket Event, Saturday November 21st

2009-11-17 Thread jWeekend
Ioannis, I'll provide a video recorder on Saturday and we can give it another try; it doesn't support an external mic but it should be good enough for viewers with good speakers! I have a couple of ideas that could improve our chances of success here too - more soon. Do you want to be our offic

RE: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Loritsch, Berin C.
Hmm, OK attachments are stripped here. Having gone back up through the stack trace, WicketTester extends BaseWicketTester which then extends MockWebApplication. Essentially MockWebApplication has the base implementations for setting up the WebRequestCycle. The @SpringBean is having an effect,

Re: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Jeremy Thomerson
Attachments don't come through these lists. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Nov 17, 2009 at 3:14 PM, Loritsch, Berin C. < berin.lorit...@gd-ais.com> wrote: > I've got the part that injects a Spring WebApplicationContext into the > WicketTester already (Source attached

RE: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Loritsch, Berin C.
I've got the part that injects a Spring WebApplicationContext into the WicketTester already (Source attached). I should be using the application class, if I'm not then something has changed unbeknownst to me. Is there any place it would swap out what I told it to use for what it decided on its

Re: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Igor Vaynberg
i see you are using MockWebApplication in your tests. this application does not install the SpringComponentInjector and so @SpringBean has no effect. you should either give wickettester an instance of your actual application class, or create a mock one that installs springcomponentinjector. -igor

Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Loritsch, Berin C.
<> I initially had a setup that worked with both a Web context and a JUnit context. The problem was the amount of hand coding and adjusting of the Spring context the approach needed. I finally got the Spring's transaction interceptor working with the auto-wiring (the key is using an interface).

Re: AjaxFallBackLink driving me nuts!

2009-11-17 Thread bgooren
For starters, I'd try to eliminate possible causes. E.g. make sure the model change is seen from QuestionEditPanel. A way to do this is either run your app in a debugger and set some checkpoints around onRender and/or onBeforeRender, or simply override onBeforeRender() and log the model contents.

Re: wicketstuff-minis status?

2009-11-17 Thread Doug Leeper
But wouldn't i see the timestamp change on the jars, etc change with each deployment? from http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/1.4.0-SNAPSHOT/ maven-metadata.xml 0.3 kb Tue, 28 Oct 2008 23:16:32 GMT maven-metadata.xml.md5 0.1 kb Tue, 28 Oct 2

Re: wicketstuff-minis status?

2009-11-17 Thread Martijn Dashorst
We have disabled timestamp based deployment of snapshots: they caused out-of-disk space errors. The only thing that will be updated is the -SNAPSHOT version. Martijn On Tue, Nov 17, 2009 at 7:03 PM, Doug Leeper wrote: > We are about to integrate wicketstuff-minis in our project.  However, we >

YUI Integration

2009-11-17 Thread Corbin, James
Where in the wicket-stuff library is the most recent attempt at creating a integration layer for YUI? Is it at the trunk level or at the branch level?

tomcat live remote war redeploy

2009-11-17 Thread Steve Jensen Widmar
1. Does anyone have success undeploying/redeploying a wicket .war to a remote tomcat (5.5.x, poss. 6.x) instance, without cycling tomcat? (eg, using mvn tomcat:deploy or ant with the tomcat deployment components) It looks like the undeploy is not happening 100% - the app name continues to appe

SV: wicket 1.4 : Link with no model

2009-11-17 Thread Wilhelmsen Tor Iver
> or a shorter > > Link foo = new Link ... or wait for JDK 1.7 where you can do Link foo = new Link<> Which is more useful in cases like Map> fie = new HashMap<>(); - Tor Iver

wicketstuff-minis status?

2009-11-17 Thread Doug Leeper
We are about to integrate wicketstuff-minis in our project. However, we noticed on Nabble that prototip is out of date based on some comments by the community. I have wicketstuff commit rights and more than willing to update to the latest. However, when I looked at the MVN repository for wick

Re: AjaxFallBackLink driving me nuts!

2009-11-17 Thread Jeremy Thomerson
are you using a list view in your question edit panel? you might need to call setreuseitems(false) -- Jeremy Thomerson http://www.wickettraining.com On Tue, Nov 17, 2009 at 11:04 AM, pieter claassen wrote: > Can anybody please enlighten me why this doesn't work (ok end of the day, > maybe it

Re: Isssues in Modal Window display in IE8

2009-11-17 Thread TahitianGabriel
Have you tried the patch include in the jira : https://issues.apache.org/jira/browse/WICKET-2207 https://issues.apache.org/jira/browse/WICKET-2207 Also you can get the source in the svn repo : http://svn.apache.org/repos/asf/wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensio

AjaxFallBackLink driving me nuts!

2009-11-17 Thread pieter claassen
Can anybody please enlighten me why this doesn't work (ok end of the day, maybe it really is something small). I am clearly changing the underlying model data, but how to tell questionEditPanel to pick that change up. I tried setDefaultModel(new TemplateWebModel(template)), templateEditPanel.modelC

Re: Getting server-url ?

2009-11-17 Thread Uwe Schäfer
Martin Grigorov schrieb: it should return http://www.serverurl.com ((WebRequest) getRequest()).getHttpServletRequest().getServerHost() or something like that pass the httpServletRequest to public static StringBuffer getContextUrl(final HttpServletRequest req) { String protoco

Re: StringResourceModel referencing another component

2009-11-17 Thread Igor Vaynberg
you can write your own model that first tries to get the resource from the panel and then falls back. -igor On Tue, Nov 17, 2009 at 2:58 AM, Xavier López wrote: > Hi, > > I've set up a custom MyTabbedPanel by modifying class TabbedPanel. It will > include a row of buttons, added on setSelectedTa

Re: wicket 1.4 : Link with no model

2009-11-17 Thread Marcelo Morales
On Mon, Nov 16, 2009 at 6:23 PM, Jeremy Thomerson wrote: > Two things: > > 1 - use Link foo = new Link or a shorter Link foo = new Link -- Marcelo Morales - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For add

Re: Listview in a listview refresh with AjaxLink don't work

2009-11-17 Thread pieter claassen
Pedro, Improved version now works. Here is my onclick for the AjaxFallBackLink. Much of it I think is not best practice. Any tips on making this code better? Thanks a million for your help! P AjaxFallbackLink up = new AjaxFallbackLink("up") { @Override public void onCl

Re: Getting server-url ?

2009-11-17 Thread Martin Grigorov
On Tue, 2009-11-17 at 14:34 +, Peter Arnulf Lustig wrote: > Hi, > > how can I get the server-url on which the wicket application is running? > > like http://www.serverurl.com/WicketApp/ > > it should return http://www.serverurl.com ((WebRequest) getRequest()).getHttpServletRequest().getServe

Re: TextField & escape characters

2009-11-17 Thread Martin Grigorov
On Tue, 2009-11-17 at 20:22 +0530, sakthi vel wrote: > Hello, > > > > In a web page subclass we have a text field and the characters (“*Rösch > *”)is set as model object. When the page is displayed the text field > displays the characters as “*Rösch” *& not as “*Rösch”*. The > setEscapeModelStri

TextField & escape characters

2009-11-17 Thread sakthi vel
Hello, In a web page subclass we have a text field and the characters (“*Rösch *”)is set as model object. When the page is displayed the text field displays the characters as “*Rösch” *& not as “*Rösch”*. The setEscapeModelStrings() for the text field is not set as false. The text field shoul

Getting server-url ?

2009-11-17 Thread Peter Arnulf Lustig
Hi, how can I get the server-url on which the wicket application is running? like http://www.serverurl.com/WicketApp/ it should return http://www.serverurl.com Thank you __ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen heraus

RE: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-17 Thread Loritsch, Berin C.
I'm not sure the purpose of the interceptor, but until you have a need to extend and use it, you can use the org.hibernate.EmptyInterceptor class instead of creating your own. I have had no problems with using that class. -Original Message- From: Jeffrey Schneller [mailto:jeffrey.schnel..

Re: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-17 Thread James Carman
On Mon, Nov 16, 2009 at 12:38 PM, Jeffrey Schneller wrote: > Also how would one move the configuration of the jdbc connection to > code?  It is desirable to db connection information reside at the server > level so when deploying code from dev to stage to production, you do not > need change or re

StringResourceModel referencing another component

2009-11-17 Thread Xavier López
Hi, I've set up a custom MyTabbedPanel by modifying class TabbedPanel. It will include a row of buttons, added on setSelectedTab which will be the same for all tabs. Now, I'd like each tab (panel) to be able to override the text of each button, like this: public final void setSelectedTab(int inde

Re: Isssues in Modal Window display in IE8

2009-11-17 Thread Martin Makundi
Ah.. so the solution is to write more tests in any case :) ** Martin 2009/11/17 Per Newgro : > Hmm Martin, > > we switched almost every 1.3 version and always had issues. Like changed > checkbox behavior and so on. > Don't know all our bugs anymore but we always had to write new tests because > o

Re: Isssues in Modal Window display in IE8

2009-11-17 Thread Per Newgro
Hmm Martin, we switched almost every 1.3 version and always had issues. Like changed checkbox behavior and so on. Don't know all our bugs anymore but we always had to write new tests because of missing tested behavior. So it could be troublish. Cheers Per ---

how to disable pagination in inmethod grid?

2009-11-17 Thread Roman Ilin
Hi *, does anybody know how to hide pagination and "Showing x of y" message in inmethod grid component? Regards Roman - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wic

Re: Isssues in Modal Window display in IE8

2009-11-17 Thread Martin Makundi
Why not change that.. should not be a problem. ** Martin 2009/11/17 vela : > > Hello again, > > We use wicket 1.3 in the production environment. That's why, other wise no > issues > -- > View this message in context: > http://old.nabble.com/Isssues-in-Modal-Window-display-in-IE8-tp26047156p26385