Re: DropDownChoice.onSelectionChanged() in ModalWindow

2009-08-07 Thread Martin Makundi
ModalWindow supports only AJAX behavior. You must add OnChangeAjaxBehavior onto the dropdown and NOT wantOnSelectionChangedNotifications(). dropdown.add(new OnchangeAjaxBehavior() { onUpdate() {... } }); ** Martin 2009/8/7 Petr Fejfar petr.fej...@gmail.com: Hi all, I have a DropDownChoice

Re: WicketByExample.com - Soft launch and we need editors

2009-08-07 Thread Andrew Lombardi
Quick note, those of you that have submitted an example via the form, or requested to become an editor via the form, there was some error with the plugin doing the contacting ... which has been fixed. feel free to re-submit at your leisure. cheers! On Aug 4, 2009, at 8:02 PM, Andrew

Re: add a default-gray-text to AutoCompleteTextField

2009-08-07 Thread glooorrryyy
I've got the solution. I have to send the markup-id to the jquery code. Looks like the markup-id is changed from the predefined one. glooorrryyy wrote: Why couldn't I set default gray text (like in Google search input field) for an AutoCompleteTextField? The fact is, I could do this to

Re: DropDownChoice.onSelectionChanged() in ModalWindow

2009-08-07 Thread Petr Fejfar
On Fri, Aug 7, 2009 at 8:03 AM, Martin Makundimartin.maku...@koodaripalvelut.com wrote: You must add OnChangeAjaxBehavior onto the dropdown and NOT wantOnSelectionChangedNotifications(). I see... I fixed it following you recommendation. Thanks for prompt help. -- Anyway, I'm still fighting

Re: DropDownChoice.onSelectionChanged() in ModalWindow

2009-08-07 Thread Martin Makundi
I've AjaxButton on my form in the modal window hidden at the beginning: But the button is not shown event if setVisible() is set to true. What I'm missing now? Look at Wicket Debug console in your browser. You will probably see that canont replace hidden component with visible component

Re: DropDownChoice.onSelectionChanged() in ModalWindow

2009-08-07 Thread Petr Fejfar
On Fri, Aug 7, 2009 at 8:39 AM, Martin Makundimartin.maku...@koodaripalvelut.com wrote: hidden component not found.. naturally. So in order for  the hidden component to exist in the HTML DOM tree even if it is HIDDEN, you must set: ... still thinking like in Desktop world :'( Thanks for

wicket 1.2.7 to 1.4-rc5 Error

2009-08-07 Thread Gerald Fernando
Hello Friends, previously i used wicket 1.2.7 jar wicket extension 1.2.7 jar and servlet-api-2.5-6.0.1.jar my wicket page is worked well. now i have changed wicket 1.4-rc5. jar wicket extension 1.4-rc5. jar and servlet-api-2.5-6.0.1.jar my web.xml written like this ?xml version=1.0

AW: wicket 1.2.7 to 1.4-rc5 Error

2009-08-07 Thread Greven, Jens
Gerald, You need to include slf4j.jar. As far as I understand it, slf4jar is only a wrapper for a logging framework of your choice, let's assume you use log4j for logging, you would also have to include slf4-log4j12.jar. I use the follwing: slf4j-api-1.5.8.jar slf4j-log4j12-1.5.8.jar

Re: wicket 1.2.7 to 1.4-rc5 Error

2009-08-07 Thread Martijn Dashorst
We have migration guides available that explain this, and other stuff as well. http://cwiki.apache.org/WICKET/migrate-13.html http://cwiki.apache.org/WICKET/migrate-14.html Martijn On Fri, Aug 7, 2009 at 11:17 AM, Gerald Fernandogerald.anto.ferna...@gmail.com wrote: Hello Friends, previously

Re: DataView/IDataProvider/Detach

2009-08-07 Thread Robin Sander
Hi, correct me if I'm wrong, Igor, but I thought detach() is used to keep the model memory footprint low *between requests* and Serialization is a total different story. If I mark a field as transient I don't have to nullify it in detach(). For example using a IDataProvider for pagination:

