Access current request in IAuthorizationStrategy

2012-03-26 Thread Jürgen Lind
Hi, I need a way to decide wether a certain page can be opend based on the URL it was called with. Therefore, I need access to the current request in the 'isInstantiationAuthorized' method of IAuthorizationStrategy. Is there a way to get access to the current request there? Thanks, J.

Re: Access current request in IAuthorizationStrategy

2012-03-26 Thread Igor Vaynberg
RequestCycle.get() -igor On Sun, Mar 25, 2012 at 11:14 PM, Jürgen Lind juergen.l...@iteratec.de wrote: Hi, I need a way to decide wether a certain page can be opend based on the URL it was called with. Therefore, I need access to the current request in the 'isInstantiationAuthorized'

Re: Access current request in IAuthorizationStrategy

2012-03-26 Thread Jürgen Lind
Thanks, I've been looking through some classes to find such a method but I missed on that one... J. On 26.03.2012 08:33, Igor Vaynberg wrote: RequestCycle.get() -igor On Sun, Mar 25, 2012 at 11:14 PM, Jürgen Lindjuergen.l...@iteratec.de wrote: Hi, I need a way to decide wether a certain

Re: Eclipse-IDE Plugin Wicket Bench not existing (any more)?

2012-03-26 Thread Jeroen Steenbeeke
You could try Qwickie: http://code.google.com/p/qwickie/ 2012/3/24 Stefan Lindner lind...@visionet.de: It's dead. Someone tried to continue i tat http://sourceforge.net/projects/stump/ but no release is available. -Ursprüngliche Nachricht- Von: Ben Stover

RE: Homepage runs 2 times if I mount it as /

2012-03-26 Thread Wilhelmsen Tor Iver
/;jsessionid=6730E8A6F6FED95C9AC24E7A37F3A35A?0 This is added by the web container in case the browser does not support cookies. It is added on the first response regardless, and also on subsequent ones if the browser does not accept cookies, or you turn it off (e.g. using cookies=false in

RE: mouseover in wicket

2012-03-26 Thread Wilhelmsen Tor Iver
is possible to create mouseover and show tooltip (wicket panel with html) when I move cursor over html element/text/link. Is there any way how to do it in wicket? I have used the wicketstuff Mootip extensions to do that earlier, worked fine. Only drawback was that the MootipBehaviour

Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc

2012-03-26 Thread SudeepShakya
I am new to wicket and also to webframeworks. i am creating an app, which has a homepage and when a link is clicked, it should display a form which takes two dates and a string as input and retrieves data from database. Thanks in advance. I tried to learn from 'wicket in action' but the example

Re: mouseover in wicket

2012-03-26 Thread Martijn Dashorst
Use the title attribute? Standard for all browsers. If that doesn't tickle your fancy, using bootstrap from twitter is fairly easy, and provides quite nice tooltips. Martijn On Sat, Mar 24, 2012 at 4:53 PM, Dan12321 wee...@centrum.cz wrote: Hello, is possible to create mouseover and show

RE: abort loading lazy components

2012-03-26 Thread Michal Wegrzyn
Hi, It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5. If I override ajax channel like: @Override protected AjaxChannel getChannel() { return new AjaxChannel( 0, AjaxChannel.Type.DROP ); } Only last item is loaded and other items are in continuous

Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc

2012-03-26 Thread Andrea Del Bene
Hi, what exactly is your problem? What problems are you having so far? I am new to wicket and also to webframeworks. i am creating an app, which has a homepage and when a link is clicked, it should display a form which takes two dates and a string as input and retrieves data from database.

Re: abort loading lazy components

2012-03-26 Thread Martin Grigorov
Hi Michal, Last time I tried your quickstart it was working OK with 1.5-SNAPSHOT. The problem is that you test with a different quickstart than the attached one in the ticket. First I made it working at 24 Nov, then you verified at 25 Nov, then I re-verified at 25 Jan and then you said yeah, but

RE: abort loading lazy components

2012-03-26 Thread Michal Wegrzyn
Hi Martin, Thanks for the response. I thought that simple change in existing quickstart is better than completely new quickstart, but if it is more comfortable then no problem :) Created https://issues.apache.org/jira/browse/WICKET-4470 Maybe WICKET-4397 can be already closed then, as

