Re: More on wicket url stratergy

2008-07-02 Thread Erik van Oosten
No, not true. You /can/ do setResponsePage(new ItemListPage(...)), /and/ make it bookmarkable. The trick is to call setRedirect(true) together with the call to setResponsePage. Furthermore you need to mount ItemListPage in your application#init method (see method Application#mount()).

Re: [PROPOSAL] Use path in URL when target is instance of BookmarkablePageRequestTarget

2008-07-02 Thread Erik van Oosten
Indeed. I would very welcome this capability. Regards, Erik. David Leangen wrote: once again, i dont see what this offers over the hybrid strategy. Maybe you can correct me if I'm wrong here... The hybrid stategy is only applied when the target is an IBookmarkablePageRequestTarget.

Re: More on wicket url stratergy

2008-07-02 Thread Erik van Oosten
, Jul 2, 2008 at 6:41 AM, Erik van Oosten [EMAIL PROTECTED] wrote: No, not true. You /can/ do setResponsePage(new ItemListPage(...)), /and/ make it bookmarkable. The trick is to call setRedirect(true) together with the call to setResponsePage. Furthermore you need to mount ItemListPage in your

Re: Exception for MixedParamUrlCodingStrategy

2008-06-30 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: Exception for MixedParamUrlCodingStrategy

2008-06-29 Thread Erik van Oosten
: Too many path parts, please provide sufficient number of path parameter names at org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy.decodeParameters(MixedParamUrlCodingStrategy.java:178) Any pointers on how to solve this? -- Erik van Oosten http://www.day-to-day

Re: Home page accepting IndexedParamUrlCodingStrategy

2008-06-27 Thread Erik van Oosten
It is not possible. Unfortunately. You can write your own IRequestCycleProcessor. See WebApplication#newRequestCycleProcessor(). Get hints at: http://www.nabble.com/How-to-catch-unknown-(not-mounted)-URLs--td14949092.html#a14956131 Regards, Erik. Tauren Mills wrote: Does anyone have

Re: Home page accepting IndexedParamUrlCodingStrategy

2008-06-27 Thread Erik van Oosten
There are 2 problems in this code: 1. mount specifies that the mount point is given without a leading '/' (even though it tolerates it) 2. you can not call mount with , it will throw an exception (and therefore not with / either) Actually, it would be nice if you could do the latter. As

Re: PackagedTextTemplate does not load resource from application resource stream locator? - BUG??

2008-06-26 Thread Erik van Oosten
location without any issues. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to send response without HTML code

2008-06-11 Thread Erik van Oosten
Hi Milan, I think you should throw the exception AbortWithHttpStatusException. If you change your mind and want to set the HTTP status code, but provide content as well, then call something like ((WebResponse)getResponse).getHttpServletResponse().setStatus(HttpServletResponse.SC_...) in the

Re: How to access properties files outside of Wicket components?

