Re: Things I miss in Wicket

2009-01-16 Thread Erik van Oosten
--- Since wicket:component has some issues (e.g. HeaderContribution doesn't work) I build my own DynComponent some time ago (see my blog for details). Best regards, --- Jan. -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Things I miss in Wicket

2009-01-16 Thread Erik van Oosten
it is deprecated. Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Why you should not override isVisible

2009-01-16 Thread Erik van Oosten
Please don't turn the logic around. Caching is only needed because isVisible can be a performance hit. /If/ you want caching /then/ isVisible should not be called after detach as detach is needed to clear the cache. Regards, Erik. s...@meiers.net wrote: Ok, IMHO it's a bug that wicket

Re: Why you should not override isVisible

2009-01-16 Thread Erik van Oosten
caching isVisible() is not needed. Sven -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Why you should not override isVisible

2009-01-16 Thread Erik van Oosten
Created an issue: http://issues.apache.org/jira/browse/WICKET-2025 Regards, Erik. Erik van Oosten wrote: Martijn, I just went through the source (1.4-rc1) to trace a detach manually and find suspect callers of isVisible. I found none during detach, but I did find one call to isVisible

Why you should not override isVisible

2009-01-15 Thread Erik van Oosten
this behavior in Wicket 1.3 (1.3.3 I think). If it works differently now, I would be very glad to withdraw this recommendation. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail

Re: Where to process PageParameters

2009-01-15 Thread Erik van Oosten
Michael, I answered on another thread. Regards, Erik. Michael Sparer wrote: Yepp, I also didn't have problems with it as - you're right - I took it at face value without thinking about it too much. I thought to avoid problems when the traffic of our apps grows and/or explodes I'll

Re: Why you should not override isVisible

2009-01-15 Thread Erik van Oosten
talking about in this post and was wondering if you have an english-speaking commented one available ? Nice work ! Regards, Pierre Goupil -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail

Re: Why you should not override isVisible

2009-01-15 Thread Erik van Oosten
* components should be detached regardless of their visibility. Martijn -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail

Re: skip item in populateItem of ListView

2009-01-15 Thread Erik van Oosten
(and making sure none of its content is output)? thanks, Steve -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Erik van Oosten
before the fixed parts (like /{language}/products/{productid}). Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: [OT] Merb-Rails Merge

2008-12-24 Thread Erik van Oosten
applications in the enterprise, What a good joke !! -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: Filtering data in DataTable

2008-12-22 Thread Erik van Oosten
if values selected to be shown in DataTable should be bigger, lesser or equal to the entered/chosen value? -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Multi-tap operations in Wicket

2008-12-22 Thread Erik van Oosten
: This effects all the Wicket pages in the application, right? Seam folks advertise this feature as one of the gems of Seam framework, why Wicket doesn't shed more light on it? Common Wicket, no need to be humble this time :) -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Multi-tap operations in Wicket

2008-12-22 Thread Erik van Oosten
?) a conversation)? Well, yes, it does http://wicketstuff.org/wicket13doc/org/apache/wicket/settings/IPageSettings.html Multi-window/tap isn't the gem of Seam, one of them :) We need to do more marketing for wicket guys:ninja: Erik van Oosten wrote: Apart from letting you guess what a page map

Re: Multi-tap operations in Wicket

2008-12-22 Thread Erik van Oosten
enough to be discarded... Best, Ernesto [1]-http://wicket.apache.org/features.html -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Dynamic Simple (html) Components

2008-12-20 Thread Erik van Oosten
Hi Mito, Basically you are asking for Label. Label can generate anything you want. Look at the source of Label for inspiration if you need more customization.1 Also take a look at TextTemplate. There is also a FreeMarker version, I think its in wicketq-extra. Regards, Erik. mito

Re: Redirect to mounted page programmatically

2008-12-18 Thread Erik van Oosten
by requestcycle is not working because i firstly need a responsepage. But how should i get it by a MountPointId? A global registry is not nice in my eyes. Would be nice if someone can help me out here. thanks Per -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Javascript call to wicket

