Re: Throwing RestartResponseException within RequestCycleListener [1.5 - incl. quickstart]

2011-12-14 Thread Daniel Soneira
b(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Unknown Source) On 14.12.2011 15:45, Daniel Soneira wrote: The code doing the redirect implements IRequestCycleListener#onBeginRequest - which returns void. Here's the cod

Re: Throwing RestartResponseException within RequestCycleListener [1.5 - incl. quickstart]

2011-12-14 Thread Daniel Soneira
turn new RenderPageRequestHandler(new PageProvider(SomePage.class)) On Wed, Dec 14, 2011 at 4:20 PM, Daniel Soneira wrote: Hi there, Throwing a RestartResponseException in a custom RequestCycleListener does not yield the result I was hoping for. Instead of redirecting to the specified page t

Re: [1.5 MIGRATION] State handling / inter-page events / versioning

2011-02-11 Thread Daniel Soneira
instead of real entities). Since I was probably abusing something in 1.4 regarding serialization / page map handling I'm curious to know of some better ways to achieve this. -- Regards, Daniel Soneira www.joyn-it.at - To unsubs

wicketstuff-annotation - No 1.5 compatible release available

2011-02-10 Thread Daniel Soneira
Hi, I've searched for a binary releaseof wicketstuff-annotation that is compatible with Wicket 1.5 RC1 / trunk (snapshot) in the sonatype and official maven repository to no avail. Where can I get the latest JAR file (please note: We don't use maven for our projects)? Regar

Re: what doctype should I use

2011-02-09 Thread Daniel Soneira
This has nothing to do with Wicket. I would recommend researching selfhtml (http://de.selfhtml.org/) since you seem to be from Germany. On 09.02.2011 17:58, fachhoch wrote: please suggest what doctype should I use to make IE work , and not cause any new issues. i am not sure If my applicatio

Re: Best practices in model classes definitions

2011-02-08 Thread Daniel Soneira
or of the Model): 1.4: InjectorHolder.getInjector().inject(this) 1.5: Injector.get().inject(this); A nested [non static] model is still inside a component (Page inherits from Component) and can therefor access all the pages member variables. Cheers, Daniel Soneira -- www.joyn-it.at On 08.02.201

Re: PageExpiredException since version 1.4.13

2011-02-08 Thread Daniel Soneira
Regards, Daniel On 04.02.2011 18:15, Pedro Santos wrote: Hi Daniel, try to increase the application max page map number, if the problem remains we can eliminate the WICKET-3108 as the source. On Fri, Feb 4, 2011 at 2:46 PM, Daniel Soneira wrote: Hi there, I'm experiencing a weird problem

Re: [1.5 MIGRATION] - Where did StringHeaderContributor / TextTemplateHeaderContributor go?

2011-02-08 Thread Daniel Soneira
u want to contribute something, just override renderhead(). you can contribute the template using response.renderjavascript(template.tostring()) -igor On Mon, Feb 7, 2011 at 3:28 AM, Daniel Soneira wrote: The migration wiki does not contain information on renamed / substitu

[1.5 MIGRATION] - Where did StringHeaderContributor / TextTemplateHeaderContributor go?

2011-02-07 Thread Daniel Soneira
The migration wiki does not contain information on renamed / substitution classes. I know AbstractHeaderContributor is a thing of the past but those classes could be converted into Behaviors quite easily. Was there a reason to get rid of them in 1.5? TextTemplate still exists but there is no eas

Re: PageExpiredException since version 1.4.13

2011-02-07 Thread Daniel Soneira
Hi Pedro, I've increased the max page map setting from 5 to 10 and the exception went away. Thanks for the suggestion - for a quick fix that is good enough for now :) Still it seems like a bug. Can I help with some specific logs to determine the source of the problem? Regards, Daniel On 04.02

PageExpiredException since version 1.4.13

2011-02-04 Thread Daniel Soneira
Hi there, I'm experiencing a weird problem that I've tried to solve for 2 days now. After updating Wicket from 1.4.12 to the latest version (1.4.15) because of WICKET-3136 (JVM 1.6 crash) one particular page (bookmarkable) always throws a PageExpiredException on clicking an AjaxSubmitLink. I s

