[Announce] Apache Wicket 6.5.0 is released

2013-01-23 Thread Martin Grigorov
This is the fifth maintenance release of the Wicket 6.x series. This release brings over 32 bug fixes and improvements. Git tag: release/wicket-6.5.0 Changelog: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12323540 Maven: dependency

Re: [Announce] Apache Wicket 6.5.0 is released

2013-01-23 Thread vineet semwal
hi, i can't see any tag related to 6.5.0 :| On Wed, Jan 23, 2013 at 2:12 PM, Martin Grigorov mgrigo...@apache.org wrote: This is the fifth maintenance release of the Wicket 6.x series. This release brings over 32 bug fixes and improvements. Git tag: release/wicket-6.5.0 Changelog:

Re: [Announce] Apache Wicket 6.5.0 is released

2013-01-23 Thread Martin Grigorov
https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=tag;h=b28d1e9a94a63d178e0600881671d8e978ef12d0 This commit made the tag. On Wed, Jan 23, 2013 at 11:27 AM, vineet semwal vineetsemwa...@gmail.comwrote: hi, i can't see any tag related to 6.5.0 :| On Wed, Jan 23, 2013 at

RE: jqwicket questions

2013-01-23 Thread Michal Wegrzyn
Point 2 is connected with this issue http://code.google.com/p/jqwicket/issues/detail?id=38 I've downloaded sources and applied patch (it seems that project is no more developed) and it helped, but framework did not work correctly due to conflicts with my custom jQuery. Switching back to

Re: wicket:for attribute definition in xsd

2013-01-23 Thread Martin Grigorov
I've created https://issues.apache.org/jira/browse/WICKET-5003 and attached a patch. Any improvements are welcome! On Tue, Jan 22, 2013 at 7:25 PM, Dan Retzlaff dretzl...@gmail.com wrote: I think taking it to that level gets into the realm of xs:redefine as described here:

Re: How to add the key in properties file for DateTimeField component

2013-01-23 Thread Martin Grigorov
Hi, I think adding hours.DateTimeField$HoursValidator=Some nice error message in MyApplication.properties should be OK. On Tue, Jan 22, 2013 at 8:33 PM, wicket_new_user murthy.m...@gmail.comwrote: Hi, i'm getting the below error when adding the hours greater than 12 for DateTimeField

Re: documentation

2013-01-23 Thread Philippe Demaison
If I had your knowledge and more time (project manager), I wish I could help. Best regards Philippe 2013/1/22 Thies Edeling th...@rrm.net Wicket is open source, if you feel that the documentation is lacking - feel free to contribute. On Jan 22, 2013 5:54 PM, Philippe Demaison

Re: documentation

2013-01-23 Thread Martin Grigorov
Hi, On Wed, Jan 23, 2013 at 12:36 PM, Philippe Demaison ph.demai...@gmail.comwrote: If I had your knowledge and more time (project manager), I wish I could help. Many people have said this... But I know exactly what you mean about the missing reference. I have an idea to start writing a

Problem with RuntimeConfigurationType.DEPLOYMENT.

2013-01-23 Thread Raul
Hello, I have a problem and Deployment Mode is that some of my templates are not working properly, I use AjaxFormComponentUpdatingBehavior specifically to hide or show some components of templates. I have succeeded recreate the development mode error, adding the application init, this line.

Re: Problem with RuntimeConfigurationType.DEPLOYMENT.

2013-01-23 Thread Martin Grigorov
What markup do you use for the components which you update ? You cannot update wicket:container for example. You need to use div, span, ... On Wed, Jan 23, 2013 at 1:30 PM, Raul ralva...@netwie.com wrote: Hello, I have a problem and Deployment Mode is that some of my templates are not

Re: Problem with RuntimeConfigurationType.DEPLOYMENT.

2013-01-23 Thread Raul
Was using wicket:container/ using div has fixed the problem. Thank you. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-RuntimeConfigurationType-DEPLOYMENT-tp4655679p4655681.html Sent from the Users forum mailing list archive at Nabble.com.

Re: AjaxDownload file download example - how to delete serverside file after download

2013-01-23 Thread Bas Gooren
Hi, Looking at RequestHandlerStack reveals that only a single next request handler can be scheduled. So your code results in only the last request handler to actually be scheduled and executed. Since you do create two request handlers, I suspect you create your temporary file before it is

Re: AjaxDownload file download example - how to delete serverside file after download

2013-01-23 Thread RichLiv
Exactly right, many thanks, that worked really well. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxDownload-file-download-example-how-to-delete-serverside-file-after-download-tp4655682p4655685.html Sent from the Users forum mailing list archive at Nabble.com.

