Re: [Wicket-user] Compound Property model and Palette

2007-01-22 Thread samyem
. -igor On 10/18/06, samyem [EMAIL PROTECTED] wrote: Hi Igor, No that didn't work. You have just added a new constructor signature, but not fixed the real problem. The problem is that when Palette is constructed, it tries to make a new RecorderComponent which reads the model

Re: [Wicket-user] Abort Ajax Operation

2007-01-19 Thread samyem
, you could open a feature request for it. Eelco On 11/21/06, samyem [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: When there is an ajax operation, if the operation takes too long, what would be the best way to abort the operation? The case right now

[Wicket-user] Abort Ajax Operation

2006-11-21 Thread samyem
When there is an ajax operation, if the operation takes too long, what would be the best way to abort the operation? The case right now is if there is any long operation as a result of ajax event, the app freezes till the even is over. -- View this message in context:

Re: [Wicket-user] Compound Property model and Palette

2006-10-18 Thread samyem
are already doing. Please give it another try and I'll check again once you are done. Thanks, Samyem igor.vaynberg wrote: and its patched, let me know if it works. -Igor On 10/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote: it is a limitation, i will patch it soon. -Igor On 10/14/06

Re: [Wicket-user] Compound Property model and Palette

2006-10-14 Thread samyem
Since the Palette does not allow you to implicitly use the container's compound model, there does not appear to be an obvious way for Palette to behave the same way as the other FormComponents. So I was wondering if this is a limitation of Palette or it was done this way by design? samyem

[Wicket-user] Compound Property model and Palette

2006-10-13 Thread samyem
Is it possible for a Palette to take the CompoundPropertyModel set on the form? -- View this message in context: http://www.nabble.com/Compound-Property-model-and-Palette-tf2439928.html#a6803854 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: [Wicket-user] stop AjaxSelfUpdatingTimerBehavior programmatically ?

2006-10-05 Thread samyem
Has this been implemented yet? What's the current status? Ingram Chen wrote: Thanks! Igor, I have created a RFE for this item. If you have time to release some code snips, it is great helpful ! On 8/12/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no it is not possible. i actually

Re: [Wicket-user] input tag and src attribute

2006-09-29 Thread samyem
Any thoughts on this message? samyem wrote: If we have tags with wicket:id, the SRC and HREF attributes does not prepend context path, but it does for simple tags. Is there a reason why it is done this way (in class PrependContextPathHandler)? I am having issues with this in my app. I

Re: [Wicket-user] ajax refresh on date picker

2006-09-28 Thread samyem
Same here. I am getting too much recursion in places I didn't have problem earlier as well. Looking at the generated source, it is clear that the java script gets included more than once, not just once in the header. - Samyem Pierre-Yves Saumont wrote: I am afraid there is still a problem

Re: [Wicket-user] ajax refresh on date picker

2006-09-28 Thread samyem
the recursion error for me. When I reverted this line and use the timeout version, the recursion error disappeared. I am not sure about the big picture of what's going on, but that gave me a dirty fix for now. - Samyem samyem wrote: Same here. I am getting too much recursion in places I didn't have

[Wicket-user] input tag and src attribute

2006-09-27 Thread samyem
If we have tags with wicket:id, the SRC and HREF attributes does not prepend context path, but it does for simple tags. Is there a reason why it is done this way (in class PrependContextPathHandler)? I am having issues with this in my app. I have a button like input wicket:id=btnAccept

Re: [Wicket-user] ajax refresh on date picker

2006-09-26 Thread samyem
So far so good. Now if only the z-index issue can be cleanly fixed. I still have other issues that I'll post in other threads. - Samyem Matej Knopp wrote: The problem was that AjaxRequestTarget called component.renderHead(), without calling rendered() on component behaviors after that (co

[Wicket-user] AjaxSubmitButton does not disable

2006-09-26 Thread samyem
When I do setEnabled(false) on AjaxSubmitButton component, it does not disable the button. However, it seems to work for other components like textbox and checkboxes. Looks like a wicket problem? For now, I have had to override onComponentTag and manually set the disabled attribute on the tag. Is

Re: [Wicket-user] ajax refresh on date picker

2006-09-25 Thread samyem
on ajax refresh. Looks like the fix actually broke far more things than fixing the original problem. If you cannot identify the problem, I could prepare a quickstart to demonstrate these issues. - Samyem Matej Knopp wrote: The fix is in svn. (both 1.x and 2.0) DatePicker in modal window

Re: [Wicket-user] ajax refresh on date picker

2006-09-25 Thread samyem
Just to add emphasis, here the problem is that wicket made a request for the resource at /mm/calendar.js, which is not a valid path. It should have been /mm/app/resources/wicket.extensions.markup.html.datepicker.DatePicker/calendar.js - Samyem samyem wrote: I updated wicket and wicket

Re: [Wicket-user] ajax refresh on date picker

2006-09-25 Thread samyem
I am also getting this new error after the update: Error: wicketAjaxGet is not defined Source File: http://localhost:8081/mm/app?wicket:interface=:11:1: Line: 1 samyem wrote: I updated wicket and wicket-extension and now my modal window is not even showing and the date picker does

Re: [Wicket-user] ajax refresh on date picker

2006-09-25 Thread samyem
:com.wsi.mm.ui.media.MediaPage; } /*--]]*//script /head Now I think we should be able to pinpoint the problem at the moment. samyem wrote: I am also getting this new error after the update: Error: wicketAjaxGet is not defined Source File: http://localhost:8081/mm/app?wicket:interface=:11:1: Line: 1

