Re: [Wicket-user] resource key priority

2007-07-08 Thread Juergen Donnerstag
According to the source code your observation is correct. I've no good reason why we implemented it this way. Juergen // Walk the component hierarchy down from page to the component for (int i = searchStack.size() - 1; (i = 0) (string == null); i--)

Re: [Wicket-user] CSS Issues: One Reason I cant Upgrade from 1.2.4 to 1.2.6

2007-07-08 Thread Igor Vaynberg
On 7/7/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: same for images too. my images are gone as well except for packaged resources but i will suggest a startup configuration to skip rewriting static content or something? meanwhile, so based on what you showed me earlier now, I seriously have

Re: [Wicket-user] access to private fields

2007-07-08 Thread Igor Vaynberg
On 7/7/07, Kent Tong [EMAIL PROTECTED] wrote: I've never said saving typing is always bad. As I said in another post, saving typing at the cost of static type checking sometimes is a justified tradeoff (eg, regex). Just that I've never seen that being done at the cost of exposing

Re: [Wicket-user] CSS Issues: One Reason I cant Upgrade from 1.2.4 to 1.2.6

2007-07-08 Thread Ayodeji Aladejebi
Yeah I found it, its called PrependContextPathHandler, i will use it as it was specified in the API and if it works, i will be glad to post on Wiki on this matter thanks igor Meanwhile, I am surprised Wicket API is not enlisted in JDocs.com, i tried searching there until i realized my browser

Re: [Wicket-user] CSS Issues: One Reason I cant Upgrade from 1.2.4 to 1.2.6

2007-07-08 Thread Igor Vaynberg
On 7/8/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Yeah I found it, its called PrependContextPathHandler, i will use it as it was specified in the API and if it works, i will be glad to post on Wiki on this matter thanks igor Meanwhile, I am surprised Wicket API is not enlisted in

Re: [Wicket-user] CSS Issues: One Reason I cant Upgrade from 1.2.4 to 1.2.6

2007-07-08 Thread Eelco Hillenius
Meanwhile, I am surprised Wicket API is not enlisted in JDocs.com Anyone is welcome to pick that up :) Generate an build.xml (Ant) file with Maven, and follow the instructions on their site. Eelco - This SF.net email is

Re: [Wicket-user] (no subject)

2007-07-08 Thread Gerolf Seitz
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getServletPath() hth, gerolf On 7/8/07, Alexander Lohse [EMAIL PROTECTED] wrote: Hi, I guess this has been asked several times, but I was unable to find a hint: From within a component I need to create a absolute url to

[Wicket-user] Making response.renderJavascript HTML Strict

2007-07-08 Thread C. Bergström
I'm trying to make part of the wicket-contrib-push-examples validate to html strict doctype... For example this bit.. script type=text/javascript id=org.wicketstuff.dojo.AbstractDefaultDojoBehavior/namespaces/wicketstuff!--/*--![CDATA[/*!--*/ dojo.registerModulePath(wicketstuff,

Re: [Wicket-user] (no subject)

2007-07-08 Thread Eelco Hillenius
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getServletPath() Doesn't he need getContextPath? Or you can do WebApplication#getServletContext(). I don't think you typically need it though. If you let a component print out subdir/foo.jpg for the source attribute, it will

Re: [Wicket-user] (no subject)