Re: documentation

2013-01-23 Thread Andy Van Den Heuvel
Projects like Springframework use docbook. It's really nice, You put all documentation in xml files which are in the scm and when you release it, you have documentation per release. On Wed, Jan 23, 2013 at 12:26 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, On Wed, Jan 23, 2013 at

Re: documentation

2013-01-23 Thread Rob Schroeder
Hi all, On Tue, 22 Jan 2013 18:25:41 +0100, Guillaume Smet wrote: On Tue, Jan 22, 2013 at 5:53 PM, Philippe Demaison ph.demai...@gmail.com wrote: Are you kidding ? First thing first, while everyone agrees that a good documentation is a good thing, you should consider that you don't pay

Close tag not found while it's there

2013-01-23 Thread Thies Edeling
With Wicket 6.5.0 I get a close tag not found error in one of my panels (worked for 1.4.x). Looking at the markup I don't see any obvious problems. Unexpected RuntimeException Last cause: Close tag not found for tag: wicket:container wicket:id=projectStatus id=id012. For PlaceholderPanel

Re: Close tag not found while it's there

2013-01-23 Thread Bas Gooren
Is PlaceholderPanel a component defined by your application? It does not allow nested wicket components. Met vriendelijke groet, Kind regards, Bas Gooren Op 23-1-2013 20:03, schreef Thies Edeling: With Wicket 6.5.0 I get a close tag not found error in one of my panels (worked for 1.4.x).

Re: Close tag not found while it's there

2013-01-23 Thread Thies Edeling
Thanks, I passed in the wrong component for replacement :) On 01/23/2013 08:15 PM, Bas Gooren wrote: Is PlaceholderPanel a component defined by your application? It does not allow nested wicket components. Met vriendelijke groet, Kind regards, Bas Gooren Op 23-1-2013 20:03, schreef Thies

find html tag

2013-01-23 Thread Michael Jaruska
Hi, is there a way I can find specific html tag in markup? I have this html structure: ul class=mymenu li a href=./mypage.html?cid=menumenu/a ul li a href=./mypage.html?cid=menu/submenusubmenu/a ul li a

Re: find html tag

2013-01-23 Thread Bas Gooren
Hi! What you want to accomplish (e.g. changing some html attributes) can be done by adding an attributemodifier to each li component. In pseudocode: RepeatingView uls = ... for_every_li: WebMarkupContainer li = ... uls.add(li); now, you can do something like this: li.add(new

Re: find html tag

2013-01-23 Thread Michael Jaruska
Problem is that uls and lis (let's call whole structure menu) is static html code. On 23.1.2013 20:50, Bas Gooren wrote: Hi! What you want to accomplish (e.g. changing some html attributes) can be done by adding an attributemodifier to each li component. In pseudocode: RepeatingView uls =

Re: DataPicker replaced

2013-01-23 Thread lc991
hi, why i don't find DataPiker class in wicket 6.0? was this class replaced? if yes, with what? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DataPicker-replaced-tp4655689p4655690.html Sent from the Users forum mailing list archive at Nabble.com.

DataPicker replaced

2013-01-23 Thread lc991
hi, why i don't find DataPiker class in wicket 6.0? was this class replaced? if yes, with what? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DataPicker-replaced-tp4655689.html Sent from the Users forum mailing list archive at Nabble.com.

Re: find html tag

2013-01-23 Thread Michael Jaruska
And question is not how can I change html attribute but how can I go through html structure and find html tag with specific attribute :-) On 23.1.2013 20:50, Bas Gooren wrote: Hi! What you want to accomplish (e.g. changing some html attributes) can be done by adding an attributemodifier to

Re: find html tag

2013-01-23 Thread Bas Gooren
In that case I wouldn't bother trying this at the serverside. Theoretically you can access the html markup and fiddle with it, but that's generally not how wicket is meant to be used. (Trust me, we've been doing quite some advanced stuff with wicket over the years). If all you want to do is

Re: find html tag

2013-01-23 Thread Bas Gooren
Sorry, I read too quickly. What are you trying to accomplish? Let's say you are able to find the appropriate html tag, what do you want to do with it? Met vriendelijke groet, Kind regards, Bas Gooren Op 23-1-2013 21:01, schreef Michael Jaruska: And question is not how can I change html

Re: find html tag

2013-01-23 Thread Michael Jaruska
I need to find the parent li tag of the anchor user clicks - I now from PageParameters which anchor has been clicked. Then I will put into this parent li specific atribute (id=something). This attribute will be then processed by JavaScript on the page. On 23.1.2013 21:04, Bas Gooren wrote:

Re: find html tag

2013-01-23 Thread Michael Jaruska
Structure is static and I can't (management decision) generate it dynamically. Everythink I have is static html and category user has been clicked. On 23.1.2013 21:03, Bas Gooren wrote: In that case I wouldn't bother trying this at the serverside. Theoretically you can access the html markup

Re: find html tag

2013-01-23 Thread Bas Gooren
Ok, so you are indeed looking for a way to change a html attribute ;-) Since you wrote (in your folluw-up e-mail) that you cannot generate the html, there are some ways, but they mostly work outside of the normal wicket way. 1) In the component which actually renders your static html

