Re: [Wicket-user] stateless ajax behavior

2007-07-13 Thread Janos Cserep
> That's true, but still there may be some use cases where the component > tree is not changed but the "application wide" state of some domain > object is changing that triggers the ajax update of a component. Second thought: maybe wicket is just not the right fit for such use cases (fixed compo

Re: [Wicket-user] stateless ajax behavior

2007-07-13 Thread Janos Cserep
> For example think about the ajax tabpanel. That will never work correctly > without pushing somestate > somewhere on the server. That's true, but still there may be some use cases where the component tree is not changed but the "application wide" state of some domain object is changing that t

Re: [Wicket-user] Passing parameters to PageExpired page

2007-07-04 Thread Janos Cserep
> Ah didn't think of that, that'll work. Does Wicket travel up the hierarchy > tree to look for the markup file? If ExpiredPage.html doesn't exist, will it > use LoginPage.html? Yes janos - This SF.net email is sponsore

Re: [Wicket-user] reference from deeply nested links

2007-07-02 Thread Janos Cserep
> Now I need a reference to the EditForm in the deeply nested links. As there > are a lot of seperate classes involved (no nested classes), I can't do > something like this: > MyPage.this.editPanel.setModelOject(...); findParent(EditPanel.class) or getPage().get("editPanel") j

Re: [Wicket-user] DynamicWebResources, ResourceLinks, and URL Parameters

2007-07-02 Thread Janos Cserep
> That takes care of just about everything. However, right about that point, > you'll likely run into the following bug: > https://issues.apache.org/jira/browse/WICKET-631. I hope someone will take a look at that bug sooner or later. The fix is quite straightforward - moving the finally block

[Wicket-user] WICKET-631

2007-06-27 Thread Janos Cserep
Could some core developer familiar with Resource.java take a look at WICKET-631. I've commented on the issue yesterday with a possible solution to the problem (the parameter threadlocal in Resource.java gets nullified too soon). Thanks, -- Janos Cserep - [EMAIL PROTECTED] Mobile: +

[Wicket-user] Unit testing shared resources

2007-06-10 Thread Janos Cserep
I've started writing a unit test for the getParameters() bug (WICKET-631), but can't find a way to directly "call" a shared resource using WicketTester. It's not on a page, or on a panel... Any pointers? Eelco suggested to ask on this list. -- Janos Cserep - [EMAIL P

[Wicket-user] Resource.getParameters and resource mounting

2007-06-09 Thread Janos Cserep
l the parameters passed in via the URL. Created an issue in JIRA: https://issues.apache.org/jira/browse/WICKET-631 Regards, -- Janos Cserep - [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C

Re: [Wicket-user] encoding problem

2007-04-27 Thread Janos Cserep
> Is it this one? > > Parameters of nice URL's pages with 'sensitive' characters > https://issues.apache.org/jira/browse/WICKET-40 Probably, yes. Thanks for the url and the patch... Janos - This SF.net email is sponsored b

[Wicket-user] encoding problem

2007-04-26 Thread Janos Cserep
I've run into a problem with how wicket handles requests in PageParameters. I'm seeing this particular behaviour with BookmarkablePage urls that contain a string with non ascii, utf-8 characters, like this: pages/J%C3%A1nos This doesn't work. The following does: pages/J%E1nos First I thought

Re: [Wicket-user] Where to place images

2007-04-19 Thread Janos Cserep
> You might consider referencing the image from a Panel, then just using > the panel everywhere. In that case the image only needs to be kept in > the package that defines the Panel. I find it more lightweight to use a WebComponent with a replaceComponentTagBody method that just "spits" out a st

Re: [Wicket-user] available application locales

2007-04-04 Thread Janos Cserep
> > mounting hundreds of paths within a dynamically generated site. having just a > default path-attribute added and evaluated would be nicer. you don't need that - only mount your pages once. I would subclass the application pages from a common page that looks like this: public abstract class

Re: [Wicket-user] Internationalization and DropDownChoice

2007-03-30 Thread Janos Cserep
2007/3/30, Toscano <[EMAIL PROTECTED]>: countries = new DropDownChoice ("country", new Model() { public List getObject() { return getCountries(); } }, getCountries(), new CountryChoic

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0

2007-03-07 Thread Janos Cserep
Same here, 1.2.3 and 1.2.5 based projects in production, quite large codebase, no intention to go to 2.0 until it finalizes. -- János Cserép - [EMAIL PROTECTED] Web: http://www.szeretgom.hu Skype: cserepj - Take Surveys. Earn

[Wicket-user] portlet race condition

2007-02-22 Thread Janos Cserep
FYI, I've created a JIRA issue: https://issues.apache.org/jira/browse/WICKET-311 I'm seeing this when the web service I'm calling as backend is taking longer to respond... (I'm back on 1.2.3 with a patched WicketPortletRequest.classright now, the bug may affect other versions as well). -

Re: [Wicket-user] Another portlet bug:)

2007-02-20 Thread Janos Cserep
2007/2/20, Eelco Hillenius <[EMAIL PROTECTED]>: could you please open a JIRA issue for that? Done, actually I opened two as the page expiration on each request was not solved by adding a toString method to PortletRequest. I've checked both in Pluto and in Netbeans 5.5's portlet container...

[Wicket-user] Another portlet bug:)

2007-02-20 Thread Janos Cserep
I'm still not giving up on using wicket for portlet development :) I get the following exception after each request and any action on the portlet page results in a "Portlet expired" page to appear: I've checked svn.apache.org and as far as I can tell wicket.Request has a new toString() method wh

[Wicket-user] portlet bug

2007-02-16 Thread Janos Cserep
Is anyone using PortletApplicaton with 1.2.4? I'm getting the following exception: java.lang.UnsupportedOperationException at java.util.Collections$1.remove(Collections.java:1012) at wicket.protocol.http.portlet.PortletRequestCodingStrategy.decode( PortletRequestCodingStrategy.java:

Re: [Wicket-user] Writing byte[] to a WebResponse

2007-01-03 Thread Janos Cserep
Very short, very quick DynamicWebResource tutorial:) 1. Subclass DynamicWebResource public class MyResource extends DynamicWebResource { @Override protected DynamicWebResource.ResourceState getResourceState() { return new ResourceState() { public byte[] getData() { return "Example".t

Re: [Wicket-user] one Tapestry feature I am really missing in Wicket

2006-10-24 Thread Janos Cserep
Oleg,You can use the wicket:message tag which works just like your tapestry template... j - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make

Re: [Wicket-user] Wicket J5EE combo?

2006-08-02 Thread Janos Cserep
who has successfully implemented these comboGlassfish + EJB3 + Wicket + NB5.5anyone with some quick start for theseI did, on three projects (a community portal-thingy for myself, and internal applications for two companies) during the last 4 months. Would you need a step-by-step guide or do yo

Re: [Wicket-user] wicket:message

2006-07-31 Thread Janos Cserep
you can use an attribute modifier to do this though. I usually put a StringResourceModel on the button like this:new Button("buttonid", new StringResourceModel("key_in_properties_file", this, null)) {public void onSubmit() {...} }

[Wicket-user] localization in wicket-extensions

2006-07-26 Thread Janos Cserep
I've noticed that some components in wicket-extensions are not  internationalized properly (DataTable, Palette) in 1.2. Is somebody working on this or shall I go ahead and do it myself? Janos - Take Surveys. Earn Cash. Influenc