2008-12-16 Thread Erik van Oosten
to have problems with it. Have you run it also in ie? Thanks, Itay Erik van Oosten wrote: I just finished an experiment with something like that. Its still ugly and very static, but here is my code. In the HTML header the function you can call from Flash: function(someValue) { var

[jira] Created: (WICKET-1973) Messages lost upon session failover with redirect_to_buffer

2008-12-09 Thread Erik van Oosten (JIRA)
Components: wicket Affects Versions: 1.4-RC1 Reporter: Erik van Oosten Using the redirect_to_buffer render strategy, messages in the session get cleared after the render. If the redirected request comes in at another node, the buffer is not found and the page is re-rendered

[jira] Updated: (WICKET-1974) render_to_buffer does not work for absolute URLs

2008-12-09 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik van Oosten updated WICKET-1974: Component/s: (was: wicket-auth-roles) render_to_buffer does not work for absolute

[jira] Created: (WICKET-1974) render_to_buffer does not work for absolute URLs

2008-12-09 Thread Erik van Oosten (JIRA)
, wicket-auth-roles Affects Versions: 1.4-RC1 Reporter: Erik van Oosten After installing a WebRequest instance that makes all URLs absolute, render_to_buffer does not work anymore. The problem is that WicketFilter assumes that all URLs are relative (WebFilter#getRelativePath

[jira] Updated: (WICKET-1974) render_to_buffer does not work for absolute URLs

2008-12-09 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik van Oosten updated WICKET-1974: Description: After installing a WebRequest instance that makes all URLs absolute

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Erik van Oosten
] wrote: Hi James, How does this work with a Hibernate-managed object? Did you test it with Hibernate? -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: resource mapping and dot in url

2008-11-19 Thread Erik van Oosten
-- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: RES: FileUploadField usage changed in 1.4 rc-1?

2008-11-19 Thread Erik van Oosten
Yeah, I run into the same thing. Just pass FileUploadField an empty model: new ModelFileUpload() Regards, Erik. Bruno Cesar Borges schreef: Yes, you need to set a Model object into FileUploadField. :-) Bruno -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: Unable to load Wicket app in hosting provider

2008-11-16 Thread Erik van Oosten
Wicket-based application will absolutely not load in the shared hosting environment. I'm trying out GoDaddy's Java Web hosting that uses Java 1.5 and Tomcat 5.0.27. I have this same setup on my box and deploying my Wicket 1.3.4-based application works -- Erik van Oosten http://www.day

Quickstart 1.4-rc1 exception

2008-11-14 Thread Erik van Oosten
(VelocityEngine.java:116) Is this a known problem? I am doing something wrong? Maven version was 2.0.8, an upgrade to 2.0.9 did not help. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: Quickstart 1.4-rc1 exception

2008-11-14 Thread Erik van Oosten
Tried it with several other Wicket releases 1.3.5 and 1.3.3 (Maven 2.0.9) but I get the same error. Regards, Erik. Erik van Oosten wrote: Hi, I want create a quickstart to demonstrate a potential bug in 1.4-rc1. However if I choose that release I get the following exception. [INFO

Re: Quickstart 1.4-rc1 exception

2008-11-14 Thread Erik van Oosten
PM, Erik van Oosten [EMAIL PROTECTED] wrote: Tried it with several other Wicket releases 1.3.5 and 1.3.3 (Maven 2.0.9) but I get the same error. Regards, Erik. Erik van Oosten wrote: Hi, I want create a quickstart to demonstrate a potential bug in 1.4-rc1. However if I choose

Re: Quickstart 1.4-rc1 exception

2008-11-14 Thread Erik van Oosten
It appears that my Maven repository (artifactory) is not functional anymore. Somehow its empty. I'll switch to central for a moment. Sorry for the hassle. Regards, Erik. Erik van Oosten wrote: Sorry, I do not understand your suggestion. I am running in a new shell

Re: IDataProvider Implementation.

2008-11-11 Thread Erik van Oosten
] -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: wicket prepends unnecessary ../ before href/src html element attributes

2008-11-11 Thread Erik van Oosten
/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping Is this because of any wicket specific restriction or something else? Anirban -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: Question on PageMap

2008-11-11 Thread Erik van Oosten
? -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Handling exceptions during render