2008-06-03 Thread Erik van Oosten
online. Wicket does not offer a way to access resource bundles outside of Wicket components? Michael -Original Message- From: Erik van Oosten [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2008 10:32 PM To: users@wicket.apache.org Subject: Re: How to access properties files

Re: [ANNOUNCE] Apache Wicket 1.4 Milestone 2 is released

2008-06-03 Thread Erik van Oosten
a CHANEGELOG-1.4 which contains a list of all things that have been fixed, added and/or removed since the first release in the 1.4 branch. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail

Re: getString, Label - Warn

2008-06-02 Thread Erik van Oosten
and use getString with new Label Thank you in advance -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Changing Link string conditionally?

2008-06-01 Thread Erik van Oosten
The idea is to put a span inside the a, and then attach a Label to the span. Is that something you can work with? Regards, Erik. Michael Mehrle wrote: Okay, this seems so easy, but I'm somehow stuck. How do I change the string of a Link based on some condition? Do I simply provide a

Re: tabbed pages not panels

2008-06-01 Thread Erik van Oosten
Tabbed pages are easy to create yourself (a lot easier then tabbed panels). Just create a list (ol) with elements (li) with in each a link (a). Now attach a Link component to the latter (any link type, but you probably are looking for a BookmarkableLink). Put this all in a Panel you can reuse

Re: Feedback message related problem--info,debug etc take string arguments which is not very flexible

2008-06-01 Thread Erik van Oosten
Hi, Atul, That sounds like a reasonable request to me (I am no core member). Its best to open a new issue in Wicket's jira, preferably with a patch attached. Regards, Erik. atul singh wrote: Hi, I see that only error() feedback takes a serializabel message. This allows me to pass any

Re: Changing Link string conditionally?

2008-06-01 Thread Erik van Oosten
Michael Allan wrote: Fearing a span-demic in my code, I came up with this:... There's probably a more elegant way to code it, though. Neh, that is a very common approach ;) Erik. - To unsubscribe, e-mail: [EMAIL

Re: How to access properties files outside of Wicket components?

2008-06-01 Thread Erik van Oosten
You should the other getResource*() methods, those on Class: http://java.sun.com/javase/6/docs/api/java/lang/Class.html#getResourceAsStream(java.lang.String) Regards, Erik. Michael Mehrle wrote: Right now I had to resort to the solution below, but I would very much like to know the

Re: how to do i18n of javascript file with Wicket?

2008-06-01 Thread Erik van Oosten
We use approach 1. We do not pull messages from Wicket resources, they are just static in the file. The link to the correct js file is however created by a dynamic component that uses the current Locale. You could go with approach 2, but to me it sounds like a lot of work. Regards, Erik.

Re: Manipulate Component Markup before rendering

2008-05-31 Thread Erik van Oosten
Hello Jürgen, You coulld put a span in the markup and add a Label to it. Don't forget to call setRenderBodyOnly(true) on the label. Regards, Erik. Jürgen Lind wrote: Hi, I was wondering if there is some way to rewrite the component markup before it is rendered. My setting is as

Re: Manipulate Component Markup before rendering

2008-05-31 Thread Erik van Oosten
that the markup element I want is at the second position. However, this is not very robust ;-) Cheers, J. Erik van Oosten wrote: Hello Jürgen, You coulld put a span in the markup and add a Label to it. Don't forget to call setRenderBodyOnly(true) on the label. Regards, Erik. Jürgen Lind

Re: Clone a WebPage

2008-05-30 Thread Erik van Oosten
Do you have any overriden isVisible() in which you use the model? Regards, Erik. Mathias P.W Nilsson wrote: You are perfectly right. All my LoadableDetachable models are called again. Problem is that the cart is a Fragment and it does not get called. -- Erik van Oosten http://day

Re: Can I HTTP Post from static html page to a Wicket page?

2008-05-30 Thread Erik van Oosten
Remove the slashes! Erik. AlexTM wrote: Hi! I've tried this: mount(/allsearch, new QueryStringUrlCodingStrategy(/allsearch, AllSearchPage.class)); -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Directions for Stateless Ajax

2008-05-28 Thread Erik van Oosten
Well, under these circumstances: don´t use wicket. Just write your own javascript and use a servlet. Regards, Erik. Alan Romaniusc wrote: Hi, I have been digging in how to make stateless ajax requests in wicket. My application needs an autocomplete textfield that must work all the time,

Re: Wicket i18n options

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

Re: Wicket i18n options

2008-05-25 Thread Erik van Oosten
Eyal, Uwe, Scott, I won't stop you! Actually, when I was more then half way I realized that the wiki might have been a better place for this. But by then, it was too late to change the language and start over. Regards, Erik. Scott Swank wrote: +1 On Sun, May 25, 2008 at 6:44 AM, Eyal

Re: Wicket i18n options

2008-05-25 Thread Erik van Oosten
Eelco Hillenius wrote: Excellent! I didn't even know about that new feature (nested tags nested in wicket:message). Is that really only in 1.4? Eelco Its in the release notes! Actually, in my current project it is the reason for switching to 1.4 But we're having fun with the generics as

Re: Wicket and inline JavaScript

2008-05-24 Thread Erik van Oosten
I am currently in a project where we do everything with jQuery in the frontend, simulating Wicket's AJAX input and using its AJAX output. However, I would not advice in doing this until you have a strong grasp of Wicket's form and AJAX handling. Having a good jquery programmer helps too.

