RE: Location of css and js files

2009-12-21 Thread Alex Objelean
Hi! You can use wro4j to load css js resources from anywhere (even from classpath, servlet context relative location or disc location). Another advantage is that the resources are merged and minified, thus greatly improving the response time: http://code.google.com/p/wro4j/wiki/GettingStarted

ajax update a column header when changing a cell

2009-12-21 Thread Eyal Golan
Hi, I have a DataTable in which two columns are holding checkboxes (when selecting a checkbox, the other in the same row will be unselected). We chose checkboxes to enable the user to remove selections at all. I want to add a 'Select All' to the header. *My problem is how do I get the component of

Re: Location of css and js files

2009-12-21 Thread Steve Swinsburg
None of these solutions are going to do what the OP really needs since they all assume an app server is serving the pages. Presumably he wants the designer to be able to run up the static HTML in the browser, without running in a web application. You have a few options: 1. link the files as

[BUG] RequestUtils.toAbsolutePath() for ajax requests

2009-12-21 Thread Objelean Alex
I have a use-case, when I want to render absolute url for some images using a shared resource. The absolute url looks like this: http://localhost:8080/resources/org.apache.wicket.Application/com.mysite.web.util.resource.ProductImageResource?id=47331bd95fa69f7f001-main.jpg Everything works fine,

SV: applet in wicket .. exception thrown ...

2009-12-21 Thread Wilhelmsen Tor Iver
Problem adding an applet to wicket still remains the same.. can some 1 help 1) Be aware that applets are not loaded from WEB-INF/classes, but it seems you know this. 2) The class attribute value should not end in .class since that can make some browsers try to load HelloWorld.class.class

Re: SV: applet in wicket .. exception thrown ...

2009-12-21 Thread local_shamil
should i create a package under WEBAPP called Class and then add the applet.class file there ??? but still i am getting a NOCLASSFOUND exception ... Wilhelmsen Tor Iver wrote: Problem adding an applet to wicket still remains the same.. can some 1 help 1) Be aware that applets

Re: SV: applet in wicket .. exception thrown ...

2009-12-21 Thread local_shamil
This is the exact error message that i get Java Plug-in 1.6.0_10 Using JRE version 1.6.0_10 Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\mohamed.s c: clear console window f: finalize objects on finalization

Wicket position in Vienna

2009-12-21 Thread Andy Clayton
Hi I'm currently looking for Java Developer for a new contract position in Vienna. I need someone who is a expert in Wicket as I'm doing a migration project from Struts to Wicket the other skills I'm looking for are Eclipse, HTML, CSS, and Scrum. This contract is due to start at the end of

WicketServlet/WicketFilter client cache lifetime How-to ?