2008-11-03 Thread Erik van Oosten
, (WebResponse) response) { @Override public Page onRuntimeException(final Page page, final RuntimeException e) { //do something return null; } } } [/CODE] Alex Objelean -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: Browser file download complete callback

2008-11-03 Thread Erik van Oosten
Not sure about the close method, but you could always wrap the outputstream and count the number of streamed bytes. Regards, Erik. bjolletz wrote: Is it at all possible to get a callback when a user is finished downloading the bytearray? -- Erik van Oosten http://www.day-to-day

Re: Handling exceptions during render

2008-11-03 Thread Erik van Oosten
it doesn't close tags (i.e. advance in the markup stream?) after the exception is thrown in a child component, and I still get an error page :( renderComponent(MarkupStream) is final too, it seems that all doors are closed and locked... -- Erik van Oosten http://www.day-to-day

Re: Referencing Request in Spring bean definitions

2008-11-03 Thread Erik van Oosten
Creation of custom sessions is described here: http://cwiki.apache.org/WICKET/newuserguide.html#Newuserguide-CustomSessions I do think you can create a session through Spring. Regards, Erik. Ryan O'Hara wrote: Hello, Is there anyway to reference Wicket's request object in the Spring bean

Re: Are there any open-source webapplications based on Wicket?

2008-11-02 Thread Erik van Oosten
http://cwiki.apache.org/WICKET/sites-using-wicket.html So far I have not found a single Wicket-based website or project. Is there none so far or just hidden somewhere on the net ? - To unsubscribe, e-mail: [EMAIL

Re: Broken pipe

2008-11-02 Thread Erik van Oosten
van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Broken pipe

2008-11-02 Thread Erik van Oosten
: 008d 2aaac71a8280 0x4082dd28: 2aaac74ed578 00194082dd50 ** Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Erik van Oosten http://www.day

Re: Wicket and URLs

2008-10-29 Thread Erik van Oosten
Hello S D, This might interest you: http://day-to-day-stuff.blogspot.com/2008/10/wicket-extreme-consistent-urls.html Note there are still some limitations. Your milage may vary. Regards, Erik. S D wrote: Hi, I was browsing through examples, it looks very impressive but there's a thing

Re: Wicket and URLs

2008-10-29 Thread Erik van Oosten
i dont think this is a good idea. -igor -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[jira] Commented: (WICKET-1878) ExternalLink should have title field

2008-10-28 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12643227#action_12643227 ] Erik van Oosten commented on WICKET-1878: - Proposed solution: Won't fix. Wicket

Re: no title in ExternalLink

2008-10-28 Thread Erik van Oosten
Hehe, that's a nice one too. James Carman wrote: Perhaps just a helper method somewhere? public AbstractLink addTitle(AbstractLink link, IModelString titleModel) { link.add(new AttributeModifier(title, true, titleModel)); return link; } -- Erik van Oosten http://www.day-to-day

Re: generate javascript file together with html page

2008-10-27 Thread Erik van Oosten
FooPage.js to the header and then I want a request to FooPage.js to go back to FooPage so it creates the javascript file by using the same hierarchy of components. Ittay -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: generate javascript file together with html page

2008-10-27 Thread Erik van Oosten
to me. Regards, Erik. Ittay Dror wrote: Erik van Oosten wrote: Sound like what you need is a DynamicWebResource. yes, sound like this can do it. but can i start a rendering cycle here so that i get the bytes required at the end? -- Erik van Oosten http://www.day-to-day

Re: inmethod / grid website?

2008-10-21 Thread Erik van Oosten
be the wrong place to ask, but anyways. What happened to the inmethod/ grid web site? http://www.inmethod.com/ is showing the tomcat welcome page for some time now. Did it move? Regards, Martin -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-17 Thread Erik van Oosten
the parameters to the iframe url. I am not even getting to MyFrame constructor. Any Idea? -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Pages or components... how do u decide?

2008-10-17 Thread Erik van Oosten
it anywhere in your application. Alex -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat doesnt work with wicket

2008-10-17 Thread Erik van Oosten
is the question.. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat doesnt work with wicket

2008-10-17 Thread Erik van Oosten
a newbie. So is the question.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-16 Thread Erik van Oosten
. Is there another way? Thanks alot, Itay -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-15 Thread Erik van Oosten
)/myapp/iframe/MyFrame/param_value))); But then the url is not found since I define in my app: mount(new IndexedHybridUrlCodingStrategy(/iframe/MyFrame, MyFrame.class)) ... The param is runtime value and I can not know it when creating my app. -- Erik van Oosten http://www.day-to-day

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-15 Thread Erik van Oosten
IndexedHybridUrlCodingStrategy(/iframe/MyFrame, MyFrame.class)); I tried also for the url mounting: mount(new HybridUrlCodingStrategy(/iframe/MyFrame, MyFrame.class)); In all cases the params inside the constructor of MyFrame class has no values in them (size = 0) Thanks, Itay -- Erik van Oosten http