Re: After upgrading from wicket 1.5.0 to 1.5.1+ we have a simple problem

2012-03-26 Thread Bas Gooren
Hi, Op 25-3-2012 18:59, schreef Martin Grigorov: On Sun, Mar 25, 2012 at 7:19 PM, Bas Goorenb...@iswd.nl wrote: https://issues.apache.org/jira/browse/WICKET-4468 Thanks! We will consider it. Ok: here's whats happening: - A request comes in for /login - WebPageRenderer:264-266 stores the

Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc

2012-03-26 Thread SudeepShakya
I have created a form which takes two dates/time and a textbox and created a class for get/set. And, it should work as : when i insert the data, it should check the data in the database and display the filtered data as specified by the inputs . Also i have created a jdbc connection and a method

Re: After upgrading from wicket 1.5.0 to 1.5.1+ we have a simple problem

2012-03-26 Thread Martin Grigorov
On Mon, Mar 26, 2012 at 1:12 PM, Bas Gooren b...@iswd.nl wrote: Hi, Op 25-3-2012 18:59, schreef Martin Grigorov: On Sun, Mar 25, 2012 at 7:19 PM, Bas Goorenb...@iswd.nl  wrote: https://issues.apache.org/jira/browse/WICKET-4468 Thanks! We will consider it. Ok: here's whats happening:

Form submit event

2012-03-26 Thread Schlärmann , Bob
Hello List, I'm trying to set the enable state of some form component based on the outcome of another form component. This needs to be done after a form request is submitted but before the form submitting process is started. Are there any methods to do this? Best regards, Bob Think green -

Re: Form submit event

2012-03-26 Thread Martin Grigorov
Hi, Can you rephrase after what and before what? On Mon, Mar 26, 2012 at 1:48 PM, Schlärmann, Bob bob.schlarm...@logica.com wrote: Hello List, I'm trying to set the enable state of some form component based on the outcome of another form component. This needs to be done after a form request

Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc

2012-03-26 Thread James Carman
Have you looked at the examples from the website? On Mar 26, 2012 7:20 AM, SudeepShakya shakyasud...@live.com wrote: I have created a form which takes two dates/time and a textbox and created a class for get/set. And, it should work as : when i insert the data, it should check the data in

Libraries files for Dojo-Wicket example

2012-03-26 Thread Maaz Muqri
Hi, Can anyone guide me where can be the JAR libraries of example source code ? http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.floatingpane.FloatingPaneShower Below are the Libraries I can't locate in an example for Floating Pane Dojo and Wicket:

Re: ModalWindow accessibility - DIV placeholder not used

2012-03-26 Thread lukuperman
Hi Martin, I took a look at the post you mentioned, but in that patch the div node is still being appended to the document.body node, resulting in the behavior i'm seeing. However I have to admit that appending the new div node to the placeholder is just a nice to have. A more appropriate solution

Re: ModalWindow accessibility - DIV placeholder not used

2012-03-26 Thread Martin Grigorov
Hi Lucas, On Mon, Mar 26, 2012 at 2:38 PM, lukuperman lukuper...@hotmail.com wrote: Hi Martin, I took a look at the post you mentioned, but in that patch the div node is still being appended to the document.body node, resulting in the behavior i'm seeing. However I have to admit that appending

Re: Hide Table Rows in Column 1 when displaying the table

2012-03-26 Thread Richard W. Adams
Easily done with style sheets. From: karthik karthik.anik...@infotech-enterprises.com To: users@wicket.apache.org Date: 03/26/2012 08:02 AM Subject:Hide Table Rows in Column 1 when displaying the table Hi , I would like to have a table with 3 columns and 5 rows. The first

Re: inferring locale from URL in 1.5

2012-03-26 Thread armhold
Try clicking the source code links from wicket-library.com. Always times out for me. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inferring-locale-from-URL-in-1-5-tp4497412p4505742.html Sent from the Users forum mailing list archive at Nabble.com.

Re: inferring locale from URL in 1.5

2012-03-26 Thread Martijn Dashorst
You could try http://wicket-examples.herokuapp.com but that is not an officially supported deployment. Martijn On Mon, Mar 26, 2012 at 3:17 PM, armhold armh...@gmail.com wrote: Try clicking the source code links from wicket-library.com. Always times out for me. -- View this message in

