Re: [Wicket-user] Wicket requiring one of my Spring managed beans to have a default constructor

2007-09-05 Thread Maris Orbidans
Actually it's a problem if @SpringBean annotation creates new objects of class that is supposed to be a *singleton*. Is it really impossible to create a proxy class without creating a new object of delegatee ? Here is a discussion we had about it: [23:10] Smike I just noticed that

Re: Upcoming jWeekend Wicket training courses

2007-09-12 Thread Maris Orbidans
Hi I am going to participate during September 29th-30th. Maris Hi folks, Cemal and I have been working hard refining jWeekend's upcoming Getting Started With Apache Wicket 1.3 [1] and Apache Wicket 1.3 [2] courses. The next ones are scheduled for September 22nd and September 29th-30th

findParent(BasePage.class) returns null

2007-09-17 Thread Maris Orbidans
Hi The problem is that findParent(BasePage.class) returns a correct reference and after few more lines of code it returns null. How is that possible ? I am using 1.3 beta3. protected void onSubmit(AjaxRequestTarget target, Form form) { LoginForm

Re: [RFE] getMarkupId()

2007-09-23 Thread Maris Orbidans
is it a joke ? In that case web design templates would need a unique class attribute for each element that is going to be used via Ajax. And in some cases it's not possible at all. For example, odd rows in a table might have a different color than even rows. Typically one kind of rows have

Re: [RFE] getMarkupId()

2007-09-23 Thread Maris Orbidans
I use ajax as well, but I don't understand what's the problem with setOutputMarkupId ? In any case I am sure that forcing unique class attributes will create much bigger problem. Almost any non trivial web design uses identical class values in many places. Sometimes CSS class is used just

Re: JPA best-practices?

2007-11-16 Thread Maris Orbidans
Let's remember good old EJB's. Inject an EntityManager in a session bean facade and EJB container will handle all concurrency issues. No need to write any boilerplate code. BTW I have seen that some people use OpenEntityManagerInViewFilter and map it to url pattern /*. It seems that an

modal window from AJAX ?

2010-06-22 Thread Maris Orbidans
Hi Is it possible to open modal window from AjaxButton's onSubmit() method ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: Announcing: visural-wicket 0.6 released - open source wicket components

2010-06-23 Thread Maris Orbidans
Looks great! I will give it a try. Is it maven repo ? -Original Message- From: r...@richardnichols.net [mailto:r...@richardnichols.net] On Behalf Of Richard Nichols Sent: 23 June 2010 01:31 To: users@wicket.apache.org Subject: Announcing: visural-wicket 0.6 released - open source

javascript message after ajax request

2010-07-01 Thread Maris Orbidans
Wicket experts, I have a form with Ajax submit button. Upon completing ajax request I want to show javascript popup with a message from server. How to do it ? Maris - To unsubscribe, e-mail:

RE: javascript message after ajax request

2010-07-01 Thread Maris Orbidans
: target.appendJavascript (alert('some message')); On Thu, Jul 1, 2010 at 1:21 PM, Maris Orbidans maris.orbid...@ingg.comwrote: Wicket experts, I have a form with Ajax submit button. Upon completing ajax request I want to show javascript popup with a message from server. How to do it ? Maris

submit or refresh form via ajax from javascript ?

2010-10-12 Thread Maris Orbidans
Is it possible to submit a form from javascript ? Maris - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: Getting client IP address

2010-10-12 Thread Maris Orbidans
-Original Message- From: Josh Kamau [mailto:joshnet2...@gmail.com] Sent: 06 October 2010 12:31 To: users@wicket.apache.org Subject: Re: Getting client IP address Thanks guys, I got the IP address. Is it possible to get the client computer name? nope Maris

RE: Getting client IP address

2010-10-12 Thread Maris Orbidans
of the CGI variable REMOTE_HOST. On Tue, Oct 12, 2010 at 7:14 AM, Maris Orbidans maris.orbid...@ingg.com wrote: -Original Message- From: Josh Kamau [mailto:joshnet2...@gmail.com] Sent: 06 October 2010 12:31 To: users@wicket.apache.org Subject: Re: Getting client IP

condition in AbstractAjaxTimerBehavior

2010-10-13 Thread Maris Orbidans
Hi I need to periodically update a page unless some condition is met. I wrote javascript function canRefresh() and added like this: add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) { @Override protected void onTimer(final AjaxRequestTarget target) {

RE: Trying to submit form with id that is not in document.

2010-10-29 Thread Maris Orbidans
14:06, Maris Orbidans wrote: Hi I have a modal window with a panel inside it. After I refresh the panel via ajax all buttons inside the panel stop working. Submit doesn't work and there is this message in ajax debug window: ERROR: Wicket.Ajax.Call.submitFormById: Trying to submit form

how to change years in YUI datepicker ?

2007-12-02 Thread Maris Orbidans
Hi I need a calendar that allows to change years quickly. I have an input field where user should enter his birth date. But YUI calendar has buttons to change month only. We can't ask our users to click on those buttons hundred times to move calendar to their birth date. Is there any way

Re: how to change years in YUI datepicker ?

2007-12-03 Thread Maris Orbidans
it works, indeed thanks On Dec 3, 2007 10:32 AM, Maris Orbidans [EMAIL PROTECTED] wrote: Hi I need a calendar that allows to change years quickly. I have an input field where user should enter his birth date. But YUI calendar has buttons to change month only. We can't ask our users

Re: WicketServlet vs. WicketFilter

2008-01-11 Thread Maris Orbidans
also wicket filter is much better at handling /* mapping The only problem with this mapping is that filter is invoked for all requests that fetch static web resources (css, images, etc). I may be wrong but I don't think it's good for performance. Especially if you use some other filter,

new release of wicket-contrib-javaee

2008-01-14 Thread Maris Orbidans
hi I have just created a new release of wicket-contrib-javaee. I have fixed POM file and made it compatible with wicket 1.3. Here is wiki page http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee And to answer your question about EJB references in web.xml. They are

how to prevent session timeouts

2008-01-31 Thread Maris Orbidans
hi I have created a small web application with wicket - http://cdzfmobile.bf.lu.lv There are some minor issues related with session timeouts: 1) If I open login page and wait until session expires then I get session expired error message if I try to login. How can I fix that ? Should I

localization of PageExpiredErrorPage.html

2008-02-01 Thread Maris Orbidans
Is it possible to localize session expiration error page ? Error messages are hardcoded in PageExpiredErrorPage.html. Maris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

where is wicket-contrib-tinymce ???

2008-02-20 Thread Maris Orbidans
where is wicket-contrib-tinymce project and svn repo ? it's not even mentioned in this page http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki Maris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

wicketstuff-scriptaculous TypeError: Effect has no properties

2008-03-09 Thread Maris Orbidans
hi I am using wicket 1.3 with latest dev build of wicketstuff-scriptaculous. I am trying to use highlight effect on table row when user clicks a link. It doesn't work and ajax debug shows *ERROR: *Exception evaluating javascript: TypeError: Effect has no properties. And sometimes it starts