Re: WebMarkupContainer as string for use in jqgrid cell

2010-06-02 Thread Ernesto Reinaldo Barreiro
Hi Sam, Yesterday I commited some changes to [1] that add the possibility to render Wicket cells as components. You can find an example on [2]. There are some limitations to the kind of cells you can show (they cannot add JavaScript to the page) but at least you can add cells containing links and

Re: Re: Re: RE: Rich Text Editors and Wicket

2010-06-02 Thread ralf . eichinger
I did not use it (yet), but found this improvement requirement from the year 2007: [CMS-794] - Inline image-upload in editor should have a configurable maxFileSize So I assume the answer is: yes. Quoting wicketyan wicket...@gmail.com: thanks eichinger,Is this integration contains image

Re: FormComponentPanel's components onblur can't call validate?

2010-06-02 Thread Steve Mactaggart
Sorry to dredge up this thread again,but I have the same issue. I have a form that has a hidden id and a text field that is a search box for elements. I have got all the client side javascript working so that the name and Id are updated in the page, and also have it doing the convertInput

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-02 Thread Joseph Pachod
Martijn Dashorst wrote: Then we could use a longer trace from the serialization exception... Plus some code to go with it. The best way would be to create a minimal setup using a quickstart exhibiting the problem. hi here is the attached demo reproducing the issue it was harder than I

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-02 Thread Joseph Pachod
Forget it, the inner class being part of the injected class wasn't in fact static... that the reason for this issue sorry for the noise best joseph Joseph Pachod wrote: Martijn Dashorst wrote: Then we could use a longer trace from the serialization exception... Plus some code to go with

RE: Re: RE: Rich Text Editors and Wicket

2010-06-02 Thread Chris Colman
I looked at xinha before (and others) but the one killer feature of FckEditor that our application can't live without is the ability to integrate an image chooser (even if only filenames and directories are displayed) that displays a collection of image filenames and directories on the server

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-02 Thread Martijn Dashorst
On Wed, Jun 2, 2010 at 10:21 AM, Joseph Pachod j...@thomas-daily.de wrote: Forget it, the inner class being part of the injected class wasn't in fact static... that the reason for this issue sorry for the noise And that is why quickstarts are a godsend! Not only does it make it easier for

Override IAjaxIndicatorAware behavior

2010-06-02 Thread aboiteux.ext
Hi all, I use IAjaxIndicatorAware to display a div like a modal window 'please wait' when a javascript call is processing. I found this interface very usefull because it is simple to implement and the behavior is the same for all component in the web app that needs an indicator when processing

Re: Override IAjaxIndicatorAware behavior

2010-06-02 Thread Ernesto Reinaldo Barreiro
Just an idea... 1-Use a flag on the client to control you are on an AJAX request (set it at the begining and unset it at the end) 2-Combine this with a setTimeout(showMyAjaxVeil, 2000) and on showMyAjaxVeil function see if this flag is still set and if so show the div. 3-Hide the div at the end

Re: Override IAjaxIndicatorAware behavior

2010-06-02 Thread Wilhelmsen Tor Iver
I would like to override this behavior to display the div only when an ajax call takes more than 2 seconds for example to be executed. So for a little ajax call less than 2 seconds, I would like that nothing appears. If you set the div initially invisible (display: none) you can add

Re: Stack Overflow exception

2010-06-02 Thread Martin Funk
Well now that sure is quite an impressive stack. Looks like a recursion problem. Do some pages have members referencing to other pages, or themselves? The stacktrace indicates that the deserialisation process, which tries to receive the previous rendered page from the DiskPageStore is looping

Re: Show/hide form components best practice

2010-06-02 Thread Iain Reddick
That's just a server round-trip on client-side state changem, which is basically (1) in my initial list. Basically, this type of form behaviour is very common and the question of how to implement it with Wicket has been raised by every developer I know who has worked with the framework. I

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-02 Thread Joseph Pachod
And that is why quickstarts are a godsend! Not only does it make it easier for us to solve a bug and distill a test case from it, it also makes it trivial to find bugs in one's own code (and often solving the question automatically) Martijn Indeed ! It'll teach thinking I've cornered the

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-06-02 Thread Michał Letyński
Hi. I just checkout tinymce-parent with version 1.4.9 and everythink works both in FF3.5 and ie8 W dniu 2010-06-01 20:17, danisevsky pisze: Hello, I checkout wicket-stuff core, install and run tinymce-examples, every examples works fine except image upload. Firebug do not show any javascript

Re: RE: Re: RE: Rich Text Editors and Wicket

2010-06-02 Thread wicketyan
yes ,I aggree with you. I think rich text editors can simplely divided into two categories ,heavy or light one.I just need a light one such as nicedit or xheditor,which using a popup fileupload button is very fit for people not good at computer.Displaying image from server is fit for website

