Re: AutoCompleteTextField problem

2007-12-05 Thread Dipu Seminlal
can you please try enclosing the dropdown in a webmarkupcontainer and repaint the container instead of repainting the whole form. That will work. regards dipu On Dec 5, 2007 2:23 PM, Dipu Seminlal <[EMAIL PROTECTED]> wrote: > agreed, onBlur doesn't seem to work, in my project had

Re: AutoCompleteTextField problem

2007-12-05 Thread Dipu Seminlal
it and it doesn't work. > > -----Original Message- > From: Dipu Seminlal [mailto:[EMAIL PROTECTED] > Sent: 05 December 2007 12:10 > To: users@wicket.apache.org > Subject: Re: AutoCompleteTextField problem > > can you try changing the event from onchange to onblur

Re: AutoCompleteTextField problem

2007-12-05 Thread Dipu Seminlal
can you try changing the event from onchange to onblur On Dec 5, 2007 12:08 PM, dariusz.holda <[EMAIL PROTECTED]> wrote: > > Hi, > I have AutoCompleteTextField with > AjaxFormComponentUpdatingBehavior("onchange"). When the value is chosen > from > the auto complete it populates the model object o

Re: Get Value entered in CheckBoxMultipleChoice and TextFields

2007-11-29 Thread Dipu Seminlal
take a look at the CheckBoxMultipleChoicePage in the wicket examples, that will give you the idea, i have not used it myself though. regards -dipu On Nov 29, 2007 12:49 PM, tsuresh <[EMAIL PROTECTED]> wrote: > > Hello every body, > I have got the problem again, I have a form to add new Role whi

Re: Populate form according to selected item in dropdownchoice

2007-11-27 Thread Dipu Seminlal
e easier for me to understand if you > provide the code example. I studied the link > http://cwiki.apache.org/WICKET/dropdownchoice-examples.html but could not > understand it. > thanks > > > Dipu Seminlal wrote: > > > > there are two ways to do it > > > > overri

Re: Populate form according to selected item in dropdownchoice

2007-11-26 Thread Dipu Seminlal
there are two ways to do it override the wantOnSelectionChangedNotifications of the user dropdown to return true and override onSelectionChanged to do what you want, but this will result in server round trips ( refer the java of DropDownChoice ) or use an AjaxFormComponentUpdatingBehavior on the

Re: Getting started

2007-11-22 Thread Dipu Seminlal
on't now what kinds of > objects. Must i create one class per non static item to be displayed ? > > Dipu Seminlal a écrit : > > > Is the content of your page (paragraph, links, list etc ) static in > > nature, then you can just write it directly in html, > > >

Re: Getting started

2007-11-22 Thread Dipu Seminlal
> > It works great but my page "StartupPage.html" must contains more than > one welcome message. > - Must i have one attribute (in my bean) per item to display ? > - If i must have one attribute in my bean per item to d

Re: Getting started

2007-11-22 Thread Dipu Seminlal
We don't do imports, we extends ! checkout markup inheritance http://cwiki.apache.org/WICKET/markup-inheritance.html regards dipu On Nov 22, 2007 2:48 PM, Gervais <[EMAIL PROTECTED]> wrote: > Hy all, > > I'm new in the famous wicket world ! I need to start learning Wicket but > i can't found doc

Re: Wicket Stuff JQuery + Wicket Ajax

2007-11-22 Thread Dipu Seminlal
ng i tried using AjaxCalldecorator. Thanks Dipu On Nov 21, 2007 4:37 PM, Dipu Seminlal <[EMAIL PROTECTED]> wrote: > Hi All, > > I am trying to use the Wicket Stuff JQuery - Drag and Drop feature, > > I constructed simple list as in the example and everything works fine,

Wicket Stuff JQuery + Wicket Ajax