Re: [Wicket-user] ajax refresh on date picker

2006-09-25 Thread samyem
with the sequence flow that I'll let you fix. - Samyem Matej Knopp wrote: No matter what I do I just can't reproduce this. Can you please double check that you're using branch wicket-1.x or trunk, and a clean build? If the problem persists, can you please either check if it happens with wicket

Re: [Wicket-user] ajax refresh on date picker

2006-09-25 Thread samyem
Okay I have got something that'll make you happy: wicket quickstart! Pick it up at http://www.yomari.net/~samyem/problem-wicket-quickstart.zip It has two pages. The first page is okay. Click on the link to go to the second one. And click on the Click here to add one link. Nothing will happen

Re: [Wicket-user] ajax refresh on date picker

2006-09-24 Thread samyem
Thanks. I've fixed the z-index problem in my app by manually resetting the z-index in my HTML, thus overriding the default values set by the components. So hopefully now everything will run smoothly. Thanks for the fix again, Samyem Matej Knopp wrote: The fix is in svn. (both 1.x and 2.0

Re: [Wicket-user] ajax refresh on date picker

2006-09-23 Thread samyem
? -Igor On 9/21/06, *samyem* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I took the latest SVN code today and suddenly, I am getting the following error

Re: [Wicket-user] ajax refresh on date picker

2006-09-23 Thread samyem
SVN source with this much info. - Samyem Matej Knopp wrote: I don'y really understand why. I was able to reproduce the problem with the files attached to bug report. And after I fixed the debug console, the problems were no longer there (though there was other problem - component

[Wicket-user] ajax refresh on date picker

2006-09-21 Thread samyem
I took the latest SVN code today and suddenly, I am getting the following error everytime there is an ajax refresh on panels with date pickers: 2006-09-21 14:16:07,728 ERROR wicket.ajax.AjaxRequestTarget - Error while responding to an AJAX request: [EMAIL PROTECTED] markupIdToComponent

Re: [Wicket-user] Modal Window

2006-09-14 Thread samyem
the cookie is used. What you need to do is set different cookie id for different modal windows. Or disable cookies at all (setCookieId(null)). -Matej samyem wrote: If the modal window is resizable, why is it ignoring the window size, and what should be done if I do need to supply