Re: Help us release 1.4 sooner by helping out with the migration guide

2009-08-07 Thread Major Péter
Hmm... On the Wiki page did you forgot the LinkTree modification, or isn't that so relevant, to put it on wiki? Also it is strange that there are two wiki pages for migrating guide: http://cwiki.apache.org/WICKET/migrate-14.html and

Re: wicket 1.2.7 to 1.4-rc5 Error

2009-08-07 Thread Gerald Fernando
Hi Jens, how to get these jar files and where to include it? please give me urgent solution ThanksRegards, Gerald A 2009/8/7 Greven, Jens jgre...@pma.de Gerald, You need to include slf4j.jar. As far as I understand it, slf4jar is only a wrapper for a logging framework of your choice, let's

Re: wicket 1.2.7 to 1.4-rc5 Error

2009-08-07 Thread Martin Makundi
Are you using Maven? That's the easiest solution. Otherwise you can try to google jar finder. ** Maritn 2009/8/7 Gerald Fernando gerald.anto.ferna...@gmail.com: Hi Jens, how to get these jar files and where to include it? please give me urgent solution ThanksRegards, Gerald A 2009/8/7

Re: wicket 1.2.7 to 1.4-rc5 Error

2009-08-07 Thread Gerald Fernando
I am not using Maven. am just using only the apache tomcat. so according to you i have to get the following files in Google slf4j-api-1.5.8.jar slf4j-log4j12-1.5.8.jar log4j-1.2.14.jar am i correct?? shall i down load it from google?? ThanksRegards, Gerald A 2009/8/7 Martin Makundi

RE: wicket 1.2.7 to 1.4-rc5 Error

2009-08-07 Thread Greven, Jens
Hi Gerald, Have a look at http://logging.apache.org/log4j/1.2/download.html and http://www.slf4j.org/download.html. Rgds Jens -Original Message- From: Gerald Fernando [mailto:gerald.anto.ferna...@gmail.com] Sent: Friday, August 07, 2009 1:12 PM To: users@wicket.apache.org Subject:

How To Kill Previous Page

2009-08-07 Thread Carlo Camerino
Hi, I would like to ask if it's possible to kill the previous page out of the pagestore. I have this requirement in which i have a view screen which can be able to delete or edit an entity. My problem is that when the client copies the url and pastes it back the client can go back to the

Re: How To Kill Previous Page

2009-08-07 Thread Alex Objelean
getPage().getPageMap().remove(); ? Alex Objelean carlo c wrote: Hi, I would like to ask if it's possible to kill the previous page out of the pagestore. I have this requirement in which i have a view screen which can be able to delete or edit an entity. My problem is that when the

Re: Can I send a parameter value to RequestCycle?

