Re: wicket-spring dependency in maven repository

2008-04-18 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 :) http://cwiki

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

2008-04-18 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

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

2008-04-18 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: StringResourceModel with unknown array parameters

2008-04-18 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: 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-stuf

Re: client side handling of ajax request session expiration

2008-04-17 Thread Erik van Oosten
gt; getApplicationSettings().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? > > -- Er

[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-tabpanel&focusedCommentId=12589834#action_12589834 ] Erik van Oosten commented on WICKET-1534: - After a small investigation I f

Re: [Radiant] Anyone interested in an e-mail management extension?

2008-04-15 Thread Erik van Oosten
Hi, Since I received a couple of requests, I put the code on google code: http://code.google.com/p/radiantpostfixextension/ Please note that anyone that provides a patch gets commit rights. Regards, Erik. Erik van Oosten wrote: Hi, About half a year ago I finished (with help from Ruby

[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-tabpanel&focusedCommentId=12589122#action_12589122 ] Erik van Oosten commented on WICKET-1534:

[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-tabpanel&focusedCommentId=12589084#action_12589084 ] Erik van Oosten commented on WICKET-1484: - An alternative is to replace

[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-tabpanel&focusedCommentId=12589048#action_12589048 ] Erik van Oosten commented on WICKET-1534: - Nothing changes there. It is alr

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

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

2008-04-15 Thread Erik van Oosten (JIRA)
Components: wicket Affects Versions: 1.3.3 Reporter: Erik van Oosten Fix For: 1.4-M1 Attachments: VersatileWebRequestCodingStrategy.java It is currently not possible to mount multiple URL coding strategies on the same mount path. However, in combination with

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

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

Expected mounting options

2008-04-15 Thread Erik van Oosten
the same mount path, in the order they were mounted? Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Erik van Oosten
Johan Compagner wrote: > So then we should give a Page a locale field. I am in favour of doing this, even if Sebastiaan's problem is solved differently. I have a part of my site that is multilingual (the public pages), and another part is not (the admin screens, in English). Unfortunately when the

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 In

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

2008-04-09 Thread Erik van Oosten
wicket sessions that tomcat sessions >> Do you have multiply apps deployed on that server? >> >> if a search engine doesnt send a cookie back then the urls should be >> encoded with jsessionid >> and we

Re: Feature request: using @SpringBean outside Wicket request

2008-04-09 Thread Erik van Oosten
, * for URLs that are not handled by the WicketFilter. * * The 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 init

[Radiant] Anyone interested in an e-mail management extension?

2008-04-09 Thread Erik van Oosten
ed in extending the extension :) Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcm

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 s

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 and

Re: localizer and variables

2008-04-08 Thread Erik van Oosten
StringResourceModel( "email.forgotlogin.body" , Login.this, new > Model(), new Object[]{ user.getUserName(), user.getPassWord() } > ).getString(); > > must I really do this for every string? > -- Erik van

[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-tabpanel&focusedCommentId=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-tabpanel&focusedCommentId=12586448#action_12586448 ] Erik van Oosten commented on WICKET-1355: - The changes for bug [WICKET-

Re: AjaxEditableLabel && default type

2008-04-05 Thread Erik van Oosten
tor 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 unsubscri

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
Oops, AjaxLazyLoadPanel is not asychronous. Wicket does not have the ability to do more then one request concurrently within the same session. They are pipelined. (Sorry for previous message, pressed send too soon.) Regards, Erik. kumark schreef: > I was wondering if there is a AJAXPanel av

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-01 Thread Erik van Oosten
here is very pleasant or obvious to use. 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]

Re: Feature request: using @SpringBean outside Wicket request

2008-03-28 Thread Erik van Oosten
ure built in. Look at their @Configurable > annotation support. > > On Fri, Mar 28, 2008 at 7:33 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> I love @SpringBean so much that I would like to use it outside Wicket >> requests as wel

Feature request: using @SpringBean outside Wicket request

2008-03-28 Thread Erik van Oosten
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 the

Re: Size of TextFilter TextField

2008-03-26 Thread Erik van Oosten
text field. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ greeklinux schreef: Hello, why do you want to set the size of a textfield via java? I think it is better to use CSS for presentation stuff. Kai Mütz wrote: Hi, I want to set the size of a

Re: Shared resources with parameters?

2008-03-25 Thread Erik van Oosten
nt and let 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 separ

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

[jira] Commented: (WICKET-1441) TabbedPanel does not refresh unless you call setSelectedTab

2008-03-23 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581363#action_12581363 ] Erik van Oosten commented on WICKET-1441: - Wow, that is quick 'wont fix&

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 r

[jira] Created: (WICKET-1441) TabbedPanel does not refresh unless you call setSelectedTab

2008-03-21 Thread Erik van Oosten (JIRA)
Components: wicket Affects Versions: 1.3.2 Reporter: Erik van Oosten When you replace the currently selected tab (e.g. something like tabbedPanel.getTabs().set(0, new ...)), the tabbed panel is not refreshed. (Observed with code in the onsubmit of a form.) Workaround: call

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

Re: setEscapeModelStrings to false as default

2008-03-20 Thread Erik van Oosten
#x27;>' and when > try to save the field will have 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.blogsp

Re: Insert dynamic/external HTML string in a page

2008-03-19 Thread Erik van Oosten
L entities, 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: 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: [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-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) > > > -

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

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? Rega

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();

Re: DropDownChoice getting value into the model

2008-03-07 Thread Erik van Oosten
Hello Vitaly, That is not true, you are thinking to complicated (I did in the past as well). If you want to set an integer on the model, then the choices must be a list of integers. In addition you set an IChoiceRenderer that can display the integer as a sensible string. Regards, Erik.

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 see

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: > > > However i can see your point of adding it to if y

Interesting markup question

2008-03-06 Thread Erik van Oosten
YI, this is my workaround: add(new MenuPanel("menu")); and in MenuPanel.html: ... Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL

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

Re: Markup Rendering issues

2008-03-05 Thread Erik van Oosten
h the lists and ask again 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 wr

Re: ajaxified dynamic lists as parts of bigger forms

2008-03-05 Thread Erik van Oosten
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

[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

[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

Re: gmap vs gmap2?

2008-02-23 Thread Erik van Oosten
o look 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

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

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

Re: Page serialization and reloading don't get on

2008-02-19 Thread Erik van Oosten
es as obscure page expiration issues that are hard to trace if you don't know where to look. Regards -Carlos -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For

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 O

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

2008-02-18 Thread Erik van Oosten (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569925#action_12569925 ] Erik van Oosten commented on WICKET-1355: - Attached code is not yet cor

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

2008-02-18 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 A fix for the problem. > Autocomplete window

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

2008-02-18 Thread Erik van Oosten (JIRA)
Components: wicket-extensions Affects Versions: 1.3.1 Reporter: Erik van Oosten Fix For: 1.3.2 Attachments: wicket-autocomplete.js When the autocompleted field is located in a scrolled div, the drop-down window is positioned too far down. -- This message is

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

2008-02-17 Thread Erik van Oosten
e changes in indentation or comments. I am afraid the whole deal is by > now > cast in stone, with the key thrown to the bottom of an unnamed ocean. > > Chris wrote: >> Are there any plans on making a java 5 version of SLF4j (particularly to >> make >> use of varargs)? &g

Re: Switching locales with the same link

2008-02-13 Thread Erik van Oosten
Erik van Oosten wrote: Indeed, that's what I did too. Hmm, but the rest was crap I now see. Anyway, glad it got you on the right track. Erik. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Switching locales with the same link

2008-02-13 Thread Erik van Oosten
Indeed, that's what I did too. Martijn, mt is Maltese, now that's is something you don't see often in the Netherlands :) Erik. Sebastiaan van Erk wrote: Like in the code given, you can just use : HomePage.this.getString("header.versionLanguage") in the anonymous inner class instead of

Re: Switching locales with the same link

2008-02-13 Thread Erik van Oosten
Hi Peter, Yes, you can do this. Suppose the link is in LocalePanel, then LocalePanel.properties: other_locale: nl_NL LocalePanel_en.properties: other_locale: en_US LocalePanel.java: add(new Link("localeLink", new Model() { public Object getObject() { Locale l = new Locale(LocalePane

Re: New tooltip component I have created

2008-02-10 Thread Erik van Oosten
Nice! You can request commit access to wicket-stuff on this list. You'll need a sourceforge account. Regards, Erik. richardwilko wrote: Hi, Thanks to the London wicket user group that I attended the other day I have created a wicket behaviour to use the prototip javascript library (htt

Re: Some questions - mainly about session expiration and serialization

2008-02-06 Thread Erik van Oosten
Hi Fabrizio, In 1.3 everything is serialized to disk at some time. So'll have to make things serializable, whether you are clustering or not (even with Terracotta). Secondly, I very very very strongly recommend detachable models. Let me repeat, I really recommend detachable models. Large, or

Re: nice URLs

2008-02-05 Thread Erik van Oosten
sion. The page state gets too complicated to be encoded in URL. > > -Matej > > On Feb 5, 2008 12:25 PM, Gabor Szokoli <[EMAIL PROTECTED]> wrote: > >> On 2/5/08, Erik van Oosten <[EMAIL PROTECTED]> wrote: >> >>> Hi Johan, >>> >>>

Re: nice URLs (was: Short Design Question)

2008-02-05 Thread Erik van Oosten
issue that should work for example jump to a > specific artical or forum topic. > > johan > > > > On Feb 5, 2008 10:10 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > > >> Actually, I currently have a client who thinks that good looking URLs >> are very

Re: Short Design Question

2008-02-05 Thread Erik van Oosten
Actually, I currently have a client who thinks that good looking URLs are very important. Then again, he is no average joe either. Erik. Martijn Dashorst wrote: > The average joe doesn't look at the URL... only developers do > Martijn > > > --

Re: Pagemap null is still locked by blah exception, help!! why does wicket have to lock the pagemap

2008-01-31 Thread Erik van Oosten
Ah, the wonders of Weblogic. My first Wicket app runs on Weblogic. A big problem was that the datasource connection fell away after some time of inactivity. We solved it by letting Weblogic run a test query every x minutes. We also ran into very long lasting queries. Where database optimizations d

Move WICKET-1307 to 1.3.1?

2008-01-31 Thread Erik van Oosten
Hello, Could WICKET-1307 be moved to release 1.3.1? Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/

Re: [discuss] Mailing list usage...

2008-01-29 Thread Erik van Oosten
Scott Swank wrote: If the user groups are split onto a separate thread I would like to see meeting announcements cross-posted to this list so that it's as easy as possible for new users to find the meetings. That kinds of defeats the purpose. So not splitting would be better IMHO. Erik.

Re: client side validation

2008-01-27 Thread Erik van Oosten
That doesn't work. Sometimes you want to add multiple behaviors to the same event. Wicket doesn't support that. Erik. James Carman wrote: > So, create an IComponentInstantiationListener that looks for Forms and > adds the behavior to them. > > > --

Re: Label is driving me a *little* crazy

2008-01-26 Thread Erik van Oosten
Try removing the id attributes from the markup. Wicket likes to generate this for itself. You'll also need to add a FormLabel (or something named like that) to the element. Regards, Erik. Andy Czerwonka wrote: I found this thread: http://www.mail-archive.com/users@wicket.apache.org/msg

Re: openlayers

2008-01-25 Thread Erik van Oosten
http://openlayers.org/ My summary: A javascript library to combine spatial information from different sources on one page. Nick Heudecker wrote: > What is openlayers? > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: Localization

2008-01-23 Thread Erik van Oosten
web pages are using the same classes in the css file. Is it possible to have both css files(style.css and style_tw.css) in a seperate folder. This applies for only css files and not property files which I would be happy to keep in the same folder as the html and java files. Thanks Erik van Oo

Re: Localization

2008-01-23 Thread Erik van Oosten
You can call: getSession().setLocale(new Locale("en", "US")) In the Java javadocs (http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html) you find references to language and country codes. Language code "ta" means Tamil so that is probably not what you want. Country Taiwan is represent

Re: PageParameters mess up my strings

2008-01-23 Thread Erik van Oosten
Hi Ulf, You use non iso8859-1 characters in the Java file. That is fine as long as you are sure you safe the file in UTF-8. Nowadays you should be allowed to use UTF-8 in URLs. But don't count on it too much yet. Edvin's solution looks safer. However, since you said that the problem only oc

Re: Different views in wicket

2008-01-21 Thread Erik van Oosten
Mathias P.W Nilsson schreef: I don't understand your reply. Can you please explain? Each template (html) file can come in variations. E.g HomePage_green.html. In HomePage.java you can call setVariation("green"). Does that help? Regards, Erik.

Re: How to catch unknown (not mounted) URLs?

2008-01-18 Thread Erik van Oosten
Super! Exactly what I needed. Thanks! Erik. Igor Vaynberg schreef: > as far as having /username > > i recently had to do this for a cms im building. here is my quick hack > i used to get it working until i have time to revisit it... > > the code below is from the webapp subclass, the way

How to catch unknown (not mounted) URLs?

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

Re: Autocomplete setResponsePage in ajax request

2008-01-17 Thread Erik van Oosten
Hi Conny, I think you can open a Jira issue. Please attach a quickstart project that demonstrates the problem. Regards, Erik. ckuehne wrote: I call setRespongePage() in the ajax onchange handler of the autocomplete field. The behavior seems buggy in the case when the user did not select

Re: [Radiant] Drag and drop reorder extension

2008-01-16 Thread Erik van Oosten
Sean Cribbs wrote: > I'm sure the community would appreciate it. Indeed. I even skipped an upgrade for one of my sites because of this extension. Thanks Keith! Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ ___

Re: Javascript call to wicket

2008-01-13 Thread Erik van Oosten
I did not find the results of this thread on the Wiki yet, so I created the following page: http://cwiki.apache.org/confluence/display/WICKET/Calling+Wicket+from+Javascript Comments and edits are appreciated. There is a TODO on the page for providing an example that adds Javascript to the heade

Supported browsers on Wiki still up to date?

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

Re: Per-Deployment Variation

2008-01-10 Thread Erik van Oosten
Just make sure that the html elements with a wicket:id in the different html versions have the same hierarchical structure. If you need to skip some components for one language but not another it becomes a bit harder. Then you'll actually need to add an invisible component for the language in whic

Re: Javascript call to wicket

2008-01-08 Thread Erik van Oosten
Nice to see a more structured approach. Do you have a small JavaScript example that shows how to call the behavior URL? Can you also explain (or reference docs/examples) how to pass parameters from javascript to the behavior? Regards, Erik. Michael Sparer wrote: hi, - your componen

Re: Javascript call to wicket

2008-01-08 Thread Erik van Oosten
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 inputEl = document.getElementById('anchor8'); inputEl.value = someValue; eval(inputEl.getAttri

Re: Referring Page links to a deployed context

2008-01-07 Thread Erik van Oosten
Try this first: mount(new IndexedParamUrlCodingStrategy("firstPage", FirstPage.class, null)); (no slash in front of firstPage) Regards, Erik. mbelarbi wrote: > Hi, > > If my app (MyTest) is the root context everything runs smoothly. This is > because in my "MyTestApplication" class, in the cons

Re: external login pages

2008-01-04 Thread Erik van Oosten
Hi Alex, Normally you can throw a special exception, the RestartResponseAtInterceptPageException. Unfortunately I do not think this will work when the intercept page is external to Wicket. So the only thing you can do, is put the original URL in a parameter to the perl page, and let the perl page

Re: Migrating from Wicket1.2 to Wicket1.3

2008-01-02 Thread Erik van Oosten
http://cwiki.apache.org/WICKET/migrate-13.html yyj wrote: I am using Wicket1.2. and want to migrate from wicket1.2 to wicket1.3. what the changes should be done in web.xml to access the project in tomcat? I have created web.xml for wicket1.3 with the respected changes but it gives error 'The r

Re: [Radiant] Can't see pages - after page_edit_dates install

2007-12-27 Thread Erik van Oosten
page_edit_dates extension again but it didn't solve the > problem. > > The extension never showed up on the extension page. > Any ideas to what i can do to make my site work again. And any ideas to how > i will get the functionality of page_edit_dates without ruining my site are

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