Re: AJAX Requests Too Slow, Have a Delay on Component Refresh

2012-03-26 Thread eugenebalt
I'll try the IndicatorAjax, but is there a reason for the noticeable delay? Is it possible to configure a shorter period for Ajax updates? -- View this message in context:

Re: inferring locale from URL in 1.5

2012-03-26 Thread Martin Grigorov
Nice! It is just RequestMappers application. Somehow it extracts the internal port of Tomcat instead of using the external (Apache HTTPD) port. Viewing sources of any other demo app works OK. On Mon, Mar 26, 2012 at 3:17 PM, armhold armh...@gmail.com wrote: Try clicking the source code links

Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc

2012-03-26 Thread SudeepShakya
I have viewed some of the examples but not appropriate one. Can u give some hint -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Creating-a-submit-form-which-takes-date-and-a-string-as-input-and-displays-the-data-from-database-myc-tp4505124p4505882.html Sent from the

RE: Form submit event

2012-03-26 Thread Schlärmann , Bob
Ok I'll try to rephrase my question: Is there an equivalent to the Behavior class for form submissions? e.g. allow external classes to override or extent behavior of form components. I'm trying to show/hide sections of a form when a user selects a radio button which is also part of the form.

Re: inferring locale from URL in 1.5

2012-03-26 Thread armhold
Hmm, I was actually planning to use that code (LazyHttpsConfig) myself. Looked like a nice way to avoid hard-coding port numbers for dev vs prod use. Maybe not now. :-) -- View this message in context:

Re: ModalWindow accessibility - DIV placeholder not used