Wicket talk at NL-JUG's J-Fall

2008-10-09 Thread Erik van Oosten
Just to let you know. My talk 'Effective Wicket', targeted at starting Wicketeers has been accepted on NL-JUG's J-Fall. http://www.nljug.org/jfall/ Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: Form GET doesn't call onSubmit method

2008-10-02 Thread Erik van Oosten
commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

[jira] Commented: (WICKET-1355) Autocomplete window has wrong position in scrolled context

2008-09-27 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12635118#action_12635118 ] Erik van Oosten commented on WICKET-1355: - Okay. I'll try. I'll be a JAOO so

[jira] Commented: (WICKET-1746) gecko: ajax javascript reference rendering problem

2008-09-26 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12634772#action_12634772 ] Erik van Oosten commented on WICKET-1746: - As a workaround, add the following

Re: Nice urls in markup

2008-09-26 Thread Erik van Oosten
that. Could anyone try to help, please? Thanks, Liz - Original Message - From: Erik van Oosten Sent: 25/09/08 02:39 pm To: users@wicket.apache.org Subject: Re: Nice urls in markup Use a HybridUrlCodingStrategy to mount your pages. This will make ajax request link

Re: isVisible Problem

2008-09-25 Thread Erik van Oosten
Overriding isVisible can be quite evil. The problem is that it is called also in the detach phase. When isVisible depends on the model, your model is often reloaded! There are 2 solutions: - within method isVisible cache the result, clear the cache in the onDetach. - (recommended) don't

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-09-25 Thread Erik van Oosten
You should use one of the other HybridUrlCoding strategies. E.g. the IndexedHybridUrlCodingStrategy. If you need an MixedParamHybridUrlCodingStrategy, I can mail it to the list. Regards, Erik. itayh wrote: Hi, I am using HybridUrlCodingStrategy for my url's (I need that the mount point

Re: Need help fixing bug #1816

2008-09-24 Thread Erik van Oosten
* platforms. Tomcat fails silently, which is even worse. Gili -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Transactions..... again!

2008-09-19 Thread Erik van Oosten
Ryan, Here is how I do this with Spring: http://day-to-day-stuff.blogspot.com/2008/08/java-transaction-boundary-tricks.html Its not as pretty as Salve's @Transactional but just as effective. Regards, Erik. Ryan wrote: Aside from these ideas, has anyone used a different method for

Re: Localized string retrieved with a warning message

2008-09-18 Thread Erik van Oosten
Are you sure that message is coming from this code? This code looks quite alright to me (though you could replace StringResourceModel(x, this, null) with ResourceModel(x), and change the parameter type to IModelString). Regards, Erik. Azzeddine Daddah wrote: Thanks Michael, I did but

Re: error handling and redirect (was: how to logout and redirect)

2008-09-18 Thread Erik van Oosten
It mainly depends on whether you would like to allow a refresh, and how sensitive you are to nice URLs. The key difference is that the user will see that he/she lands on another URL when you called setRedirect(true). After that a refresh will reload the error page. With redirect set to false,

Re: Wicket, HTML or XHTML ?

2008-09-11 Thread Erik van Oosten
regards, P. Goiffon -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[jira] Commented: (WICKET-1349) Wicket Ajax response generates a ^ character in the javascript code

2008-09-09 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12629479#action_12629479 ] Erik van Oosten commented on WICKET-1349: - Note, the code above will also require