2009-12-21 Thread Martin Makundi
Hi! I want to allow client browsrs to cache static resources from /webapp/* (namely /webapp/images, /webapp/css /webapp/js, etc.). I thought I could achieve this by configuring jetty: http://stackoverflow.com/questions/1906745/how-to-configure-cache-for-static-resources-in-web-xml-for-jetty/

Re: Wicket position in Vienna

2009-12-21 Thread kman
if working remotely is an option you can contact me to discuss it. Andy Clayton-5 wrote: Hi I'm currently looking for Java Developer for a new contract position in Vienna. I need someone who is a expert in Wicket as I'm doing a migration project from Struts to Wicket the other skills

RE: Wicket position in Vienna

2009-12-21 Thread Andy Clayton
Unfortunately remote working isn't a option. This position is based in the Vienna office. -Original Message- From: kman [mailto:kouts...@kproject.gr] Sent: 21 December 2009 12:22 To: users@wicket.apache.org Subject: Re: Wicket position in Vienna if working remotely is an option you

Re: Java Wicket Job Opportunity, Finland

2009-12-21 Thread Martin Makundi
Yeah, working remotely IS an option. ** Martin 2009/12/19 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! We are looking for talented individuals to work with us on our online products. Development tools include: * java + wicket * m2eclipse, eclipse ide * jpa + hibernate *

Tag Oriented Development

2009-12-21 Thread Altuğ B . Altıntaş
Hi, I have a question about JSF, I know this is Wicket-User group but I think my question is more suitable for this group I've been using Wicket for ~1,5 years before Wicket i used Struts 1.x and JSF (Myfaces + Tiles + Tomehawk ...) Now i am investigating JSF libs *just for fun*; such as

Re: Tag Oriented Development

2009-12-21 Thread Martin Makundi
I know JSF is standard; what is your idea about current JSF status? Just forget about it ... ;) ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: ObjectAutoCompleteField and specifying the fields from the object to use

2009-12-21 Thread Steve Swinsburg
On further investigation, the values aren't being separated after all. What is added to the textfield is what is submitted in the form. Is it possible to submit a different value than just the display text? thanks, Steve On 21/12/2009, at 1:54 PM, Steve Swinsburg wrote: Nevermind. I ended

Re: Java Wicket Job Opportunity, Finland

2009-12-21 Thread nino martinez wael
Remember to mention such things to your recruitment agents. regards Nino 2009/12/21 Martin Makundi martin.maku...@koodaripalvelut.com: Yeah, working remotely IS an option. ** Martin 2009/12/19 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! We are looking for talented individuals

Re: SV: applet in wicket .. exception thrown ...

2009-12-21 Thread James Carman
Try using the correct package: code=com.mycompany.HelloWorld On Mon, Dec 21, 2009 at 6:13 AM, local_shamil shaena...@gmail.com wrote: --- load: class /myproject/src/main/webapp/Class/HelloWorld not found. java.lang.ClassNotFoundException:

Re: SV: applet in wicket .. exception thrown ...

2009-12-21 Thread local_shamil
this was my applet tag in HTML applet code=HelloWorld.class width=150 height=25 / and i had it as this applet code=com.mycompany.HelloWorld width=150 height=25 / still i get the NOCLASS FOUND EXCEPTION James Carman-3 wrote: Try using the correct package:

Re: SV: applet in wicket .. exception thrown ...

2009-12-21 Thread James Carman
You need to make sure your HelloWorld.class file is in src/main/webapp/com/mycompany On Mon, Dec 21, 2009 at 9:13 AM, local_shamil shaena...@gmail.com wrote: this was my applet tag in HTML applet code=HelloWorld.class width=150 height=25 / and i had it as this applet

Re: SV: applet in wicket .. exception thrown ...

2009-12-21 Thread local_shamil
Yeah it worked !!! thanks alot every 1 ... and what might be the reason for this. ? why do v have to insert the applet.class file inside a package ?? James Carman-3 wrote: You need to make sure your HelloWorld.class file is in src/main/webapp/com/mycompany On Mon, Dec 21, 2009 at 9:13

Re: SV: applet in wicket .. exception thrown ...

2009-12-21 Thread James Carman
You don't have to. It was already in a package. I opened up the class file to see the package declaration and it was declared to be in package com.mycompany for some reason (perhaps a quickstart?) On Mon, Dec 21, 2009 at 10:08 AM, local_shamil shaena...@gmail.com wrote: Yeah it worked !!!

Re: SV: applet in wicket .. exception thrown ...

2009-12-21 Thread local_shamil
Oh yeah it was a quick start ... Thanks loadz James Carman-3 wrote: You don't have to. It was already in a package. I opened up the class file to see the package declaration and it was declared to be in package com.mycompany for some reason (perhaps a quickstart?) On Mon, Dec 21,

Re: Basic concept of Wicket

2009-12-21 Thread psytra...@gmx.de
Thanks Martin and all others for anwsering my questions. Regards Daniel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: File Upload Issues

2009-12-21 Thread Corbin, James
Hi, I verified that no errors show up in the debug console window. Its as if the AJAX calls are getting swallowed up. All I am getting in the debug window is focus events. I don't see any errors in the server log file either. I upgraded to Wicket 1.4.5 and still see the issue that I've seen

Memory leak using UndoPageVersionManager

2009-12-21 Thread Tommaso Torti
Hi all, i'm trying to investigate a memory leak. I have taken an heap memory snapshot from the production and actually i know which wicket page retains a lot of memory without releasing it. It's a simple org.apache.wicket.markup.html.WebPage containing a

tinymce texteditor size

2009-12-21 Thread tubin gen
I am using wicketstuff tinymce text editor , I want to control the width and height of texteditor based on the size of browser , please tell me how to do this ?

Re: @RequireHttps - forms misbehaving

2009-12-21 Thread bht
VGJ, You might have discovered a limitation of the system or a bug. As I wrote, I would recommend you make a testcase with all distracting detail removed and submit it as a jira issue, then post a link to the the issue here. I understand your frustration, but I think the above would be the best

Re: @RequireHttps - forms misbehaving

2009-12-21 Thread VGJ
I see, I guess I misunderstood you. I wasn't able to reproduce it in a separate test application, however. It has to be encountering something in this particular application that is causing a problem. I just can't figure out what that might be, exactly. I would submit the small test case I

Re: @RequireHttps - forms misbehaving

2009-12-21 Thread VGJ
Jason...excellent! setResponsePage(UserAccount.class) did the trick! Thanks! Using setRedirect(true) didn't have any effect however. I had to redirect to the page class rather than a new instance of it. This works for me right now...but what happens when I'd like to pass parameters into the

Re: Single App, Multiple Domains

2009-12-21 Thread Jeremy Thomerson
Put it in the request cycle. Have it set it on the session or request. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Dec 16, 2009 at 1:43 AM, Janning Vygen vy...@kicktipp.de wrote: On Wednesday 16 December 2009 02:06:28 Matthias Howell wrote: One of my requirements is to

opening modelwindow freezes IE8

2009-12-21 Thread Steve Swinsburg
Hi everyone, I've had a report from a user of a Wicket app, that when the AjaxLink to open a ModalWindow is clicked, the ModalWindow opens and the browser freezes. This is on IE8 and in Windows 7 or XP. However, running it in Compatibility Mode it seemed to work. Works ok in other browsers.

Re: opening modelwindow freezes IE8

2009-12-21 Thread Craig Kelley
On Tue, 22 Dec 2009, Steve Swinsburg wrote: Forgot to mention, this was Wicket 1.3.6. I upgraded the app to 1.4.5 yesterday, but this user has an older version. I see this with the Chrome browser as well under 1.4.5, but it works just fine with 1.4.4. Some of the modal windows in my Wicket

Logging Configuration Question

2009-12-21 Thread Martin Zardecki
Hi list, sorry if I'm double posting but I sent a question two days ago and haven't seen it on the daily digest yet. I'm using Java Utils Logging along with Wicket and I have a log.properties which I read in the WicketApplication init method as follows:

Using component resolver with enclosures in 1.4.5

2009-12-21 Thread Chris Colman
With version 1.4.2 I finally got a component resolver mechanism working for components within enclosures so that the components could be dynamically populated instead of hard coding the creation of every possible component that 'might' be needed by the markup. I just upgraded to 1.4.5 and my

Re: @RequireHttps - forms misbehaving

2009-12-21 Thread Jason Lea
yay! But it is odd if setRedirect(true) didn't work when using a page instance. I wonder if the there is an issue with HybridUrlCodingStrategy and RequireHttps... can you mount the page you redirect to using a simple bookmarkable page and see if it works? I also noticed you have a method

Re: ObjectAutoCompleteField and specifying the fields from the object to use

2009-12-21 Thread Steve Swinsburg
I decided against using the ObjectAutoCompleteTextField because it was too restrictive in the Object you supply. I went with the component on the wiki and ended up adding another getter/setter to my page to separate the value from the display when it gets the object selected. However, I

Re: ObjectAutoCompleteField and specifying the fields from the object to use

2009-12-21 Thread Steve Swinsburg
Actually I have just found in the javadocs the AbstractObjectAutoCompleteRenderer which does the separation. I'll give that a go. cheers, Steve On 22/12/2009, at 10:54 AM, Steve Swinsburg wrote: I decided against using the ObjectAutoCompleteTextField because it was too restrictive in the

Using component resolver with enclosures in 1.4.5

2009-12-21 Thread Chris Colman
With version 1.4.2 I finally got a component resolver mechanism working for components within enclosures so that the components could be dynamically populated instead of hard coding the creation of every possible component that 'might' be needed by the markup. I just upgraded to 1.4.5 and my

Re: Using component resolver with enclosures in 1.4.5

2009-12-21 Thread Igor Vaynberg
hrm, enclosure does allow resolvers to create missing components. can you debug and see why it broke? -igor On Mon, Dec 21, 2009 at 3:37 PM, Chris Colman chr...@stepaheadsoftware.com wrote: With version 1.4.2 I finally got a component resolver mechanism working for components within enclosures

Re: Using component resolver with enclosures in 1.4.5

2009-12-21 Thread info
I haven't got an environment set up whereby I can debug wicket at this stage but here's a stack dump in case that might help. I'll endeavour to get the source code and take a poke around if I get some spare time in the next little while. at

Re: ObjectAutoCompleteField and specifying the fields from the object to use

2009-12-21 Thread Steve Swinsburg
For reference, adding this: ObjectAutoCompleteRendererPerson renderer = new ObjectAutoCompleteRendererPerson(){ protected String getIdValue(Person p) { return p.getUuid(); } protected String getTextValue(Person p) {

Caching: Expires HTTP header and ETags

2009-12-21 Thread Alex Rass
Hi. Ran into a bunch of places saying we need to have the Expires header set for images and other static content. (To enable browser caching to work properly). 1) Anything is done to do this automatically? Any plans to? 2) If I go ahead and use some filter to do this myself, is there any harm

Re: Caching: Expires HTTP header and ETags

2009-12-21 Thread Martin Makundi
Yeah, good question! Answer this too: * http://old.nabble.com/WicketServlet-WicketFilter-client-cache-lifetime-How-to---ts26873268.html#a26873268 2009/12/22 Alex Rass a...@itbsllc.com: Hi. Ran into a bunch of places saying we need to have the Expires header set for images and other static