RE: RE: Re: RE: Rich Text Editors and Wicket

2010-06-02 Thread Chris Colman
I haven't found a wicket integration for FckEditor yet but I'm still looking. I used to use TinyMCE but it had a few problems, including no ability (in the open source version at least) to integrate image selection from a server based repository of images. It also wasn't as powerful when it

Re: RE: RE: Re: RE: Rich Text Editors and Wicket

2010-06-02 Thread wicketyan
Could you tell me when you get it ?I also want to use fckeditor. 2010-06-02 wicketyan 发件人: Chris Colman 发送时间: 2010-06-02 19:58:19 收件人: users@wicket.apache.org 抄送: 主题: RE: RE: Re: RE: Rich Text Editors and Wicket I haven't found a wicket integration for FckEditor yet but I'm

Re: wicket clustering wicket-security

2010-06-02 Thread david_
Maybe someone knows who I can contact about this? I wicket-security developer maybe? thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-clustering-wicket-security-tp2238257p2240161.html Sent from the Wicket - User mailing list archive at Nabble.com.

Can a Panel or Component react on a form submit without any boilerplate code?

2010-06-02 Thread patric
Hello, I am currently evaluating Wicket and I am trying to figure out how things work. I have a question regarding form submit and panels (or other components). Imagine a custom wicket panel which contains a text field, doing as-you-type validation using ajax. This panel is added to a

Can a Panel or Component react on a form submit without any boilerplate code?

2010-06-02 Thread patric
Hello, I am currently evaluating Wicket and I am trying to figure out how things work. I have a question regarding form submit and panels (or other components). Imagine a custom wicket panel which contains a text field, doing as-you-type validation using ajax. This panel is added to a

Re: Show/hide form components best practice

2010-06-02 Thread Igor Vaynberg
if the form contains all the state then the answer is simple: write a bit of javascript that does it for you. -igor On Wed, Jun 2, 2010 at 2:53 AM, Iain Reddick iain.redd...@beatsystems.com wrote: That's just a server round-trip on client-side state changem, which is basically (1) in my

Re: Can a Panel or Component react on a form submit without any boilerplate code?

2010-06-02 Thread Igor Vaynberg
instead of a Panel use FormComponentPanel, that way it will participate in the regular form processing workflow and you can detect a submit in the correct phase: type conversion, validation, model update. -igor On Wed, Jun 2, 2010 at 7:41 AM, pat...@mainlan.de wrote: Hello, I am currently

Re: Override IAjaxIndicatorAware behavior

2010-06-02 Thread Aurelie Boiteux
Hi, This solution works if I create a specific AjaxLink that implements IAjaxIndicatorAware, so I can specify the AjaxCallDecorator. But I implement the interface in a specific WebPage so div is displayed for each ajax call that occur in this page. I try to find a solution to override the

Re: Problem with Crypted URL

2010-06-02 Thread kugaprakash
Can anybody help me with this question? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-Crypted-URL-tp1875435p2240647.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-06-02 Thread danisevsky
thanks, this is that problem, I checkout wicketstuff-core from https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/and there is version 1.4.10-SNAPSHOT I will try to find 1.4.9 2010/6/2 Michał Letyński mletyn...@consol.pl Hi. I just checkout tinymce-parent

Re: Show/hide form components best practice

2010-06-02 Thread Iain Reddick
Here's some example code (wicket 1.3.x): Java: private class TestForm extends Form { private String always; private boolean useOptional = false; private String optional; public TestForm(String id) { super(id); add( new TextField(always,

Re: Override IAjaxIndicatorAware behavior

2010-06-02 Thread Zilvinas Vilutis
As I understood per http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/- you can make your BasePage implement that interface and all the app should use the same ajax indicator. Please correct me if I'm wrong. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail:

Re: Problem with Crypted URL

2010-06-02 Thread Igor Vaynberg
maybe because you are invalidating the session, which happens after the page is rendered. i would instead invalidate the session and reditect to a bookmarkable url that points to the sessionexpiry page -igor On Wed, Jun 2, 2010 at 12:03 PM, kugaprakash kvisagam...@infoblox.com wrote: Can

Re: How to test a link in wicket:links

2010-06-02 Thread cat-in-a-hat
Hi Kent, Thanks for the answer, but that looks like it requires Spring, I'm not using Spring. I was hoping to use the test framework that is included in Wicket, not go outside it. I come across this doing a demo of Wicket and it kind of broke the whole spiel about Look, you can do unittests of

RE: Problem with Crypted URL

