Re: How to suppress WicketSerializationException using ListView

2012-03-05 Thread vineet semwal
use loadabledetachablemodel and it should load a list of your unserialiable entities that will poupulate your listview On Mon, Mar 5, 2012 at 3:39 PM, Behrooz Nobakht nob...@gmail.com wrote: Hello, I'm using a ListView*S* in which S is not serializable but it is not either kept in the page

Re: How to suppress WicketSerializationException using ListView

2012-03-05 Thread Behrooz Nobakht
Thanks, solved the problem. On Mon, Mar 5, 2012 at 11:14 AM, vineet semwal vineetsemwal1...@gmail.comwrote: use loadabledetachablemodel and it should load a list of your unserialiable entities that will poupulate your listview On Mon, Mar 5, 2012 at 3:39 PM, Behrooz Nobakht

Re: Eclipse, Wicket 1.5 and Jrebel

2012-03-05 Thread Jürgen Lind
Hi Christoph, maybe I was a bit too quick in assuming that Jrebel was the culprit... I went back to 1.5.3 an since then, the problem has disappeared. Let's hope it stays that way... Thank you again for the hint. J. On 04.03.2012 11:46, Jürgen Lind wrote: Thanks for the hint, but I do not

Re: Eclipse, Wicket 1.5 and Jrebel

2012-03-05 Thread Martin Grigorov
Hi Juergen, You may also test with 1.5-SNAPSHOT to verify that 1.5.5 will work. Just add this repo temporarily to your pom.xml: repositories repository idApache Nexus/id

wiQuery and ivy

2012-03-05 Thread Dirk Forchel
I've a qestion regarding ivy and wiQuery. I'd like to use the wiQuery jars (wiquery-core and wiquery-jquery-ui) in the same way I do with all the Wicket libraries. For example, a configuration dependency for the Wicket core library in my project ivy.xml is written like: This means, ivy is

Re: Eclipse, Wicket 1.5 and Jrebel

2012-03-05 Thread Jürgen Lind
That would imply that I use Maven for my build process - which I don't ;-) Is there a plcae where I can download the entire bundle so that I can give it a try? or doe I have to download the jars separately? J. On 05.03.2012 13:40, Martin Grigorov wrote: Hi Juergen, You may also test with

wicket wizard init

2012-03-05 Thread Gytis
hello, I have such a problem I develop wizard in which user enters some values in first step fields, then I need to use those values in a second step in a text. looks like this: userModel = new CompoundPropertyModelWizardPage(this); setDefaultModel(userModel); WizardModel model = new

Re: 404 on resource

2012-03-05 Thread Douglas Ferguson
How does wicket 1.5 reference resources that are inside the class path from the browser? Douglas On Mar 5, 2012, at 1:55 AM, Martin Grigorov wrote: Hi, On Mon, Mar 5, 2012 at 6:05 AM, Douglas Ferguson the...@gmail.com wrote: Does wicket 1.5 still use the resource urls? I'm getting a

Re: 404 on resource

2012-03-05 Thread Martin Grigorov
On Mon, Mar 5, 2012 at 4:50 PM, Douglas Ferguson the...@gmail.com wrote: How does wicket 1.5 reference resources that are inside the class path from the browser? The url looks like: /wicket/resource/com.example.MyPage/myResource.css Douglas On Mar 5, 2012, at 1:55 AM, Martin Grigorov

Using IndicatingAjaxLink to export CSV data - is it the 'Wicket Way'?

2012-03-05 Thread Robert Szmurlo
Hello everyone, this my first post to the list, so I would like to give many thanks to the authors and all contributors to the great Apache Wicket project. We silently develop a medium sized application for over two years (at the Warsaw University of Technology), and usually we have resolved

Re: Using IndicatingAjaxLink to export CSV data - is it the 'Wicket Way'?

2012-03-05 Thread Martin Grigorov
Hi, I'm not sure that this really works. With your code the Ajax request will end with .csv response, not with ajax-response. The indicator may disappear but the .csv data wont be presented to the user/browser. It will be swallowed in the ajax response. I think you need

Re: Using IndicatingAjaxLink to export CSV data - is it the 'Wicket Way'?

2012-03-05 Thread Robert Szmurlo
Thank you for a super fast response. As far as I can see Meier, Barreiro and Deu-Pons applied the same approach but in a more professional way. They do: String url = getCallbackUrl().toString(); (...) // the timeout is needed to let Wicket release the channel