[Wicket-user] Date Picker in Modal Window

2006-09-13 Thread samyem
When the date picker is used in a modal window, the picker comes behind the modal window, making it unusuable. See http://www.nabble.com/user-files/235996/datepicker.png . Also, I am eagerly waiting for the earlier problem with date picker being unusable after an ajax refresh. -- View this

Re: [Wicket-user] Date Picker in Modal Window

2006-09-13 Thread samyem
Going a bit deeper into the problem, it looks like wicket picks up the z-index values in an arbitrary way. The components do not integrate enough to figure out the correct z-index values. For instance, the date picker is set at z-index 1000, while the modal window's mask is set to 2000 and so on.

Re: [Wicket-user] Date Picker in Modal Window

2006-09-13 Thread samyem
that many times it is actually a good idea to re-invent the wheel instead of building on such components... the problems we have with that jscalendar bastard... Anyway, if you have a patch for fixing this problem, we'd be happy to apply. Eelco On 9/13/06, samyem [EMAIL PROTECTED] wrote

[Wicket-user] Modal Window

2006-09-13 Thread samyem
If the modal window is resizable, why is it ignoring the window size, and what should be done if I do need to supply a width and height? At the moment, I can set an initial width and height, but after I close the window and go to another page with another modal window, instead of using the

Re: [Wicket-user] Error: too much recursion for Date Widget

2006-09-07 Thread samyem
I noticed that I could use addOnLoadModifier. However, it makes me know the javascript to do the ajax. I wanted to do the way I've done it this quickstart. Is there a way I can make my onload ajax event behavior to actually work as it is? -Samyem samyem wrote: I found out that the error

Re: [Wicket-user] Error: too much recursion for Date Widget

2006-09-06 Thread samyem
I found out that the error happens only when I listen to the onload on BODY tag. Here is my quickstart to prove it: Quick Start Set the date without refreshing, and then click on the link to refresh the panel. The js console will go: Error: too much recursion Source File:

Re: [Wicket-user] DatePicker problem - java script stack overflow error

2006-08-31 Thread samyem
Yup I have experienced this same problem. Hope it get addressed soon before our QA nails us down! Iuly wrote: Hi, I've upgraded my current application to 1.2.2 wicket version. The only problem that occured is related to DatePicker. Shortly I have the following use case : if a panel

Re: [Wicket-user] Error: too much recursion for Date Widget

2006-08-31 Thread samyem
you're using it? I can see from the source that you're using modal window - a very new component that might have some unforseen issues. Eelco On 8/30/06, samyem [EMAIL PROTECTED] wrote: I keep getting this error on the Date Picker: Error: too much recursion Source File: http://localhost

Re: [Wicket-user] AutoCompleteTextField

2006-08-30 Thread samyem
) is still there? johan On 8/30/06, samyem [EMAIL PROTECTED] wrote: I have a custom converter associated to my autocomplete text field that throws a conversion exception if it cannot convert the entered text into the associated object. Once it does this, I can see the error

[Wicket-user] Error: too much recursion for Date Widget

2006-08-30 Thread samyem
I keep getting this error on the Date Picker: Error: too much recursion Source File: http://localhost:8081/mm/app/resources/wicket.extensions.markup.html.datepicker.DatePicker/calendar.js Line: 1796 See my source code for the HTML generated in my browser: problem.txt I can see that the

Re: [Wicket-user] AutoCompleteTextField

2006-08-30 Thread samyem
'); ... Eelco Hillenius wrote: Could you please file an issue with our bug tracker? Eelco On 8/30/06, samyem [EMAIL PROTECTED] wrote: No other ajax component is added except the target is passed the feedbackcomponent. I can see all the javascripts necessary, and there is no error either

Re: [Wicket-user] AutoCompleteTextField