2010-06-02 Thread kugaprakash
Hi, Thanks much and appreciate your response. Yes, like I mentioned in the code snippet above, in the WebRequestCycleRequestProcesser.respond(), I override this method and handle the page expiration exception in the following way: if(e instanceof PageExpiredException || e instanceof

Re: How to test a link in wicket:links

2010-06-02 Thread Igor Vaynberg
wicket:link is a convenience, if it doesnt fit your usecase then use a real link with wicket id, that is what wicket:link does for you anyways. if you dont want to do that then figure out how to parse the generate href out of markup generated by the tester. -igor On Wed, Jun 2, 2010 at 2:42 PM,

Re: Problem with Crypted URL

2010-06-02 Thread Igor Vaynberg
RestartResponseException will render the page. since you invalidate the session *after* rendering the page (session is invalidated at the end of the request) that means any stateful urls constructed while rendering the page will no longer be accessible what you want to do is someting like this

Dialog involving multiple pages and a VO: some be st practices?

2010-06-02 Thread Joseph Pachod
hi I've recently been wondering about the following use case: an instance of Foo class, used as a detached value object, is edited in a FooEditPage. For some reasons, let's say this page then needs to launch dialogs spanning over different pages. Each of these pages could then change some

RE: RE: RE: Re: RE: Rich Text Editors and Wicket

2010-06-02 Thread Chris Colman
Will do if I can find it. Chris -Original Message- From: wicketyan [mailto:wicket...@gmail.com] Sent: Wednesday, 2 June 2010 11:43 PM To: users Subject: Re: RE: RE: Re: RE: Rich Text Editors and Wicket Could you tell me when you get it ?I also want to use fckeditor. 2010-06-02

Unable to lazily register wicket-event.js - incorrect case?

2010-06-02 Thread Chris Colman
My logs reveal a rather interesting resource loading error: ERROR - haredResourceRequestTarget - unable to lazily register shared resource org.apache.wicket.markup.html.wicketeventreference/wicket-event.js java.lang.ClassNotFoundException: org.apache.wicket.markup.html.wicketeventreference

Logging popup

2010-06-02 Thread Hans Friederichs
Hello you all, I'm quite new to wicket, but I've made a rather complex application using it. It's a web-application that gives users the opportunity to start and view deployment processes. Each proces is represented on the main page by a row in a List(Model), and when a row represents a busy

Re: Logging popup

2010-06-02 Thread Jeremy Thomerson
On Wed, Jun 2, 2010 at 3:11 PM, Hans Friederichs hans.friederi...@planet.nl wrote: Hello you all, I'm quite new to wicket, but I've made a rather complex application using it. It's a web-application that gives users the opportunity to start and view deployment processes. Each proces is

Re: Unable to lazily register wicket-event.js - incorrect case?

2010-06-02 Thread Igor Vaynberg
i doubt it was wicket, probably some weird browser that transformed the url into lower case before requesting the resource. -igor On Wed, Jun 2, 2010 at 7:02 PM, Chris Colman chr...@stepaheadsoftware.com wrote: My logs reveal a rather interesting resource loading error: ERROR -

RE: Unable to lazily register wicket-event.js - incorrect case?

2010-06-02 Thread Chris Colman
I did some more analysis: One offending User-Agent is 'reported' to be: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) But the very first request this agent makes, according to matching IP addresss, is robots.txt so it's probably not really a normal client browser

how to implement multiple forms on a single page

2010-06-02 Thread Russell Simpkins
All, I've been looking around the wiki and the mailing list, but can't seem to figure out what I'm doing wrong, or if I am even allowed to do multiple forms on one page with wicket. I'm using 1.4.8 and I would like to have three forms. Each of the forms work, but I noticed that one of my forms

Re: how to implement multiple forms on a single page

2010-06-02 Thread Igor Vaynberg
you should be able to have as many forms as you want. create a quickstart and send it to the list or attach it to jira, there is probably a bug in your code somewhere. -igor On Wed, Jun 2, 2010 at 7:51 PM, Russell Simpkins russellsimpk...@hotmail.com wrote: All, I've been looking around the

RE: Unable to lazily register wicket-event.js - incorrect case?

2010-06-02 Thread Chris Colman
Would it be possible to wrap the resource loader code in a try/catch and if it fails retry with a lowercase form of the class name? -Original Message- From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent: Thursday, 3 June 2010 12:42 PM To: users@wicket.apache.org Subject: RE:

Re: Unable to lazily register wicket-event.js - incorrect case?

2010-06-02 Thread Igor Vaynberg
the resources are registered via the fully qualified name of the class that acts as scope. if we registered them as fqn.tolowercase() then there are possibilities of collisions. if the browser chooses to ignore case sensitivity of a url then it deserves a 404. -igor On Wed, Jun 2, 2010 at 8:40

RE: Unable to lazily register wicket-event.js - incorrect case?

2010-06-02 Thread Chris Colman
It is indeed a brain dead browser or robot that converts URLs to lowercase although there seems to be some SEO theories which seem to advise people to convert all URLs to lowercase - which seems stupid. I ran into an issue the other day where a Domain registration company couldn't forward to a