2007-11-21 Thread Dipu Seminlal
Hi All, I am trying to use the Wicket Stuff JQuery - Drag and Drop feature, I constructed simple list as in the example and everything works fine, Now i add a new item to the list, i add the new item on the click of an AjaxLink and redraw the list. But after that rendering the new list on the

Re: how to call a javascript function?

2007-11-15 Thread Dipu Seminlal
override the onComponentTag of the form object, hope this helps protected void onComponentTag(final ComponentTag tag) { super.onComponentTag(tag); tag.put("onSubmit", " return yourValidateFunction(); } cheers -dipu On Nov 15, 2007 3:23 PM, raybristol <[EMAIL PROTECT

Re: How can I switch page direction (LTR-RTL)?

2007-11-15 Thread Dipu Seminlal
Its a class that allows a tag attribute of a wicket component to be modified on the fly with the value supplied. We can do something like this, hope this makes sense WebMarkupContainer myImage = new WebMarkupContainer("image"); String url =image.getThumbnailURL()==null?image.getURL():image.getThu

Re: Problem deploying the app as portlet in Jetspeed

2007-11-14 Thread Dipu Seminlal
sorry, my bad, found the reason why , i had a conflicting jar in the class path. Initialization failure has gone now. I am not there yet , i will ping with other problems. many thanks for the patience. cheers dipu On Nov 14, 2007 3:00 PM, Dipu Seminlal <[EMAIL PROTECTED]> wrote: >

Re: Problem deploying the app as portlet in Jetspeed

2007-11-14 Thread Dipu Seminlal
<[EMAIL PROTECTED]> wrote: > Hi Dipu, > > I do need the possible errors from jetspeed.log and maybe catalina.out to > help. > Without that, I really don't know what's going wrong and what has an > initialization failure here. > > Ate > > > > Dipu Semi

Re: Problem deploying the app as portlet in Jetspeed

2007-11-14 Thread Dipu Seminlal
w what's going wrong and what has an > initialization failure here. > > Ate > > > > Dipu Seminlal wrote: > > Hi all, > > > > I tried to deploy my application as portlet in jetspeed and it's > > complaining about "Initialization failure" >

Re: working with JSP problem, thanks!

2007-11-14 Thread Dipu Seminlal
i think you should be doing this AdminPagesApplication org.apache.wicket.protocol.http.WicketServlet applicationClassName apto.umbrella.wicketInterface.AdminPagesApplication servlet> AdminPagesApplication2 org.apache.wicket

Re: required field in a form, help :)

2007-11-14 Thread Dipu Seminlal
setDefaultFormProcessing(false) on your cancel buttom Regards Dipu On Nov 14, 2007 11:05 AM, raybristol <[EMAIL PROTECTED]> wrote: > > Hi, I have some inputs in a form, some are required field, they work fine > when I press 'submit' button, however, I also include a cancel button, in > which oncl

Problem deploying the app as portlet in Jetspeed

2007-11-13 Thread Dipu Seminlal
Hi all, I tried to deploy my application as portlet in jetspeed and it's complaining about "Initialization failure" I can't find anything useful in the logs I am using Jetspeed 2.1.2 and my app is build against the wicket trunk. I have given the following in my portlet.xml ServletContex

Re: IExceptionResponseStrategy gone from 1.3

2007-11-01 Thread Dipu Seminlal
stub return new ErrorPage(e,page); } }; } or do you mean something else ?? Kind Regards Dipu On 11/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > override requestcycle.onruntimeexception() > > -igor > > > On 11/1/07, Dipu

Re: Synchronizing AutoCompleteTextField with a checkbox

2007-11-01 Thread Dipu Seminlal
hmmm, thats even better :) On 11/1/07, WicketKeeper <[EMAIL PROTECTED]> wrote: > > > I'm a dumdum. > The answer is to use AjaxCheckBox (duhh) > Cheers > WK > > > WicketKeeper wrote: > > > > Hi > > > > I have an autocomplete field object with the getChoices method > overridden, > > which works just

Re: Synchronizing AutoCompleteTextField with a checkbox