[jira] Commented: (WICKET-847) setResponsePage redirects to wrong url

2008-09-04 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12628320#action_12628320 ] Erik van Oosten commented on WICKET-847: I got bitten by this as well (with 1.4-m3

[jira] Issue Comment Edited: (WICKET-847) setResponsePage redirects to wrong url

2008-09-04 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12628320#action_12628320 ] erikvanoosten edited comment on WICKET-847 at 9/4/08 5:03 AM:

[jira] Issue Comment Edited: (WICKET-847) setResponsePage redirects to wrong url

2008-09-04 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12628320#action_12628320 ] erikvanoosten edited comment on WICKET-847 at 9/4/08 5:03 AM:

[jira] Commented: (WICKET-1449) './' appended to URL causes HTTP 404 in Internet Explorer (using root context)

2008-09-04 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12628321#action_12628321 ] Erik van Oosten commented on WICKET-1449: - Duplicate of WICKET-847. I would rate

Re: Assert that all models are detached at the end of the request?

2008-08-31 Thread Erik van Oosten
-to-day-stuff.blogspot.com/, but must have searched for the wrong thing (transient, entity, SerializableChecker)... -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED

[jira] Commented: (WICKET-1349) Wicket Ajax response generates a ^ character in the javascript code

2008-08-25 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12625300#action_12625300 ] Erik van Oosten commented on WICKET-1349: - We are using AjaxRequestTarget while

Re: Changing components before rendering

