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 wrote: > Ok after some struggling, I managed to get it work. I noticed that > Wicketopia > has a tigh

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 wrote: > Am 09.06.2011 09:01, schrieb Nivedan Nadaraj: > &g

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 wrote: > Am 09.06.2011 09:01, schrieb Nivedan Nadaraj: > > Hi All, >&

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

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. TextField yearOfExpiry = new TextField("yearEx

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

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 P

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

Re: DatePicker to pick a year

2010-12-10 Thread Nivedan Nadaraj
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 wrote: > So did that work? Have you tried to check your model annotation? > > > > On Wed, Dec 8, 2010 at 10:24 PM, Anna Simbirtsev wrote: > >> It is a p

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 wrote: > It is a pure Date. > > On Tue, Dec 7, 2010 at 9:24 PM, nivs wrote: > > > > Hi > > > > If your getting the date format error from the Model side and it is > > expecting a ti

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-06 Thread Nivedan Nadaraj
t make sure your form's model is a LDM too. > > > > On Thu, Dec 2, 2010 at 12:23 AM, Nivedan Nadaraj > wrote: > >> Hi All > >> > >> I am guessing this is more of a Hibernate thing/issue but if some one > has > >> encountered this and

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-05 Thread Nivedan Nadaraj
eir > ids, or e.g. the algorithm to get the objects back again when needed. > > Eelco > > > On Wed, Dec 1, 2010 at 10:13 PM, James Carman > wrote: > > Just make sure your form's model is a LDM too. > > > > On Thu, Dec 2, 2010 at 12:23 AM, Nivedan Nadaraj

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-05 Thread Nivedan Nadaraj
. > > On Fri, Dec 3, 2010 at 2:20 AM, Nivedan Nadaraj > 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

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-05 Thread Nivedan Nadaraj
entry > is persisted and user is shown the new list.. > > > On Fri, Dec 3, 2010 at 2:29 PM, Nivedan Nadaraj >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 > pho

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-03 Thread Nivedan Nadaraj
> }; > } > > private static List loadList(BasicDao dao, List Serializable> idList) { > List loadList = new ArrayList(idList.size()); > for (Serializable id : idList) { > loadList.add(dao.get(id)); > } > return loadList; > } > > > On Wed, Dec 1, 2010 at 10:26 PM, N

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-03 Thread Nivedan Nadaraj
new entry 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 >wrote: > > > Vineet > > I have not tried that. In this scenario, it will overwrite the phone's > the > >

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-02 Thread Nivedan Nadaraj
when you try this? > @Override > protected Object load() { > // return containerForm.getModelObject().getPhoneList(); > return service.getRequiredObject(*).getPhoneList(); //or any thing like it > .. > > } > > On Thu, Dec 2, 2010 a

Re: Wicket-Hibernate Related LazyInitializationException

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

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-01 Thread Nivedan Nadaraj
attaching session to collection"); > } > > session = (SessionImplementor) sessionProvider.get(); > CollectionPersister persister = > session.getFactory().getCollectionPersister(collection.getRole()); > > collection.setCurrentSession(session); > session.getPersistenceCon

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=1&t=1008473 I have a LazyIntializationException when i page through s

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 n

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

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 g

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 wrote: > Or iPhone/iPad. > > -Original Message- > From: Jonathan Locke [mailto:jonathan.lo...@gmail.com] > Sent: Saturday, October 02, 2010 7:17 PM > To: users@wicket.apache.org > Subject:

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

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 kickin

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 https://redcap.vanderbilt.edu/consortium/videoplayer.php?video=form_editor_fields01.flv&title=The+Online+Form+Editor+-+in+de

Re: Re Wicket Web Beans

2010-08-17 Thread Nivedan Nadaraj
hat 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,

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

Re: Ajax-Panel Toggling Visibility

2010-08-10 Thread Nivedan Nadaraj
as always appreciate Cheers On Mon, Aug 9, 2010 at 11:24 AM, Nivedan Nadaraj wrote: > 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 instanc

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-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 wrote: > Hi > > Thank's for c

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 applie

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 suc

Re: Model Is Not being Refreshed

2010-08-05 Thread Nivedan Nadaraj
bject(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 wrote: > Hi, > > Re-attached the file as a .txt file. My apo

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 wrote: > Hi > > I did read the link and from which i went about modifying the Model. I have

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
gt; > 4. I click on New/Refresh button on Search Panel > > 5. A new details page is loaded - the effect of modifying setObject() in > > the > > Model > > 6.I click on cancel on details panel > > 7. And perform steps 1 to 2 > > 8. An empty

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
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 wrote: > Hi > > > A

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
setModel but I get a wicket runtime exception. Thanks for your thoughts. Niv On Wed, Aug 4, 2010 at 10:25 AM, Nivedan Nadaraj wrote: > 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 careful

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
erent panels involved with it. Many thanks Niv On Tue, Aug 3, 2010 at 10:30 PM, Nivedan Nadaraj wrote: > 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. &

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 wrote: > > Again without seeing more of the code some of this is guessing. > > I

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 onSub

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 rende

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 wrote: > > Do not forgot about setOutputMarkupPlaceholderTag(true) for your components > that initially as invisible. > And use AJAX...:) > -- > View this messa

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 wrote: > WiQuery integrates JQuery with Wicket. It is a very responsive community as > well. The other one that integrates Wicket is JWicket but I have no

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 integra

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: 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 wrote: > I have added a configuration in the application to redirect

Re: ListMultipleChoice Update Model from Choices

2010-07-27 Thread Nivedan Nadaraj
n the previous form repeated even though I cleared > >> the > >> > input form.clearInput.) > >> > 5. I add the form.modelChanged() and now it clears completely or takes > >> into > >> > account that its a fresh form. > >> > >> I could comment more if I

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

