Re: AjaxFallbackLink Text

2009-07-02 Thread Joshua Martin
Finally figured it out... For the benefit of others, my entire page with the AjaxFallbackLink w/ custom text: @SuppressWarnings("serial") public AssetsPage () { // List for columns List columns = new ArrayList();

Re: img tags from external src slow down my page

2009-07-02 Thread nino martinez wael
Yeah I think the apache proxy mod are one good bet for this ... So if you are using apache http, just add the proxy directive.. 2009/7/2 Igor Vaynberg : > its a matter of building a simple cache. all  you need is a servlet > that can check if the image is on disk and if not download it, then > ser

Re: img tags from external src slow down my page

2009-07-02 Thread Igor Vaynberg
its a matter of building a simple cache. all you need is a servlet that can check if the image is on disk and if not download it, then serve it from there mount the servlet on /external and rewrite your urls to be /external?url= there are probably already things like this for apache, you just ha

img tags from external src slow down my page

2009-07-02 Thread Jim Pinkham
Hi, I have an AjaxFallbackDefaultDataTable on the main page of my Wicket app with an image column like this: columns.add(new ImagePropertyColumn(new ResourceModel("imageURL"), "imageURL")); My item model has an imageURL string property backed by a database column, and it pretty much work

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread Christopher L Merrill
Igor Vaynberg wrote: what makes you think you need any special tweaking or scaling in wicket to handle that kind of load? I've got a bit of knowledge (not wicket-specific) in this area and the one thing I can say for sure is: if there is a financial stake in the project, then you should never a

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread John Armstrong
Nothing makes me think I can't but the point here is that nothing makes me think I can ;) I'll end up doing it at some point. it can't be helped, I've been wicketized. John- On Thu, Jul 2, 2009 at 12:53 PM, Igor Vaynberg wrote: > what makes you think you need any special tweaking or scaling in >

Re: JDeveloper - Can I get a show of hands?

2009-07-02 Thread John Armstrong
Since we are plugging our favorite DB tools I swear by Database Workbench Pro (http://www.upscene.com/). The author is extremely responsive (he'll give you a custom build, usually in 48 hours, when you find a bug), it supports a nice variety of databases and has some killer tools like cross-databas

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread Igor Vaynberg
what makes you think you need any special tweaking or scaling in wicket to handle that kind of load? -igor On Thu, Jul 2, 2009 at 12:43 PM, John Armstrong wrote: > I see 3 tiers of sites > > Intranet : Low traffic / high functionality with a small audience and > the common wicket use case from wh

Re: Image with parameters

2009-07-02 Thread Johannes Schneider
Aah! Okay, found it It is exactly where it should be: add( new Image( "image", imageResource, new ValueMap( map ) ) ) Thanks... Joe Johannes Schneider wrote: > Hi, > > I have registered a shared resource with > IndexedSharedResourceCodingStrategy. > Now I want to add an image to one

Image with parameters

2009-07-02 Thread Johannes Schneider
Hi, I have registered a shared resource with IndexedSharedResourceCodingStrategy. Now I want to add an image to one of my pages. But of course I need to add a parameter to that image. How can this be done? I really can't find any fitting constructor... What I have so far is: ResourceRefere

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread John Armstrong
I see 3 tiers of sites Intranet : Low traffic / high functionality with a small audience and the common wicket use case from what I can tell. Mid-market : <5 million hits per day Premium : The ebays and googles of the world. No one stack can serve the Premium market but I instinctually think th

Re: Looking to implement a table that has it all.

2009-07-02 Thread satar
Nice, thanks for the pointers Jeremy! -- View this message in context: http://www.nabble.com/Looking-to-implement-a-table-that-has-it-all.-tp24311958p24312781.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread Randy S.
For what it's worth, my employer is a large financial services organization and we are considering switching to Wicket for all our major internal and external development. I also have been disappointed while going through the Wiki page that lists sites using Wicket. Many are not even in existence a

Re: Looking to implement a table that has it all.

2009-07-02 Thread Jeremy Thomerson
Wicket stuff. https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/ -- Jeremy Thomerson http://www.wickettraining.com On Thu, Jul 2, 2009 at 2:18 PM, satar wrote: > > Jeremy, those examples are PERFECT! Where does one find the source to them :P > -- > View this

Re: Looking to implement a table that has it all.

2009-07-02 Thread satar
Jeremy, those examples are PERFECT! Where does one find the source to them :P -- View this message in context: http://www.nabble.com/Looking-to-implement-a-table-that-has-it-all.-tp24311958p24312528.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread David Chang
Igor, thanks very much for your input and insight. I really mean it. All the best. --- On Thu, 7/2/09, Igor Vaynberg wrote: > From: Igor Vaynberg > Subject: Re: Large internet rich UI Wicket websites? > To: users@wicket.apache.org > Date: Thursday, July 2, 2009, 2:35 PM > lets say the entir

RE: Wicket behind proxy (AJP)

2009-07-02 Thread Russell Simpkins
> From: jcar...@carmanconsulting.com > Date: Thu, 2 Jul 2009 14:43:59 -0400 > Subject: Re: Wicket behind proxy (AJP) > To: users@wicket.apache.org > > I don't think ProxyPass supports the "/" path, does it? At least, it didn't > back when I wanted to set my site up like that. What I had to do w

Re: Wicket behind proxy (AJP)

2009-07-02 Thread Sergey Podatelev
This doesn't sound like a very smooth way (: And as I said, it all works perfectly well with HTTP but not with AJP. On Thu, Jul 2, 2009 at 10:43 PM, James Carman wrote: > I don't think ProxyPass supports the "/" path, does it?  At least, it didn't > back when I wanted to set my site up like that.

Re: Wicket behind proxy (AJP)

2009-07-02 Thread James Carman
I don't think ProxyPass supports the "/" path, does it? At least, it didn't back when I wanted to set my site up like that. What I had to do was put a dummy HTML page in there with a refresh directive to make it go to: http://mysite/mywicketapp On Thu, Jul 2, 2009 at 2:27 PM, Sergey Podatelev w

Re: Looking to implement a table that has it all.

2009-07-02 Thread Jeremy Thomerson
I've never used it, but Matej created the inmethod grid: http://wicketstuff.org/grid-examples/ -- Jeremy Thomerson http://www.wickettraining.com On Thu, Jul 2, 2009 at 1:36 PM, Steve Tarlton wrote: > I am looking to develop a table that has sortable columns, using an ajax > approach of course.

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread Igor Vaynberg
lets say the entire backend of amazon is written in wicket. would you consider that to be a large application? how would you ever know that it was written in wicket? people who work on projects like these do not often go, or most times are not even allowed, to boast on some public mailing list. wi

Looking to implement a table that has it all.

2009-07-02 Thread Steve Tarlton
I am looking to develop a table that has sortable columns, using an ajax approach of course. I want to highlight the row that one is mousing over with one color and ideally if a row is currently selected it would be highlighted with a different color. Additionally, I want to have alternating colors

Wicket behind proxy (AJP)

2009-07-02 Thread Sergey Podatelev
Hello, I know this question had already been asked here, but I still couldn't get it working on my side. What I'm trying to achieve, is a configuration of Wicket running as filter on Tomcat with an Apache host as a frontend. Particular problem is with the context path. Here's my configuration: To

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread David Chang
Jeremy, thanks for your input. I don't quite understand the side note in your reply. For a large website such as Amazon to work, there should absolutely be different technologies/tiers, tuning, security, and other considerations. The basic question is whether a framework is up to that task and

Can a RadioChoice display input for null value?

2009-07-02 Thread Robin Sander
Hello, is it possible to get RadioChoice behave more like DropDownChoice concerning a null value? Consider a RadioChoice defining a search parameter, e.g. two values 'male' and 'female' and a third one meaning "doesn't matter". With a DropDownChoice I could easily use setNullValid(true) and

Re: Localization message for validators

2009-07-02 Thread Uwe Schäfer
Major Péter schrieb: Dear Igor referring to your comment on https://issues.apache.org/jira/browse/WICKET-2350 where it reads: "the proper format of the override key is formid.componentid.key, you are missing the formid part. this was considered a bug in earlier versions of wicket and was f

Re: Two WebPages one Site

2009-07-02 Thread Igor Vaynberg
try with rc5/6/snapshot. i think sometihng like this might have been fixed since then. -igor On Thu, Jul 2, 2009 at 9:36 AM, Enes Fazli wrote: > Hi Igor, > > I use Wicket 1.4-rc4. > > Regards, > Enes > > On Thu, Jul 2, 2009 at 5:33 PM, Igor Vaynberg wrote: > >> what version of wicket are you usin

Re: Two WebPages one Site

2009-07-02 Thread Enes Fazli
Hi Igor, I use Wicket 1.4-rc4. Regards, Enes On Thu, Jul 2, 2009 at 5:33 PM, Igor Vaynberg wrote: > what version of wicket are you using? > > -igor > > On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli > wrote: > > Hello everybody, > > > > I have a requirement where I need to have two or more styles

Re: how to notify session time out to disabled user

2009-07-02 Thread Igor Vaynberg
if their session times out they will get a page expired error page next time they try to use the app. just make sure your page expired error page is 508 compliant. if you actually want to let them know *when* it happens you can add a javascript timer to every page and redirect to page expired erro

Re: Too many path parts in page parameters

2009-07-02 Thread Igor Vaynberg
your highslide js is making those requests, you may have to change it to request images via absolute urls -igor On Thu, Jul 2, 2009 at 7:22 AM, Bas Vroling wrote: > I ran the debugger, and the urlPath the mixedParamUrlCodingStrategy gets > served is "/img/info01.gif", which does not make sense. T

Re: MixedParamUrlCodingStrategy IllegalArgumentException: "Too many path parts" due to some javascript

2009-07-02 Thread Igor Vaynberg
looks like the js lib is trying to load an image by creating a relative path which is hitting your wicket page. -igor On Thu, Jul 2, 2009 at 3:56 AM, Daniele Dellafiore wrote: > Hi everyone. I have integrated highslide JS to my application (well, > the web designer did). Now I have a wicket Page

Re: WebPage instantiation before asking the AuthorizationStrategy?

2009-07-02 Thread Igor Vaynberg
there is no mechanism in pure java that would allow us to intercept an instantiation and execute something before that. we could do that with aop but that would force whatever aop solution we choose into your projects. so we do the next best thing, we call the auth strategy from the Page construct

Re: Two WebPages one Site

2009-07-02 Thread Igor Vaynberg
what version of wicket are you using? -igor On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli wrote: > Hello everybody, > > I have a requirement where I need to have two or more styles for a website. > Since layout and content can be different between the two variations I went > for a two Webpage class

Re: virues scanning for file upload

2009-07-02 Thread fachhoch
What OS? Linux James Carman-3 wrote: > > What OS? Windoze? Linux? > > On Thu, Jul 2, 2009 at 11:00 AM, tubin gen wrote: > >> we need to implement virues scanning functionality for uploded files >> and reject in case of virues.Please suggest what choices i have and are >> there any ex

Re: virues scanning for file upload

2009-07-02 Thread fachhoch
linux James Carman-3 wrote: > > What OS? Windoze? Linux? > > On Thu, Jul 2, 2009 at 11:00 AM, tubin gen wrote: > >> we need to implement virues scanning functionality for uploded files >> and reject in case of virues.Please suggest what choices i have and are >> there any example ? >> >

Re: virues scanning for file upload

2009-07-02 Thread James Carman
What OS? Windoze? Linux? On Thu, Jul 2, 2009 at 11:00 AM, tubin gen wrote: > we need to implement virues scanning functionality for uploded files > and reject in case of virues.Please suggest what choices i have and are > there any example ? >

virues scanning for file upload

2009-07-02 Thread tubin gen
we need to implement virues scanning functionality for uploded files and reject in case of virues.Please suggest what choices i have and are there any example ?

how to notify session time out to disabled user

2009-07-02 Thread tubin gen
our application must support 508 Accessibility, I need suggestion on how to implement automatic session timeout.If i user is idle for 30 minutes then session times out and how can I let a disabled user know about this ? - To unsu

Re: Too many path parts in page parameters

2009-07-02 Thread Bas Vroling
I ran the debugger, and the urlPath the mixedParamUrlCodingStrategy gets served is "/img/info01.gif", which does not make sense. This is just an image and nowhere is there a request to open up a new page... After that, it goes to parse "/highslide/graphics/outlines/rounded- white.png" , then

Re: Detachable Models best practices

2009-07-02 Thread Daniele Dellafiore
I am not sure I completely understood what happens to you. This sound to me like a problem I had in unit testing pages, when calling, to say tester.assertLabel coused the model.getObject to be called and if model is a LDM, than it results attached. So I have to detach the component explicitly aft

Re: Slideshow

2009-07-02 Thread Daniele Dellafiore
On Mon, Jun 29, 2009 at 2:20 PM, Johannes Schneider wrote: > Thanks for that hint. > Do you know how many images wicket-slides/SmoothGallery support? I will > have galleries with thousands of pictures... I do not know how many images it supports but I remember it was quite slow to load one hundred

Re: Too many path parts in page parameters

2009-07-02 Thread Daniele Dellafiore
as you can see I posted a similar issue. you can start debugging the strategy to see the values of parameters. On Thu, Jul 2, 2009 at 10:36 AM, Bas Vroling wrote: > I have a page which takes one parameter ('id') and build itself from there. > In the debugger it shows that only one parameter is pa

Re: JDeveloper - Can I get a show of hands?

2009-07-02 Thread Richard Allen
Now that Oracle bought Sun I wonder if JDev and Netbeans will cross paths. A great free, cross-platform SQL tool is SQuirreL ( http://squirrel-sql.sourceforge.net/). On Sat, Jun 20, 2009 at 4:45 PM, Scott Swank wrote: > I'm at best 50% DBA, by training. You end up with multi-step > operations

MixedParamUrlCodingStrategy IllegalArgumentException: "Too many path parts" due to some javascript

2009-07-02 Thread Daniele Dellafiore
Hi everyone. I have integrated highslide JS to my application (well, the web designer did). Now I have a wicket Page with, in wicket:head hs.registerOverlay({ overlayId: 'closebutton', position: 'top right', fade: 2 // fading the semi-transparent overlay loo

WebPage instantiation before asking the AuthorizationStrategy?

2009-07-02 Thread Daniele Dellafiore
Hi everyone. I noticed this strange behavior this way. I mounted MyPage to /mypage and if IO point to: http://localhost:8080/myapp/mypage before being authenticated, instead of being redirected to the LoginPage I receive a blank page. The reason is in MyPage constructor I try to access to the use

Too many path parts in page parameters

2009-07-02 Thread Bas Vroling
I have a page which takes one parameter ('id') and build itself from there. In the debugger it shows that only one parameter is passed, and the constructor of the page runs without problems. Somewhere further down the line however an exception is thrown: ERROR - RequestCycle -

Re: Problem with RadioGroup / Ajax

2009-07-02 Thread Mathias Nilsson
I've made a sample page. public class HomePage extends WebPage { private static final long serialVersionUID = 1L; public HomePage(final PageParameters parameters) { String[] choices = new String[]{ "Wicket", "Spring", "DB4O" }; final RadioGroup group = new Rad

Two WebPages one Site

2009-07-02 Thread Enes Fazli
Hello everybody, I have a requirement where I need to have two or more styles for a website. Since layout and content can be different between the two variations I went for a two Webpage classes solution. I created base and base2 which are both abstract and extend webpage. Each page inherits eith