2007-11-01 Thread Dipu Seminlal
try adding AjaxFormComponentUpdatingBehaviour to the the check box instead of setting wantOnSelectionChangedNotifications. as far as i know wantOnSelectionChangedNotifications will refresh the page. AjaxFormComponentUpdatingBehaviour will do an ajax call and won't refresh the entire page. Regard

IExceptionResponseStrategy gone from 1.3

2007-11-01 Thread Dipu Seminlal
Hi all, I had a simple implementation of IExceptionResponseStrategy which helped me to do this protected IRequestCycleProcessor newRequestCycleProcessor() { return new DefaultWebRequestCycleProcessor() { protected IExceptionResponseStrategy newExceptionResponseSt

Re: Two forms on the same page

2007-11-01 Thread Dipu Seminlal
yes its possible to have two forms in the same page. if you could provide some more details, you are likely to get more helpful response :) Cheers Dipu On 11/1/07, Cristi Manole <[EMAIL PROTECTED]> wrote: > > Hello, > > Simple question :) : > > Is it possible to have two forms on the same p

Re: PagingNavigator with custom images

2007-10-26 Thread Dipu Seminlal
What i did was had a dummy extension of the Paging Navigator and Provided Markup for the extension and used it where ever needed. So that you can modify the markup as you want it. Regards Dipu On 10/26/07, Swaroop Belur <[EMAIL PROTECTED]> wrote: > > It looks like you will have to copy that mar

Re: Confirmation message after form submit

2007-10-25 Thread Dipu Seminlal
yes a modal window, i am not sure about how would you pop up a javascript confirm() after doing a server side validation. there might be a way, but i don't know how Dipu On 10/25/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > On Thu, 25 Oct 2007 10:40:20 +0100 > &qu

Re: Confirmation message after form submit

2007-10-25 Thread Dipu Seminlal
I think you can make use of a modal window to do this Regards Dipu On 10/25/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > Hi everyone! > I have a form with a submit button, and I need to implement a sequence > like this: > - user presses the button > - form submit > - server-side validation

Re: getRealPath resolving differently on trunk

2007-10-24 Thread Dipu Seminlal
Please ignore this question, that was bad me at work ( very very stupid question ) On 10/24/07, Dipu Seminlal <[EMAIL PROTECTED]> wrote: > > Hi all, > > I am trying to migrate my application to the latest version of wicket, > > I have something like this, which works as e

getRealPath resolving differently on trunk