Re: ListMultipleChoice Update Model from Choices

2010-07-27 Thread Nivedan Nadaraj
> > 5. I add 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, Nive

Re: ListMultipleChoice Update Model from Choices

2010-07-26 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 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

Re: ListMultipleChoice Update Model from Choices

2010-07-23 Thread Nivedan Nadaraj
at the Palette you can se it is not trivial so it > will save you a lot of time ;) > > ** > Martin > > 2010/7/23 Nivedan Nadaraj : > > Hey Mate!!, > > > > That is classic. Will check it out, great. Again if you do know how I can > > address the issue I h

Re: ListMultipleChoice Update Model from Choices

2010-07-23 Thread Nivedan Nadaraj
> Hi! > > 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 Nived

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: 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 wrote: > Hi, > Instead of switch

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 wrote

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 : > > Hi Guys > > > > T

Re: How to be a Top Wicket Developer

2010-07-22 Thread Nivedan Nadaraj
practice and be pushed to do things you > haven't done before. > > $0.02, YMMV, etc. > > On Jul 22, 2010, 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 y

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: 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 wrote: > > Create XML file that named same with your class and put ot it > > YOUR TEXT HERE > is > not between ${minimum} and ${maximum} characters long > > instead studyDescriptionTxtArea must be wic

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

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
' 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 wrote: > Thanks for that, that worked. I have used this feature b

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 wrote: > > you could Try to set > >/** > * Sets the defaultFormProcessing property. When false (default is > true),

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 WebMarkupContain

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 v

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

2010-07-16 Thread Nivedan Nadaraj
re in a panel. Cool. Thanks for the time, Niv On Fri, Jul 16, 2010 at 11:04 PM, James Carman wrote: > You could put your components for editing the two different objects > onto two different panels, which each have a CPM inside your form. > > On Fri, Jul 16, 2010 at 7:29 AM, Nivedan

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

2010-07-16 Thread Nivedan Nadaraj
} > > Is this what you want? > > On Fri, Jul 16, 2010 at 10:43 AM, Nivedan Nadaraj >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

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

2010-07-16 Thread Nivedan Nadaraj
riable. 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,

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

2010-07-16 Thread Nivedan Nadaraj
. Thanks again Niv On Fri, Jul 16, 2010 at 7:04 PM, James Carman wrote: > 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" wrote: > > Hi > > Thanks for the poin

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 m

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 a

Re: Setting the RadioChoice with selected value -

2010-07-12 Thread Nivedan Nadaraj
t; { > return object.toString(); > } > }; > > PropertyModel propertyModel = > new PropertyModel(study,"autoGenerateSubjectKey"); > return new > RadioChoice(radioChoiceId,propertyModel,list,choiceRenderer); > > > > > 2010/7/12 Nivedan Nadaraj > &g

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 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 ideas/sugge

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
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 wrote: > Hi Igor > > Thank you

Re: Using Wicket to build Application Portal

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

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
tion related to application context as part of sub-applications? How would application 1..n have reference to the application context? I guess will try to work it from my side in the meantime. Please let me know on #1 and #2 and if I have not deviated. Many thanks Regards Niv On Thu, Jun 1

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
parameter. TabbedPanel [8: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 wrote: > On Wed, Jun 9, 2010 at 8:20 PM, Nivedan Nadaraj > wrote: > > Hi Igor, > >

Re: Using Wicket to build Application Portal

2010-06-09 Thread Nivedan Nadaraj
ome external folder and load from > all the jars there, this external folder would contain the jars for > application 2...n. > > -igor > > On Wed, Jun 9, 2010 at 7:11 AM, Nivedan Nadaraj > wrote: > > Hi All, > > > > I will try to articulate my requirement

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 application