Re: Validators for lists

2008-07-06 Thread atul singh
cts is in this case multiple input fields? > Why do that in a list, just give every email field that validator and > let wicket be the one that iterates of the list. Then you also have > much better feedback to the end user > > On 7/5/08, atul singh <[EMAIL PROTECTED]> wrote: &g

Validators for lists

2008-07-05 Thread atul singh
Can someone please suggest a way to use/extend the current validators to validate list of objects. The problem is i have to write code in the following manner and don't know if it is a good approach. EmailAddressValidator validator = EmailAddressValidator.getInstance(); for (final

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-02 Thread atul singh
initial post from Eelco. He explicitly wrote: "Note > that it is not a vote; we only want to get an idea of what you think." and > further away: "Thanks in advance for everyone participating, and pls feel > free to explain yourself further beyond just answering these ques

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-02 Thread atul singh
Hello everyone, I feel bad that a vote thread has been converted to one of discussion... At this moment wicket is *for *creating custom components. If these custom component writing gets complicated we will not be able to appreciate wicket as much(as much as we do now).Generics will complicate the

Re: Feedback message related problem--info,debug etc take string arguments which is not very flexible

2008-06-02 Thread atul singh
ke a reasonable request to me (I am no core member). Its best > to open a new issue in Wicket's jira, preferably with a patch attached. > > Regards, > Erik. > > > atul singh wrote: > >> Hi, >> I see that only error() feedback takes a serializabel message.

Re: Weird exceptions. Has anyone seen any exceptions like these

2008-06-02 Thread atul singh
AIL PROTECTED]> wrote: > In 1.3.4 this error shouldnt happen, it is just ignored > > On 6/1/08, atul singh <[EMAIL PROTECTED]> wrote: > > Hi, > > As a result of code integration from various teams we have introduced > > some change which is causing problems... >

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-01 Thread atul singh
1) [ X] Can best be done in a limited fashion, where we only generify IModel but not components. I care more about what generifying can do for API clarity (declaring a component to only accept certain models for instance) than static type checking. *Reason::* I think generifying data-structure/mod

Re: Weird exceptions. Has anyone seen any exceptions like these

2008-06-01 Thread atul singh
ent that has been removed from the page. > > Maurice > > On Sun, Jun 1, 2008 at 7:32 PM, atul singh <[EMAIL PROTECTED]> wrote: >> Hi, >> As a result of code integration from various teams we have introduced >> some change which is causing problems... >> but

Weird exceptions. Has anyone seen any exceptions like these

2008-06-01 Thread atul singh
Hi, As a result of code integration from various teams we have introduced some change which is causing problems... but the sad part is that we do not know what is happening-- I will loove to know if someone else has seen similar exceptions and how they solved if they were able to:: Also what do the

Feedback message related problem--info,debug etc take string arguments which is not very flexible

2008-06-01 Thread atul singh
Hi, I see that only error() feedback takes a serializabel message. This allows me to pass any java object as message and implement custom filtering of messages by components. but info,debug etc take a string and so do not help me in that kind of filtering. Actually what we have is a TabbedWizard th

Re: (Class>) casting troubles

2008-05-24 Thread atul singh
As a java user I never missed generics. Following opinion is just what i feel... a) ClassCastExceptions never wasted my time more than a few minutes. b)Also the advantage of code that spoke for itself could only be achieved through a good developer (generics is not the cure to this, and many can ac

Re: AbstractDefaultAjaxBehavior ....shows the ajax indicator even if precondition script returns false.

2008-04-17 Thread atul singh
*https://issues.apache.org/jira/browse/WICKET-1550* On Thu, Apr 17, 2008 at 7:48 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > file a bug in jira please > > -igor > > On Wed, Apr 16, 2008 at 6:52 PM, atul singh <[EMAIL PROTECTED]> wrote: > > AbstractDefaultAjax

AbstractDefaultAjaxBehavior ....shows the ajax indicator even if precondition script returns false.

2008-04-16 Thread atul singh
AbstractDefaultAjaxBehavior shows the ajax indicator even if precondition script returns false. That means no call will be made actually to the server right(And hence no indicator should be shown). I know i can have my own implementation to get this, but i wanted to use IAjaxIndicatorAware Should i

javascript error in internet explorer

2008-04-16 Thread atul singh
Hi, I wanted to know about preCallHandlers in wicket-ajax.js .What are they and How are they related in java code. Actually I am facing a problem in internet explorer. The ajax get call give error after "Invoking pre-call handler(s).." It gives an error in the highlighted portion and then all ajax

Re: CheckGroupSelector problem

2008-04-13 Thread atul singh
m are not checked. You would then set the CheckGroupSelector's > 'checked' value based on that flag. > See CheckGroupSelector.onComponentTag(ComponentTag) for an example of the > main JavaScript involved (i.e. finding and iterating through the Check > elements). &g

CheckGroupSelector problem

2008-04-10 Thread atul singh
I am facing an issue with CheckGroupSelector. CheckGroupSelector is not showing itself selected, though all of the Check's in the CheckGroup come pre-selected based on the underlying model i am setting up. (That means I have the CheckGroup's list model already populated with all individual Check's

Re: FeedbackPanel ul has no class

2008-04-05 Thread atul singh
I find the class attribute feedbackPanelERROR in my error feedback for wicket1.3.0 beta2 Does this mean that this was removed from feedback panel in further version..? On Sun, Apr 6, 2008 at 2:56 AM, Matthew Young <[EMAIL PROTECTED]> wrote: > Jira added: https://issues.apache.org/jira/browse

unclosed leading to trouble

2008-04-01 Thread atul singh
I by mistake had this tag ** left in my markup. I was experiencing a lot of other issues because of this, and I don't know why. The problems were the following:: 1. An ajax link ,when clicked, not found on its page org.apache.wicket.WicketRuntimeException: component somewicketpath:link not found on

Re: Planning Wicket Next Generation

2008-03-16 Thread atul singh
java 5 now definitely On Sun, Mar 16, 2008 at 7:48 PM, James Carman <[EMAIL PROTECTED]> wrote: > On 3/16/08, Maarten Bosteels <[EMAIL PROTECTED]> wrote: > > +1 for moving to java 5 > > > > +1 for moving to Java 5 *quickly* :) > > ---

