Re: Javascript Compression not working.

2010-04-08 Thread Alex Objelean
Wro is responsible for resource cashing. That means that all requests for merged resource will be served with the same response. If you need something dynamic, like theming .. you should serve those outside of wro request. You can split your resources in two: 1) Static unchanged resources (to be

Wicket And GAE

2010-04-08 Thread Josh Kamau
What are the main issues with wicket and Google app engine

Re: Speaking about Wicket

2010-04-08 Thread nino martinez wael
I have some materials here http://svn2.assembla.com/svn/wicketBaisc/trunk/wicketBasic The idea are to build a simple blog application while doing the talk, you can find the end application there aswell. 2010/4/6 Andrew Williams a...@handyande.co.uk: Hi guys, I am organising a talk on Wicket

Re: What happens after browser's 'back' button?

2010-04-08 Thread Johan Compagner
yes we didnt do that by default because it is quite annoying behavior Back button should be quick and shouldnt load it from the server again at least not by default. You can configure it for you application the way you like. But for many others back should really be browser cache back. On Wed,

Mounting link

2010-04-08 Thread Mathias Nilsson
Hi, I have this link public class PdfLink extends LinkVoid { private static final long serialVersionUID = 1L; private FileResource resource; public PdfLink(String id, FileResource resource ) { super(id); this.resource = resource; if( resource == null ){ setVisible( false ); } }

Wicket and Guice / legup / warp persist?

2010-04-08 Thread nino martinez wael
Hi I revived my old wicket talk yesterday and since we are using guice at the company where Im at now the people attending the talk wanted to see my examples in guice / wicket instead of spring / wicket. So I used the legup archetype. Which worked nicely until I did a ldm which I had to inject a

Re: Wicket And GAE

2010-04-08 Thread nino martinez wael
Hi Not a very describing mail. But AFAIK, and my knowledge are rather limited you need to switch the session store. And then GAE has a couple of restrictions for java that you need to comply with. It's not so much Wicket and GAE, but JAVA and GAE that have issues.. Other than that search with

Re: Wicket and Guice / legup / warp persist?

2010-04-08 Thread Cemal Bayramoglu
Nino, It looks like the message you are getting is misleading; probably the refactoring out of the Wicket IOC module (which both Wicket's Guice and Spring modules sit on top of now) missed changing that exception's text. InjectorHolder has not been assigned is caused by Wicket's Guice

Re: automatic palette sorting

2010-04-08 Thread PDiefent
Hi Robert, how did you call the new function. My IE always runs on error if I try to call the sort function ... Thanks, Peter robert.mcguinness wrote: in palette.js include the following function and call in Wicket.Palette.updateRecorder and Wicket.Palette.remove -- View this message

Re: Wicket and Guice / legup / warp persist?

2010-04-08 Thread nino martinez wael
Thanks for the reply Cemal. Writing inline.. 2010/4/8 Cemal Bayramoglu jweekend_for...@cabouge.com: Nino, It looks like the message you are getting is misleading; probably the refactoring out of the Wicket IOC module (which both Wicket's Guice and Spring modules sit on top of now) missed

Re: Wicket and Guice / legup / warp persist?

2010-04-08 Thread Martin Grigorov
The ticket for this is https://issues.apache.org/jira/browse/WICKET-2761 The fix is applied to 1.4.x at 13/03 by Juergen. 1.4.7 was released at 03/03. So, it will be included in next release - probably 1.4.8. On Thu, 2010-04-08 at 11:08 +0200, nino martinez wael wrote: Hi I revived my old

Re: Wicket and Guice / legup / warp persist?

2010-04-08 Thread nino martinez wael
Ahh typical :) And thanks for the update. 2010/4/8 Martin Grigorov mcgreg...@e-card.bg: The ticket for this is https://issues.apache.org/jira/browse/WICKET-2761 The fix is applied to 1.4.x at 13/03 by Juergen. 1.4.7 was released at 03/03. So, it will be included in next release - probably

Ajax page mounting and panels

2010-04-08 Thread Mathias Nilsson
Hi, My Webapplication is made up of one page that uses ajax to replace panels. Now I would like to have som mounting and set some panels by the mountingpath. Can anyone give me some pointers? RootPage( RequestParameters params ){ // Parse the params and set some panels } mount( /order ) // This

IE6 issue regarding Wicket JS and Ajax

2010-04-08 Thread Martin Asenov
Hello, everyone! I just noticed that my DatePicker doesn't work in IE6 - it doesn't even get displayed on mouse click. Also, when I close a modal window, the mask isn't hidden and the underlying page is not intractable, so I'm forced to refresh the whole page. Also, ajax components update cause

Re: IE6 issue regarding Wicket JS and Ajax

2010-04-08 Thread Martijn Dashorst
IE6's not pinin,' it's passed on! This browser is no more! It has ceased to be! It's expired and gone to meet its maker! This is a late browser! It's a stiff! Bereft of life, it rests in peace! If you hadn't nailed him to the perch he would be pushing up the daisies! Its metabolical processes are

Re: What happens after browser's 'back' button?

2010-04-08 Thread Sergey Olefir
Any suggestions as to where I should start looking (source code or otherwise) to understand how Wicket actually handles back button? -- View this message in context: http://old.nabble.com/What-happens-after-browser%27s-%27back%27-button--tp28149886p28179655.html Sent from the Wicket - User

Re: IE6 issue regarding Wicket JS and Ajax

2010-04-08 Thread T Ames
Sadly in the corporate world these things move very, very slowly. We have vendor apps that require IE6 so we are at their mercy. Anyways, we use IE6 and DatePicker is working although I don't think I have tried in on a ModalWindow. On Thu, Apr 8, 2010 at 10:23 AM, Martijn Dashorst

RE: IE6 issue regarding Wicket JS and Ajax

2010-04-08 Thread Martin Asenov
Hi, T Ames! The datepicker is not in a modal window, but in a page. I was saying that when a modal window is closed, the mask it creates is never removed. Anyway, we'll probably not support IE6 Best, Martin Martin Asenov | Software Developer Velti Mob: +359.89.986.6745 | Tel: +359.2.933.5541

Re: IE6 issue regarding Wicket JS and Ajax

2010-04-08 Thread T Ames
Hmmm, curious. Not sure what you mean exactly by the mask, but on one of my apps, there are three date pickers in a Panel. This also has a ModalWindow that pops up over that panel. I just tried it and do not experience any problems. I even left the DatePicker calendar open and then opened and

Re: Wicket GAE performance

2010-04-08 Thread Anton Veretennikov
Very interesting, Jake, thank you, i'll look into it. I think i'm solving my problem just trying to modify the status of object inside a transaction - at the end it is throwing an exception that it can't commit. I'm testing if it really doing what i need. -- Tony On Wed, Apr 7, 2010 at 8:59 PM,

JavaOne in San Francisco

2010-04-08 Thread Steve Hiller
The economy must be improving -- my employer is sending me to JavaOne this year :-) Will there be any Wicket events at JavaOne?

wicket redirecting to relative URLs

2010-04-08 Thread Nikita Tovstoles
I am working on a patch to JMeter to rewrite absolute URLs containing '/../' before issuing GETs and have an observation and a question. The problem is described here: http://markmail.org/thread/3ci5hayvqyjhi2ud FWIW this was discussed before and there's WICKET-2728 and related JIRAs. My

Re: Javascript Compression not working.

2010-04-08 Thread Apple Grew
Hi alex Thanks for the respose. I have thought of a scheme. I have clubed the css into groups with names as - themeName-all.css, eg. Classic-all.css, jazzy-all.css, etc. I will make sure wicket put correct css name in htmls. Can anyone point me as how to extend wiket:link tag or creat my own tag.

wicket datetime and opera

2010-04-08 Thread Mathias Nilsson
The org.apache.wicket.datetime.markup.html.form.DateTextField.forDatePattern( id , -MM-dd ); is not working on Opera 9.64 Tested in IE7, Firefox, Google chrome and ot works but not in opera This is tested with org.apache.wicket.extensions.yui.calendar.DatePicker Have tested different 1.4.x

Re: Javascript Compression not working.

2010-04-08 Thread Alex Objelean
I wouldn't recommend creating a wicket tag for this. That is exactly what wicket doesn't encourage to do. An alternative could be a simple servlet which forwards to wanted resource based on theme parameter... Alex AppleGrew wrote: Hi alex Thanks for the respose. I have thought of a

Re: JavaOne in San Francisco

2010-04-08 Thread Igor Vaynberg
historically we have attempted to submit at least two papers on wicket, but wicket-related stuff has always been rejected. so we stopped trying. -igor On Thu, Apr 8, 2010 at 8:30 AM, Steve Hiller sh...@bellsouth.net wrote: The economy must be improving  -- my employer is sending me to JavaOne

Re: JavaOne in San Francisco

2010-04-08 Thread shetc
Bummer! I wonder why -- unless they don't like the competition to JSF :confused: -- View this message in context: http://old.nabble.com/JavaOne-in-San-Francisco-tp28180298p28182020.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Ajax page mounting and panels

2010-04-08 Thread nino martinez wael
You an always mount that way. Just use the constructor that has page parameters.. Other than that I dont think theres problems with multiple mounting towards the same page with different parameters... You should check this http://wicketstuff.org/wicket14/linkomatic/ and the pages there and the

Re: wicket redirecting to relative URLs

2010-04-08 Thread Igor Vaynberg
as far as i know we do not set the Location header directly anywhere in the code, instead we use HttpServletResponse.sendRedirect() - which does allow relative urls. so where are we breaking the RFC? -igor On Thu, Apr 8, 2010 at 8:35 AM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: I am

How to give feedback in long-running operation within AjaxButton.onSubmit()?

2010-04-08 Thread Thomas Götz
Problem: I have an AjaxButton that triggers a long-running operation when clicked. I want to give feedback (in form of a javascript message) upon partial completion of the operation, therefore I am using a jQuery notifications plugin (http://www.programmingmind.com/contributions). So, what I

Re: How to give feedback in long-running operation within AjaxButton.onSubmit()?

2010-04-08 Thread Fernando Wermus
Does this resolve your problem? @Override protected IAjaxCallDecorator getAjaxCallDecorator() { return new AjaxCallDecorator() { private static final long serialVersionUID = 1L; @Override public CharSequence decorateScript(CharSequence script) { return YOUR JAVASCRIPT +

Re: Javascript from panel does not work

2010-04-08 Thread Daniela Valero
I found the solution In my class, I declare this attr: ResourceReference SHORTCUTS_CSS = new CompressedResourceReference(New_Policy.class,/css/style.css); ResourceReference SHORTCUTS_JAVASCRIPT = new CompressedResourceReference(New_Policy.class,/js/jquery-1.3.2.min.js); ResourceReference

Re: wicket redirecting to relative URLs

2010-04-08 Thread Nikita Tovstoles
ahh, good point. I was looking at this: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30Are you suggesting it's Tomcat's responsibility to either: - collapse the '/../' when generating the absolute URL for the

Re: Javascript Compression not working.

2010-04-08 Thread Apple Grew
From my Java code I can simply get the actual css name by; wro/ + MyApplication.getThemeName() + -all.css, but for cases where I would simply add the url to html's head, I find extending wicket:link more attractive. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Thu, Apr 8, 2010

Re: Ajax page mounting and panels

2010-04-08 Thread Mathias Nilsson
I will look in to it. You are right. I don't like it either. But I couldn't get it to work better when wanting the menu, header and footer stay fixed without using frames. -- View this message in context: http://old.nabble.com/Ajax-page-mounting-and-panels-tp28178937p28184077.html Sent from

Recover from session expiration ?

2010-04-08 Thread Boris Goldowsky
I have a wicket website that stores some user choices around how a page is displayed in the Session - simple, non-critical information. It also uses Ajax to do things like bring up a zoomed-in version of an image. The problem is when sessions expire after an hour or so, trying to zoom an

RE: IE6 issue regarding Wicket JS and Ajax

2010-04-08 Thread Russell Morrisey
Amen! RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | russell.morri...@missionse.com | www.missionse.com 304 West Route 38, Moorestown, NJ 08057 -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Thursday, April

Re: How to give feedback in long-running operation within AjaxButton.onSubmit()?

2010-04-08 Thread Thomas Götz
I fear not. As far as I understand, getAjaxCallDecorator() decorates the javascript with a custom script, which is executed immediately upon hitting the button. What I want to achieve is displaying some status messaged during the progress of my long-term operation ... -Tom On 08.04.2010

Re: How to give feedback in long-running operation within AjaxButton.onSubmit()?

2010-04-08 Thread Nishant Neeraj
I think you may look into this package org.apache.wicket.extensions.ajax.markup.html.form.upload where upload progress-bar is implemented. You may do something like this. So, probably it sets a resource in session, Java part regularly updates the string resource. And JS keeps on polling this

Re: How to give feedback in long-running operation within AjaxButton.onSubmit()?

2010-04-08 Thread Alex Objelean
The most simple way is to implement IAjaxIndicatorAware interface on the component wish to display the indicator. For instance, if your page implements this interface, you will have a generic indicator for all ajax requests inside your page. Also, you can be more specific by implementing this

Wicket Authorization

2010-04-08 Thread Janani Sundarrajan
Is it possible use a metadata driven component based authorization? Wicket in Action gives an example @AdminOnly private class ModeLink extends Link {.} Then implement isActionAuthorized() of the Authorization Strategy. But I feel that it is not a good solution to create new

Re: JavaOne in San Francisco

2010-04-08 Thread Eelco Hillenius
I might be around even if not attending. Let's ping this list when the event is nearing to see if we have enough people to meet up at a bar or something :-) Eelco - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Wicket Authorization

2010-04-08 Thread wicketyan
use MetaDataRoleAuthorizationStrategy 2010-04-09 wicketyan 发件人: Janani Sundarrajan 发送时间: 2010-04-09 05:38:24 收件人: users@wicket.apache.org 抄送: 主题: Wicket Authorization Is it possible use a metadata driven component based authorization? Wicket in Action gives an example