2008-08-24 Thread Erik van Oosten
There is. As you noticed you can change any property you like /before/ the render phase. Another way to put metadata on components is annotations. This is for example used for security type of things. You can intercept the creation and rendering of each component in Wicket (in your

Re: Custom PageMap

2008-08-21 Thread Erik van Oosten
as a part of one transaction Erik van Oosten wrote: John, if you keep your conversation data in the component (as a java field), and you work with listeners in that component (e.g. with a Link), that data is available in the listener (e.g. Link's onClick callback method). While coding

Re: I have some Wicket based opportunities/jobs if you're interested.

2008-08-21 Thread Erik van Oosten
Cristi Manole wrote: Please share more details like when the project is planned to start, how many hours per day, etc. But not on this list please. Regards, Erik. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Severe log: no Header Container was found but components..

2008-08-20 Thread Erik van Oosten
of it. Does anybody have any idea? Best regards, SerkanC -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Order of pageparameters for bookmarkablepagelink?

2008-08-20 Thread Erik van Oosten
if parameters are switched like so : mydom.com/mypage/product/id/cache/true I instantiate my links like so: pageparameters.add(cache, true); pageparameters.add(cache,true); BookmarkablePageLink link = new BookmarkablePageLink(linkId, cls,pageparameters); -- Erik van Oosten http

Re: url after form submit with redirect

2008-08-20 Thread Erik van Oosten
Miro, In Nabble, please do not edit your message after you've send it. That way you're message appears twice. Wicket will always use the mount path of the page you are forwarding to, that is, if you called setResponsePage. You can also look into mounting with a HybrodUrlEncoder. Regards,

Re: Wicket merchandise?

2008-08-20 Thread Erik van Oosten
I want the mug! Perhaps the t-shirt too. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Custom PageMap

2008-08-20 Thread Erik van Oosten
John, if you keep your conversation data in the component (as a java field), and you work with listeners in that component (e.g. with a Link), that data is available in the listener (e.g. Link's onClick callback method). While coding the component you should not worry about where that data is

Re: ResourceModel vs. getLocalizer

2008-08-19 Thread Erik van Oosten
performance, try profiling the application. Best wishes, Timo -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Pretty URLs depending on a Page's state (not params)

2008-08-13 Thread Erik van Oosten
Hi, You can suppress the version number in the URL. Doing so will make the encoder always take the last version of the page (or create a new one when it is not present). More details: http://www.nabble.com/More-on-wicket-url-stratergy-td18212748.html#a18273996 Regards, Erik. pixologe

Re: Remove underline in OrderByBorder link

2008-08-07 Thread Erik van Oosten
) --link (void CSS modifier) Which renders as td class=myCSS(either asc, desc, or normal) a class= . I haven't found an easy way to get to and manager the link part. If you have any ideas, let me know. Thx again, Joe C -- Erik van Oosten http://day

Re: Questions about wicket features

2008-08-07 Thread Erik van Oosten
framework where you to add some new functionallity easily but it doesn't provide any secure solution by default to protect you against CSRF attacks! Correct indeed. Also note, I did not use the word 'easily' :) Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Questions about wicket features

2008-08-07 Thread Erik van Oosten
Arthur Ahiceh wrote: ok! you have not used the word easily but only saying There are more hardening options such as encrypting urls it only seems that encrypting urls the problem is solved and it is not the case! The user has to implement a custom security factory, one different than provided

Re: Questions about wicket features

2008-08-07 Thread Erik van Oosten
Arthur Ahiceh write: Erik, if you did not mean that I feel it, I understood that. ;-) Arthur Okay, thanks. (I didn't.) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Questions about wicket features

2008-08-07 Thread Erik van Oosten
there may be a high change that the guessed path is correct. Then again, it is easily fixed by starting at a random page version number. In addition, many Wicket applications use bookmarkable pages. Easily avoided if you're worried about CSRF of course. Regards, Erik. -- Erik van Oosten http://day

Re: Questions about wicket features

2008-08-07 Thread Erik van Oosten
URL still problematic. Martijn -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Remove underline in OrderByBorder link

2008-08-06 Thread Erik van Oosten
Best approach IMHO would be through css. Regards, Erik. [EMAIL PROTECTED] wrote: I was wondering if there was an easy way to remove the underline for the link in the OrderByBorder component. More generally, can someone point me in the right direction to change the style and behavior for

Re: HybridURLs

2008-08-01 Thread Erik van Oosten
-- -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Asynchronous Components

2008-07-23 Thread Erik van Oosten
Hi Sebastian, If you intend to use Wicket's default detachable models to get data from those services, they will be called sequentially. So those are out. I see 2 options: - In the panel constructor get the data in parallel threads through standard java 5 constructs (dump all your

Re: Asynchronous Components

2008-07-23 Thread Erik van Oosten
O, I forgot, be aware that Wicket does not really tolerate pages that take too long to render. Make sure that the page rendering does not take more then 60 seconds in total. (Luckily the Future#get method accepts a timeout argument.) Erik van Oosten wrote: ...dump all your Callables

Re: Why isn't the bookmarkable url kept when appending ?wicket:interface=:n:myPage::ILinkListener:: etc?

2008-07-22 Thread Erik van Oosten
not to include it? As long as the current behaviour is the default for bookmarkable pages, it will degrade the user experience for everyone using it, and it seems this could be easily fixed.. -- Edvin -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Running a huge wicket site(1m + users)

2008-07-16 Thread Erik van Oosten
IMHO whether state at the client helps hugely depends on the amount of pages the user works with. If the user hardly ever leaves that one single page, keeping state on the client will help performance, provided the server does not need to keep a copy of (all) that state. The latter deviates

Re: Running a huge wicket site(1m + users)

2008-07-15 Thread Erik van Oosten
Nino Saturnino Martinez Vazquez Wael wrote: * Clustering(simple web server clustering with apache http/loadbalancer/tomcat) o Would Jetty be better? Terracotta? -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: More on wicket url stratergy

2008-07-04 Thread Erik van Oosten
to ItemListPage plus I use the same background as in the ItemListPage. If a google spider where to index this it would not be successful so I need a way to get this to be bookmarkable. -- -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: generics

2008-07-02 Thread Erik van Oosten
discussion, it becomes valuable to have the model. Yeah, you're right actually. I realize now that I rarely use Form's model directly. And I actually do the special stuff in the buttons anyway. Eelco -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: generics

2008-07-02 Thread Erik van Oosten
In my current project we try to do everything by BookmarkablePageLinks. Count: - 1 Link with an abstractreadonlymodel - 14 Links without model - 13 bookmarkablepagelinks without model - 2 ajaxfallbacklinks without model in addition we have 4 many used subclasses of bookmarkablepagelink that do

<    1   2   3   4   5   6   7   8   9   10   >