Re: FileUploadField selection event

2010-02-10 Thread dpmihai
Thanks for this tip. I wonder if there is a possibility to create a behavior and add this to it. I know that FileUploadField does not work with Ajax , so writing an AjaxFormComponentUpdatingBehavior does not work. Does anyone know a solution to this? ananthakumaran wrote: form input

Re: FileUploadField selection event

2010-02-10 Thread Andrew Lombardi
I do believe in the latest versions of wicket 1.4 Ajax and fileuploadfield works via a hidden iframe Sent from my iPhone On Feb 10, 2010, at 12:01 AM, dpmihai dpmi...@yahoo.com wrote: Thanks for this tip. I wonder if there is a possibility to create a behavior and add this to it. I

Re: Layout manager

2010-02-10 Thread Ernesto Reinaldo Barreiro
Hi Eyal, Yesterday I was looking to [1] and there it is shown how to build a dashboard using wiquery... Maybe it is not exactly what you need but I guess yoy can use the same tools to build what you need. Regards, Ernesto

Re: removing validators

2010-02-10 Thread Igor Vaynberg
instead of using the two minimum validators you can implement your own that performs/delegates validation based on the convertedinput value of the first ddc. -igor On Tue, Feb 9, 2010 at 11:13 PM, Tony Wu e90t...@gmail.com wrote: In total I have 4 DropDownChoices: I have a DropDownChoice

Re: Layout manager

2010-02-10 Thread Josh Kamau
Hello, Is there any Wicket project for making a layout manager similar to iGoogle or http://www.netvibes.com/#General We found a project with ExtJS that is not supported anymore . Is there a Wicket project for that? or for any other similar? Can Wiquery help with this? Thanks for helping out, I

Re: Layout manager

2010-02-10 Thread Ernesto Reinaldo Barreiro
Check out [1] and look for LayoutPlugin.java and Layou.java. Ernesto [1]-http://wiquery.googlecode.com/svn/examples/wiquery-presentation-examples On Wed, Feb 10, 2010 at 10:05 AM, Josh Kamau joshnet2...@gmail.com wrote: Hello, Is there any Wicket project for making a layout manager similar

Re: Layout manager

2010-02-10 Thread Eyal Golan
Thanks Ernesto. Luckily our company gave us legal permission to use Wiquery :) I will check it out. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary

Re: Layout manager

2010-02-10 Thread Josh Kamau
Ernesto; Thanks for your response. What i meant is the the Layout* class(es) are not in the wiquery-1.0.jar along side the dialog, datepicker, etc. I have added the jar into the class path and i cant use the layout . i can use the date picker and the dialog. On Wed, Feb 10, 2010 at 12:12 PM,

Re: Layout manager

2010-02-10 Thread Ernesto Reinaldo Barreiro
No they are not... they are on the example project I mentioned... They are kind of extensions (IWiQueryPlugins) and as far as I understand the developers want to keep the core clean. Maybe you should contact them and ask if you can just pack them on ajar file and use them on you project. I think

Frames for layout

2010-02-10 Thread Josh Kamau
Hi Team; Just wondering, can i use Frames for application layout? The kind of application am talking about will run within a LAN and therefore bookmarkability and Search engine friendliness are not major issues. regards.

wicket table and resultset

2010-02-10 Thread Ivan Dudko
On Fri, Feb 22, 2008 at 8:54 AM, Igor Vaynberg wrote: while wicket has first class support for editing beans, it is by no means the only way. it is quiet trivial to create a ColumnModel that is like a property model but reads data from a resultset object and populates a prepared statement

Wicket Multi-Threading with access to the session

2010-02-10 Thread Matthias Keller
Hi We have a complex application which needs to calculate some very expensive things. Those could easily be parallelized so we thought about having a thread pool to do that. Unfortunately, that code needs access to the localizer and the application (for some configuration values) so we're

Re: Wicket Multi-Threading with access to the session