2007-10-24 Thread Dipu Seminlal
Hi all, I am trying to migrate my application to the latest version of wicket, I have something like this, which works as expected in wicket 1.2.6 WebMarkupContainer logo = new WebMarkupContainer("ogo"); AttributeModifier am = new AttributeModifier("src", new Model( ServletContext.getRealPath("

Re: dummy question, how to set wicket in Deloyment mode?

2007-10-23 Thread Dipu Seminlal
you can specify it in your web.xml On 10/23/07, raybristol <[EMAIL PROTECTED]> wrote: > > > dummy question, how to set wicket in Deloyment mode? There is a > Application#getConfigurationType() but I expect something like > Application#setConfigurationType() which does not exist so I thing I must >

Re: out of memory - wicket 1.2.6

2007-10-09 Thread Dipu Seminlal
rmer job, we had a memory leak not in our own application but a > > dependancy though.. Thats where jmeter and jprobe came into scope. It > > took me 12 hours of screen starin/running different scenarios to find > > out what it was, very boring but nice to see it wasnt my code.

Re: out of memory - wicket 1.2.6

2007-10-08 Thread Dipu Seminlal
i would say very less ,i wouldn't rule it out though. On 10/8/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > > What are the chances of you having a memory leak in your code? > > regards Nino > > Dipu Seminlal wrote: > > yes it's in

Re: out of memory - wicket 1.2.6

2007-10-08 Thread Dipu Seminlal
and a > performance tester (because memory errors might not be obvious until > youve gotten a lot of clicks). > > I'd suggest JProbe and JMeter... > > http://www.quest.com/jprobe/memory-home.aspx > http://jakarta.apache.org/jmeter/ > > regards Nino > > Dipu S

out of memory - wicket 1.2.6

2007-10-08 Thread Dipu Seminlal
Hi, One of our servers running wicket application went down throwing out of memory error. This is the first time it has ever happened, can any one throw some light on the reason for the issue. 2007-10-08 11:36:02:425 ERROR wicket.RequestCycle [TP-Processor63] - Method onFormSubmitted of interf

Re: New Wicket Portlets Demo available

2007-09-25 Thread Dipu Seminlal
Thats good news, thanks very much. Cheers Dipu On 9/25/07, Ate Douma <[EMAIL PROTECTED]> wrote: > > I'm even more happy to announce that Wicket Portlet Support has now been > merged into the trunk and already will be part of the upcoming > 1.3.0-beta4release! > > In the next few days or hopefull

Re: Portlet Support

2007-09-24 Thread Dipu Seminlal
wse/PB-65 > > So, for now, you might be required to test and experiment using > Jetspeed-2, although I think I already saw someone report it running on > Liferay as well. > > Regards, > > Ate > > > > > Martijn > > > > On 8/30/07, Igor Vaynb

Re: ANN: beturtle.com launched

2007-09-24 Thread Dipu Seminlal
Very Nice, Congratulations !! Dipu On 9/21/07, Joe Toth <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > We just launched http://beTurtle.com/ - A 'green' social networking > site. If your interested in healthy living, sustainable practices, have > 'green' questions or just want to make some new f

Re: Page expiration

2007-09-20 Thread Dipu Seminlal
Hi, Can you please check if you have any img tags in your html with empty src attributes ? Regards Dipu On 9/20/07, Holda, Dariusz <[EMAIL PROTECTED]> wrote: > > > Hi, > I've came across a strange behaviour. I'm running Wicket app on Jetty > server and most of the times it's working fine but fro

Re: New Wicket Portlets Demo available

2007-09-20 Thread Dipu Seminlal
Thanks Gwyn Regards Dipu On 9/20/07, Gwyn Evans <[EMAIL PROTECTED]> wrote: > > Probably fairly soon - we've been looking at the changes and > discussing it on the dev list, to try & get an idea if it'll cause a > significant delay with regards to the aim of getting a 1.3 release out > ASAP. Cur

Re: New Wicket Portlets Demo available

2007-09-20 Thread Dipu Seminlal
Hi Ate, I'm interested in the portlet support which you have implemented in wicket. Any idea when it might be merged into the trunk? Regards Dipu On 9/17/07, Ate Douma <[EMAIL PROTECTED]> wrote: > > I'm really happy to announce that a new and quite feature complete Wicket > Portlets Demo is no

Re: applicationwide datePattern

2007-09-07 Thread Dipu Seminlal
" - so how can this > be changed? (so MEDIUM instead of SHORT is used) > > Regards > Korbinian > > > Dipu Seminlal schrieb: > > try using session.setLocale() > > thats how i do it. > > > > Regards > > Dipu > > > > On 9/6/07,

Re: applicationwide datePattern

2007-09-06 Thread Dipu Seminlal
try using session.setLocale() thats how i do it. Regards Dipu On 9/6/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > > Hi, > > can anyone tell me how to change the default date pattern wicket should > use in the whole app? > > I mean i can do: > > add(new DatePicker() { >

Re: Portlet Support

2007-08-31 Thread Dipu Seminlal
oprietary > > implementations anymore. > > > > For my own testing, and because I'm also a Jetspeed committer, I've > > already provided Jetspeed-2 specific support implementations. > > Since the latest Jetspeed-2.1.2 release, these are provided > out-of-the

Portlet Support

2007-08-30 Thread Dipu Seminlal
Hi All, I checked out the wicket trunk and found that the Portlet package has disappeared from where it was. Has it been moved to somewhere else or did the Portlet support got removed totally ? What is the future plans for the Portlet support in wicket. Thanks Dipu

Re: How to get the html combo value in wicket?

2007-08-16 Thread Dipu Seminlal
the selected value will get attached to the model, please take a look at FormInputExample in Wicket Examples. -dipu On 8/16/07, Edi <[EMAIL PROTECTED]> wrote: > > > My Question is how to get the html combo value using wicket methods? > > > > > igor.vaynberg wrote: > > > > the final value is put i

Re: Reacting to DateField change

2007-08-09 Thread Dipu Seminlal
i checked and i agree with Igor :) On 8/9/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > On 8/9/07, Dipu Seminlal <[EMAIL PROTECTED]> wrote: > > > > yes i am almost certain, we need to have the event in the markup. > > if you add an onchange behaviour then y

Re: Reacting to DateField change

2007-08-09 Thread Dipu Seminlal
protected void onUpdate(AjaxRequestTarget target) { testModel.setUpdatedField(testModel.getDateField()); target.addComponent(updatedField); } }; dateField.add(behavior); On 8/9/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > On Thu, 9

Re: Reacting to DateField change

2007-08-09 Thread Dipu Seminlal
that must work even when you use a DatePicker ( calendar ) On 8/9/07, Dipu Seminlal <[EMAIL PROTECTED]> wrote: > > oh yes you need to set the outputMakupId to true, here you go > > TextField dateField = new TextField("dateField"); > add(dateField

Re: Reacting to DateField change

2007-08-09 Thread Dipu Seminlal
the backing model repaint the component target.addComponent(updatedField); } }; dateField.add(behavior); On 8/9/07, Dipu Seminlal <[EMAIL PROTECTED]> wrote: > > yes i am almost certain, we need to have the event in the markup. > if y

Re: Reacting to DateField change

2007-08-09 Thread Dipu Seminlal
yes i am almost certain, we need to have the event in the markup. if you add an onchange behaviour then you must add onchange in the markup. On 8/9/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > On Thu, 9 Aug 2007 14:10:58 +0100 > "Dipu Seminlal" <[EMAIL PROTECTE

Re: Reacting to DateField change

2007-08-09 Thread Dipu Seminlal
Did you add onchange in the markup as well, you need to add it in the markup as well Regards Dipu On 8/9/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > Hi everyone! > I'd like to add an AJAX behavior to a DateField, so that when the value of > the textfield changes an event gets fired.. I w

Re: newbie: best practice for not rendering component?

2007-08-09 Thread Dipu Seminlal
ke good practice to > put that handling in the model. > The basic question was more if I have understood the requirement to > always add a component if the HTML-template named one. If so, if there > was some pattern that had evolved for handling alternate or > error-flows when building th

Re: newbie: best practice for not rendering component?

2007-08-09 Thread Dipu Seminlal
Can't you return Collections.EMPTY_LIST.iterator() from the dataprovider when an exception happens and also set the visibility of the data view based on the size - dataview.setVisible(yourdataprovider.size()>0) Regards Dipu On 8/9/07, Johan Maasing <[EMAIL PROTECTED]> wrote: > > I am rather new

ERROR - Internal error cloning object

2007-07-30 Thread Dipu Seminlal
Hi Igor/Eelco and Others, Sorry i am reposting this, can any one please tell me how to get around this issue. I am seeing loads of "Internal error cloning object" error in the log files. I am running on DEPLOYMENT mode and also i have set get().getDebugSettings() .setSerializeSessionAttributes(f

loads of Internal error cloning object

2007-07-30 Thread Dipu Seminlal
Hi all, I am seeing loads of "Internal error cloning object" error in the log files. I am running on DEPLOYMENT mode and also i have set get().getDebugSettings().setSerializeSessionAttributes(false); ( which is not really required when i am on Deployment mode ) in the application class. I have