Re: Loading global resources in test?

2007-08-21 Thread Erik Underbjerg
Right, sorry for the typo. I do have both: src/main/java/base/MyApplication.java src/main/java/base/MyApplication.properties The application works as intended: When I start MyApplication, I can access all constants in MyApplication.properties from various pages and components throughout the

AjaxEventBehavior onfocus

2007-08-21 Thread fhagen
Hi, i'm trying to implement a kind of onfocus event for a TextField but I don't know how to do this exactly. I found the AjaxEventBehavior in the mailinglist but don't know how to use it right. Here is my sample: public class MyAjaxTextField extends TextField{ public

Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-08-21 Thread Benjamin Ernst
Hi Thijs, Thank you for opening the JIRA. At least there is someone who has the same error. So let's hope for the best. Benjamin 2007/8/20, Thijs [EMAIL PROTECTED]: He Benjamin, I have the same problem. I have opened a JIRA issue for it: http://wicketstuff.org/jira/browse/WCTINYMCE-2 But

Re: AjaxEventBehavior onfocus

2007-08-21 Thread fhagen
Hi again, well I think i got the Problem. Everytime I switch between Eclipse an Firefox the onfocus - Event is triggered. Am I right? So that's the reason why the MyAjaxEventBehavior called will be displayed that often? Wouldn't that be a problem in a productiv environment? For example: A

Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-08-21 Thread Iulian Costan
hey guys, i am supposed to be the maintainer of tinymce module but lately i didnt put much effort into it. let me take a look and see how i can fix that issue. /iulian On 8/21/07, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi Thijs, Thank you for opening the JIRA. At least there is someone who

A Relative path question

2007-08-21 Thread Chris Lintz
Hi all, I have a non-Wicket domain lets say, www.mydomain.com . This domain passes requests to the Wicket filter via mod_jk to this path: www.mydomain.com/myapp . The home page on www.mydomain.com is completely static except for a wicket form that is dyamically written via a Java script

NullPointerException when resolving a class

2007-08-21 Thread David Leangen
I am trying to upgrade to wicket 1.3. I was running 1.2.6 with no problems. When trying to resolve the class for this markup: bundleresource://88/com/company/package/MyClass$WelcomeLabel.html in MarkupResourceStream, the method: public Class getMarkupClass() { return

Re: Double clicking on a table row

2007-08-21 Thread Federico Fanton
On Mon, 20 Aug 2007 15:53:15 -0300 Damian Mendez Romera [EMAIL PROTECTED] wrote: Have you tried with AjaxEventBehavior(ondblclick) on the newRowItem? I thought about it but for some reason the idea of a trip to the server led me away.. X-) Many thanks for your help!

Re: Reacting to DateField change