Re: Need Help

2008-05-18 Thread Erik van Oosten
Try to set the compiler version (as described on http://wicket.apache.org/quickstart.html). I am not sure this is your problem. Regards, Erik. Depak Shidu wrote: i try wicket 4.1-m1 maven using mvn archetype:create -DarchetypeGroupId=org.apache.wicket

Re: Page pooling (for stateless pages)

2008-05-18 Thread Erik van Oosten
Hello, I think it would probably make more sense to cache the /result/ of stateless pages. Regards, Erik. Joel Halbert wrote: Hi, I was wondering whether it was possible to implement pooling of stateless pages? Possibly using a custom PageMap implementation? Although newer JVM's

Re: Zip files containing ready to deploy wicketstuff examples

2008-05-17 Thread Erik van Oosten
Hi Blackbird, You can create a quickstart (http://wicket.apache.org/quickstart.html). A quickstart is the absolute minimal Wicket application. You'll need maven 2 installed. Regards, Erik. Blackbird schreef: Hi, are there zip files of each example available at wicketstuff? Some

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-05-16 Thread Erik van Oosten
being maliciously hijacked. We plugged that hole disallowing any jsessionid to be part of url (via Servlet filter) - yes this of course means JavaScript must be enabled. This involuntary session sharing is still occurring. We are running release 1.3.2. -- Erik van Oosten http://day

Re: FYI: new wicket site

2008-05-14 Thread Erik van Oosten
It is a combination of 3 words 'er op uit' and literally means 'going out'. It has a very active connotation. Regards, Erik. Gerolf Seitz wrote: the site looks nice. i especially like the advanced dropdown box. for us non-dutch, does eropuit mean anything in particular? cheers, Gerolf

Quickstart broken for 1.4-m1

2008-05-14 Thread Erik van Oosten
Hi, If I do: mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4-m1 -DgroupId=nl.grons -DartifactId=i18ntest as generated by the quickstart page (http://wicket.apache.org/quickstart.html), I get Wicket version

Re: Why is it illegal to update hierarchy in onAfterRender?

2008-05-13 Thread Erik van Oosten
the source for more info is the source.. AutoAdd can be done in the rendering. They are only there just then. And they will be removed by wicket after rendering. (at least they should) They are or can be normal components -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Inmethod Grid patch for Wicket 1.4-m1

2008-05-13 Thread Erik van Oosten
guess Matej wil gladly apply it for you Except that Matej then has to branch... i what does he like that... :) johan On Tue, May 13, 2008 at 11:02 AM, Erik van Oosten [EMAIL PROTECTED] wrote: Hello, Inmethod Grid does not support Wicket 1.4 currently. Apply the attached patch

Re: Why is it illegal to update hierarchy in onAfterRender?

2008-05-12 Thread Erik van Oosten
#autoAdd. Unfortunately I am not sure I understand the consequences of what that method describes. Is there a source of more information? Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com

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

2008-05-08 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12595347#action_12595347 ] Erik van Oosten commented on WICKET-1355: - Richard, that change was the whole

Re: South African Wicket Users?

2008-05-08 Thread Erik van Oosten
knowledge of Dutch is probably required, especially if you want to work outside of 'de randstad'. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Why is it illegal to update hierarchy in onAfterRender?

2008-05-06 Thread Erik van Oosten
Hi, When I try to change the component hierarchy in onAfterRender I get an exception with the text can not change hierarchy *during* render phase. Why is this? Isn't the render phase finished in on*After*Render? Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Why is it illegal to update hierarchy in onAfterRender?

2008-05-06 Thread Erik van Oosten
wat the page has. Thats why you get that exception when rendering has started. On 5/6/08, Erik van Oosten [EMAIL PROTECTED] wrote: Hi, When I try to change the component hierarchy in onAfterRender I get an exception with the text can not change hierarchy *during* render phase. Why

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-05-05 Thread Erik van Oosten
Isn't this problem serious enough to release 1.3.4? Regards, Erik. Johan Compagner wrote: the only thing we found was the finalize block that could be skipped because of an exception again in that block That is fixed in current 1.3.x branch (and 1.4) -- Erik van Oosten http://day

Re: [ANNOUNCE] Apache Wicket 1.4-M1

2008-05-04 Thread Erik van Oosten
: The Apache Wicket team is proud to announce the availability of the first milestone release of our first java 1.5 Wicket version: Apache Wicket 1.4-m1. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe

Re: [slf4j-user] Java 5 version of SLF4J?

2008-04-25 Thread Erik van Oosten
analysis already? Regards, Erik. Simon Kitching schreef: Erik van Oosten schrieb: Christopher, As I wrote already on Feb 17: There is another aproach, as taken by http://code.google.com/p/log5j/. It is a wrapper around log4j. I wish they had made it for SLF4J! I am

Re: [slf4j-user] Java 5 version of SLF4J?

2008-04-24 Thread Erik van Oosten
the time myself :( Regards, Erik. [EMAIL PROTECTED] wrote: Ceki, I do understand your reasoning, and thank you for your quick response. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ ___ user mailing list user@slf4j.org http

Re: Question about StringResourceLoader

2008-04-23 Thread Erik van Oosten
That is easy. Use getLocalizer.getString(key, City.class, new Model(obj)). You can not do this in the constructor of your component though. There are 2 workaround: 1) create a model (for example by subclassing AbstractReadOnlyModel), 2) override the method onBeforeRender in your component.

Re: 1.3, resource locator and properties

2008-04-23 Thread Erik van Oosten
Scott, I am no core developer, but I think that creating a issue (preferably with a patch) would be the fastest way to success. Regards, Erik. Scott Swank wrote: Bump. Do any devs have an opinion on this? Should I create a jira instead of asking this on the list? Here is a quick

Just a small warning: Ext-JS changed license to GPL

2008-04-23 Thread Erik van Oosten
Hello, As you may have heard already: Ext-JS, as of yesterday (version 2.1), no longer has the LGPL license, but GPL, making it unusable for commercial products. Just a small warning for those that are using it. Awaiting the first fork, Erik.

Re: StringResourceModel with unknown array parameters

2008-04-19 Thread Erik van Oosten
i ii schreef: should be in core, no? -1, it is much too specific. Regards, Erik. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Swarm/Wasp or wicket-auth-roles or ?

2008-04-19 Thread Erik van Oosten
If you checkout the Wicket sources, you'll find a wicket-auth-roles-example project. Regards, Erik. mfs wrote: Also if someone could point to some examples of wicket-auth-roles usage...I could still see many for swarm but have not really for auth-roles..may be I an not looking at the right

Re: Swarm/Wasp or wicket-auth-roles or ?

2008-04-19 Thread Erik van Oosten
Actually, the examples Scott sent are better I think. Regards, Erik. Erik van Oosten schreef: If you checkout the Wicket sources, you'll find a wicket-auth-roles-example project. mfs wrote: Also if someone could point to some examples of wicket-auth-roles usage

Re: wicket-spring dependency in maven repository

2008-04-19 Thread Erik van Oosten
Doug Donohoe wrote: I'm using wicket-spring-annot and ran into a small problem with maven dependencies. The wicket-spring-annot project depends on wicket-spring. This has come up a number of times already. Hopefully not as often in the future as it is now also on the wiki :)

Re: LoadableDetachableModel and load() method question

2008-04-19 Thread Erik van Oosten
Hi Warren, It should not be called twice. Not within the same request that is. Possible causes: - you have 2 model instances instead of 1 - there is a bug in Wicket If you are sure it the latter, please provide a quickstart and add it to a new Jira issue. Regards, Erik. Warren wrote:

Re: client side handling of ajax request session expiration

2008-04-18 Thread Erik van Oosten
().setPageExpiredErrorPage) the handling is ok for non-ajax request, but not ajax request we want to handle that using client side javascript how can we achieve that? -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: client side handling of ajax request session expiration

