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 vela@gmail.com: Hello again, We use wicket 1.3 in the production environment. That's why, other wise no issues -- View this message in context:

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:

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

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 per.new...@gmx.ch: 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

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

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

2009-11-17 Thread James Carman
On Mon, Nov 16, 2009 at 12:38 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com 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

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

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

TextField escape characters

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

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#246;sch *”)is set as model object. When the page is displayed the text field displays the characters as “*Rösch” * not as “*R#246;sch”*. The

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)

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

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 jer...@wickettraining.com wrote: Two things: 1 - use LinkVoid foo = new LinkVoid or a shorter Link? foo = new LinkVoid -- Marcelo Morales - To unsubscribe, e-mail:

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 xavil...@gmail.com wrote: Hi, I've set up a custom MyTabbedPanel by modifying class TabbedPanel. It will include a row of buttons, added

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

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)),

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 :

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 pie...@claassen.co.ukwrote: Can anybody please enlighten me why this doesn't work (ok end of

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

SV: wicket 1.4 : Link with no model

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

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

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?

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

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.

Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Loritsch, Berin C.
application.xml 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

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.

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

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.
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

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

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: tomcat live remote war redeploy

2009-11-17 Thread Steve Jensen Widmar
D'oh! I forgot context.xml. META-INF/context.xml: Context antiJARLocking=true antiResourceLocking=true !-- whatever additional context config needed, or nothing -- /Context - To unsubscribe, e-mail:

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 swidm...@irf.com wrote: D'oh!   I forgot context.xml. META-INF/context.xml: Context antiJARLocking=true antiResourceLocking=true !-- whatever additional context

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 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: 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 swidm...@irf.com 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

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 nmelen...@getsense.com.arwrote: When a Wicket Event in Buenos Aires, Argentina ?? We also have lots of pubs :) I'm expecting for that event too. =) Cheers! -- Mauro Ciancio

[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)

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

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: 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

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 nmelen...@getsense.com.arwrote: When a Wicket Event in Buenos Aires, Argentina ?? We also have lots of pubs :) I'm expecting for that event too. =) Cheers!

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#246;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#246;sch”

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 abstractreadonlymodelstring { private final imodelinteger intmodel; public numstringmodel(imodelinteger intmodel) { this.intmodel=intmodel; } public string getobject() { int val=intmodel.getobject(); switch (val)

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

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

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