Securing Resource in Web Context

2012-03-05 Thread Arjun Dhar
Hi, not sure if this is even a Wicket question; but drawing on the experience of the community for thoughts. Scenario : In the Web context, web root/resources ;is a folder that is accessible. Lets say we manage to secure it at the Apache level not to show a blatant directory listing, however if a

Re: java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called.

2012-03-05 Thread singh13
Hi, thanks for the reply. I tried that but unfortunately I still get the same error. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/java-lang-IllegalStateException-Can-t-call-write-CharSequence-after-write-byte-has-been-called-tp4416819p4446728.html Sent from the

Using Wicket with Adobe Forms (FDF)

2012-03-05 Thread eugenebalt
We are using Wicket with Adobe's FDF (PDF-Forms). Some of the forms in our Wicket app are regular Wicket forms, but other forms (or sub-forms) are FDF, embedded as objects in the HTML. The way FDF works is that the Submit button in the FDF is hard-coded to point to some Servlet URL. Then in

Re: wicket wizard init

2012-03-05 Thread Andrea Del Bene
Hi, which line of your code throws NullPointerException? can you elaborate a little more on the purpose of function getAgreementText() ? hello, I have such a problem I develop wizard in which user enters some values in first step fields, then I need to use those values in a second step in a

Re: Using Wicket with Adobe Forms (FDF)

2012-03-05 Thread eugenebalt
I guess what I'm asking is, is there a way to support regular Servlet URLs in Wicket? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-Adobe-Forms-FDF-tp4446987p4447046.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Using Wicket with Adobe Forms (FDF)

2012-03-05 Thread Pierre Goupil
You can try a BookmarkablePage. On Mon, Mar 5, 2012 at 7:27 PM, eugenebalt eugeneb...@yahoo.com wrote: I guess what I'm asking is, is there a way to support regular Servlet URLs in Wicket? -- View this message in context:

Re: Links with old PageID do not work

2012-03-05 Thread Andre Schütz
Hi, thank you for the answer. I will test this and reply with my results. I have three questions depending on the test you have mentioned. (1) Can you tell me more about this o.a.w.Page? I did not really find something about it. (2) Can you explain me a little bit more in detail, what I should

Re: Eclipse, Wicket 1.5 and Jrebel

2012-03-05 Thread Dan Retzlaff
We use 1.5.4. I do get a file locking related popup dialog errors when I save a modified resource: Problems encountered while deleting files. Could not delete: [snip]\target\classes\[snip].html. ... but it works anyway, presumably because Wicket loads resources through the class loader which

Re: Re: DataTable and FilterToolbar

2012-03-05 Thread bouroy
I am having same problem with many textfields including TextFilter on FilterToolBar within a form. Could you please post your solution? Many thanks, -- View this message in context:

Adding images dynamicly