2008-04-18 Thread Erik van Oosten
ywtsang wrote: because we discovered that we can't preserve the session if the server is restarted Ah, I understand. Well, you could if you use a servlet container that support this, or if you use Terracotta. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com

[jira] Commented: (WICKET-1534) Allow multiple URL coding strategies on the same mount path

2008-04-16 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12589834#action_12589834 ] Erik van Oosten commented on WICKET-1534: - After a small investigation I found

[jira] Updated: (WICKET-1534) Allow multiple URL coding strategies on the same mount path

2008-04-15 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik van Oosten updated WICKET-1534: Attachment: VersatileWebRequestCodingStrategy.java Allow multiple URL coding strategies

[jira] Commented: (WICKET-1534) Allow multiple URL coding strategies on the same mount path

2008-04-15 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12589048#action_12589048 ] Erik van Oosten commented on WICKET-1534: - Nothing changes there. It is already

[jira] Commented: (WICKET-1484) class cast exception (String) in MixedParamUrlCodingStrategy with additional params with patch

2008-04-15 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12589084#action_12589084 ] Erik van Oosten commented on WICKET-1484: - An alternative is to replace

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-15 Thread Erik van Oosten
Haha, brilliant. Sometimes you forget the simple stuff :) Thanks Sebastiaan, Erik. Sebastiaan van Erk wrote: Shouldn't it work if you just override getLocale() on your admin base page to return your admin locale? Regards, Sebastiaan

