RE: Customizing AjaxIndicatorAppender and indicator

2012-03-06 Thread Wilhelmsen Tor Iver
> See org.apache.wicket.ajax.IAjaxIndicatorAware. With this you can provide > your own indicator which will be shown/hidden before/after the Ajax request I think the poster wants to use "visibility: hidden" instead of "display: none" for when it is not shown (the "taking up space" requirement).

Re: Customizing AjaxIndicatorAppender and indicator

2012-03-06 Thread Martin Grigorov
On Tue, Mar 6, 2012 at 10:01 AM, Wilhelmsen Tor Iver wrote: >> See org.apache.wicket.ajax.IAjaxIndicatorAware. With this you can provide >> your own indicator which will be shown/hidden before/after the Ajax request > > I think the poster wants to use "visibility: hidden" instead of "display: >

Re: Customizing AjaxIndicatorAppender and indicator

2012-03-06 Thread Souni
Ok I'll try that. Thanks for your responses! - Jouni -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customizing-AjaxIndicatorAppender-and-indicator-tp4446266p4449027.html Sent from the Users forum mailing list archive at Nabble.com. -

RE: wiQuery and ivy

2012-03-06 Thread Hielke Hoeve
If you can specify what I need to add in the pom.xml of WiQuery then I am happy to add it, however this Ivy is unknown to me so I have no idea what to do. Sources themselves are not a viable dependency for any java project using using dependency management or not, they are merely fetched so that

double click on AjaxSubmitLink and page expired

2012-03-06 Thread rebecca
Hello all, I have a page with a form and an AjaxSubmitLink on it. In the onSubmit() I do some business logic and redirect the user to the next page using setResponsePage(nextPage). Just before redirecting to the next page I do: getSession.untouch(firstPage); getSession.clear(); I do this in orde

Re: double click on AjaxSubmitLink and page expired

2012-03-06 Thread rebecca
sorry - i forgot - I'm using wicket 1.4.18 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4449457.html Sent from the Users forum mailing list archive at Nabble.com.

Re: double click on AjaxSubmitLink and page expired

2012-03-06 Thread Josh Kamau
How about something as easy as checking if the session has been cleared before calling set response page... e.g if(sessionNotClear...){ session.clear(); setResponsePage() } On Tue, Mar 6, 2012 at 2:16 PM, rebecca wrote: > sorry - i forgot - I'm using wicket 1.4.18 > > -- > View this

Re: double click on AjaxSubmitLink and page expired

2012-03-06 Thread Martin Grigorov
Hi, On Tue, Mar 6, 2012 at 1:26 PM, Josh Kamau wrote: > How about something as easy as checking if the session has been cleared > before calling set response page... > > e.g > > if(sessionNotClear...){ >   session.clear(); >   setResponsePage() > } Wicket internals fail because Wicket cannot

Re: Channel busy - postponing...

2012-03-06 Thread James Carman
Thanks for posting back the solution. This will no doubt be helpful to someone else. Community! On Mar 6, 2012 2:29 AM, "Arjun Dhar" wrote: > 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,

How to get WebSession by Session ID

2012-03-06 Thread Martin A
Hello, I'm developing a web application that is about to be displayed within a Facebook canvas page (app page). I have a problem which comes up whenever a user tries to make a payment through the app. Due to the usage of Facebook JS API and Facebook payments API it looks to me like the request made

seo - canonical link element

2012-03-06 Thread Francois Meillet
Hi Wicketers, Do you use the Canonical Link Element in your page ? (A canonical page is the preferred version of a set of pages with highly similar content.) http://googlewebmastercentral.blogspot.com/2011/06/supporting-relcanonical-http-headers.html http://googlewebmastercentral.blogspot.com/20

IResourceStream.contentType ignored