2012-03-26 Thread lukuperman
Hi Martin, ticket 4472 created (https://issues.apache.org/jira/browse/WICKET-4472) But since I'm new to OSS contributions, I didn't attach a patch. Due to the low complexity of the change I don't think my patch is a blocker for you? I'll start setting up my env, to be ready to deliver patches in

Re: ModalWindow accessibility - DIV placeholder not used

2012-03-26 Thread Martin Grigorov
Thanks! I already commented there ... Just paste the old and the new (the way it how it should be) html as a comment. On Mon, Mar 26, 2012 at 4:16 PM, lukuperman lukuper...@hotmail.com wrote: Hi Martin, ticket 4472 created (https://issues.apache.org/jira/browse/WICKET-4472) But since I'm new

Re: ModalWindow accessibility - DIV placeholder not used

2012-03-26 Thread lukuperman
Done. Made the requested updates to the ticket. Lucas PD: do you think i should create another ticket for the related post I mentioned above? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ModalWindow-accessibility-DIV-placeholder-not-used-tp4501891p4506115.html

Re: ModalWindow accessibility - DIV placeholder not used

2012-03-26 Thread Martin Grigorov
On Mon, Mar 26, 2012 at 5:15 PM, lukuperman lukuper...@hotmail.com wrote: Done. Made the requested updates to the ticket. Lucas PD: do you think i should create another ticket for the related post I mentioned above? It is similar change - add it to this ticket. -- View this message in

AjaxIndicatingDropDownChoice

2012-03-26 Thread eugenebalt
I found another user's code for an Ajax-Busy-Indicator DropDownChoice: http://apache-wicket.1842946.n4.nabble.com/Wicket-extensions-AjaxIndicatingDropdownChoice-td3088554.html but how do I use this code? When I construct the DropDown, I need to give it an extra parameter, a MarkupContainer. What

Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc

2012-03-26 Thread James Carman
http://www.wicket-library.com/wicket-examples/dates/ On Mon, Mar 26, 2012 at 9:55 AM, SudeepShakya shakyasud...@live.com wrote: I have viewed some of the examples but not appropriate one. Can u give some hint -- View this message in context:

Re: AjaxIndicatingDropDownChoice

2012-03-26 Thread eugenebalt
Sorry, to clarify: This guy defines AjaxIndicatingDropDownChoice as an abstract class. Why is it abstract? I want to be able to add it to my form like a regular dropdown choice. And why isn't this component already available in Wicket? -- View this message in context:

Re: AJAX Requests Too Slow, Have a Delay on Component Refresh

2012-03-26 Thread Josh Kamau
In my opinion, The delay could be caused by : 1. What processing is being done before ajax request returns (may be some database operations are taking place) 2. Network speed If you could show the code where ajax is taking time , the Gurus here will be able to help. Josh. On Mon, Mar 26,

Re: HTML frame alternative to visualise external web-page

2012-03-26 Thread Sven Meier
IIRC InlineFrame was designed similar to the link component. It seems IPageLink is used only by InlineFrame now, this interface was formerly used by some link component too. Sven On 03/25/2012 05:06 PM, Martin Grigorov wrote: Hi Walter, I have no idea why InlineFrame is designed this way.

Re: What real life scenario calls for page ID?

2012-03-26 Thread armhold
I'm really grateful for this conversation, as I've been wondering the same question for a while now. Martin writes: So far I didn't hear a good explanation why the page id causes you troubles. Most of you are saying it is ugly. Well it is kind of ugly. It is far less ugly than the 1.4-style

Re: What real life scenario calls for page ID?

2012-03-26 Thread Martin Grigorov
On Mon, Mar 26, 2012 at 7:08 PM, armhold armh...@gmail.com wrote: I'm really grateful for this conversation, as I've been wondering the same question for a while now. Martin writes: So far I didn't hear a good explanation why the page id causes you troubles. Most of you are saying it is

Re: AjaxIndicatingDropDownChoice

2012-03-26 Thread eugenebalt
Disregard. I got everything to work by implementing IAjaxIndicatorAware. My only remaining question is this: I see the spinner, but my cursor is still Auto rather than Wait (Hourglass). How do I change the cursor to Wait as long as the spinner is also spinning? Thanks. -- View this message in

Apache Wicket 6.0.0-beta1 is released

2012-03-26 Thread Martin Grigorov
The Wicket team is proud to announce the first beta release of the Wicket 6.x series. This release brings over many improvements over the 1.5.x series. The roadmap with the major goals can be found at https://cwiki.apache.org/WICKET/wicket-60-roadmap.html. The migration guide with all major and

Re: Apache Wicket 6.0.0-beta1 is released

2012-03-26 Thread Josh Kamau
Fantastic... Thanks Guys. Josh. On Mon, Mar 26, 2012 at 9:43 PM, Martin Grigorov mgrigo...@apache.orgwrote: The Wicket team is proud to announce the first beta release of the Wicket 6.x series. This release brings over many improvements over the 1.5.x series. The roadmap with the major

Re: Apache Wicket 6.0.0-beta1 is released

2012-03-26 Thread François Meillet
Great ! Thanks ! François Le 26 mars 2012 à 20:43, Martin Grigorov a écrit : The Wicket team is proud to announce the first beta release of the Wicket 6.x series. This release brings over many improvements over the 1.5.x series. The roadmap with the major goals can be found at

Canonical link

2012-03-26 Thread Chris Colman
I'm implementing canonical in our wicket app and so I need to add a canonical link to any page whose request has the ;jessionid=SESSIONID parameter but NOT for those pages that don't have the jsessionid parameter Eg., If the page request was:

Re: What real life scenario calls for page ID?

2012-03-26 Thread Paolo
Alle giovedì 22 marzo 2012, Pointbreak ha scritto: On Thu, Mar 22, 2012, at 11:42, Igor Vaynberg wrote: No that is not what happens with NoVersionMount: i didnt say it was an ajax twistie Not being an ajax twistie link still doesn't add the ?1 to the url. NoVersionMount

Could not find child with id: cart:prezzo in the wicket:enclosure

2012-03-26 Thread Paolo
I am become crazy with wicket:enclosure to prevent an runtime error in case the ListView is empty. this is part of my html code: table border=1 wicket:enclosure child=cart:prezzo tr wicket:id=cart tda href=# wicket:id=OggettoLink target=_blank img

Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc

2012-03-26 Thread SudeepShakya
I want to know how to input date into database using form. I am using Timestamp in mysql. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Creating-a-submit-form-which-takes-date-and-a-string-as-input-and-displays-the-data-from-database-myc-tp4505124p4507896.html Sent

Re: How to update a label BEFORE a form is submitted?

2012-03-26 Thread pkc
Thanks Martin. I am back on track after looking at those link examples and the source code for AjaxIndicatorAppender. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-update-a-label-BEFORE-a-form-is-submitted-tp4495663p4507917.html Sent from the Users forum