Re: Expected mounting options

2008-04-15 Thread Erik van Oosten
to make it more compatible with e.g. UrlCompressingWebCodingStrategy. Regards, Erik. Erik van Oosten schreef: Hi, To my big surprise the following does not work -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Removing the jsessionid for SEO

2008-04-14 Thread Erik van Oosten
Hi Rüdiger, I would be very interested in the code. If you can not find a suitable repository, could you just do something simple like linking to a zip from a blog post? Regards, Erik. Rüdiger Schulz wrote: Hello everybody, I just want to add my 2 cents to this discussion. At

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-10 Thread Erik van Oosten
engine doesnt send a cookie back then the urls should be encoded with jsessionid and we get the session from that.. johan -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL

Re: Feature request: using @SpringBean outside Wicket request

2008-04-09 Thread Erik van Oosten
, * for URLs that are not handled by the WicketFilter. * * pThe filter name of the wicket filter is retrieved from the init parameter wicketFilterName. * * @author Erik van Oosten */ public class WicketApplicationFilter implements Filter { private WebApplication webApplication; public void

Re: Form submit button localization

2008-04-08 Thread Erik van Oosten
Hi Milan, You can use the wicket:message attribute as described on the Wicket wiki (search for xhtml). Regards, Erik. Milan Křápek wrote: Hi, I have just this simply questin. I am trying to localize my web pages to different languages. Because my pages are mainly composed by fomrs

Re: localizer and variables

2008-04-08 Thread Erik van Oosten
( email.forgotlogin.body , Login.this, new Model(), new Object[]{ user.getUserName(), user.getPassWord() } ).getString(); must I really do this for every string? -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Erik van Oosten
Hi, Is there a jira issue in which the topic is tracked? Regards, Erik. Edvin Syse wrote: (I wrote this email earlier this evening but forgot to send it it seems. Here it is:) When I ran with 1.3.0 I also had 1.3.3 on the classpath. I reverted to 1.3.2 30 minutes ago and still haven't

[jira] Commented: (WICKET-1329) AutoCompleteTextField's suggestion list *disappeared* when it is used inside a ModalWindow

2008-04-07 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12586447#action_12586447 ] Erik van Oosten commented on WICKET-1329: - When the fix in [WICKET-1355

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

2008-04-07 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12586448#action_12586448 ] Erik van Oosten commented on WICKET-1355: - The changes for bug [WICKET-1329

Re: AjaxEditableLabel default type

2008-04-05 Thread Erik van Oosten
on the ModelObject to create the label + read/write the Model? String should only be a fallback if no IConverter could be found? Best regards, --- Jan. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail

Re: Strange behaviour with autocomplete

2008-04-04 Thread Erik van Oosten
This may be related to the bug I reported in https://issues.apache.org/jira/browse/WICKET-1355. Maybe the attached fix works for you. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ David Leangen wrote: Hi, Using the standard wicket autocomplete widget, I

Re: Is there an AJAX Panel in Wicket

2008-04-03 Thread Erik van Oosten
I think AjaxLazyLoadPanel does the job exactly as you desribe it. Regards, Erik. kumark schreef: I was wondering if there is a AJAXPanel available in wicket. If a page has 10 panels with in it, I want all of them to load in an asynchronous fashion, which ever is available first and so

Re: export excel file via an OutputStream

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

Feature request: using @SpringBean outside Wicket request

2008-03-28 Thread Erik van Oosten
it be acceptable to change the filter such that has the option to set the application for each request? If so, I can easily provide a patch. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e

Re: Size of TextFilter TextField

2008-03-26 Thread Erik van Oosten
In that case I would add a class attribute to the input element in the html markup, and use CSS to style the width. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ Kai Mütz wrote: Erik van Oosten wrote: That depends on what size Kai meant. If you mean

Shared resources with parameters?

2008-03-25 Thread Erik van Oosten
resource that takes parameters that are extracted from the URL (similar to Page). But I could not find such a thing. I am now considering implementing a servlet, but I'd rather stay within the framework. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Shared resources with parameters?

2008-03-25 Thread Erik van Oosten
it serve you static images? Lars On Tue, Mar 25, 2008 at 10:18 AM, Erik van Oosten [EMAIL PROTECTED] wrote: Hi, I am looking for a way to serve many static images. It is important that I do not have to separately register them (as with SharedResources, as I understood) as there about

Re: Localization of DropDownChoice

2008-03-23 Thread Erik van Oosten
Hi Greeklinux, Please see my earlier reply on a similar question. http://www.nabble.com/DropDownChoice-getting-value-into-the-model-td15905486.html#a15906830 I am not sure the wiki page is correct. Regards, Erik. greeklinux wrote: Hello, I want to localize a DropDownChoice component. I

Re: setEscapeModelStrings to false as default

2008-03-20 Thread Erik van Oosten
more than 20 characters. I just don't want to call setEscapeModelStrings(false) for every text field on my application Thank you Marco -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e

Re: the wicket markup reference

2008-03-20 Thread Erik van Oosten
Do you mean http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html? Regards, Erik. Vitaly Tsaplin schreef: Hi everyone, Is there any wicket markup reference? Is it documented? Vitaly -- Erik van Oosten http://day-to-day-stuff.blogspot.com

Re: Amsterdam Community meeting 2008

2008-03-19 Thread Erik van Oosten
I have been keeping an eye on http://cwiki.apache.org/WICKET/wicket-community-meetups-amsterdam.html but it is not up to date. Regards, Erik. Martijn Dashorst wrote: Yes, it is tuesday april 8th. Martijn On 3/18/08, Uwe Schäfer [EMAIL PROTECTED] wrote: hi is there a definite Date

Re: Insert dynamic/external HTML string in a page

2008-03-19 Thread Erik van Oosten
, this failed... I just can't find any Component, that would fit here. Any sugestions on a component or alternate aproaches? Thanks and regards, Marko -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: How to pre-select a DropDownChoice

2008-03-17 Thread Erik van Oosten
http://cwiki.apache.org/WICKET/dropdownchoice.html Hoover, William wrote: Can you add this to the wiki (http://cwiki.apache.org/WICKET/dropdownchoice-examples.html)? It seems like a commonly asked question :o) - To

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Erik van Oosten
+1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to pre-select a DropDownChoice

2008-03-14 Thread Erik van Oosten
an example on how to use it. If you find something better, please let us know :) import org.apache.wicket.model.IChainingModel; import org.apache.wicket.model.AbstractWrapModel; import org.apache.wicket.model.IModel; import org.apache.wicket.model.IWrapModel; /** * * @author Erik van Oosten

Re: Ajax form validation... i can't get it work!

2008-03-12 Thread Erik van Oosten
Hi Daniel, You should really read http://java.sun.com/j2se/1.5.0/docs/api/java/util/ConcurrentModificationException.html. You'll find that you have some code that iterates over a collection, and within that iteration the collection is modified. Regards, Erik. Daniel Alonso wrote:

Re: DropDownChoice getting value into the model

2008-03-09 Thread Erik van Oosten
Hi Vitaly, That is correct. For primitive model values you need something like a map. I think the DropDownBox was more designed for complex data where the data to display is embedded in the model value itself. Anyway, how would the addition of an index argument to the display method help?

Re: How can I update the repeatingview periodically

2008-03-08 Thread Erik van Oosten
The problem is in the models of the labels. These are statically assigned once. fix: protected void populateItem(Item item) { item.setModel(new CompoundPropertyModel(item.getModel())); ThreadInfo threadInfo=(ThreadInfo)item.getModelObject();

Interesting markup question

2008-03-06 Thread Erik van Oosten
, is this desired behavior? FYI, this is my workaround: wicket:container wicket:id=menu/wicket:container add(new MenuPanel(menu)); and in MenuPanel.html: wicket:panel div class=menuBar ... /div /wicket:panel Regards, Erik. -- Erik van Oosten http://day-to-day

Re: Interesting markup question

2008-03-06 Thread Erik van Oosten
Hi Maurice, Nice, I did not think of the setRenderBody option. Thanks! Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ Maurice Marrink wrote: The logic thing would be to add the class to the div: div wicket:id=menu class=menuBar/div However i can see your point

Re: ajaxified dynamic lists as parts of bigger forms

2008-03-06 Thread Erik van Oosten
Hi Wojciech, I am sorry, it appeared I wrote too quickly. This morning I found out that what I wrote mostly does not work. You /can/ call processInput() on any form component (if not all). This will make that particular form component puts its value in the model. But any way, the nested forms

Re: ajaxified dynamic lists as parts of bigger forms

2008-03-05 Thread Erik van Oosten
in the form does not validate. You can optionally call form.validate() in the onSubmit of the button so that validation messages do not disappear. OT: personally, in forms I prefer RefreshingView instead of ListView. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com

Re: Markup Rendering issues

2008-03-05 Thread Erik van Oosten
with more specific questions. Mounting bookmarkable pages could indeed alleviate your problem. Mounting is typically done in the init() method of your application. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ Jörn Zaefferer wrote: Hi, I've got a few rendering

Re: Markup Rendering issues

2008-03-05 Thread Erik van Oosten
Hi Gin, I understand the reasoning. I have just never ever had any use for this debugging feature. Oh, well. It is only one line of code ;) Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ Gin Yeah wrote: -- Wicket tags This is all time high FAQ :) Do

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

2008-02-26 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik van Oosten updated WICKET-1355: Attachment: (was: wicket-autocomplete.js) Autocomplete window has wrong position

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

2008-02-26 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik van Oosten updated WICKET-1355: Attachment: wicket-autocomplete.js Removed the non-working attachment. The currently

gmap vs gmap2?

2008-02-23 Thread Erik van Oosten
Hello, What are the differences between the wicket-stuff projects gmap and gmap2? Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: gmap vs gmap2?

2008-02-23 Thread Erik van Oosten
into the code or wait for other opinions. mf ps.: gmap2 has the nicer powerpoint slides :-) http://www.slideshare.net/mfunk/wicket-contrib-gmap2/ 2008/2/23, Erik van Oosten [EMAIL PROTECTED]: Hello, What are the differences between the wicket-stuff projects gmap and gmap2? Regards

Re: (Server-independent) Comet support in Wicket?

2008-02-20 Thread Erik van Oosten
Jörn Zaefferer wrote: On Feb 20, 2008 3:50 AM, Erik van Oosten [EMAIL PROTECTED] wrote: Jörn Zaefferer wrote: ... The architecture must support several both dependent and independent components on a single page which get updated based on server-events, be it on schedules or events

Good news on Wicket in Action

2008-02-20 Thread Erik van Oosten
http://martijndashorst.com/blog/2008/02/20/wicket-in-action-fit-for-production/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: (Server-independent) Comet support in Wicket?

2008-02-19 Thread Erik van Oosten
. While the exact number of simultaneous users isn't clear yet, up to 10k must be possible with the appropriate hardware. That is quite huge, for any framework. Because of the way Wicket uses the HTTP session, you are probably best of with a Terracotta cluster. Regards, Erik. -- Erik van Oosten

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