2007-08-21 Thread Federico Fanton
On Thu, 9 Aug 2007 17:18:37 +0200 Federico Fanton [EMAIL PROTECTED] wrote: In 1.3 DatePicker was replaced with DateField, they are completely different components.. I will try with your suggestion ASAP though, thanks again :) I tried with DateField field = ... field.add(new

Re: TreeTable...how to refect a label change on TreeNode

2007-08-21 Thread Matej Knopp
Your treemodel must fire the appropriate treeNodesChanged events on the listeners. And then you need to call tree.updateTree(ajaxRequestTarget); -Matej On 8/20/07, Doug Leeper [EMAIL PROTECTED] wrote: I am using the TreeTable in Wicket Extensions. When selecting on a node, a page allowing

Re: Reacting to DateField change

2007-08-21 Thread Gerolf Seitz
are you using trunk? in earlier versions of trunk you had to override DatePicker#notifyComponentOnDateSelected to return true. now it returns true by default. don't worry too much about the javascript code generated by DatePicker, it should work well. also, DateField consists of a DateTextField

Re: back button processing doesn't work in Opera

2007-08-21 Thread Andrew Klochkov
Matej Knopp wrote: Hi, I don't really see where the problem is. I've tested wicket ajax links with both browsers and it seems to work well. So I'll need a quickstart to reproduce. https://issues.apache.org/jira/browse/WICKET-869 -- Andrew Klochkov

keyboard shortcuts in wicket ?

2007-08-21 Thread Steen Larsen
Hi, I am doing an evaluation of wicket and would like to know if there is any support for keyboard shortcuts besides the standard html accesskey. Is it for instance possible to define a key kombination for an AJAX component ? /Steen

Re: Reacting to DateField change

2007-08-21 Thread Federico Fanton
On Tue, 21 Aug 2007 12:50:32 +0200 Gerolf Seitz [EMAIL PROTECTED] wrote: are you using trunk? No, beta2 in earlier versions of trunk you had to override DatePicker#notifyComponentOnDateSelected to return true. Great, now everything is ok! :) also, DateField consists of a DateTextField and

Re: A Relative path question

2007-08-21 Thread Al Maw
Chris Lintz wrote: I have a non-Wicket domain lets say, www.mydomain.com . This domain passes requests to the Wicket filter via mod_jk to this path: www.mydomain.com/myapp . The home page on www.mydomain.com is completely static except for a wicket form that is dyamically written via a Java

Re: AjaxEventBehavior onfocus

2007-08-21 Thread Al Maw
[EMAIL PROTECTED] wrote: Everytime I switch between Eclipse an Firefox the onfocus - Event is triggered. Am I right? Yep, that's normal. You should also receive the corresponding onblur event when the user alt+tabs away. This is nothing to do with Wicket - it's how the browsers work.

Re: keyboard shortcuts in wicket ?

2007-08-21 Thread Ryan Sonnek
There are plenty of javascript solutions out there and wicket integrates very well with these types of libraries (scriptaculous, prototype, dojo, etc). prototype has a pretty amazing Event API that should do what you need, but there are plenty of options out there. ex:

Re: Loading global resources in test?

2007-08-21 Thread Igor Vaynberg
wicket tester uses a mock web application - not yours - so it cannot load those properties. i think in 1.3 we refactored it to support custom application subclasses. i think as far as you can make it work in 1.2.6 is to change resource settings not to throw exceptions on not-found-resources while

Re: DownloadLink hanging

2007-08-21 Thread Igor Vaynberg
On 8/21/07, Thomas Singer [EMAIL PROTECTED] wrote: Hi Igor, yep, DownloadLinks will block because requests to the same page are serialized. Sorry, I don't understand, why links to downloadable resources should be blocking or serialized. Usually downloads are the larger parts of an

Re: Loading global resources in test?

2007-08-21 Thread Erik Underbjerg
Thanks for the reply. I did figure out that the WicketTester is not a subclass of MyApplication, and therefore doesn't have access to the MyApplication.properties file. That's also why I was trying to do as you suggest, and add my own StringResourceLoader to the WicketTester subclass,

Re: Loading global resources in test?

2007-08-21 Thread Igor Vaynberg
it looks like you are doing it properly. not sure why it doesnt work. you will have to debug it and see. maybe you have to do it every time because it might be creating new application instances? -igor On 8/21/07, Erik Underbjerg [EMAIL PROTECTED] wrote: Thanks for the reply. I did figure

Using ClientProperties Object for User selectable Timezone.

2007-08-21 Thread gumnaam
Currently ClientProperties object has a getTimeZone() method, that uses BrowserInfoPage's response, to calculate a client's Timezone. Would it be too much trouble to add a setTimeZone() method, so that the TimeZone property is user settable ? I can save a user's preferred timezone, in a user

Wicketstuff-minis Veil

2007-08-21 Thread Federico Fanton
Hi everyone! I'm sorry, is there a screenshot of what the veil behavior looks like, somewhere? Many thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wicketstuff-minis Veil

2007-08-21 Thread Igor Vaynberg
why dont you just drop it into your project and see -igor On 8/21/07, Federico Fanton [EMAIL PROTECTED] wrote: Hi everyone! I'm sorry, is there a screenshot of what the veil behavior looks like, somewhere? Many thanks!

Re: A Relative path question

2007-08-21 Thread Al Maw
Chris Lintz wrote: Thanks for the response. Yes I am using Wicket 1.3 Beta 2. I First mapped the WAR at root, and let everything fall through Apache with JkUnMounts (i.e. JkUnMount /images default), but the issue is I could not solve the problem of I did not want / served by wicket. Basically

Re: Question about using UploadWebRequest

2007-08-21 Thread Oliver Henlich
Al Maw wrote: oliver.henlich wrote: The javadoc on org.apache.wicket.extensions.ajax.markup.html.form.upload.UploadWebRequest explains how to install it (Note: javadoc has problems with it...maybe the @ symbol?). class MyApplication extends WebApplication { ... @Override protected

Re: A Relative path question

2007-08-21 Thread Chris Lintz
Ok, I think may see the start of my problem. I have been unable to setup a WicketFilter with JkMount /myapp* . I have only been able to successfully use the WicketWilter if my JkMount is JkMount /* default for example. I have been trying exactly what you mention below but to no success (sorry

Does anyone develop Wicket app using IRAD and Websphere

2007-08-21 Thread juliez
It's fairly easy to work with Wicket (1.3 beta2) using Jetty as the web server. However, when I tried to do the same thing using IRAD and Websphere, I always got file not found or Error 404. Then I tried to deploy the wicket-examples-1.3.0-beta2.war to Websphere (6.1.0.2 Build Number:

HeaderContributor for conditional comments

2007-08-21 Thread Rüdiger Schulz
Hello everybody, is there a HeaderContributor for conditional comments in Wicket, or has anyone already done this? I'd like to serve MSIE with CompressedResourceReferences... If not, I'd be happy to contribute! Doesn't look too hard to implement. -- greetings from Berlin, Rüdiger Schulz

Re: HeaderContributor for conditional comments

2007-08-21 Thread Matej Knopp
Just beware that while conditional comments will work on regular request, they will not work during ajax header contribution. Also I don't understand what you mean by I'd like to serve MSIE with CompressedResourceReferences -Matej On 8/21/07, Rüdiger Schulz [EMAIL PROTECTED] wrote: Hello

Re: IndicatingAjaxSubmitButton and download after form submission problem

2007-08-21 Thread Igor Vaynberg
you cannot stream back from ajax request directly, instead try doing something like window.location=somedownloadurl for ajax requests; -igor On 8/21/07, Martin Bednář [EMAIL PROTECTED] wrote: Hi, I have problem when I use IndicatingAjaxSubmitButton for dowload after form submission. I

SOLVED !! Re: Problem following TextField example

2007-08-21 Thread dtoffe
Browsing the forum archive I've found a clue to this issue: In web.xml I've changed the line url-pattern/wicket/url-pattern, adding a url-pattern//url-pattern as another url pattern and now it doesn't give an error. Thanks !!! Daniel dtoffe wrote: Eelco Hillenius wrote: Yes,

Re: SOLVED !! Re: Problem following TextField example

2007-08-21 Thread Eelco Hillenius
Browsing the forum archive I've found a clue to this issue: In web.xml I've changed the line url-pattern/wicket/url-pattern, adding a url-pattern//url-pattern as another url pattern and now it doesn't give an error. Can you give us your whole url-pattern section please? Note that it

Re: SOLVED !! Re: Problem following TextField example

2007-08-21 Thread dtoffe
Eelco Hillenius wrote: Browsing the forum archive I've found a clue to this issue: In web.xml I've changed the line url-pattern/wicket/url-pattern, adding a url-pattern//url-pattern as another url pattern and now it doesn't give an error. Can you give us your whole url-pattern

Re: SOLVED !! Re: Problem following TextField example

2007-08-21 Thread Eelco Hillenius
servlet-mapping servlet-nameWicketApplication/servlet-name url-pattern/wicket/url-pattern /servlet-mapping servlet-mapping servlet-nameWicketApplication/servlet-name url-pattern//url-pattern /servlet-mapping I'm using Netbeans 5.5.1

Re: DownloadLink hanging

2007-08-21 Thread Thomas Singer
Disclaimer: I'm not experienced with filters or wicket resources. Is it possible to create a (shared) wicket resource which can be filtered, so it only is accessible when the right flag is set in OurWebSession? Or would you suggest to write an own javax.servlet.Filter which does this

How to set wicket's locale?

2007-08-21 Thread smithfox
I used RequiredTextField, when the field is empty, the feedback show some meesage in English, How to change it to Chinese. -- View this message in context: http://www.nabble.com/How-to-set-wicket%27s-locale--tf4309547.html#a12268483 Sent from the Wicket - User mailing list archive at