2007-07-08 Thread Alexander Lohse
Hi Eelco, I think getContextPath is what I need. I am trying to port my app to wicket 1.3 where getContextPath is no longer present in ApplicationSettings. If I just add a relative path, I get problems when I have a manually edited mountPath like mountBookmarkablePage(/some/other/strange/

[Wicket-user] Migrate to 1.3 - custom label/link problem

2007-07-08 Thread Robert .
I have a problem migrating from Wicket 1.2.6 to 1.3 I have a custom LabelLink component that I used to generate links, including labels, in a data table. This worked fine in 1.2.6, but now I get the following error: unable to find component with path

Re: [Wicket-user] (no subject)

2007-07-08 Thread Eelco Hillenius
I think getContextPath is what I need. I am trying to port my app to wicket 1.3 where getContextPath is no longer present in ApplicationSettings. I think it moved to WebApplication. But be sure to read this http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html and search the

Re: [Wicket-user] NumberValidator allowing null fields ?

2007-07-08 Thread Thies Edeling
Apparently setType on a FormComponent (needed for NumberValidator) sets the required flag for primitive types. With the required flag set a null field never makes it to my validator. Why does setType set the required flag for primitives? /** * Sets the type that will be used when

Re: [Wicket-user] NumberValidator allowing null fields ?

2007-07-08 Thread Igor Vaynberg
On 7/8/07, Thies Edeling [EMAIL PROTECTED] wrote: Apparently setType on a FormComponent (needed for NumberValidator) sets the required flag for primitive types. With the required flag set a null field never makes it to my validator. Why does setType set the required flag for primitives?

Re: [Wicket-user] NumberValidator allowing null fields ?

2007-07-08 Thread Martijn Dashorst
On 7/8/07, Thies Edeling [EMAIL PROTECTED] wrote: Why does setType set the required flag for primitives? How can a primitive type ever be null? If you want to allow null values, then the type needs to be Double, Float, Integer, Long, ... If null is allowed, and an empty value was accepted,

Re: [Wicket-user] NumberValidator allowing null fields ?

2007-07-08 Thread Igor Vaynberg
On 7/8/07, Martijn Dashorst [EMAIL PROTECTED] wrote: On 7/8/07, Thies Edeling [EMAIL PROTECTED] wrote: Why does setType set the required flag for primitives? How can a primitive type ever be null? If you want to allow null values, then the type needs to be Double, Float, Integer, Long, ...

Re: [Wicket-user] NumberValidator allowing null fields ?

2007-07-08 Thread Thies Edeling
Martijn Dashorst wrote: On 7/8/07, Thies Edeling [EMAIL PROTECTED] wrote: Why does setType set the required flag for primitives? How can a primitive type ever be null? If you want to allow null values, then the type needs to be Double, Float, Integer, Long, ... If null is

Re: [Wicket-user] access to private fields

2007-07-08 Thread Matej Knopp
I'm a strong -1 on removing access to private fields. This wouldn't really change anything. When someone wants to access private fields, he/she will do that, with or without PropertyModel. -Matej On 7/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 7/7/07, Kent Tong [EMAIL PROTECTED] wrote:

Re: [Wicket-user] access to private fields

2007-07-08 Thread Matej Knopp
We could do the restriction, but then the question will be how predicable and confusing this behavior will be. -Matej On 7/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 7/7/07, Kent Tong [EMAIL PROTECTED] wrote: I've never said saving typing is always bad. As I said in another post,

Re: [Wicket-user] Classloader for selectively reload web tier

2007-07-08 Thread Matej Knopp
Eclipse run will not run the program in debug mode. Thus you have no reloading at all. To have at least basic jvm reloading (when the class shape doesn't change), you must debug you application in eclipse. -Matej On 7/7/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi Just a small question :

Re: [Wicket-user] resource key priority

2007-07-08 Thread Kent Tong
Juergen Donnerstag juergen.donnerstag at gmail.com writes: According to the source code your observation is correct. I've no good reason why we implemented it this way. Thanks for the reply! I've created an issue for this at https://issues.apache.org/jira/browse/WICKET-732.

Re: [Wicket-user] CSS Issues: One Reason I cant Upgrade from 1.2.4 to 1.2.6

2007-07-08 Thread David Leangen
Is this somehow related to my post about a double slash // appearing in my URLs? On Sat, 2007-07-07 at 15:03 -0700, Igor Vaynberg wrote: On 7/7/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Maybe there is some best practice that I violated but sincerely simply upgrading to

[Wicket-user] Portlet Support

2007-07-08 Thread Dean Del Ponte
I understand that wiki supports portlet development, but the links at http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-portlets are broken. Where may I find the proper links as well as documentation? Thanks, Dean

[Wicket-user] cant see all the word in a displayed tree- node

2007-07-08 Thread kenixwong
Hi, i had build a tree explore and also given each node with the name ( displayed in the screen) . But then some of the word is hide at the back. As i tried out the wicket example, the rectangle was auto re-size when the node link is clicked. can anybody help me on this ? I had attached a image

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-08 Thread Joshua Lim
sure thanks On 7/6/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 7/6/07, Joshua Lim [EMAIL PROTECTED] wrote: https://issues.apache.org/jira/browse/WICKET-725 thanks, but do understand this is not a priority right now so it wont happen in 1.3.0 timeframe -igor On 7/6/07, Igor Vaynberg

[Wicket-user] Problem with Close the top-level modal window first message

2007-07-08 Thread jamieballing
We have a modal window which is backed by a page/iframe (I'll refer to this as the primary modal). On this page-based modal window there is link which brings up another modal window, which is not backed by a page (I'll call this the secondary modal). We have OK and Cancel buttons on this

[Wicket-user] dataview with scrollbar?

2007-07-08 Thread verbal evasion
i dont know if this is possible in wicket, but i am trying to find something like a dataview that will dynamically load content and place it in some sort of box that is a fixed size. if there are more items than the box will hold, then a scrollbar appears. i would also like to be able to select