RE: wiQuery and ivy

2012-03-07 Thread Dirk Forchel
The sources are just for our IDE (Eclipse) to link these sources to the binaries. Because the wiquery repository is maven2 compatible, I've changed the resolver configuration in my ivysettings.xml to ibiblio: I assume only this resolver can downoad all jars (sources, docs) from the repository if

RE: seo - canonical link element

2012-03-07 Thread Chris Colman
Not currently but over the last few days we have been implementing new features for a new release of our web app and one of those is to include the canonical link element. I think it's really important for SEO. -Original Message- From: Francois Meillet [mailto:qq...@gmail.com]

RE: WICKET JAVASCRIPT

2012-03-07 Thread Wilhelmsen Tor Iver
Now , i am changing browser language from IE. I am able to get message from properties file for label and another things. But i am still unable to show above alert message in different languages. Can you solve this problem. Please reply soon. Typically, you would do this by

Re: Using Wicket with Adobe Forms (FDF)

2012-03-07 Thread Martin Grigorov
On Tue, Mar 6, 2012 at 8:30 PM, eugenebalt eugeneb...@yahoo.com wrote: 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? This is how POST parameters are being read

Re: Problem with setWindowClosedCallback

2012-03-07 Thread vov
Looks like serialization problem. Does anybody know how it works? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-setWindowClosedCallback-tp3823361p4452909.html Sent from the Users forum mailing list archive at Nabble.com.

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread rebecca
hi again Can you help me with this? I'm really stuck with this problem... thanks Rebecca -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4453153.html Sent from the Users forum mailing list archive at

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread Martin Grigorov
On Wed, Mar 7, 2012 at 2:41 PM, rebecca rivka.shis...@gmail.com wrote: hi again Can you help me with this? I'm really stuck with this problem... Show us your AjaxCallDecorator. thanks Rebecca -- View this message in context:

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread rebecca
I used exactly the one in Apache Wicket Cookbook: BlockingDecorator.java: public class BlockingDecorator implements IAjaxCallDecorator { private static final String latch=var locked=this.hasAttribute('data-wicket-blocked'); + if (locked) { return false; }+

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread Martin Grigorov
What exactly do you do in #onClick/onSubmit() ? I guess you set a new page as response, or at least remove all links which still point to the current page which is untouched and no more reachable. On Wed, Mar 7, 2012 at 3:26 PM, rebecca rivka.shis...@gmail.com wrote: I used exactly the one in

Re: Securing Resource in Web Context

2012-03-07 Thread kamiseq
can't you put your resources to DB ?? then you will have quick access and it will be secure? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread rebecca
in onSubmit of the AjaxSubmitLink i do: getSession.untouch(firstPage); getSession.clear(); setResponsePaeg(new myNextPage()); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4453399.html Sent from the Users

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread Martin Grigorov
OK, then remove the 'reset' part of the AjaxCallDecorator. You don't need to re-enable the link at all. If you have more links on the page then you need to put a veil on the whole page, not just disable a single link. On Wed, Mar 7, 2012 at 4:33 PM, rebecca rivka.shis...@gmail.com wrote: in

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread rebecca
I already tried removing the reset code - didn't work. By veil you mean something like the jquery plugin blockUi? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4453452.html Sent from the Users forum mailing

ResourceReferenceRegistry

2012-03-07 Thread grazia
Could someone help me understand what the error below means ? I have copied the relevant code below, what is wrong with it. I believe I have followed guidelines for wicket 1.5 Mar 07, 2012 8:48:43 AM org.apache.wicket.request.resource.ResourceReferenceRegi stry addDefaultResourceReference

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread Martin Grigorov
On Wed, Mar 7, 2012 at 4:53 PM, rebecca rivka.shis...@gmail.com wrote: I already tried removing the reset code - didn't work. Put some console.log() to see what happens in JS. By veil you mean something like the jquery plugin blockUi? Yes -- View this message in context:

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread rebecca
thanks Martin - I'll try the veil and report later -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4453493.html Sent from the Users forum mailing list archive at Nabble.com.

Re: ResourceReferenceRegistry

2012-03-07 Thread grazia
Thank you Martin. I think it is an issue of absolutePath. In private final ResourceReference mouseOverMenuCss = new CssResourceReference(getClass(), /css/mouseovermenu.css); the

Re: ResourceReferenceRegistry

2012-03-07 Thread Martin Grigorov
The problem is at $2 in web.components.PageHeaderComponent$2 This is an inner anonymous class which name may vary. Just use a stable class name and make sure the resource is next to the .class file. On Wed, Mar 7, 2012 at 5:34 PM, grazia grazia.russolass...@gmail.com wrote: Thank you Martin. I

NullPointerException at Session line 492 - current RequestCycle is null

2012-03-07 Thread Martin A
Hello, I've got a REST service which is behind a Wicket Session Filter (due to the need to obtain the wicket current session at the service), and this REST service is being periodically hit by a Flash client (embedded in wicket page) At this REST service I've got a method that retrieves the wicket

How to Reference a /WebContent File from Wicket

2012-03-07 Thread eugenebalt
I am adding a shared resource to my app, and I need to reference a file which resides under /WebContent. Our app code structure is this: The /src folder has all the HTML/Java's for Wicket. The /WebContent has all the images, CSS, and other resources. I need to reference one of these resources

Form with variable number of inputs

2012-03-07 Thread Bertrand Guay-Paquet
Hi, I have a form with a list of FormComponentPanels for phone numbers. Currently, adding a new phone number to the list involves an ajax request to add a new FormComponentPanel instance to the form and then another request to submit the form. Is there a way to achieve this without the

Re: How to Reference a /WebContent File from Wicket

2012-03-07 Thread Igor Vaynberg
see how ContextImage does it -igor On Wed, Mar 7, 2012 at 10:45 AM, eugenebalt eugeneb...@yahoo.com wrote: I am adding a shared resource to my app, and I need to reference a file which resides under /WebContent. Our app code structure is this: The /src folder has all the HTML/Java's for

Re: Links with old PageID do not work

2012-03-07 Thread Andre Schütz
Anybody any idea? On Tue, 6 Mar 2012 22:17:10 +0100 Andre Schütz andre-p...@gmx.de wrote: 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

Re: WICKET JAVASCRIPT

2012-03-07 Thread Paolo
Alle mercoledì 07 marzo 2012, mukesh kumar ha scritto: Thanks for it. But i am still confused. So, can you write some line of code for alert message of JS file. Thanks ! You could use visural http://wicket.visural.net/examples/dialog If you learn to use it, you will use also other tools

Re: ResourceReferenceRegistry

2012-03-07 Thread grazia
what is the resource is not next to the .class file, but in a specific directory external to the app, say in tomcat/webapps/css ? Is there another wicket API I should use ? -- View this message in context:

Re: Wicket authentication: how to store user?

2012-03-07 Thread Dan Retzlaff
I mean that if you accept identifiers of external resources as parameters (e.g. database primary keys), it is your responsibility to verify that the authenticated user is authorized to access/modify that external resource. Frameworks protect session data, but not such external resources. On Wed,

Re: Links with old PageID do not work

2012-03-07 Thread Martin Grigorov
Hi, The debug statement in your page's constructor wont show anything. At this time the page is not rendered yet and the value will be the initial one - 0. You need to put a breakpoint at org.apache.wicket.Page#renderPage() and see why it is being incremented second time. Or just create a ticket

Re: Form with variable number of inputs

2012-03-07 Thread Martin Grigorov
Hi, One way to accomplish this is to submit to a page, not to a Form, and handle the request parameters manually. But this way it wont be Ajax anymore and you'll go to a new page. Additionally you will lose the form validation. On Wed, Mar 7, 2012 at 9:52 PM, Bertrand Guay-Paquet

Re: ResourceReferenceRegistry

2012-03-07 Thread Martin Grigorov
See org.apache.wicket.markup.html.IHeaderResponse#renderCSSReference(String) On Thu, Mar 8, 2012 at 12:09 AM, grazia grazia.russolass...@gmail.com wrote: what is the resource is not next to the .class file, but in a specific directory external to the app, say in tomcat/webapps/css ? Is there

Re: Adding Columns on Button Click in Wicket

2012-03-07 Thread Martin Grigorov
Hi, Put the Button in a Toolbar. See DefaultDataTable's code, it shows how to add toolbars. I guess the easiest way for you is to re-create the complete DataTable with the new columns after pressing the button. Otherwise also check DataView and GridView components. They are more flexible than