Re: Using Wicket to build Application Portal

2010-06-09 Thread Nivedan Nadaraj
Hi All, I will try to articulate my requirement. Can I call it a Wicket based Portal? I have an application lets call it Application-1 that provides common functionality such as Authentication/Authorization. It also will provide the Business layer/Service methods. As part of this web

Re: Using Wicket to build Application Portal

2010-06-09 Thread Nivedan Nadaraj
contain the jars for application 2...n. -igor On Wed, Jun 9, 2010 at 7:11 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi All, I will try to articulate my requirement. Can I call it a Wicket based Portal? I have an application lets call it Application-1 that provides common

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
:stab:moduleTabsList] ITab index [0] ] Thanks for the time, will be great to hear from you on this. Regards Niv On Thu, Jun 10, 2010 at 11:46 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: On Wed, Jun 9, 2010 at 8:20 PM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi Igor, Thank you for the quick

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
, Jun 17, 2010 at 4:21 PM, Nivedan Nadaraj shravann...@gmail.comwrote: Hi Igor, I have started work on the pattern you suggested. This is what I have done so far but there seems to be some missing pieces when I integrate the tabs or try to fire them from container app, would be great to get

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
for the valuable guidance. Regards Niv On Fri, Jun 18, 2010 at 4:32 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: On Thu, Jun 17, 2010 at 3:14 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi Igor, I have moved a bit forward since the last email but would like your thoughts on it. I am now

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
to somehow return the instance of the provider so wondering if there must be a lookup ? Will be great to hear from you on this, In the meantime will do my research and hope to get there Thanks Niv * * * On Fri, Jun 18, 2010 at 10:16 AM, Nivedan Nadaraj shravann...@gmail.comwrote: Hi Igor Thank

Re Refreshing a DropDownChoice - CRUD Pattern

2010-07-09 Thread Nivedan Nadaraj
Hi All, I have an issue with refreshing a DropDownChoice control. I would like the dropdown to have the Choose One option aevery time I want to a particular action like Create new account etc. I think it is how I designed my CRUD pattern, that I have this issue. Would like to get your

Setting the RadioChoice with selected value -

2010-07-12 Thread Nivedan Nadaraj
Hi All The problem: This seems pretty basic but I have some issues when I want the UI to be set with the value from the Model. Any pointers would be great. My Model has a property of type Boolean.On the UI I represent this as Yes and No using RadioChoice. When I perist this enitity, the Yes is

Re: Setting the RadioChoice with selected value -

2010-07-12 Thread Nivedan Nadaraj
,propertyModel,list,choiceRenderer); 2010/7/12 Nivedan Nadaraj shravann...@gmail.com Hi All The problem: This seems pretty basic but I have some issues when I want the UI to be set with the value from the Model. Any pointers would be great. My Model has a property of type Boolean.On

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-15 Thread Nivedan Nadaraj
Hi All I use Wicket with Hibernate. I have used the hibernate entity as a Form's Model.Now however I noticed that I need to also add/update an LDAP instance's entries.This means as part of my submit Ineed to wicket to capture the non-entity properties also. 1. I either have to use a Value Object

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Nivedan Nadaraj
Hi Thanks for the pointer. I did read through models and LoadableDetachableModel. Not sure if this model addresses the problem at hand. Isn't LDM related to performance and resoles Serialization issues? In the same note I came across Chaining of models. or Nesting of Models...can you/someone give

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Nivedan Nadaraj
as well. Thanks again Niv On Fri, Jul 16, 2010 at 7:04 PM, James Carman ja...@carmanconsulting.comwrote: Your form can edit two different objects. It will edit whatever you bind your fields to On Jul 16, 2010 4:23 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi Thanks for the pointer

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Nivedan Nadaraj
as a private variable. Remember it's just regular java, so you can use member variables. Just don't forget to detach any model you hold as a variable manually. Jeremy Thomerson -- sent from my smartphone - please excuse formatting and spelling errors On Jul 16, 2010 6:30 AM, Nivedan Nadaraj

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Nivedan Nadaraj
, Nivedan Nadaraj shravann...@gmail.com wrote: Hi Jeremy, Nice I follow you now. I can have a container java class and have any number of member variables which in turn can be a hibernate entity and a regular java bean. The container java class will be the model. And on detach; i would

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Nivedan Nadaraj
, Nivedan Nadaraj shravann...@gmail.com wrote: Thanks. How do i let the form know that it has one or more models? In the above I invoke the super(id, new CompoundPropertyModelStudy(study)); So this wraps the model as study. How will be able to add the second model in the same manner

