Re: [Wicket-user] NPE in Session.cleanupFeedbackMessages in wicket 1.2.2

2007-07-22 Thread Nili Adoram
anyone ? Nili Adoram wrote: Hi all, The following error has occurred to a member of our QA team. He could not reproduce the scenario. If you look at the source files of 1.2.2 this is a very weird error, since a few lines ahead we verify that feedback messages are not null. Could

[Wicket-user] NPE in Session.cleanupFeedbackMessages in wicket 1.2.2

2007-07-16 Thread Nili Adoram
Hi all, The following error has occurred to a member of our QA team. He could not reproduce the scenario. If you look at the source files of 1.2.2 this is a very weird error, since a few lines ahead we verify that feedback messages are not null. Could this be a race between threads? (AJAX races a

Re: [Wicket-user] javascript error 'too much recursion'ifcalendar.js is included more than once

2007-06-30 Thread Nili Adoram
Indeed, if placing a page (modal.setPageCreator()) instead of a panel (modal.setContent()) the date picker is properly displayed even in 1.2.2 Thanks :) Nili Adoram wrote: sorry for lighting the fire. you're doing a great job :) However, when I tried to upgrade to 1.2.6 many errors were thrown

Re: [Wicket-user] javascript error 'too much recursion'ifcalendar.js is included more than once

2007-06-27 Thread Nili Adoram
sorry for lighting the fire. you're doing a great job :) However, when I tried to upgrade to 1.2.6 many errors were thrown. Since I'm very short on time due to deadline, I had to postpone this upgrade until our software is released. Matej Knopp wrote: Of course not. I believe we did our best.

[Wicket-user] javascript error 'too much recursion ' if calendar.js is included more than once

2007-06-26 Thread Nili Adoram
Hi all, I am working with wicket-1.2.2. I included datepicker calendar.js twice in the same page, and the following error occurred when clicked on the datepicker. Any suggestions? too much recursion setFullYear(2007)calendar.js (line 1796) setFullYear(2007)calendar.js (line 1796)

Re: [Wicket-user] javascript error 'too much recursion ' ifcalendar.js is included more than once

2007-06-26 Thread Nili Adoram
(2007)calendar.js (line 1796) :) -Matej On 6/26/07, Matej Knopp [EMAIL PROTECTED] wrote: You need to use more recent version. Wicket 1.2.2 is really ancient. Also after upgrade, don't forget to clean browser cache. -Matej On 6/26/07, Nili Adoram [EMAIL PROTECTED] wrote: Hi all

Re: [Wicket-user] javascript error 'too much recursion 'ifcalendar.js is included more than once

2007-06-26 Thread Nili Adoram
even upgrade to 1.2.6 is involved with lots of adoptions. the question is whether it will solve this issue. Timo Rantalaiho wrote: On Tue, 26 Jun 2007, Nili Adoram wrote: I am afraid I cannot upgrade at the moment since we don't have the time for massive API changes of 1.3. 1.2.2

Re: [Wicket-user] Help: modalwindow question

2007-06-14 Thread Nili Adoram
in your panel: final ModalWindow modal; add(modal = new ModalWindow(modalAdvancedSearch)); add(new AjaxLink(openModal) { @Override public void onClick(AjaxRequestTarget target) { modal.show(target); } });

Re: [Wicket-user] Help: modalwindow question

2007-06-14 Thread Nili Adoram
meaning. An open modalwindow has a form, when the form had been submmitted( where form onSubmit( ) I will do something here), I want to refresh parent window , and close current window, how to do ? Nili Adoram [EMAIL PROTECTED] news:[EMAIL PROTECTED] in your panel: final

Re: [Wicket-user] MarkupContainer.add() fails if log4j is enabled

2007-06-07 Thread Nili Adoram
If wicket policy prohibits isVisible() to depend on parent page, you might as well make it final. This is acceptable if you provide some other hook that may depend on parent page. Johan Compagner wrote: Moreover, this is an inconsistent behavior. System should have the same