Re: DataPicker replaced

2013-01-23 Thread Paul Bors
I presume you mean DatePicker and that you made a typo. What you're looking for was never part of the core project but instead of the Wicket Extensions. Those are the maven coordinates for up to Wicket 1.5.x: dependency groupIdorg.apache.wicket/groupId

Re: DataPicker replaced

2013-01-23 Thread lc991
thanks Paul -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DataPicker-replaced-tp4655689p4655711.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

AjaxEventBehavior that catch only some keypresses

2013-01-23 Thread Malte
Hi! I want write an AjaxEventBehavior that calls the server if an function key is pressed. Im also need to know on serverside which key is pressed. I'd tried it with this code: public HomePage(final PageParameters parameters) { super(parameters); add(new AjaxEventBehavior(keydown){

Re: how to convert joda DateTime to TimeField ?

2013-01-23 Thread Paul Bors
new TimeField(myWicketId, new ModelDate(DateTime.now().toDate())) ~ Thank you, Paul Bors On Wed, Jan 23, 2013 at 1:49 PM, grazia grazia.russolass...@gmail.comwrote: I am trying to figure out what it the cleanest way to convert org.joda.time.DateTime to

Re: how to remove the file icons from the editable tree table ?

2013-01-23 Thread Paul Bors
You can: 1) Extend the java class and override its HTML mark-up by preserving the wicket:id component tree in your own markup Then in your own java you can call setVisible(false) or replace it with an empty panel 2) Analyze the HTML for the component: span class=icon

Re: AjaxEventBehavior that catch only some keypresses

2013-01-23 Thread Sven Meier
attributes.allowDefault(true) Sven On 01/23/2013 09:41 PM, Malte wrote: Hi! I want write an AjaxEventBehavior that calls the server if an function key is pressed. Im also need to know on serverside which key is pressed. I'd tried it with this code: public HomePage(final PageParameters

Re: find html tag

2013-01-23 Thread Michael Jaruska
Look at my original post. User clicks on a href=./mypage.html?cid=menu/submenu/subsubmenu2subsubmenu2/a, then I have in String category (java code) value menu/submenu/subsubmenu2. I need just to make 2 more steps: 1. in html code find anchor tag with href menu/submenu/subsubmenu2; 2. find li

Re: find html tag

2013-01-23 Thread Martin Grigorov
You can use IMarkupFilter to manipulate the raw markup before being loaded and used by the components. See the implementations in Wicket to see what can be done with such filter. On Wed, Jan 23, 2013 at 11:11 PM, Michael Jaruska michael.jaru...@gmail.com wrote: Look at my original post. User

Re: DataPicker replaced

2013-01-23 Thread Martin Grigorov
On Wed, Jan 23, 2013 at 10:29 PM, Paul Bors p...@bors.ws wrote: I presume you mean DatePicker and that you made a typo. What you're looking for was never part of the core project but instead of the Wicket Extensions. Those are the maven coordinates for up to Wicket 1.5.x: dependency

Re: Wicket 6: Using AutoCompleteBehavior with other behaviors

2013-01-23 Thread james yong
Hi all, I have logged the required fixes for WICKET-4990 in jira. Regards, James james yong wrote Hi Sven, WICKET-4990 is for problem 1. So I raised a jira issue for problem 2, together with its solution. WICKET-4998. Regards, James Sven Meier wrote Hi James, please attach that

Re: find html tag

2013-01-23 Thread james yong
Hi Michael, What you need may not be related to wicket directly. I suggest you can attach a javascript 'click' handler that will get the parent and modify the attributes. If you are using jQuery, you can use the parent function i.e. http://api.jquery.com/parent/ http://api.jquery.com/parent/

Re: find html tag

2013-01-23 Thread Michael Jaruska
Thanks Martin, this is what I'm looking for, you save my life and my job... :-D On 23.1.2013 22:47, Martin Grigorov wrote: You can use IMarkupFilter to manipulate the raw markup before being loaded and used by the components. See the implementations in Wicket to see what can be done with such