Re: Form.isMultiPart - Visitor not checking for IFormVisitorParticipant

2010-12-15 Thread Daniel Soneira
Works perfectly fine with the snapshot. Thanks a lot for the quick change Pedro (gotta love the Wicket community for its helpful members). Cheers, Daniel Soneira On 14.12.2010 21:18, Pedro Santos wrote: I changed the PagingToolbar to set the visibility at onConfigure to avoid early

Re: Form.isMultiPart - Visitor not checking for IFormVisitorParticipant

2010-12-14 Thread Daniel Soneira
version is 1.4.14, you can use org.wicketstuff inmethod-grid 1.4.14 On Tue, Dec 14, 2010 at 4:12 PM, Daniel Soneira wrote: PagingToolbar is not my code. It's a class of inmethod-grid (wicketstuff project). So I have no influence on that. That's what I would do if it

Re: Form.isMultiPart - Visitor not checking for IFormVisitorParticipant

2010-12-14 Thread Daniel Soneira
_ is the latest official release. On 14.12.2010 18:52, Pedro Santos wrote: use the onConfigure to set the paging-toolbar onConfigure(){ setVisible( getDataGrid().getTotalRowCount() != 0); } On Tue, Dec 14, 2010 at 3:39 PM, Daniel Soneira wrote: Hi there, In the private method Form#isMultiP

Form.isMultiPart - Visitor not checking for IFormVisitorParticipant

2010-12-14 Thread Daniel Soneira
1.4.14 and 1.5.M3 and both seem to be the same. Should I create a JIRA issue for that (I think it's a bug) or is there an easy workaround that I miss? Kind regards, Daniel Soneira - To unsubscribe, e-mail: users-unsub

Re: 1.5-M1 - AjaxRequestTarget.get() returning null within AjaxLink#onClick

2010-08-18 Thread Daniel Soneira
There you go: https://issues.apache.org/jira/browse/WICKET-3001 Kind regards, Daniel On 18.08.2010 18:15, Igor Vaynberg wrote: sounds like a bug, open a jira ticket please. -igor On Wed, Aug 18, 2010 at 8:51 AM, Daniel Soneira wrote: Why does AjaxRequestTarget.get() not behave like in

1.5-M1 - AjaxRequestTarget.get() returning null within AjaxLink#onClick

2010-08-18 Thread Daniel Soneira
Why does AjaxRequestTarget.get() not behave like in 1.4.10? Code: -- ... new AjaxLink("link") { @Override public void onClick(AjaxRequestTarget target) { feedback("link clicked"); } } public void feedback(String message) { info(message); Aja

Re: 1.5-M1 migration issue - IConverter / wicket-util missing?

2010-08-18 Thread Daniel Soneira
rtin Grigorov wrote: You need to add the new wicket-util.jar and wicket-request.jar Using Maven will save you time to debug such kind of problems... On Wed, Aug 18, 2010 at 2:25 PM, Daniel Soneira wrote: Hi fellow wicketeers, I've just downloaded the latest milestone release of wicket (1.5-

1.5-M1 migration issue - IConverter / wicket-util missing?

2010-08-18 Thread Daniel Soneira
Hi fellow wicketeers, I've just downloaded the latest milestone release of wicket (1.5-M1) from http://www.apache.org/dyn/closer.cgi/wicket/1.5-M1. I'm using the following JARs: - wicket-1.5-M1.jar - wicket-extensions-1.5-M1.jar - wicket-ioc-1.5-M1.jar - wicket-spring-1.5-M1.jar I wanted

Re: When object is null

2010-07-27 Thread Daniel Soneira
You could try using a PropertyModel instead like this: Label label = new Label("someLabel", new PropertyModel(DataView.this,"data.id"); PropertyModels take care of possible null pointers. Kind regards, Daniel www.joyn-it.at On 27.07.2010 10:28, Abid K wrote: I hope someone can help a newb