Re: Putting together two seperate wicket projects into a multi-module maven project

2011-11-24 Thread nivs
Hi Sometime back I did something similar. The thread is here see if this helps. http://apache-wicket.1842946.n4.nabble.com/Re-Using-Wicket-to-build-Application-Portal-td2248912.html#a2258389 Multiple Mave Projects -- View this message in context:

Re: Validating a Number using a Validator

2011-02-23 Thread nivs
Thanks Martin, So I do have to build a CustomValidator that is established. I would have thought this was a basic one that would be off the shelf.No worries thank you for the time, will look at the NumberValidator.MinimumValidator implementation. Cheers Niv -- View this message in context:

Re: DropDownChoice-Choose One Selected Item

2011-02-22 Thread nivs
Hi, Thank you for the thoughts. We managed to get around this in the following way for completness class TestVO{ public Country selected= countryList.get(0);//I get the first item can be any other way } countryChoice = new DropDownChoiceCountry(voName.country, new PropertyModel(new

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-07 Thread nivs
Hi Dan, I guess you were right with the thought process - nivs wrote: If you're still getting an LIE, there may be another association at play (a child of Phone?). I noticed that when I navigated, it was only when the PhoneType which was an entity (if not a collection on Phone

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-07 Thread nivs
Eelco Thanks again for your thoughts. Inline with this, I will look at optimizing it and intend to switch to using LDM's. Cheers Niv -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Hibernate-Related-LazyInitializationException-tp3068534p3076005.html Sent from

Re: DatePicker to pick a year

2010-12-07 Thread nivs
Hi If your getting the date format error from the Model side and it is expecting a timestamp , then you might get that issue. Are you using a TimeStamp field or pure date? If I wanted only to store date in the backend without timestamp details my model has to be decorated like

Re: SV: PageableListView to work with Set

2010-12-02 Thread nivs
Hi Thanks for the link. Would have to use a repeater to support more generic ones. Thanks niv -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/PageableListView-to-work-with-Set-tp3064909p3068641.html Sent from the Users forum mailing list archive at Nabble.com.

Re: SV: PageableListView to work with Set

2010-11-30 Thread nivs
So I gather from your response that I should use a list type object only. Since PageableListView uses it for indexing,sorting etc. Am I right then to convert either the entity to use a List or on the front end to map from a Set into a List. Thanks for the time Niv -- View this message in

SetObject with PageableListView

2010-11-29 Thread nivs
Hi I have a question related to using a collection (Set) within a PageableListView. At runtime I get an exception java.lang.ClassCastException: org.hibernate.collection.PersistentSet cannot be cast to java.util.List at org.apache.wicket.markup.html.list.ListView.getList(ListView.java:177)

PageableListView to work with Set

2010-11-29 Thread nivs
Hi I have a question related to using a collection (Set) within a PageableListView. At runtime I get an exception java.lang.ClassCastException: org.hibernate.collection.PersistentSet cannot be cast to java.util.List at org.apache.wicket.markup.html.list.ListView.getList(ListView.java:177) The

Re: Re Palette

2010-09-29 Thread nivs
Hi Just wanted to make some corrections to the above snippet. private Palette initialiseRolePalette(ContainerForm containerForm, ModuleVO selectedModuleVO, ModuleVO availableModuleVO){

Re: How to Update contents of a child component?

2010-09-17 Thread nivs
Sorry for the delay in response. I had fixed this issue and it was to do with my model. The Multiselect was not properly bound to a model. Infact I started using Palette control which is very good. And as for hiding and unhiding I found that sometimes just using setOutputMarkupId does not work

Application of setOutputMarkupPlaceholderTag and setOutputMarkupId

2010-09-17 Thread nivs
Hi All I want to get this clear can someone let me know the behavior when we say setOutputMarkupPlaceholderTag and setOutputMarkupId. I found that, when I have a WebMarkupContainer for a component set to true initially and set the markupContainer to setOutputMarkupId(true). Now when I on an

Re: SV: Application of setOutputMarkupPlaceholderTag and setOutputMarkupId

2010-09-17 Thread nivs
Hi Thanks for your thoughts. It is clearer now. Re-iterating from what you mentioned, my understanding is that when 1. toggling invisibility via Ajax you need to use the placeholder tag - 2.and we don't toggle visibility and want that component to be re-painted then we need setOutputMarkupId.

Re: Asynchronous File Uploads

2010-09-16 Thread nivs
Thanks mate, I will investigate more on this, but can you elaborate it a little bit? I can think of the following 1. When the application starts up, the servlet will be loaded up. 2. In its init(), I would have to create a process that is more like a daemon and waits for it to be requested or

Re: Asynchronous File Uploads

2010-09-16 Thread nivs
Thanks for the time. Will give that a shot. Many thanks (will keep it simple) Niv -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Asynchronous-File-Uploads-tp2541855p2543362.html Sent from the Users forum mailing list archive at Nabble.com.

Re: DropDownChoice does not push value into Model

2010-08-17 Thread nivs
Hi James Point(s) noted. I have got something going here and it is working but is this what you meant? Please see attached code and do bear with my questions. The variable studyReference which is the one that is wrapped within a PropertyModel, remains or maintains the same reference even if the

Re Wicket Web Beans

2010-08-16 Thread nivs
Hi Would like to know if some one has used Wicket Web Beans in their wicket projects? One of our requirements is to add fields at runtime and be able to render it on the front end. So in this case , I have no control of building the panels for some fields that are 'yet' to be created and to

Re: DropDownChoice does not push value into Model

2010-08-16 Thread nivs
James Could you please clarify this for me, I noticed is that with PropertyModel usage in the above context. I have to define one(PropertyModel instance) for each of the form component explicitly, like so 1. ModelStudyModel studyModel = new ModelStudyModel(new StudyModel());/Top level Model

DropDownChoice does not push value into Model

2010-08-13 Thread nivs
Hi All, http://apache-wicket.1842946.n4.nabble.com/file/n2323809/Code.txt Code.txt I have a drop down choice control on the search panel and its selected choices are pushed to the model only once or the first time. Please have a look at the attached code: As part of this code, I noticed

Re: DropDownChoice does not push value into Model

2010-08-13 Thread nivs
: this.setModelObject(new StudyModel()); Thus, they get out of synch. On Fri, Aug 13, 2010 at 3:30 AM, nivs [hidden email]http://user/SendEmail.jtp?type=nodenode=2324076i=0 wrote: Hi All, http://apache-wicket.1842946.n4.nabble.com/file/n2323809/Code.txthttp://apache-wicket.1842946.n4.nabble.com/file