gmap2 opera slow
Hello, I have noticed that in opera gmap2 is more slow that in FF. I have checked maps.google.com and it seems to be faster. Does any1 know what could be the cause of the problem? Thank you
DateField problem
Hello, I have a strange problem if I enter to a date field date, from example 2.3.2110 then it will be converted to 2.3.10. Does anyone know how to solve the problem? Thank you
Model for ResourceLink
Hi, I need to update ResourceLink when pagination is changed. How is it possible to pass model to a ResourceLink? I'm using wicket 1.3.6, but I think it should be also the same for other releases. Thank you
document onkeypress onkeydown
Hello, How is it possible to add event behavior for the document? I tried this one, but it didn't work: add(new AjaxEventBehavior(onkeypress){ @Override protected void onEvent(final AjaxRequestTarget target) { LOG.debug(keypress); } });
ResourceLink and LoadableDetachableModel
Hello, I'm using paging on my page and I need to reload parameter list of a ResourceLink after the page changed. Code: ResourceLink csvLink = new ResourceLink(csvLink, new ResourceReference(CsvResource.ID), params); There is no model for that object, how is it possible csvLink parameters of the page?
TabbedPanel no IModel?
Hello, I need to use LoadableDetachableModel to retrieve list from the database when locale has been changed. I haven't found a costructor that took IModel as a parameter in the TabbedPanel component. How is it possible to reload the list without model? Thank you in advance
Wicket based open source projects
Hello, Is there any wicket based Open Source projects? Thank you
Localize a string using custom locale
Hello, For example I need to localize a string to defferent languages. How is it possible to localize using a custom locale? I found that a method in Localizer class, but it's deprecated: public String getString(final String key, final Component component, final IModel model, final Locale locale, final String style, final String defaultValue) Thank you.
Re: Wicket based open source projects
It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket based open source projects
My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.comwrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket based open source projects
Phonebook is a good example. It's not a product or a public site, it's an open source site. Matias Berrueta, reinventing the wheel is really a good way to understand how does it work, but it's not guaranteed that your architecture is better than any other. I wish to see how to combine OSGi + Hibernate + Wicket, I haven't managed :-) On Fri, Nov 27, 2009 at 5:51 PM, Matias Berrueta matiasberru...@gmail.comwrote: https://www.ohloh.net/p?query=wicket the best way to learn architecture, is take a book and start yours project Matias Berrueta On Fri, Nov 27, 2009 at 12:46 PM, Pedro Santos pedros...@gmail.com wrote: about phonebook on wicket stuff? On Fri, Nov 27, 2009 at 1:44 PM, Pierre Goupil goupilpie...@gmail.com wrote: +1: reading good Wicket-based source code wolud be a good spare-time activity. :-) I gave JTrac a try but it's 1.3 based. So for now, I don't know where to look: either you've got big apps, either you've got the scattered Wicket documentation. :-( On Fri, Nov 27, 2009 at 4:34 PM, Juri Prokofiev proj...@gmail.com wrote: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Pedro Henrique Oliveira dos Santos
BookmarkablePageLink with https
Hello, How is it possible to generate BookmarkablePageLink with secured protocol https? Thank you
wicket default locale
Hello, How to set a default locale for the application? It works for me, but I guess it should be more common: @Override public Session newSession(Request request, Response response) { Session session = super.newSession(request, response); session.setLocale(new Locale(et)); return session; } Thank you
image inside wicket:link tag
Hello, wicket:link a href=ApplicationPage.htmlimg src=img/id.gif / ID/a /wicket:link When I click the link then image is shown. For some reason src=img/id.gif interpretates as a link. How to solve the problem? Wicket 1.4.1 Thank you
Re: image inside wicket:link tag
I see it's a new feature in 1.4.x. Maybe I could fix it? :-/ On Fri, Oct 2, 2009 at 9:44 AM, Gatos ega...@gmail.com wrote: Hello, wicket:link a href=ApplicationPage.htmlimg src=img/id.gif / ID/a /wicket:link When I click the link then image is shown. For some reason src=img/id.gif interpretates as a link. How to solve the problem? Wicket 1.4.1 Thank you
Choose one
After I choose something in DropDownChoice then 'Choose one' item is removed from the list. If I will try to use setNullValid(true) then 'Choose one' string is replaced with '' (emptry string). How is it possible to display 'Choose one' if another item has been selected?
Re: Choose one
Is it possible to reuse existing translation - I like 'Choose one'? If my app has 32 languages, then I should create 32 records in each file? On Thu, Aug 27, 2009 at 3:58 PM, Dipu dipu@googlemail.com wrote: add this in your .properties file yourForm.yourDropDownId.nullValid = Choose One (or what ever you want to appear) regards On Thu, Aug 27, 2009 at 1:45 PM, Gatosega...@gmail.com wrote: After I choose something in DropDownChoice then 'Choose one' item is removed from the list. If I will try to use setNullValid(true) then 'Choose one' string is replaced with '' (emptry string). How is it possible to display 'Choose one' if another item has been selected? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Choose one
Thank you. The case is solved. Maybe it would be a good idea to add nullValid to Wicket global translation files, then it won't be needed to create a new record in my file. nullValid could be used if I wan't something to override. It's something similar to Convention over Configuration. On Thu, Aug 27, 2009 at 4:12 PM, Matthias Keller matthias.kel...@ergon.chwrote: Hi The implementation tries these keys: getId() + .nullValid nullValid So you could also have a global 'nullValid' entry somewhere in your resources which would be the default for ALL AbstractSingleSelectChoices such as DropDownChoice and RadioChoice Matt Gatos wrote: Is it possible to reuse existing translation - I like 'Choose one'? If my app has 32 languages, then I should create 32 records in each file? On Thu, Aug 27, 2009 at 3:58 PM, Dipu dipu@googlemail.com wrote: add this in your .properties file yourForm.yourDropDownId.nullValid = Choose One (or what ever you want to appear) regards On Thu, Aug 27, 2009 at 1:45 PM, Gatosega...@gmail.com wrote: After I choose something in DropDownChoice then 'Choose one' item is removed from the list. If I will try to use setNullValid(true) then 'Choose one' string is replaced with '' (emptry string). How is it possible to display 'Choose one' if another item has been selected? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Resource without sessionId
Igor, You're right! This 302 depends on server or server configuration. For example tomcat just sets cookie without redirect. I guess the correct question will be - how to generate url without sessionId from WebResource? I'm trying to generate url to an application page from a .csv file. If I request .csv file from a browser that doesn't support cookies then links in this file are generated with jsessionid. String url = RequestCycle.get().urlFor(AnnouncementViewPage.class, pageParams).toString(); String absoluteUrl = RequestUtils.toAbsolutePath(url); On Wed, Jul 29, 2009 at 6:50 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: doesnt look like that url is even handled by wicket -igor On Tue, Jul 28, 2009 at 12:16 AM, Gatosega...@gmail.com wrote: When I try to request a resource using url http://domain.com/resource.csv then I get 302 to http://domain.com/resource.csv;jsessionid=joiadfadsfad and all generated links it csv file with 'jsessionid' parameter. How to use resource without sessionid? Thank you - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Resource without sessionId
help anyone? :P On Tue, Jul 28, 2009 at 10:16 AM, Gatos ega...@gmail.com wrote: When I try to request a resource using url http://domain.com/resource.csv then I get 302 to http://domain.com/resource.csv;jsessionid=joiadfadsfad and all generated links it csv file with 'jsessionid' parameter. How to use resource without sessionid? Thank you
Resource without sessionId
When I try to request a resource using url http://domain.com/resource.csv then I get 302 to http://domain.com/resource.csv;jsessionid=joiadfadsfad and all generated links it csv file with 'jsessionid' parameter. How to use resource without sessionid? Thank you
executing wicketSubmitFormById
Hello, Wicket lovers! I'm trying to execute wicketSubmitFormById from my custom function. Function itselft looks like this: function wicketSubmitFormById(formId, url, submitButton, successHandler, failureHandler, precondition, channel) I have examined the ajax submit button and it has the following event handler: onclick=var wcall=wicketSubmitFormById('id14', '?wicket:interface=:4:tabs:panel:languageForm:ajaxSubmitButton:1:IActivePageBehaviorListener:0:amp;wicket:ignoreIfNotActive=true', 'ajaxSubmitButton' ,null,null, function() {return Wicket.$$(this)amp;amp;Wicket.$$('id14')}.bind(this));;; return false; How is it possible to get formId, url from my custom function? Have an outstanding day
Re: executing wicketSubmitFormById
I have temporary solved problem calling onclick function: document.getElementById('ajaxSubmitButton').onclick() Does anyone know any better solution? On Mon, Jul 27, 2009 at 1:02 PM, Gatos ega...@gmail.com wrote: Hello, Wicket lovers! I'm trying to execute wicketSubmitFormById from my custom function. Function itselft looks like this: function wicketSubmitFormById(formId, url, submitButton, successHandler, failureHandler, precondition, channel) I have examined the ajax submit button and it has the following event handler: onclick=var wcall=wicketSubmitFormById('id14', '?wicket:interface=:4:tabs:panel:languageForm:ajaxSubmitButton:1:IActivePageBehaviorListener:0:amp;wicket:ignoreIfNotActive=true', 'ajaxSubmitButton' ,null,null, function() {return Wicket.$$(this)amp;amp;Wicket.$$('id14')}.bind(this));;; return false; How is it possible to get formId, url from my custom function? Have an outstanding day
Re: urls with localization
I'm using wicket 1.3.5 and RequestDecorator could not be found. On Mon, Jul 27, 2009 at 1:05 PM, Alex Objelean alex_objel...@yahoo.comwrote: There is another thread where I have posted a link with implementation (which is currently in production)... so, you can just reuse it: http://www.nabble.com/Is-IRequestTargetUrlCodingStrategy-needed-for-mapping-bookmarkable--URLs--td24407411.html#a24409330 Alex Objelean Gatos wrote: Hello, How is it possible to use such urls in wicket? If users clicks that link then appropriate page with defined locale will be shown. www.domain.com/uk/home www.domain.com/nl/home Thank you -- View this message in context: http://www.nabble.com/urls-with-localization-tp24676709p24677616.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org