2010-02-10 Thread Ernesto Reinaldo Barreiro
Why not just collect the information you need and pass it to the thread? Can't you know in advance which localized values you are going to need? Best, Ernesto On Wed, Feb 10, 2010 at 12:08 PM, Matthias Keller matthias.kel...@ergon.chwrote: Hi We have a complex application which needs to

Re: Wicket Multi-Threading with access to the session

2010-02-10 Thread Matthias Keller
Hi Ernesto Thanks for your reply. This would basically be possible but very complicated because the threads need dozens to hundreds of values, so it would be a very tedious and complicated task to collect everything in advance just to pass it to those threads. Matt On 2010-02-10 12:18,

Re: [announce] better look modern css for wicket examples contest

2010-02-10 Thread nino martinez wael
done. and looking forward to see something. 2010/2/10 Vijay Kiran v.ki...@onehippo.com Can you add me as well, I'm interested in participating.. My sf.net username: vijaykiran ./Vijay On 10-Feb-2010, at 7:52 AM, nino martinez wael wrote: No problem, I just set the deadline to have

Re: Wicket Multi-Threading with access to the session

2010-02-10 Thread Pedro Santos
About share your application IStringResourceLoader objects with your thread ? On Wed, Feb 10, 2010 at 9:25 AM, Matthias Keller matthias.kel...@ergon.chwrote: Hi Ernesto Thanks for your reply. This would basically be possible but very complicated because the threads need dozens to hundreds of

Re: Wicket Multi-Threading with access to the session

2010-02-10 Thread Jonas
I guess you could safely share your IStringResourceLoaders, as they are already shared between multiple session (and thus potentially multiple threads). If you really need to share the Session object between threads, you have to roll some kind of locking. What I've done in the past is adding a

Re: Wicket Layout