Confine feedback messages to a panel

2008-03-10 Thread atul singh
hi, I have an ajax checkbox, which when checked, i show a feedback at the top of the panel. Due to this event another panel on the same page is repainted and made visible. The problem is I see the feedback message in the feedback component present in the other panel as well. I feel this is because

Re: AjaxBehaviour how to question

2008-03-10 Thread atul singh
Also, does returning true for isTemporary re-render any javascript resource reference?? On Mon, Mar 10, 2008 at 4:30 PM, atul singh <[EMAIL PROTECTED]> wrote: > Thank you for the isTemporary() suggestion.. . BTW before i got your reply > i tried implementing following way,

Re: AjaxBehaviour how to question

2008-03-10 Thread atul singh
turn true - that way it is removed at > the end of the request. > > -igor > > > On Sun, Mar 9, 2008 at 6:39 PM, atul singh <[EMAIL PROTECTED]> wrote: > > How can i write an ajax behaviour which does not have its own callback, > but > > just appends javascript t

AjaxBehaviour how to question

2008-03-09 Thread atul singh
How can i write an ajax behaviour which does not have its own callback, but just appends javascript to an existing AjaxRequestTarget. I want this so that i can write a fading feed back panel, which will be added to AjaxRequestTarget of an ajax form submission. What I want is something like this::

Re: CompoundModel based on proxies

2008-02-26 Thread atul singh
I feel this approach does NOT solve a problem.Its just an alternative .. On Tue, Feb 26, 2008 at 4:48 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > We've reworked the implementation a bit,it works like this: > > > SafePropertyModel p = new SafePropertyModel(new Person()); > TextField field = n

Re: Using javascript limits me from having an immersive user interface:Re: Add row to list of items on a page dynamically via ajax without repainting whole list

2008-01-26 Thread atul singh
sive ajax user interface for the row generated using > javascript.* > Can someone think of a way to achieve this using components?? > > > > On Jan 22, 2008 12:31 PM, Peter Thomas <[EMAIL PROTECTED]> wrote: > > > On 1/22/08, atul singh <[EMAIL PROTECTED]> wrote:

Using javascript limits me from having an immersive user interface:Re: Add row to list of items on a page dynamically via ajax without repainting whole list

2008-01-26 Thread atul singh
a way to achieve this using components?? On Jan 22, 2008 12:31 PM, Peter Thomas <[EMAIL PROTECTED]> wrote: > On 1/22/08, atul singh <[EMAIL PROTECTED]> wrote: > > > > Hi > > I want to add a new row on my page using ajax, without having to repaint > > the &g

Use of detachable model in pageable view

2008-01-23 Thread atul singh
Hi all, >From my analysis it seems that the items which are visible in the current page are the only ones in session. If i have a pagesize of 10 objects and i have 1 users searching, it would mean lot of data in session. Thus I think I should use detachable models in pageable views. I just wa

Add row to list of items on a page dynamically via ajax without repainting whole list

2008-01-21 Thread atul singh
Hi I want to add a new row on my page using ajax, without having to repaint the complete list already being displayed on the page. This i want to reduce the ajax payload;any help on how i can do this?