Re: TextArea StringValidator and DateValidator

2010-07-21 Thread Nivedan Nadaraj
Hi All This is related to validating two types of Form components with Wicket 1.4.9 1.Validating a TextArea using the StringValidator to check for a min and max length. studyDescriptionTxtArea.add(StringValidator.lengthBetween(1, 255)); When I tested with a text content that triggers this

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
Hi All, I did look up the Nabble archive for key-words like 'AjaxButton onSubmit', AjaxButton and OnError. I did not get anything that addressed this.So do bear with me with this is re-post. I have a field(few fields) for which is setRequired(true). Below this field(s) I have an

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
Thanks for that, that worked. I have used this feature before for the Cancel operation. Just did not occur to me. Cheers On Thu, Jul 22, 2010 at 3:41 PM, MattyDE ufer.mar...@gmail.com wrote: you could Try to set /** * Sets the defaultFormProcessing property. When false

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
for this' particular button'. When I provide the required fields with data then it works as in no NP exception and the model does return the values selected. Any pointers? Cheers Niv On Thu, Jul 22, 2010 at 4:19 PM, Nivedan Nadaraj shravann...@gmail.comwrote: Thanks for that, that worked. I have used this feature

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
Hi Thanks for that, I guess building the piece of code as a separate component(panle) helps. This should deal with Multi Select with add/remove buttons with submit (Default behavior) . Having the multi-select logic more generic would help in re-use.I think. Cheers On Thu, Jul 22, 2010 at 4:58

Re: TextArea StringValidator and DateValidator

2010-07-22 Thread Nivedan Nadaraj
Thanks will try that. Cheers Thanks for ut time Cheers Niv On Thu, Jul 22, 2010 at 10:07 PM, vov vov...@mail.ru wrote: Create XML file that named same with your class and put ot it entry key=studyDescriptionTxtArea.StringValidator.rangeYOUR TEXT HERE is not between ${minimum} and ${maximum}

How to be a Top Wicket Developer

2010-07-22 Thread Nivedan Nadaraj
Hi Guys This is off topic but how does one become a top developer for wicket? What do you think brings forth that talent and creativity? Cheers Niv

Re: How to be a Top Wicket Developer

2010-07-22 Thread Nivedan Nadaraj
, at 11:33 AM, Nivedan Nadaraj wrote: Hi Guys This is off topic but how does one become a top developer for wicket? What do you think brings forth that talent and creativity? Cheers Niv - To unsubscribe, e-mail

Re: How to be a Top Wicket Developer

2010-07-22 Thread Nivedan Nadaraj
Cheers mate..but i lost u in the end of that line... On Thu, Jul 22, 2010 at 11:46 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Fix a few core bugs and pimp 1.5 ;] ** Martin 2010/7/22 Nivedan Nadaraj shravann...@gmail.com: Hi Guys This is off topic but how does one

Re: How to be a Top Wicket Developer

2010-07-22 Thread Nivedan Nadaraj
I apologise for starting a thread like this, there was a response that was I felt offending...looks like there some dont appreciate the thrill of true knoweldge. I request moderator to remove anything that offends. My apologies.. Cheers On Fri, Jul 23, 2010 at 12:12 AM, Nivedan Nadaraj shravann

Re: Best way to hide a component

2010-07-23 Thread Nivedan Nadaraj
I have done the setVisible too for hiding components. Sometimes if there were a group of them, placing them in a container(WebMarkupContainer) and setting the visibility to t/f on the container works too. Cheers Niv On Fri, Jul 23, 2010 at 2:36 PM, Andrea Selva selva.an...@gmail.com wrote:

ListMultipleChoice Update Model from Choices

2010-07-23 Thread Nivedan Nadaraj
Hi All, I use the ListMultipleChoice(LMC) in a different way. I have one control (LMC) on the left representing a list of items Available (roles for example) I have another LMC to represent Selected items(roles) The ADD and ADD ALL buttons move the selected items' from Available LMC to Selected

Re: ListMultipleChoice Update Model from Choices

2010-07-23 Thread Nivedan Nadaraj
! Did you notice wicket has a built-in component called palette that can do this for you? http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.PalettePage ** Martin 2010/7/23 Nivedan Nadaraj shravann...@gmail.com: Hi All, I use

Re: ListMultipleChoice Update Model from Choices

2010-07-23 Thread Nivedan Nadaraj
can se it is not trivial so it will save you a lot of time ;) ** Martin 2010/7/23 Nivedan Nadaraj shravann...@gmail.com: Hey Mate!!, That is classic. Will check it out, great. Again if you do know how I can address the issue I had will be good to know even if I dont use it since

Re: ListMultipleChoice Update Model from Choices

2010-07-27 Thread Nivedan Nadaraj
a fresh form. Is this a valid approach? Any thoughts on it for similar scenario? Thanks Niv On Sat, Jul 24, 2010 at 2:42 AM, Nivedan Nadaraj shravann...@gmail.comwrote: Cheers mate thanks for that. Only I thought it was one step closer to building my own component and know the details

Re: ListMultipleChoice Update Model from Choices

2010-07-27 Thread Nivedan Nadaraj
if I saw the code. ** Martin On Sat, Jul 24, 2010 at 2:42 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Cheers mate thanks for that. Only I thought it was one step closer to building my own component and know the details of it. But yeah point taken. Cheers Nive

Re: Expiring pages in form submit and onAfterRender...

2010-07-27 Thread Nivedan Nadaraj
I have added a configuration in the application to redirect the user to a particular page. I guess page expires due to a timeout? In the base application's init() IApplicationSettings settings = getApplicationSettings(); settings.setPageExpiredErrorPage(LoginPage.class); If that helps in

Re: ListMultipleChoice Update Model from Choices

2010-07-27 Thread Nivedan Nadaraj
the form.modelChanged() and now it clears completely or takes into account that its a fresh form. I could comment more if I saw the code. ** Martin On Sat, Jul 24, 2010 at 2:42 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Cheers mate thanks for that. Only I thought

Re: Expiring pages in form submit and onAfterRender...

2010-07-27 Thread Nivedan Nadaraj
Hi Saw a related link to force page expiry probably might throw some light http://apache-wicket.1842946.n4.nabble.com/Force-page-expiration-td1844190.html#a1844190 cheers On Tue, Jul 27, 2010 at 3:23 PM, Nivedan Nadaraj shravann...@gmail.comwrote: I have added a configuration

Re: Wicket Candy?

2010-07-27 Thread Nivedan Nadaraj
Looks real cool but no I have not used. Nive On Mon, Jul 26, 2010 at 7:03 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Has someone implemented Candy on Wicket as an extension to tabbed panels? http://vimeo.com/13560319 ** Martin

Re: Integrating Wicket with Dojo/Jquery/Dwr/Ext Js

2010-07-29 Thread Nivedan Nadaraj
WiQuery integrates JQuery with Wicket. It is a very responsive community as well. The other one that integrates Wicket is JWicket but I have not used it. I have used Wiquery but if you wanted I guess you can use Jquery customise it for your project. As such Wiquery provides out of the box

Re: Integrating Wicket with Dojo/Jquery/Dwr/Ext Js

2010-07-29 Thread Nivedan Nadaraj
Here is alink to Wiquery project: http://code.google.com/p/wiquery/wiki/QuickStart On Thu, Jul 29, 2010 at 5:37 PM, Nivedan Nadaraj shravann...@gmail.comwrote: WiQuery integrates JQuery with Wicket. It is a very responsive community as well. The other one that integrates Wicket is JWicket

Re: How to Update contents of a child component?

2010-08-02 Thread Nivedan Nadaraj
Thanks guys for the input. Will give a yell when I have resolved it, thanks for the time. Reg Niv On Fri, Jul 30, 2010 at 7:54 PM, vov vov...@mail.ru wrote: Do not forgot about setOutputMarkupPlaceholderTag(true) for your components that initially as invisible. And use AJAX...:) -- View

Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
Hi Can someone point me the right direction. I have a search panel that does a look up and renders a resultsPanel. I don't use detachable model here and used PageableListView On the resultsPanel,onClick, I use the hibernate entity and pass it as a model to the DetailsPanel. The detailsPanel

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
Thanks for the response. It still does not work. I added the ajax button on the SearchForm that has the New,Cancel and I added this Refresh button just to test. I added setOutputMarkupId(true) to the detailsPanle and then in SearchForm that extends Form added the AjaxButton protected void

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
Avraham and Matt, Thanks for the points. I will have a look at it tomorrow and post the code if I still haven't resolved. I don't have the code on me at the moment. Reg Niv On Tue, Aug 3, 2010 at 9:41 PM, mwilber matt.wil...@gmail.com wrote: Again without seeing more of the code some of

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
panels involved with it. Many thanks Niv On Tue, Aug 3, 2010 at 10:30 PM, Nivedan Nadaraj shravann...@gmail.comwrote: Avraham and Matt, Thanks for the points. I will have a look at it tomorrow and post the code if I still haven't resolved. I don't have the code on me at the moment. Reg Niv

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
the setModel but I get a wicket runtime exception. Thanks for your thoughts. Niv On Wed, Aug 4, 2010 at 10:25 AM, Nivedan Nadaraj shravann...@gmail.comwrote: Hi, I have attached the code as a text file. I have removed lines that don't really make any contribution to the problem at hand after

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
on details panel 7. And perform steps 1 to 2 8. An empty details panel is displayed... If i can get a single thread of clue..will fix this and cement it Obviously I dont have a grip over Models.. Cheers niv On Wed, Aug 4, 2010 at 11:12 AM, Nivedan Nadaraj shravann...@gmail.comwrote: Hi

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
panel is displayed... If i can get a single thread of clue..will fix this and cement it Obviously I dont have a grip over Models.. Cheers niv On Wed, Aug 4, 2010 at 11:12 AM, Nivedan Nadaraj [hidden email] http://user/SendEmail.jtp?type=nodenode=2313107i=0wrote: Hi

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
Hi, Re-attached the file as a .txt file. My apologies. I will read up again on the link for Models and re-visit it. . Thanks for the time Niv On Wed, Aug 4, 2010 at 5:43 PM, Nivedan Nadaraj shravann...@gmail.comwrote: Hi I did read the link and from which i went about modifying the Model

Re: Model Is Not being Refreshed

2010-08-05 Thread Nivedan Nadaraj
(new Instance) this only affected the Search or the top level model and not the details and hencethe details rendered with the old data. Thank you all for the time Reg Niv On Wed, Aug 4, 2010 at 6:01 PM, Nivedan Nadaraj shravann...@gmail.comwrote: Hi, Re-attached the file as a .txt file. My

Re: A beginner's tutorial

2010-08-05 Thread Nivedan Nadaraj
As a beginer myself...I feel the language like java plays a lot. Learning the generics would be one aspect and a must. Next to understand a simple request response usecase. Usage of each, if not all controls. How to use them and get it working as is. How would i be able to generalise usage of

Re: Ajax-Panel Toggling Visibility

2010-08-06 Thread Nivedan Nadaraj
Hi Thank's for correcting me on how to update the ListView, nicely explained. 1. I am able to view the results panel now. 2. I have made change in the following way to update the list by updating the model. Added a WebMarkupContainer and wrapped the ListView within it. The visibility is

Re: Ajax-Panel Toggling Visibility

2010-08-06 Thread Nivedan Nadaraj
control and hide and unhide. The only this is I do not use the AjaxSelfUpdatingTimerBehavior and LoadableDetachableModel. I don't think this is causing the issue. Any thoughts to help? Cheers Niv On Fri, Aug 6, 2010 at 5:12 PM, Nivedan Nadaraj shravann...@gmail.comwrote: Hi Thank's

Re: Ajax-Panel Toggling Visibility

2010-08-08 Thread Nivedan Nadaraj
Hi Thanks for the pointers. I have tried doing the following and yet to see the expected result (i.e re-render the list view with the new items) 1 .Using an entirely new Model instance, and seting it using setModel 2. When the Listview is created I have said setReuseItems(true) 3. When the model

Re: Ajax-Panel Toggling Visibility

2010-08-10 Thread Nivedan Nadaraj
appreciate Cheers On Mon, Aug 9, 2010 at 11:24 AM, Nivedan Nadaraj shravann...@gmail.comwrote: Hi Thanks for the pointers. I have tried doing the following and yet to see the expected result (i.e re-render the list view with the new items) 1 .Using an entirely new Model instance, and seting

Re: Re Wicket Web Beans

2010-08-16 Thread Nivedan Nadaraj
Hi Daniel Thank you for getting back so quickly. I used Hibernate that maps to entities in the table. Fields are defined by an administrator when he creates a new entity like Study(Hibernate entity for Study). There is a standard table called Study however if the administrator feels this new

Re: DropDownChoice does not push value into Model

2010-08-17 Thread Nivedan Nadaraj
Hi James protected void doLookup(AjaxRequestTarget target, Study studyReference); I really do not need this studyReference. That was just a test I wanted to do. It is the study reference that is used to populate the dropdown. I wanted to see if it gets changed with each submit. I noticed that it

Re: Re Wicket Web Beans

2010-08-17 Thread Nivedan Nadaraj
: It sounds like what you're after is a dynamic form. This has been discussed several times on the list and used to be detailed in the wiki. It's pretty straightforward to implement. Hopefully this gives you an implementation option. On Mon, Aug 16, 2010 at 7:17 PM, Nivedan Nadaraj shravann

Re: Re Wicket Web Beans

2010-08-17 Thread Nivedan Nadaraj
Hi Daniel It is more of a dynamic form thinking of it I might investigate more on this in Wicket. But here is a link and is pretty much what we want to achieve using wicket

Asynchronous File Uploads

2010-09-16 Thread Nivedan Nadaraj
Hi All Has anyone had a requirement to upload huge files in an asynchronous mode? I want to be able to upload some files which are on avg 4G plus. I read some posts that wicket does fine with 50 plus megs. Since these are huge files, we dont want the user to be blocked. Instead was thinking

Re Palette

2010-09-29 Thread Nivedan Nadaraj
Hi All, I have used the Palette successfully in another scenario where it was pretty straightforward, in that the bean/pojo has a selectedItmes and availableItems property on the bean. That was nice and clean and would like to do the same in the scenario below. If someone has any ideas do let me

Re: Coding - On Software Design Process

2010-10-06 Thread Nivedan Nadaraj
Hi John, Thanks will wait for the paperback. Cheers Niv On Mon, Oct 4, 2010 at 11:10 PM, John Owen jo...@globalscape.com wrote: Or iPhone/iPad. -Original Message- From: Jonathan Locke [mailto:jonathan.lo...@gmail.com] Sent: Saturday, October 02, 2010 7:17 PM To:

Re: Integrating Separate Different Wicket Applications Into One

2010-10-11 Thread Nivedan Nadaraj
Hi When you say integrate different applications, do u mean each one is a sub-application? Do those applications extend the WicketApplication class? If they don't then I have had some experience to integrate sub-modules into one main application. Let me know if that is what you mean. Otherwise I

Re: Integrating Separate Different Wicket Applications Into One

2010-10-12 Thread Nivedan Nadaraj
I implemented/integrated a sub-module(s) into one main web application. The solution is discussed in the link below. Hope this helps. http://apache-wicket.1842946.n4.nabble.com/Re-Using-Wicket-to-build-Application-Portal-td2248912.html#a2248912 Cheers On Tue, Oct 12, 2010 at 11:28 AM, Nivedan

CRUD Operation on a List View or Grid View

2010-11-22 Thread Nivedan Nadaraj
Hi All, I am starting to build a component that allows to add, edit and delete items into/from a List/Grid view. The use case is where we want to add multiple phone/address items as part of adding a contact. - User enters Contact related details - User gets a list of pre-existing(if any) Phone

Wicket-Hibernate Related LazyInitializationException

2010-12-01 Thread Nivedan Nadaraj
Hi All I am guessing this is more of a Hibernate thing/issue but if some one has encountered this and has a explanation that I can probably use from the Wicket front would be great. https://forum.hibernate.org/viewtopic.php?f=1t=1008473 I have a LazyIntializationException when i page through

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-01 Thread Nivedan Nadaraj
setSessionProvider(ProviderSession sessionProvider) { this.sessionProvider = sessionProvider; } } On Wed, Dec 1, 2010 at 9:23 PM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi All I am guessing this is more of a Hibernate thing/issue but if some one has encountered this and has

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-01 Thread Nivedan Nadaraj
Carman ja...@carmanconsulting.comwrote: Just make sure your form's model is a LDM too. On Thu, Dec 2, 2010 at 12:23 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi All I am guessing this is more of a Hibernate thing/issue but if some one has encountered this and has a explanation that I

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-02 Thread Nivedan Nadaraj
Regards On Thu, Dec 2, 2010 at 2:13 PM, James Carman ja...@carmanconsulting.com wrote: Just make sure your form's model is a LDM too. On Thu, Dec 2, 2010 at 12:23 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi All I am guessing this is more of a Hibernate

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-03 Thread Nivedan Nadaraj
and then showing him the actual list which is a reflection of your database.. On Fri, Dec 3, 2010 at 12:50 PM, Nivedan Nadaraj shravann...@gmail.com wrote: Vineet I have not tried that. In this scenario, it will overwrite the phone's the user may have added to a list on the UI and is yet

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-03 Thread Nivedan Nadaraj
Serializable idList) { ListT loadList = new ArrayListT(idList.size()); for (Serializable id : idList) { loadList.add(dao.get(id)); } return loadList; } On Wed, Dec 1, 2010 at 10:26 PM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi Dan, Thanks for your time most appreciated. 1

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-05 Thread Nivedan Nadaraj
is shown the new list.. On Fri, Dec 3, 2010 at 2:29 PM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi Yeah so at present, what I do is when the user 1. Adds a new phone number, I add this to the existing list of phoneNumbers in the UI but yet to be persisted 2. User now clicks Save

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-05 Thread Nivedan Nadaraj
. On Fri, Dec 3, 2010 at 2:20 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Vineet I have not tried that. In this scenario, it will overwrite the phone's the user may have added to a list on the UI and is yet to be persisted. If you know what I mean. 1, Initial fetch of Subject along

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-05 Thread Nivedan Nadaraj
the objects back again when needed. Eelco On Wed, Dec 1, 2010 at 10:13 PM, James Carman ja...@carmanconsulting.com wrote: Just make sure your form's model is a LDM too. On Thu, Dec 2, 2010 at 12:23 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi All I am guessing this is more

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-06 Thread Nivedan Nadaraj
. On Thu, Dec 2, 2010 at 12:23 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi All I am guessing this is more of a Hibernate thing/issue but if some one has encountered this and has a explanation that I can probably use from the Wicket front would be great. https://forum.hibernate.org

Re: DatePicker to pick a year

2010-12-10 Thread Nivedan Nadaraj
So did that work? Have you tried to check your model annotation? On Wed, Dec 8, 2010 at 10:24 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: It is a pure Date. On Tue, Dec 7, 2010 at 9:24 PM, nivs shravann...@gmail.com wrote: Hi If your getting the date format error from the Model

Re: DatePicker to pick a year

2010-12-10 Thread Nivedan Nadaraj
and to override it I guess Julien's suggestion would be the way to go. Cheers On Fri, Dec 10, 2010 at 4:53 PM, Nivedan Nadaraj shravann...@gmail.comwrote: So did that work? Have you tried to check your model annotation? On Wed, Dec 8, 2010 at 10:24 PM, Anna Simbirtsev asimbirt...@gmail.comwrote

Re: Best Wicket security practice

2011-02-09 Thread Nivedan Nadaraj
Apache shiro is one more - http://shiro.apache.org/ On Wed, Feb 9, 2011 at 3:14 AM, sakthi vel vela@gmail.com wrote: Hello All, There are few security things in wicket like SWARM, Spring security with wicket and so on. Could anyone tell the best security practice in wicket and any

Re: DropDownChoice-Choose One Selected Item

2011-02-09 Thread Nivedan Nadaraj
@James - Thank you will try that out and get back. @Martin - Thanks mate will get back I guess I am using 1.4.9 version and don't have the option to setDefaultModelObject on the ChoiceRenderer anyhow appreciate your time and thoughts to write back. Thanks again Nive On Thu, Feb 10, 2011 at 12:01

Re: Wicket-Spring Hibernate dao

2011-02-22 Thread Nivedan Nadaraj
Hi, Is your DAO marked with @Repository annotation? e.g. *@Repository(myDao)* public class SomeDAO extends HibernateSessionDao implements IDao { Plus in your client you need that @SpringBean,((Spring would inject it) In my case I use a Service to get to the DAO - May not be necessary

Validating a Number using a Validator

2011-02-23 Thread Nivedan Nadaraj
Hi All, Basic question but have not got an answer to it. I want to validate a field to accept only numbers and provide a validation message. Is there a NumericValidator I checked NumberValidator but don't see how I can use it..it says its deprecated. TextFieldLong yearOfExpiry = new

Re: Apache Wicket Cookbook Published!

2011-04-12 Thread Nivedan Nadaraj
Great stuff! Will get a copy! Cheers Niv On Sat, Mar 26, 2011 at 1:52 AM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: Congrats. I trust Igor -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, March 25, 2011 1:44 PM To:

Binding selected values from a ListView into a Mode

2011-06-09 Thread Nivedan Nadaraj
Hi All, I have a problem to deal with binding selected values into a model within a ListView. I have tried to outline the approach and class definitions out here. I hope I have been clear. Would appreciate your thoughts on the design and approach i have taken so far. I guess am pretty close to it

Re: Binding selected values from a ListView into a Mode

2011-06-10 Thread Nivedan Nadaraj
Hi Per, Thanks for taking the time to respond. Much appreciated I will work on it sounds simple should be a good solution. Will ping back from based on how i go. Cheers On Thu, Jun 9, 2011 at 3:24 PM, Per Newgro per.new...@gmx.ch wrote: Am 09.06.2011 09:01, schrieb Nivedan Nadaraj: Hi All

Re: Binding selected values from a ListView into a Mode

2011-06-10 Thread Nivedan Nadaraj
Hi Yep I got it going. Prepopulating and the 'the base/fundamental' was a good start that kinda helped in looking at other parts of the problem. Thanks for the time Cheers On Thu, Jun 9, 2011 at 3:24 PM, Per Newgro per.new...@gmx.ch wrote: Am 09.06.2011 09:01, schrieb Nivedan Nadaraj: Hi

Re: [ANNOUNCE] Wicketopia 0.9 Released...

2011-07-10 Thread Nivedan Nadaraj
Hi James Great effort mate thanks, Haven't had a look as yet am sure it will be useful. If you need help with documentation do let us know Cheers On Mon, Jul 11, 2011 at 8:51 AM, androidcoolguy androidcool...@hotmail.comwrote: Ok after some struggling, I managed to get it work. I noticed that