2010-02-10 Thread Ernesto Reinaldo Barreiro
Cemal, I successfully installed the demo application and studied it a bit... As a conclusion I can say I wouldn't mind adapting my contributions to follow the standard you have defined for contributing plugins (IWiQueryPlugin). The link to ODLabs' WiQuery layout demo (from our last London

Re: Frames for layout

2010-02-10 Thread Martijn Dashorst
Yes, but don't do that. Frames were outlawed in 2001 and should stay that way. You'll run into pagemap problems, backbutton problems etc. Martijn On Wed, Feb 10, 2010 at 10:53 AM, Josh Kamau joshnet2...@gmail.com wrote: Hi Team; Just wondering, can i use Frames for application layout? The

Panel.replaceWith() in a DataView

2010-02-10 Thread riccardo trombini
hi i am writting a software for an article management. a user can post and edit articles. to do that i show all the users articles in a /*DataView*/. This lists every item in a TableRow. ButtonPanel buttonPanel = new ButtonPanel(buttonPanel); // extends Panel Of course the user needs to

Re: Frames for layout

2010-02-10 Thread Ernesto Reinaldo Barreiro
Why not use the jquery based solution provided in another thread? Ernesto On Wed, Feb 10, 2010 at 10:53 AM, Josh Kamau joshnet2...@gmail.com wrote: Hi Team; Just wondering, can i use Frames for application layout? The kind of application am talking about will run within a LAN and therefore

SV: Frames for layout

2010-02-10 Thread Wilhelmsen Tor Iver
Yes, but don't do that. Frames were outlawed in 2001 and should stay that way. +1 Frames create a shedload of problems both for the developer and for the user - Tor Iver - To unsubscribe, e-mail:

Re: Frames for layout

2010-02-10 Thread Josh Kamau
Ernesto; Thanks for you comments. I have been trying out the WiQuery layout solution though i had a fight with it in the morning. I really needed it bundled into a jar file. I will try the raw JQuery javascript during my next coffee break. Thanks for the great support in this forum Regards.

Re: Frames for layout

2010-02-10 Thread Ernesto Reinaldo Barreiro
Why dont' you contact the developers and ask them if you can simply copy and paste the code into your project? Or just put it yourself into a jar file (e.g. with an ant script)? Cheers, Ernesto On Wed, Feb 10, 2010 at 1:58 PM, Josh Kamau joshnet2...@gmail.com wrote: Ernesto; Thanks for you

Re: Frames for layout

2010-02-10 Thread Cemal Bayramoglu
Josh, Thanks for taking a look at WiQuery. If you'd like to raise any issues/questions via [1] I expect you'd get some decent and timely help pretty quickly as people are using this in production systems. Regards - Cemal jWeekend OO Java Technologies, Wicket Consulting, Development, Training

Re: Panel.replaceWith() in a DataView

2010-02-10 Thread Cemal Bayramoglu
Ricardo, On a more general note, in case you haven't come across it yet, you want to take a look at BRIX-CMS [1]. Regards - Cemal jWeekend OO Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com [1] http://code.google.com/p/brix-cms/ On 10 February 2010 07:55,

Re: Wicket Layout

2010-02-10 Thread Lionel Armanet
Hi, reiern70 wrote: I successfully installed the demo application and studied it a bit... As a conclusion I can say I wouldn't mind adapting my contributions to follow the standard you have defined for contributing plugins (IWiQueryPlugin). Maybe it would be useful to split the code

Re: Wicket Layout

2010-02-10 Thread Ernesto Reinaldo Barreiro
Hi Lionel, For the time being I think I'll put anything I do on a google code project and keep you (core devs) informed of things I add. Best, Ernesto On Wed, Feb 10, 2010 at 3:07 PM, Lionel Armanet lionel.arma...@gmail.comwrote: Hi, reiern70 wrote: I successfully installed the demo

adding the wicket project for debugging etc

2010-02-10 Thread Jeroen Dijkmeijer
Hi, I think this is more of a maven question, so its also posted at the maven user list. I'm trying to understand wicket a bit more, and I would like it to add it as source tree to my project, but for for some reason I cant make it happen. I have myproject-web, myproject-domain and

Re: adding the wicket project for debugging etc

2010-02-10 Thread Ernesto Reinaldo Barreiro
Do you know [1]? It is very easy to develop using that approach. Regards, Ernesto [1]-http://wicket.apache.org/quickstart.html On Wed, Feb 10, 2010 at 5:05 PM, Jeroen Dijkmeijer jer...@dijkmeijer.comwrote: Hi, I think this is more of a maven question, so its also posted at the maven

Re: Example for Combobox wanted

2010-02-10 Thread PDiefent
I don't understand. How do I create a textfield and a dropdown in one markup field. And how to synchronize the two contents? I didn't find any example in the wicket examples ... nino martinez wael wrote: Yes it's possible, just make a panel with a drop down and textfield, and ajax enable

Re: Listening key pressings on server side

2010-02-10 Thread Riyad Kalla
Roland, It might be the browser + event that you are listening for that is the issue. Try onkeyup, here's a ref: http://www.tutorialized.com/view/tutorial/Get-key-press-event-using-JavaScript/9689 or onkeydown: http://www.dreamincode.net/code/snippet1246.htm Otherwise I think you had the right

Re: adding the wicket project for debugging etc

2010-02-10 Thread Jeroen Dijkmeijer
Yeah seen it done it been there. But that doesn't give me the wicket source, which I can debug, or modify. On Feb 10, 2010, at 5:13 PM, Ernesto Reinaldo Barreiro wrote: Do you know [1]? It is very easy to develop using that approach. Regards, Ernesto

Re: Example for Combobox wanted

2010-02-10 Thread Riyad Kalla
Nino, I think what PDiefent wants is literally to re-create the Swing combobox component, so something like: [TEXT_FIELD][BUTTON] and when you click [BUTTON] it causes a DIV to appear with a list of choices, but the user can also type their own in. PD, the only way I can think to do this is

Re: adding the wicket project for debugging etc

2010-02-10 Thread Cemal Bayramoglu
Jeroen , mvn eclipse:eclipse -DdownloadSources=true See http://wicket.apache.org/quickstart.html for full instructions. Regards - Cemal jWeekend OO Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com On 10 February 2010 17:44, Jeroen Dijkmeijer

Re: adding the wicket project for debugging etc

2010-02-10 Thread Cemal Bayramoglu
... or checkout from SVN [1] if you want to modify Wicket sources beyond what the debugger allows. Regards - Cemal jWeekend OO Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com [1] http://wicket.apache.org/building-from-svn.html On 10 February 2010 17:53, Cemal

Re: Wicket Multi-Threading with access to the session

2010-02-10 Thread Igor Vaynberg
pass the application, locale/style/variation into your thread and use application.getlocalizer() to do the localization. -igor On Wed, Feb 10, 2010 at 3:08 AM, Matthias Keller matthias.kel...@ergon.ch wrote: Hi We have a complex application which needs to calculate some very expensive

Re: adding the wicket project for debugging etc

2010-02-10 Thread Igor Vaynberg
you can check out wicket from svn, mvn eclipse:eclipse and import the projects into your workspace. then use something like mvnlink.googlecode.com to make your projects use the imported wicket projects as dependencies instead of jars. -igor On Wed, Feb 10, 2010 at 9:44 AM, Jeroen Dijkmeijer

Re: Wicket Tabbed Panel without Markup

2010-02-10 Thread Martin Makundi
Please ignore the br/ tags here.. ofcourse you'd use css to position your elements, but I wasn't very imaginative when writing this example. The proposed approach definitely doesn't imply that you should hardcode your html like that. Bad bad me for making such bad taste example ;) ** Martin

Re: adding the wicket project for debugging etc

2010-02-10 Thread Martijn Dashorst
mvn eclipse:eclipse already does that for you (2.7) Martijn On Wed, Feb 10, 2010 at 7:20 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you can check out wicket from svn, mvn eclipse:eclipse and import the projects into your workspace. then use something like mvnlink.googlecode.com to make

Re: adding the wicket project for debugging etc

2010-02-10 Thread Igor Vaynberg
mvn eclipse:eclipse only work across the modules of the same project, but not across projects -igor On Wed, Feb 10, 2010 at 11:10 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: mvn eclipse:eclipse already does that for you (2.7) Martijn On Wed, Feb 10, 2010 at 7:20 PM, Igor Vaynberg

Re: adding the wicket project for debugging etc

2010-02-10 Thread Jeremy Thomerson
Igor - how many cool OS projects are you allowed to crank out? I wish I knew about this one a couple weeks ago when I was trying to setup a dev environment for a secular project + brix + wicket and link them all together in Eclipse so that a change in any of them appeared in the others. Cool!

Re: adding the wicket project for debugging etc

2010-02-10 Thread Igor Vaynberg
youre welcome ;) -igor On Wed, Feb 10, 2010 at 11:27 AM, Jeremy Thomerson jer...@wickettraining.com wrote: Igor - how many cool OS projects are you allowed to crank out?  I wish I knew about this one a couple weeks ago when I was trying to setup a dev environment for a secular project + brix