2006-08-30 Thread samyem
for the component didn't get added when the component has an error. samyem wrote: I can see that I get the following error reported in my JS console in firefox: Error: Wicket.Ajax.AutoComplete is not a constructor Source File: http://localhost:8081/mm/app?wicket:interface=:2:: Line: 78

Re: [Wicket-user] AutoCompleteTextField

2006-08-30 Thread samyem
?wicket:bookmarkablePage=:com.wsi.mm.ui.directship.newds.DirectShipBasePage Line: 79 It does not like the line: Wicket.Ajax.AutoComplete=function(elementId,callbackUrl){ samyem wrote: Also, I forgot to add that : script type=text/javascript src=/mm/app/resources

[Wicket-user] AutoCompleteTextField

2006-08-29 Thread samyem
If there is an error associated to AutoCompleteTextField, the auto complete text field does not do auto complete, which prevents the user from correcting the problem easily. Can it be done such that even if there are errors in the AutoCompleteTextField, it still behaves normally and show the

Re: [Wicket-user] Matej's Tree Demo

2006-08-29 Thread samyem
Most of the demos in that page are not working. Karl M. Davis wrote: Hey there, Just wanted to mention that the demo of Matej's new tree on the web page (http://wicketframework.org/wicket-extensions/index.html) is down. Does anyone know where I can find some sample code and/or a

Re: [Wicket-user] AutoCompleteTextField

2006-08-29 Thread samyem
: What kind of errors do you mean? Where/ how did you encounter this? Eelco On 8/29/06, samyem [EMAIL PROTECTED] wrote: If there is an error associated to AutoCompleteTextField, the auto complete text field does not do auto complete, which prevents the user from correcting

Re: [Wicket-user] AjaxLink setresponse

2006-08-18 Thread samyem
to the provided page */ public final CharSequence urlFor(final Page page) -Igor On 8/17/06, samyem [EMAIL PROTECTED] wrote: Unlike setResponsePage, urlFor does not seem to take an instance of a Page, but only Class. What if I want to pass an instance of Page itself

Re: [Wicket-user] AjaxLink setresponse

2006-08-18 Thread samyem
* setresponsepage() will work. if you cannot upgrade then you have to do target.appendJavascript (window.location=+urlFor(page, IRedirectListener.INTERFACE)); -Igor On 8/18/06, samyem [EMAIL PROTECTED] wrote: I guess I do not have the latest version. I am trying to use the trunk version

Re: [Wicket-user] AjaxLink setresponse

2006-08-18 Thread samyem
want the latest you should check out from wicket_1_2 branch. -Igor On 8/18/06, samyem [EMAIL PROTECTED] wrote: Okay that's fine. We were using the 1.2.1 release jars and not from SVN. So is it okay if i check out from wicket_1_2_1 branch instead of wicket_1_2 branch? igor.vaynberg

Re: [Wicket-user] AjaxLink setresponse

2006-08-17 Thread samyem
target.appendJavascript (window.location=+urlFor(page, IRedirectListener.INTERFACE)); -Igor On 8/17/06, samyem [EMAIL PROTECTED] wrote: What do I need to do to go to a different page as a result the user pressing an ajax link? My problem is that depending on the result of state

Re: [Wicket-user] Palette AjaxFormComponentUpdatingBehavior

2006-08-12 Thread samyem
? the problem is that it is the recorder component that needs to be submitted - it is the hidden field that keeps track of the selection. -Igor On 8/11/06, samyem [EMAIL PROTECTED] wrote: I could not make this work. I tried to override protected Component newSelectionComponent() and did: new

Re: [Wicket-user] Palette AjaxFormComponentUpdatingBehavior

2006-08-11 Thread samyem
at it so its just a guess. -Igor On 8/8/06, Samyem Tuladhar [EMAIL PROTECTED] wrote: How do I use AjaxFormComponentUpdatingBehavior with Palette ? There seem to be no effect using it the same way as with other text form fields. Thanks

[Wicket-user] Palette AjaxFormComponentUpdatingBehavior

2006-08-08 Thread Samyem Tuladhar
How do I use AjaxFormComponentUpdatingBehavior with Palette ? There seem to be no effect using it the same way as with other text form fields.Thanks, - Using Tomcat but need to do more? Need to support web services, security?

[Wicket-user] Component updating problem

2006-08-08 Thread Samyem Tuladhar
I am getting errors like these:ERROR: Component with id [[dataView_modalPanel_placeHolder_panel_modalPanel_shippingRatesGroupForm_sourceCodes_choices]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you

[Wicket-user] Palette autoupdate

2006-07-27 Thread samyem
When using a Palette, how do I make it such that the Palette can update the model as soon as user changes the data in the Palette? I had been able to do this with more other form components by using: AjaxFormSubmitBehavior(form,onchange) This has not worked for Palette. What would be the

Re: [Wicket-user] Wicket 1.2.1 available

2006-07-24 Thread samyem
As soon as upgrading to the new version, I am getting these types of errors all over the place: WicketMessage: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: com.wsi.mm.ui.shippingrates.ShippingRateGroupPage Root cause:

Re: [Wicket-user] Wicket 1.2.1 available

2006-07-24 Thread samyem
Thanks. That solved my problem for now. -- View this message in context: http://www.nabble.com/Wicket-1.2.1-available-tf1992241.html#a5472704 Sent from the Wicket - User forum at Nabble.com. - Take Surveys. Earn Cash.

[Wicket-user] Label and Compound Property Model

2006-06-30 Thread samyem
Label does not seem to take Compound Property Model as other components like Text Field. Is this intended? Do I always have to explicitely pass in the model to a Label? -- View this message in context: http://www.nabble.com/Label-and-Compound-Property-Model-tf1875306.html#a5127082 Sent from the

[Wicket-user] Disabling Palette

2006-06-28 Thread samyem
How do I disable a Palette? setEnabled(false) apparently didn't work for some reason. -- View this message in context: http://www.nabble.com/Disabling-Palette-tf1863672.html#a5091463 Sent from the Wicket - User forum at Nabble.com. Using Tomcat but need to do more? Need to support web

Re: [Wicket-user] Ajax Panel Include

2006-06-20 Thread samyem
Has this problem been fixed yet? This is becoming a major problem in my project. -- View this message in context: http://www.nabble.com/Ajax-Panel-Include-t1606490.html#a4957969 Sent from the Wicket - User forum at Nabble.com. ___ Wicket-user

[Wicket-user] findSetter

2006-06-11 Thread samyem
The findSetter method in wicket.util.lang.PropertyResolver is defined as: private final static Method findSetter(Method getMethod, Class clz) { String name = getMethod.getName(); name = set + name.substring(3);

[Wicket-user] Ajax Indicator Appender

2006-06-05 Thread samyem
I am trying to use the AjaxIndicatorAppender. My problem is that when I click on my Ajax link, it shows the GIF but when the request is over, the GIF is still there. I looked at the HTML source code and my link has the following onclick attribute on the SPAN tag:

[Wicket-user] ConcurrentModificationException

2006-06-01 Thread samyem
. Can you guys give me some kind of hints how I can try to solve this type of problem? Is there something that can be fixed in Wicket to get rid of this problem? Thanks, Samyem -- View this message in context: http://www.nabble.com/ConcurrentModificationException-t1720838.html#a4674302 Sent from

[Wicket-user] Ajax Panel Include

2006-05-12 Thread Samyem Tuladhar
When I include a panel into a page after the page has been loaded through ajax, I do not get the content defined in the wicket:head. How do I access the head of the panel so that I can dynamically load them through ajax once the page has been on the browser? Samye

[Wicket-user] Image Resource

2006-05-08 Thread Samyem Tuladhar
resource change? Thanks,Samyem