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--)
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
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
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
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
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
((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
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,
((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
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/
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
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
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
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?
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,
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, ...
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
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:
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,
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 :
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.
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
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
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
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
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
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
27 matches
Mail list logo