Re: adding the wicket project for debugging etc

2010-02-10 Thread Martijn Dashorst
Nope. If it finds the source for a dependency in your workspace then the project is added instead. It even discovers wrong versions and logs them :) Martijn On Wed, Feb 10, 2010 at 8:13 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: mvn eclipse:eclipse only work across the modules of the same

Re: adding the wicket project for debugging etc

2010-02-10 Thread Jeremy Thomerson
Didn't work for me - I had a workspace that had a secular project in it, Wicket 1.4.x and Brix trunk (1.0.1-snapshot), and it didn't auto-discover anything outside of each individual project. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Feb 10, 2010 at 2:01 PM, Martijn Dashorst

Re: Changes of html-files are not directly available - need to re-deploy

2010-02-10 Thread Joachim Rohde
I found out what was wrong. Quite a rookie mistake: I relied on my IDE. As I mentioned I am using Netbeans where I have installed the Wicket plugin (http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3586). It was the plugin which was copying the HTML files to the

Memory Growth and JavaScript Increasingly Slower in Internet Explorer

2010-02-10 Thread Francisco Diaz Trepat - gmail
Hi All. I am trouble by Internet Explorer's inability to work properly as I use the wicket web application we are building. It is an ajax application and I found many references on the internet about circular reference and memory leaks and how to solve them. Almost all came down the the same