2009-08-07 Thread marius1maru
Thank you Igor and Alex for your answers. I managed to send the itemId parameter to WebRequestCycle, by modifying the URL inside wicketAjaxGet, generated by AjaxLink. The code looks like this: c.add(new AbstractBehavior() { @Override

Re: Help us release 1.4 sooner by helping out with the migration guide

2009-08-07 Thread Erik van Oosten
If I remember correctly: the first link should be use. The second can be edited and will be copied to the first after each change. If the pages are not equal, something went wrong with the copy process. Re. LinkTree: every change should be on this page. Please add it. Regards, Erik. Major

Creating a blog engine with templates using Wicket

2009-08-07 Thread Kent Larsson
Hi, I've used Wordpress for some blogging, but I've never really felt comfortable with it. I'd like to create something myself, for my own personal use to begin with (but there is no reason for me not to make it free (as in speech). Some thoughts: - Plugins could be created using Wicket - I

Re: DataView/IDataProvider/Detach

2009-08-07 Thread Gabi Kaltman
Hi Robin, If I understood correctly, your question is: why nullifying in detach() a transient field? The only answer I see is related to your observation: memory footprint and serialization are 2 different aspects. So, when one implements an IDataProvider , one should deal with both aspects

Re: Creating a blog engine with templates using Wicket

2009-08-07 Thread Martijn Dashorst
Take a look at brix cms components, and possibly elephas for inspiration... Martijn On Fri, Aug 7, 2009 at 2:47 PM, Kent Larssonkent.lars...@gmail.com wrote: Hi, I've used Wordpress for some blogging, but I've never really felt comfortable with it. I'd like to create something myself, for

Re: Creating a blog engine with templates using Wicket

2009-08-07 Thread Andrew Lombardi
Take a look at the Brix CMS. All built in Wicket, might be just what the doctor ordered. On Aug 7, 2009, at 5:47 AM, Kent Larsson wrote: Hi, I've used Wordpress for some blogging, but I've never really felt comfortable with it. I'd like to create something myself, for my own personal use

Re: WicketByExample.com - Soft launch and we need editors

2009-08-07 Thread David Brown
I have been back to the site with the target in mind to look for the wicketbyexample wish-list. But, the cupboard was bare. Any plans? - Original Message - From: Andrew Lombardi and...@mysticcoders.com To: users@wicket.apache.org Sent: Friday, August 7, 2009 1:08:50 AM GMT -06:00

Re: wicket 1.2.7 to 1.4-rc5 Error

2009-08-07 Thread Gerald Fernando
Hi Jens,Martin,Greven i have successfully run my first application in wicket 1.4 . Thanks for your kind co-operations. Finally i included the jar files mentioned by Jens i got my first Application. i need some examples to improve my wicket knowledge,so if anyone has, please give some modal

Re: WicketByExample.com - Soft launch and we need editors

2009-08-07 Thread Andrew Lombardi
Would be more than happy to start a wish-list page! You want to start with your list and we can check 'em off? On Aug 7, 2009, at 6:23 AM, David Brown wrote: I have been back to the site with the target in mind to look for the wicketbyexample wish-list. But, the cupboard was bare. Any

Re: DataView/IDataProvider/Detach

2009-08-07 Thread Igor Vaynberg
detach() is used to detach any state at the end of request. this can include memory related, serialization related tasks, whatever other tasks the component needs. if you mark the field as transient, then indeed you do not have to null it out in ondetach - at least not for serialization reasons,

Re: Problem with Palette

2009-08-07 Thread Elad Katz
egolan74 wrote: I guess you've checked that selectedEvents is not empty? yes, they both have stuff in them egolan74 wrote: If it's not, I think you should check your model representing the choices. What do you mean check? egolan74 wrote: BTW, AFAIK, the selected choices should

RE: can not close the modal window any more.

2009-08-07 Thread Jing Ge (Besitec IT DEHAM)
Hello, Has anyone any solution? Best regards! Jing -Original Message- From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] Sent: Donnerstag, 6. August 2009 16:53 To: users@wicket.apache.org Subject: can not close the modal window any more. Hello all, Maybe this is a known

LoadableDetachableModel/Serialization Problem

2009-08-07 Thread Mostafa Mohamed
we're working on wicket/spring/hibernate application (a research repository). my SortableDataProvider looks like this. public class PublicationDataProvider extends SortableDataProvider { private IBrowseService browseService; private Class? type; public PublicationDataProvider() {};

Re: LoadableDetachableModel/Serialization Problem

2009-08-07 Thread Igor Vaynberg
you have to chain your models, so instead of item.add(new Label(title, publication.getTitle())); do item.add(new Label(title, new PropertyModel(item.getModel(), title)); instead of IModel authorsModel = new LoadableDetachableModel() { @Override

Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-07 Thread Igor Vaynberg
tada, all done in trunk -igor On Wed, Aug 5, 2009 at 8:23 PM, Igor Vaynbergigor.vaynb...@gmail.com wrote: yes, the form action is rewritten to the behavior url. the behavior url processes the form the same way it does when an ajax request is used, but because we do not use an ajax request the

Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-07 Thread Bas Gooren
Great! Will take a look at it soon. This is what I love about Wicket most: very active development (constant flow of improvement). Thanks Igor. Bas - Original Message - From: Igor Vaynberg igor.vaynb...@gmail.com To: users@wicket.apache.org Sent: Friday, August 07, 2009 7:28 PM

Re: LoadableDetachableModel/Serialization Problem

2009-08-07 Thread sky.walker
I actually tried that, however my publication object looks like this. (I trimmed it to the relevant parts). as you can see there's no authorsInOrder Property only the authors property which can't be displayed to the user. I have to call getAuthorsInOrder() to retrieve the the list of author

Re: LoadableDetachableModel/Serialization Problem

2009-08-07 Thread Igor Vaynberg
the propertymodel will call the getter function. -igor On Fri, Aug 7, 2009 at 10:44 AM, sky.walkeres.most...@gmail.com wrote: I actually tried that, however my publication object looks like this. (I trimmed it to the relevant parts). as you can see there's no authorsInOrder Property only the

DatePicker from wicket-datetime working sample ?

2009-08-07 Thread Arun Gupta
I've searched the users list and Googled otherwise but can't find a working sample of DatePicker from wicket-datetime. Is there a handy one ? -Arun -- Need Application Server ? - Download glassfish.org Blog: http://blogs.sun.com/arungupta

Re: DatePicker from wicket-datetime working sample ?

2009-08-07 Thread Igor Vaynberg
http://wicketstuff.org/wicket/dates/ -igor On Fri, Aug 7, 2009 at 10:57 AM, Arun Guptaarun.gu...@gmail.com wrote: I've searched the users list and Googled otherwise but can't find a working sample of DatePicker from wicket-datetime. Is there a handy one ? -Arun -- Need Application

Re: LoadableDetachableModel/Serialization Problem

2009-08-07 Thread sky.walker
Thanks igor. i just tried it and it worked. It's so cool property models work like that. igor.vaynberg wrote: the propertymodel will call the getter function. -igor On Fri, Aug 7, 2009 at 10:44 AM, sky.walkeres.most...@gmail.com wrote: I actually tried that, however my publication

RE: wicket 1.2.7 login error checking and reporting

2009-08-07 Thread Burton, Tom F (DOR)
I found wicketSessionFilter but not wicketFilter. How would using A regular submit button make a difference. I know submit request goes to the server I just get an empty pair of ajaxresponse tags back from the server. (Firebug is really usefull, and I'm able to look at the post request I send

How to use DynamicWebResource?

2009-08-07 Thread Major Péter
Hi all, I have a page, and I need to generate a PDF file: after the user presses a button, then the downloading is being started. For the PDF-generation I would like to use iText, but I have no idea, how to create a link to the downloadable content. I tried to follow UploadDownload wiki page,

Re: FeedbackIndicator doesn't work inside RefreshingView

2009-08-07 Thread konsul
I've implemented equals() and hashCode() then found and fix other problem. And it works. Thanks a lot. There was the problem because I just use the code construction from example (repeater/FormPage.java): @Override

Re: How To Kill Previous Page

2009-08-07 Thread Carlo Camerino
what happens when you try to access a page that was taken away from the page map? i'm still looking at though, and probably would need to implement it soon. thanks for the reply On Fri, Aug 7, 2009 at 7:41 PM, Alex Objelean alex_objel...@yahoo.comwrote: getPage().getPageMap().remove(); ?

RE: wicket 1.2.7 login error checking and reporting

2009-08-07 Thread Burton, Tom F (DOR)
Thank you very much for the help. I'm now using onError() like I should be I've also got the requisite error messages setup in the appropriate .properties file. Thanks again for the assistance, Tom -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday,

Java/Wicket Job Available with Wicket founder at Networks in Motion

2009-08-07 Thread Jonathan Locke
My company is hiring someone (ideally in Seattle, but we also have an Aliso Viejo office down near L.A.) We are doing a lot of back-end server work in Java, but we would really prefer someone with solid Wicket experience for a variety of reasons. The team is me and one other guy, so there