2012-03-05 Thread gufi2
Hello, I want to add dynamicly images/html tag to my wicket page like (add(new Label(, ) so how can i add the image after that or how can I add a resourcereference like (add(new image(..., ResourceReference.). Wicket always tells me that I have to reference it in the markup. Thanks

Customizing AjaxIndicatorAppender and indicator

2012-03-05 Thread Souni
Hi, is it posible to make ajax indicator to reserve space even it's not visible? I tried to overide AjaxIndicatorAppender's onRendered and set span visibility:hidden instead of default display:none, but it didn't work. I would like that pressing button would not make button to move left to make

Re: Adding images dynamicly

2012-03-05 Thread Dan Retzlaff
Have you looked at the Wicket Examples images? http://wicketstuff.org/wicket/images On Mon, Mar 5, 2012 at 10:32 AM, gufi2 manfred.kram...@gmail.com wrote: Hello, I want to add dynamicly images/html tag to my wicket page like (add(new Label(, ) so how can i add the image after that or

org.apache.wicket.WicketRuntimeException: There is no application attached to current thread

2012-03-05 Thread YK
Hi, I'm trying to make example using wicket 1.5.4 and spring work but I keep having this exception: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread... My example defines also a servlet filter that is applied just after the WicketFilter in web.xml.

Preferred way to unit testing a WizardStep?

2012-03-05 Thread Dan Alvizu
Hi, I've got a wizard with 5 steps. If I want to test just step four, but do not want to go through steps 1 through 3 first, how would I do that? I found this message for wicket 1.4: http://osdir.com/ml/users-wicket.apache.org/2011-06/msg00498.html However, startPanel() is deprecated and

Re: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread

2012-03-05 Thread Dan Retzlaff
If your ThreadLocal is needed within Wicket, shouldn't your filter run *before* WicketFilter? Does your filter use any Wicket classes that require something in o.a.w.ThreadContext? The basic design should work. We use a filter to manage a ThreadLocal Hibernate Session for open-session-in-view.

wicket + not using native wicket-ajax support - ramifications?

2012-03-05 Thread cath jon
hello! we are thinking of using a Spring controller to service ajax requests for our pages built in wicket. our frontend devs are really wanting to keep the markup clean and uncorrupted by the injected wicket-ajax code. i told them i would investigate an alternate way of doing the ajax

wicket + not using native wicket-ajax support - ramifications?

2012-03-05 Thread cath jon
hello! we are thinking of using a Spring controller to service ajax requests for our pages built in wicket. our frontend devs are really wanting to keep the markup clean and uncorrupted by the injected wicket-ajax code. i told them i would investigate an alternate way of doing the ajax

Re: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread

2012-03-05 Thread James Carman
Make sure your filter mapping for your other filter is after the mapping for wicket filter. On Mon, Mar 5, 2012 at 5:17 PM, Dan Retzlaff dretzl...@gmail.com wrote: If your ThreadLocal is needed within Wicket, shouldn't your filter run *before* WicketFilter? Does your filter use any Wicket

Re: wicket + not using the native wicket-ajax support...ramifications?

2012-03-05 Thread Dan Retzlaff
Hi Jon, Wicket 6, the next major version, includes a major redesign of the client-side JavaScript which will satisfy your requirements as I understand them [1]. Event handlers are no longer in DOM attributes. With 1.5 the way it is, I don't think it makes sense to use Wicket AJAX and not have

Re: Links with old PageID do not work

2012-03-05 Thread Martin Grigorov
2012/3/5 Andre Schütz andre-p...@gmx.de: Hi, thank you for the answer. I will test this and reply with my results. I have three questions depending on the test you have mentioned. (1) Can you tell me more about this o.a.w.Page? I did not really find something about it.

Channel busy - postponing...

2012-03-05 Thread Arjun Dhar
Hi, I'm getting a Channel busy - postponing There are no server errors, nor response delays, .. nor are there any apparent JavaScript errors. The problem is consistent across browsers. Additionally, most of the code (client+server) being used is re-used in another project where there are no

Re: wicket wizard init

2012-03-05 Thread Gytis
Andrea Del Bene-3 wrote Hi, which line of your code throws NullPointerException? can you elaborate a little more on the purpose of function getAgreementText() ? private String getTextFromDataBase() { agreementText = AGREEMENT +

Re: Channel busy - postponing...

2012-03-05 Thread Arjun Dhar
I just realized all posts on this matter point to some Jquery or JavaScript related mischief. I had established jquery itself was not the culprit, however .. for the Dialog I was using jquery-ui plugin. I upgraded the plugin. Seems the copy of the plugin for this project was messed up in SVN.

Re: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread

2012-03-05 Thread Martin Grigorov
Hi, Wicket will not call the next filter in the chain if the request is processed by Wicket itself. I think you should move your logic to IRequestCycleListener #onBeginRequest/onEndRequest() if you need access to Wicket's TLs. On Tue, Mar 6, 2012 at 12:55 AM, James Carman

Re: Customizing AjaxIndicatorAppender and indicator

2012-03-05 Thread Martin Grigorov
Hi, See org.apache.wicket.ajax.IAjaxIndicatorAware. With this you can provide your own indicator which will be shown/hidden before/after the Ajax request On Mon, Mar 5, 2012 at 4:20 PM, Souni jouni.sonni...@dicode.fi wrote: Hi, is it posible to make ajax indicator to reserve space even it's

Re: Using Wicket with Adobe Forms (FDF)

2012-03-05 Thread Martin Grigorov
Hi, On Mon, Mar 5, 2012 at 8:33 PM, Pierre Goupil goupilpie...@gmail.com wrote: You can try a BookmarkablePage. Right. You can override Form#getActionUrl() to return a url to a bookmarkable page. The only problem is that PageParameters will contain only the GET parameters. If you need to POST