Re: @SpringBean injection expensive - a bug?

2010-02-10 Thread Nikita Tovstoles
FWIW, explicitly specifying a name with @SpringBean worked around the problem On Tue, Feb 9, 2010 at 11:34 AM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: Wicket's SpringWebApplication is deprecated and the javadoc advocates using @SpringBean to inject dependencies at component level.

Re: @SpringBean injection expensive - a bug?

2010-02-10 Thread Igor Vaynberg
create a jira issue and a quickstart. thanks. -igor On Tue, Feb 9, 2010 at 11:34 AM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: Wicket's SpringWebApplication is deprecated and the javadoc advocates using @SpringBean to inject dependencies at component level. However, that appears to

wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Hi all, I have a Wicket application that is running over HTTPS but is rendering some images (like background images from css) over HTTP only. This causes the 'This page contains unsecure items' type warning and inspecting the Page Info from Firefox shows they are indeed being served over HTTP

Re: wicket app over https but renders some images as http

2010-02-10 Thread jason lea
The background image url is relative to the css file. Is the request for the css file https? On Thu, Feb 11, 2010 at 12:35 PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, I have a Wicket application that is running over HTTPS but is rendering some images (like background

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
The request for the CSS is a renderCssReference call: response.renderCSSReference(css/styles.css); So it should be relative to what ever protocol is being used? On 11/02/2010, at 10:58 AM, jason lea wrote: The background image url is relative to the css file. Is the request for the css

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Note that this also happens for resources that Wicket serves, eg: resources/org.apache.wicket.ajax.AbstractDefaultBehaviour/indicator.gif and ContextImages. Can I detect HTTPS and force Wicket to serve content over HTTPS? thanks, Steve On 11/02/2010, at 11:14 AM, Steve Swinsburg wrote: The

Re: wicket app over https but renders some images as http

2010-02-10 Thread Jeremy Thomerson
What URL does Wicket generate in your HTML? -- Jeremy Thomerson http://www.wickettraining.com On Wed, Feb 10, 2010 at 6:46 PM, Steve Swinsburg steve.swinsb...@gmail.comwrote: Note that this also happens for resources that Wicket serves, eg:

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Hi Jeremy, For resources its rendered as http://myserver/webapp/context/resources/org.apache.wicket.ajax.AbstractDefaultBehaviour/indicator.gif For a ContextImage its: img src=images/no_image.gif/ For the CSS include its: link rel=stylesheet type=text/css href=css/styles.css / It all looks

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
What I meant to say was that the ContextImage and CSS looks fine, however the actual URLs it renders are all HTTP, not HTTPS when they should be. The first resource link is clearly broken. cheers, Steve On 11/02/2010, at 12:13 PM, Steve Swinsburg wrote: Hi Jeremy, For resources its

Re: wicket app over https but renders some images as http

2010-02-10 Thread Andrew Lombardi
and the URL for your page in the Location bar *is* https? On Feb 10, 2010, at 5:55 PM, Steve Swinsburg wrote: What I meant to say was that the ContextImage and CSS looks fine, however the actual URLs it renders are all HTTP, not HTTPS when they should be. The first resource link is clearly

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Yes. And thats how I can confirm it breaks when I change the address to just http. Both http and https work on this particular site which makes it easy for testing. The address is https and then it renders the content in an iframe with source attribute that is also https (I'm working in a

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Edit: ... thats how I can confirm it was broken, because when I change it to http it works. On 11/02/2010, at 1:26 PM, Steve Swinsburg wrote: Yes. And thats how I can confirm it breaks when I change the address to just http. Both http and https work on this particular site which makes it

Re: wicket app over https but renders some images as http

2010-02-10 Thread Jeremy Thomerson
Well, can you paste the actual html that is generated that links to your stylesheet on the https page? Because what you pasted earlier was a relative URL, which would mean that the browser would make it https as well. So, they're some piece of the puzzle we haven't received yet. Perhaps you

Re: wicket app over https but renders some images as http

2010-02-10 Thread Igor Vaynberg
your paste does not contain any absolute urls, only relative ones... -igor On Wed, Feb 10, 2010 at 7:15 PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Yes, the app is rendered in an iframe as my app is deployed into a portal container. I pasted that HTML from the iframe source, but here

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Exactly. So why are they coming up as HTTP when both the URL and iframe src are both HTTPS. All resources that Wicket sends from this application are coming up as HTTP. So I am thinking it still thinks its on HTTP, not HTTPS. I'll add some logging to the Application init() to figure out if

Re: wicket app over https but renders some images as http

2010-02-10 Thread Jeremy Thomerson
What I've suspected all along is that your main page MAY be loaded https, but that your iframe src is actually ending up http. do this (in firefox): pull up the app in https, right click in the iframe, click this frame, click show only this frame. is the url that appears with the iframe content

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Ok I did that, the Wicket app comes up as as HTTP, however if I do the same thing to any that renders in the same style of iframe, it's HTTPS. these tools are other display technologies, like JSF, Velocity, etc. Here's the first Wicket app:

Re: wicket app over https but renders some images as http

2010-02-10 Thread Andrew Lombardi
what's the code you're using to render the link for the iframe in wicket? have you pasted that yet? On Feb 10, 2010, at 8:32 PM, Steve Swinsburg wrote: Ok I did that, the Wicket app comes up as as HTTP, however if I do the same thing to any that renders in the same style of iframe, it's

Re: wicket app over https but renders some images as http

2010-02-10 Thread Jeremy Thomerson
okay, so now at least we know what's causing it. the frame is redirected to http. now, we have to determine what's making your wicket request redirect to http. you might supply a couple things: - your web.xml for the wicket app - any customized code you have in the request cycle processor - an

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Ok the web.xml http://pastie.org/819535 Note that requests ARE filtered through the portal's request filter, however one would assume that if it's going to change HTTPS to HTTP, it would do so for ALL tools, not just Wicket ones. The rest is all standard stuff extending WebApplication and the

Re: wicket app over https but renders some images as http

2010-02-10 Thread Igor Vaynberg
it may be that this servlet filter is rewriting any redirects. by default wicket uses redirect to buffer pattern, i doubt velocity or your other tools are doing something similar. try changing the rendering pattern in wicket to direct_to_render and see if that helps. -igor On Wed, Feb 10, 2010

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
The interesting thing is that I am unable to reproduce this locally, the iframe is served over HTTPS in my local instance but broken in production. So I'm starting to think it's a Tomcat config issue. I've sent a note out to the sysadmin to check the Tomcat connector settings. One thing is that

Re: wicket app over https but renders some images as http

2010-02-10 Thread Igor Vaynberg
getrequestcyclesettings().setrenderstrategy(one_pass_render) -igor On Wed, Feb 10, 2010 at 11:20 PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: The interesting thing is that I am unable to reproduce this locally, the iframe is served over HTTPS in my local instance but broken in

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
I think I may have this sorted. It seems localised to one production instance only and an acceptance machine with a similar setup to the production machine is not showing the symptoms (and I can't reproduce in dev). It certainly was an odd one. Must be the server configuration. Thanks for all