2012-03-06 Thread Sebastian A. Vik
Hi everybody, I'm using this code to send a data stream to the client: ResourceStreamRequestHandler handler = new ResourceStreamRequestHandler(new IResourceStream() { [...] @Override public String getContentType() { return "application/vnd.openxmlformats-officedocument.spreads

Re: double click on AjaxSubmitLink and page expired

2012-03-06 Thread rebecca
hi Martin First, I understand that wicket internals fail, but why the javascript i added using AjaxCallDecorator (I used the example in the Apache Wicket Cookbook) to block the second submit - has no effect? I see the JS is added in the beginning of the onclick property of the button and is call

Re: How to get WebSession by Session ID

2012-03-06 Thread Dan Retzlaff
Hi Martin, The Wicket Session is stored in the HttpSession, and the servlet spec does not allow retrieving HttpSessions by ID. You may need to store the relevant data in a more accessible location. For a simple non-distributed application (single server), you might just put a map keyed by session

MountedMapper NullPointer

2012-03-06 Thread Douglas Ferguson
I'm seeing this exception from time to time and I'm not sure where it's coming from. java.lang.NullPointerException at org.apache.wicket.request.mapper.MountedMapper.checkHomePage(MountedMapper.java:459) at org.apache.wicket.request.mapper.MountedMapper.parseRequest(MountedMappe

Re: How to get WebSession by Session ID

2012-03-06 Thread Martin A
Hi, Dan, Thanks for your prompt response, I also had in mind that type of workaround, so obviously I don't have much options here :) Best regards, Martin On Tue, Mar 6, 2012 at 5:58 PM, Dan Retzlaff wrote: > Hi Martin, > > The Wicket Session is stored in the HttpSession, and the servlet spec d

Re: MountedMapper NullPointer

2012-03-06 Thread Douglas Ferguson
Turns out my Application.getHomePage() was returning null. On Mar 6, 2012, at 10:37 AM, Douglas Ferguson wrote: > I'm seeing this exception from time to time and I'm not sure where it's > coming from. > > java.lang.NullPointerException > at > org.apache.wicket.request.mapper.MountedMappe

Re: wicket wizard init

2012-03-06 Thread Andrea Del Bene
I think exception is thrown because you call your getTextFromDataBase inside step's constructor, when 'user.name' and 'user.surname' are still empty. You could try moving getAgreementText() from constructor to another method like Component.onConfigure. Andrea Del Bene-3 wrote Hi, which lin

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

2012-03-06 Thread singh13
Hi, thanks for the reply. I tried that but unfortunately I still get the same error. Resetting it did not alter anything. -- 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-tp

Re: Using Wicket with Adobe Forms (FDF)

2012-03-06 Thread eugenebalt
Thanks. But we don't have Request Params, we have a binary Request Stream with Adobe's FDF. In HTTP, you can do request.getInputStream() to get it, can you do the same in Wicket? Thanks again. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-Adobe-Fo

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

2012-03-06 Thread YK
@Dan, Thank you so much for your help! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/org-apache-wicket-WicketRuntimeException-There-is-no-application-attached-to-current-thread-tp4447781p4451269.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Links with old PageID do not work

2012-03-06 Thread Andre Schütz
Hi, I tested my application and checked for the renderCount variable. I made a breakpoint and checked the variable in the Debugger. Surprisingly, the renderCount variable was not increased and remained 0 during the whole test. To verify my result, I made a System.out.println in the constructor of

Re: Checkbox tree component

2012-03-06 Thread javanrell
Hi all, I made some changes based on the CheckBoxIconPanel.java posted by Doug, basically I added behavior to update all parents or childrens when we check or uncheck a node: * When we check a node, we verify all its brothers, if they are all checked then we check its parent and recursively. * W

Re: Problem with setWindowClosedCallback

2012-03-06 Thread vov
Does this problem still not documented? Does anyone know a solution to this problem? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-setWindowClosedCallback-tp3823361p4452543.html Sent from the Users forum mailing list archive at Nabble.com. -