[Wicket-user] MarkupContainer.add() fails if log4j is enabled

2007-06-06 Thread Nili Adoram
I come across a very puzzling behavior in wicket-1.2.2. I add a component to its container when the page is initialized, BEFORE it is rendered and before page model finished to initialize. if log4j is configured to enable wicket debug, the container toString() is called. This method invoked

Re: [Wicket-user] MarkupContainer.add() fails if log4j is enabled

2007-06-06 Thread Nili Adoram
Issued: https://issues.apache.org/jira/browse/WICKET-622 Thanks, Nili Eelco Hillenius wrote: 1. Why isn't toString() of Component a safe method ? It should be, and later versions tweaked this. However, it's still defaulting to the extended debug info, which is maybe not the best idea.

Re: [Wicket-user] modal window is closed when form inside content panel is submitted

2007-01-10 Thread Nili Adoram
log? Probably there will be an exception. Can you post the stacktrace? -Matej Nili Adoram wrote: I tried replacing the original SubmitLink in the form with an AjaxSubmitLink: public class AdvancedSearchForm extends Form { private static final String id = advanedSearchFrom

[Wicket-user] modal window is closed when form inside content panel is submitted

2007-01-09 Thread Nili Adoram
Hi all, I have a panel (named AdvancedSearchPanel) containing a Form with a SubmitLink. I open this panel inside a modal dialog: final ModalWindow modal; add(modal = new ModalWindow(modalAdvancedSearch)); final AdvancedSearchPanel searchPanel = new

Re: [Wicket-user] modal window is closed when form inside content panel is submitted

2007-01-09 Thread Nili Adoram
) inside the onSubmit(AjaxRequestTarget...) method. -Matej Nili Adoram wrote: Hi all, I have a panel (named AdvancedSearchPanel) containing a Form with a SubmitLink. I open this panel inside a modal dialog: final ModalWindow modal; add(modal = new ModalWindow

[Wicket-user] modal window with form

2007-01-08 Thread Nili Adoram
Hi all, I want to implement the following: All application pages should contain some Search button. When the user clicks this button, a modal dialog with Search Form will be displayed. Once the user submits the form the modal dialog should be closed and Search Results Page will be displayed.

Re: [Wicket-user] ajax causes page to expire when 2 browser tabsareopen with bookmarkable pages

2006-11-28 Thread Nili Adoram
. Eelco On 11/27/06, Nili Adoram [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: How do I do that? How do I recognize that an instance of that page is currently active within a different browser tab? Should I explore all page maps? Thanks

[Wicket-user] setResponsePage() with page map

2006-11-28 Thread Nili Adoram
Hi all, Component.setResponsePage(Class cls, PageParameters params) creates a bookmarkable page. However I cannot determine in which page map it is created. How can I overload this method setResponsePage(String pageMapName, Class cls, PageParameters params) ? Thanks, -- Nili

[Wicket-user] ajax causes page to expire when 2 browser tabs are open with bookmarkable pages

2006-11-27 Thread Nili Adoram
Hi all, I have a 'Item editing' page containing a form. When the form is submitted I want to return to the 'Item List' page but with fresh data. In order to do that, after the form is submitted I look for the last instance of the Item List page in the page map, retrieve some of its page

Re: [Wicket-user] ajax causes page to expire when 2 browser tabsare open with bookmarkable pages

2006-11-27 Thread Nili Adoram
this automatically, but it helps if you do this manually as well. Eelco On 11/27/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, I have a 'Item editing' page containing a form. When the form is submitted I want to return to the 'Item List' page but with fresh data. In order to do

Re: [Wicket-user] wicket 1.2.1 and ModalDialog problem

2006-11-14 Thread Nili Adoram
replace the hard-coded window.open with window.showModalDialog or some other javascript method that determines the size and location of the popup relative to the opener. Johan Compagner wrote: just curious why do you want to extend it? what do you need? johan On 11/14/06, *Nili Adoram

Re: [Wicket-user] window name is not taken fromPopopSetting'spagemap

2006-11-13 Thread Nili Adoram
just fine. So I don't know what your issue is exactly, as what is generated looks fine (the second parameter of window.open is 'myReport' which is exactly what it should be). Eelco On 11/13/06, Nili Adoram [EMAIL PROTECTED] wrote: onComponentTag of Link does not write any target

Re: [Wicket-user] Too many open files

2006-11-13 Thread Nili Adoram
problems here I think, though we solved enough issues to upgrade to the latest anyway :) Eelco On 11/13/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, When running our Wicket based web application as well Nagios on the same machine we come across Too many open files problem. We

Re: [Wicket-user] wicket 1.2.1 and ModalDialog problem

2006-11-13 Thread Nili Adoram
In version 1.2.2 is it still cumbersome to extend PopupSettings. all fields are private (windowName, top, left etc.) with no getters, as well as flagToString(). -- Nili Eelco Hillenius wrote: I'm having trouble with porting this code into wicket. For the first time when one clicks the ...

[Wicket-user] window name is not taken from PopopSetting's page map

2006-11-12 Thread Nili Adoram
Hi all, I've created a BookmarkableLink with PopupSettings: BookmarkablePageLink reportButton = new BookmarkablePageLink(reportLink, MyReport.class); PopupSettings popup = new PopupSettings(PageMap.forName(myReport), PopupSettings.SCROLLBARS); popup.setTarget(getReportUrl()); //a javascript

Re: [Wicket-user] window name is not taken from PopopSetting's pagemap

2006-11-12 Thread Nili Adoram
Compagner wrote: what does the link where you click on look like? Does it include the pagemap? johan On 11/12/06, *Nili Adoram* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I've created a BookmarkableLink with PopupSettings: BookmarkablePageLink reportButton = new

[Wicket-user] Too many open files

2006-11-12 Thread Nili Adoram
Hi all, When running our Wicket based web application as well Nagios on the same machine we come across Too many open files problem. We are using soft limit of 4096 and hard limit of 63536. However, we are monitoring the number of file handles open and it is gradually increasing. The files -

Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap

2006-11-12 Thread Nili Adoram
? Erik. Nili Adoram write: Yes, the generated link is: a href=/mypath//MyReport?wicket:bookmarkablePage=myReport:com.MyReport wicket:id=reportLink onclick=window.open(getReportUrl(), 'myReport', 'scrollbars=yes,location=no,menuBar=no,resizable=no,status=no,toolbar=no'); return false

Re: [Wicket-user] inconsistent exception

2006-09-11 Thread Nili Adoram
, Nili Nili Adoram wrote: Could this be a race between Ajax and synchronized rendering? Is it possible that Ajax has removed nodes from the DOM and the when Page tries to render itself it does not find the components in the markup? Tomer Mevorach wrote: Hi, My application works fine

Re: [Wicket-user] DatePicker enabled

2006-09-09 Thread Nili Adoram
I faced the same issue not long ago and solved it by adding a disabled date picker image and toggling between the enabled and disabled date pickers by modifying the disabled attribute. Igor Vaynberg wrote: yes. datepicker doesnt support the disabled attribute yet. if you would like you can

Re: [Wicket-user] inconsistent exception

2006-09-05 Thread Nili Adoram
Could this be a race between Ajax and synchronized rendering? Is it possible that Ajax has removed nodes from the DOM and the when Page tries to render itself it does not find the components in the markup? Tomer Mevorach wrote: Hi, My application works fine most of the time, however, sometimes

[Wicket-user] wicket 1.2.2

2006-08-24 Thread Nili Adoram
Hi all, How can I download 1.2.2 ? I found no link in wicket download page. Thanks Nili - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make

[Wicket-user] user is logged in although not through authenticated (jsessionid)

2006-08-24 Thread Nili Adoram
I have an authenticated session extending DefaultAuthenticatedSession. This session authenticates the user against LDAP or DB. My SignIn page does not persist the username and password. This should imply a sign-in page displayed per session. Indeed, if the browser is closed or SignOut page

Re: [Wicket-user] body onload contributors

2006-08-22 Thread Nili Adoram
contribs as we have for header contributions. If you could open up an issue for this, we could take a look. Thanks, Eelco On 8/16/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi, I have attached a AjaxSelfUpdatingTimerBehavior to one of the page components and discovered that when I navigate

Re: [Wicket-user] Form submit from outside Wicket

2006-08-22 Thread Nili Adoram
But how would the bookmarkable page would know it is supposed to submit its form instead of rendering ? Johan Compagner wrote: i would submit to a bookmarkable page yes. That would be the easiest thing to do. johan On 3/29/06, *Sven Meier* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

Re: [Wicket-user] Form submit from outside Wicket

2006-08-22 Thread Nili Adoram
that it would be a submit because the pageparameters contains the expected values. - Frank On 8/22/06, *Nili Adoram* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: But how would the bookmarkable page would know it is supposed to submit its form instead of rendering

[Wicket-user] how to display login page after logout?

2006-08-20 Thread Nili Adoram
Hi all, I want to display Login page right after logout. However, instead of displaying login page an Expired page is displayed. Please advise, Here is the logout page: public class LogoutPage extends SignOutPage { public LogoutPage() { super(); } public

Re: [Wicket-user] how to display login page after logout?

2006-08-20 Thread Nili Adoram
a form? Then that will not work becaus that form has a call back to the page that is created in a wicket session that was invalidated. johan On 8/20/06, *Nili Adoram* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I want to display Login page right after logout

Re: [Wicket-user] how to display login page after logout?

2006-08-20 Thread Nili Adoram
It works!! Thanks!! Igor Vaynberg wrote: so onclick() { session.invalidate(); response.redirect('bookmarkable url for login page'); } doesnt work? -Igor On 8/20/06, * Nili Adoram* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: as martijn says do use the normal

Re: [Wicket-user] AJAX causes submit to display expired page

2006-08-19 Thread Nili Adoram
it unrolls the page version. why cant you use the self updating behavior? if you dont - which is fine - you have to construct the url exactly like it does - those urls do not construct/nor rollback any versions. -Igor On 8/17/06, *Nili Adoram* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote

[Wicket-user] AJAX causes submit to display expired page

2006-08-17 Thread Nili Adoram
Hi all, I have a submit button that sets response page to some other page after form is submitted (I override Form.delegateSubmit). In addition there is an AJAX link in that page that refreshes some components in the page every 5 seconds. Since we cannot disable AjaxSelfUpdatingTimerBehavior we

[Wicket-user] body onload contributors

2006-08-16 Thread Nili Adoram
Hi, I have attached a AjaxSelfUpdatingTimerBehavior to one of the page components and discovered that when I navigate from on link to the other then the AjaxSelfUpdatingTimerBehavior adds another similar JS statement to html body onload and onunload attributes. all Links (ExternalLink) point

[Wicket-user] how to disable trigger button of DatePicker

2006-08-15 Thread Nili Adoram
Hi all, I have a DatePicker within a form which I want to disable when I press a certain radio, but it seems impossible to disable this trigger button. The DatePicker provides no getter to this button, and it is private and final. Since wicket specifically sets the id of this image I tried

[Wicket-user] DateTextField with Timestamp

2006-08-02 Thread Nili Adoram
Hi all, I want to use a DateTextField but the model object is a Timestamp. However, the looking at the converters registry for a suitable converter is done with Date.class. Even though Timestamp extends java.util.Date it will never find a suitable converter and use a StringConverter. Please

[Wicket-user] Behavior cannot change 'enabled' property in onComponentTag

2006-08-01 Thread Nili Adoram
Hi all, I have added the following behavior to all page components: .. public void onComponentTag(Component component, ComponentTag tag) { if (...) component.setEnabled(false); } However, when the page is rendered, the following exception is thrown (see forward). This looks

[Wicket-user] how to disable all choices of a radio choice

2006-07-23 Thread Nili Adoram
Hi all, I have a radio choice add to form: FormComponentfc = new RadioChoice(types, types), new IChoiceRenderer() { //some code }); fc.setEnabled(false); add(fc); I wanted to disabled all choices so I call fc.setEnabled(false). However, in the

[Wicket-user] bookmarkable ajax link

2006-07-17 Thread Nili Adoram
Hi all, I have an AjaxLink that opens a modal dialog (which is implemented as an iframe that displays the URL of that link). The link is embedded inside a ListView that refreshes itself every 30 seconds via ajax. The URL of that link is generated of course by Ajax and include session mapping

Re: [Wicket-user] bookmarkable ajax link

2006-07-17 Thread Nili Adoram
in which wicket is created by either specifying it in Page constructor or as URL parameter of bookmarkablePages (wicket:pageMapName=myModalPageMap) -Matej Nili Adoram wrote: Hi all, I have an AjaxLink that opens a modal dialog (which is implemented as an iframe that displays the URL

[Wicket-user] ajax stops self updating

2006-07-09 Thread Nili Adoram
Hi all, I have WebMarkupContainer that has a AjaxSelfUpdatingTimerBehavior refreshing itself every 30 seconds. I leave the browser opened at this page but after a while the component stops refreshing. Is there a limit on the amount of refresh requests? Is it related to session timeout? Thanks,

Re: [Wicket-user] Sending data back from popup page

2006-07-08 Thread Nili Adoram
There is a very nice framework for modal dialogs: http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg09537.html Inside the onClose of the modal dialog you can add information to the popup/opener page using AJAX. michal petras wrote: On my page i have a link with popup settings

[Wicket-user] invalid XHTML

2006-07-06 Thread Nili Adoram
Hi all, I tried to validate the following HTML code in http://validator.w3.org/ but received validation errors. Does anyone know what is the correct namespace declaration? Input HTML: == !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

[Wicket-user] ajax failed to update a component (wicket-1.2)

2006-06-25 Thread Nili Adoram
I added a list in form with id statusForm as follows: ListView list = new ListView(myList); list.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(30))); list.setOutputMarkupId(true); add(nodeGroups); This is the corresponding markup: table class=dataTable tr wicket:id=list

Re: [Wicket-user] ajax failed to update a component (wicket-1.2)

2006-06-25 Thread Nili Adoram
a listview you have to wrap in in a container and attach the ajax behaviiour to that. johan On 6/25/06, *Nili Adoram* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I added a list in form with id statusForm as follows: ListView list = new ListView(myList); list.add(new

Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?

2006-06-22 Thread Nili Adoram
is released, I'll see to upgrade and put up a release (0.4) of dojo. Martijn On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, Does anyone know whether it is planned to upgrade wicket-contrib-dojo to wicket 1.2? Currently we cannot use them both in the same classpath since

Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?

2006-06-22 Thread Nili Adoram
On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote: When is wicket 1.2.1 expected to be released? Martijn Dashorst wrote: I tried (a 0.4 snapshot version of ) dojo with 1.2, but that got several exceptions. After putting the most recent (soon to be released) Wicket 1.2.1 and trunk from

[Wicket-user] ajax modal dialog

2006-06-21 Thread Nili Adoram
Dear Mr. Knopp, On February you have posted a wonderful example of an ajax modal dialog. Did you upgrade this example to wicket-1.2? Thanks for your cooperation, Nili ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net

[Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?

2006-06-21 Thread Nili Adoram
Hi all, Does anyone know whether it is planned to upgrade wicket-contrib-dojo to wicket 1.2? Currently we cannot use them both in the same classpath since there are collisions. Thanks Nili All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The

Re: [Wicket-user] Re: Wicket Include vs. RequestDispatcher.include

2006-04-02 Thread Nili Adoram
with url pattern /* which decorates all pages. This is truly as simple as it sounds. Nili Eelco Hillenius wrote: That's interesting. Do you include Wicket pages in you sitemesh definitions too? Eelco On 4/1/06, Nili Adoram [EMAIL PROTECTED] wrote: After reconsidering I used Sitemesh which

Re: [Wicket-user] Re: Wicket Include vs. RequestDispatcher.include

2006-04-01 Thread Nili Adoram
unfortunately forgot. I never use this component myself, but if you have good ideas in the form of patches, I'd be happy to look at them. Eelco On 3/29/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi, Is there an option to use utilize wicket Include without opening a new connection? I

[Wicket-user] Wicket Include vs. RequestDispatcher.include

2006-03-29 Thread Nili Adoram
Hi, Is there an option to use utilize wicket Include without opening a new connection? I would like to include the contents of a URL like RequestDispatcher.include() does, directly into a wicket component. 10x Nili --- This SF.Net email is

Re: [Wicket-user] Wicket Include vs. RequestDispatcher.include

2006-03-29 Thread Nili Adoram
, but if you have good ideas in the form of patches, I'd be happy to look at them. Eelco On 3/29/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi, Is there an option to use utilize wicket Include without opening a new connection? I would like to include the contents of a URL like

[Wicket-user] how to include a Struts action from a wicket page

2006-03-20 Thread Nili Adoram
Hi All, I would like to include the output of a struts action inside a wicket page. For example: public MyPage(PageParameters params) { add (new Include(header,/action/header.do)); add (new Include(sidebar,/action/sidebar.do)); } However Tomcat is redirecting me to login action according

[Wicket-user] markup/java location

2006-03-05 Thread Nili Adoram
Hi, Can you please explain how can I place markup and Java files in different directories ? Thanks Nili --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media.

[Wicket-user] cannot checkout wicket-struff from cvs at sourceforge

2006-03-01 Thread Nili Adoram
Hi, I tried to checkout wicket-stuff from cvs at sourceforge according to the instructions at http://wicket-stuff.sourceforge.net/cvs-usage.html: I tried: cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/wicket-stuff login I pressed Enter when asked for password and the reply was: cvs [login

Re: [Wicket-user] cannot checkout wicket-struff from cvs at sourceforge

2006-03-01 Thread Nili Adoram
or retry many times until you can get a connection. On Wednesday 01 Mar 2006 08:30, Nili Adoram wrote: Hi, I tried to checkout wicket-stuff from cvs at sourceforge according to the instructions at http://wicket-stuff.sourceforge.net/cvs-usage.html: I tried: cvs -d :pserver:[EMAIL PROTECTED

[Wicket-user] Template page

2006-02-26 Thread Nili Adoram
Hi All, What is the best practice to create a template page containing header, footer, menu etc. using Wicket? Thanks Nili --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and

[Wicket-user] enable/disable form controls

2006-02-26 Thread Nili Adoram
Hi All, Suppose I have two check boxes , A and B, in a single page form. When the page is first rendered, A and B should be enabled/disabled according to some logic. When the user selects A I want B to be enabled as well, without round trip to the server, which means JavaScript code, of course.

[Wicket-user] light tree

2006-02-26 Thread Nili Adoram
Hi All, Is there an extension of the Tree component that avoids round trip to server whenever a node is expanded/collapsed? 10x Nili --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications

[Wicket-user] Real commercial application using wicket

2006-02-21 Thread Nili Adoram
Hi All, Has anyone developed a real commercial heavy-duty application based on Wicket? I found numerous toy examples but I really need a feedback about real-life applications utilizing Wicket. Thanks, Nili --- This SF.net email is