No one can help me ?
--
View this message in context:
http://www.nabble.com/How-to-Create-a-link-in-a-treeview-tp16557773p16580102.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe,
I want that all image files in a given directory are shown on my site so that
the admin can simply add/delete image files by editing the directory. So I
do this with ListView:
ImgListView imgListView = new ImgListView(listImageData, new
LoadableDetachableModel()
{
I've created JIRA issue for this (with quickstart-app):
WICKET-1500: https://issues.apache.org/jira/browse/WICKET-1500
--
Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
That sounds like a bug can you open an issue in jira?
On 4/9/08, AshleyAbraham [EMAIL PROTECTED] wrote:
Hi everyone,
I have a question regarding IFormVisitorParticpant, I implement
IFormVisitorParticpant in a panel where my nested form resides, the form
has formcomponents which are set
You would also need to setVisible(false) on the WMC or wicket would throw an
exception at the missing child components. I use a simple class
InvisibleComponent for this.
Eric Rotick wrote:
One more thing that was suggested in class.
Is it possible to define a Panel which had all suitable
Hi Lucio,
I looked at the pom.xml and fixed a wrong dependency. Currently I
cannot commit to the SVN, but I think it will be fixed soon.
2008/3/27, luciolrv [EMAIL PROTECTED]:
I downloaded svn from the link below,
but running maven2 on any of the 3 project gives the error:
Missing
Hi all,
I have a ModalWindow A containing a page i.e. opened as an iframe.
This modal opens another ModalWindow B containing a panel.
Window B contains a simple AjaxLink that should close B.
add(new AjaxLink(cancel) {
@Override
public void onClick(AjaxRequestTarget
Igor Vaynberg wrote:
can you not roll your own simple filter? you can pull the webapp from
the servletcontext
-igor
Thanks for the suggestion. It works perfectly.
Here is the code for those that are interested.
import org.apache.wicket.Application;
import
Hi!
When setting a string via StringResourceModel and using parameters, the
default operation in Wicket for retreiving the parameters' strings is to
call PropertyVariableInterpolator.getValue(final String variableName) within
the localizer.
This operation retreives the string by simply calling
Hi,
you should base your tree on BaseTree, as it implements a lot of
things for you. Then, you implement newNodeComponent(), where you can
create any component (e.g. a link) to represent a tree node. The
component you create there is not tree-specific.
Cheers,
Thomas
On Wed, Apr 9, 2008 at
Good, this suggests that having a Panel as a boilerplate and then turning
off the parts that are not required is a recognised pattern. Otherwise I
could foresee the proliferation of home made components reaching a point
where it became a burden to know which one to use.
On Wed, Apr 9, 2008 at
Can You give mi more details how remove the
UrlCompressingWebRequestProcessor because i don't have any idea?
this can happen at some level..
for example if you have somewhere in the code that an error code is set as a
response
and that error code is mounted to a error page in the app server
then there are 2 request at the same time for the same thread to wicket..
I worked around that last weekend. But
OK. It's clicked. I was hoping to have a simple ajaxed submit link
without having to create a fake property on the model object. No problem,
I can see what I missed.
Thanks for your help Igor.
Tim
you said it yourself:
Insure that the component identifier names match
the appropriate
Hi,
This is a bug in WicketTester. See
http://issues.apache.org/jira/browse/WICKET-861.
There was a similar thread on the user-group recently:
http://www.nabble.com/Re%3A-Best-method-of-testing-behaviors.-p1639.html
As I understand it the workaround is to remove the
I have test and formTester.submit(); throws an error:
java.lang.NumberFormatException: For input string: p:form
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at
According to that Thread I was referring it was probably caused by the fact
the newRequestCycleProcessor method in the WebApplication class was
overridden to return the UrlCompressingWebRequestProcessor. Did you override
that method as well?
On Wed, Apr 9, 2008 at 1:25 PM, Tomasz Prus [EMAIL
Do you synchronize those final blocks?
Johan Compagner wrote:
could you change that method that it checks this after the fact?
and then see if there is an error for that thread before? for example also
log the url call so that we can see
what kind of request did let one thread local be there?
Something like this: http://www.eclipse.org/swt/R3_1/spinner.png
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
the spinner in wicketstuff-minis should do the trick.
Gerolf
On Wed, Apr 9, 2008 at 2:00 PM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
Something like this: http://www.eclipse.org/swt/R3_1/spinner.png
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL
Yes, I can do that.
It is both Application and Session at the same time.
RequestCycle I have never seen it happen for.
Niels
Johan Compagner wrote:
could you change that method that it checks this after the fact?
and then see if there is an error for that thread before? for example also
strange,
was your other inner tag also a Wicket or a simple HTML ?
It keeps on going ...
On Tue, Apr 8, 2008 at 3:21 PM, Michael Sparer [EMAIL PROTECTED]
wrote:
I tried, but I can't reproduce this warning using your code ...
Eyal Golan wrote:
anyone ??
On Mon, Apr 7, 2008 at 9:52
Hi all,
We recently upgraded to Wicket 1.3.2 from Wicket 1.3.1 and we're seeing
a bug with ajax behavior in Firefox (2.0.0.13 on Windows Vista).
Basically, the following header is returned from an ajax call:
?xml version=1.0 encoding=UTF-8?ajax-responseheader-contribution encoding=wicket1
See
https://issues.apache.org/jira/browse/WICKET-1426
Meetesh Karia schreef:
Hi all,
We recently upgraded to Wicket 1.3.2 from Wicket 1.3.1 and we're
seeing a bug with ajax behavior in Firefox (2.0.0.13 on Windows
Vista). Basically, the following header is returned from an ajax call:
why would that help?
the first finally block is on the RequestCycle that only lives in 1 thread
and has all the state in one thread.
the second (in wicket filter) does only reset thread locals which are single
threaded by nature.
I did see one thing that could go wrong
we also call
I am sorry to report that we see the same problem. We run a page in IE, enter
some values, ajax-submit, open the same page in Firefox, and the values are
already there.
Does the serialization ignore the user session? We store values in
CompoundPropertyModel.
As for the other posters, this is
Thank You very many :)
I overide method newRequestCycleProcessor in my MockApplication and submit
works now for me:
@Override
protected IRequestCycleProcessor newRequestCycleProcessor() {
IRequestCycleProcessor newRequestCycleProcessor =
super.newRequestCycleProcessor();
have you tried with a different servlet container for instance tomcat?
i've experienced the same session problems with a custom webapp deployed on
jetty some time ago.
the sessionid was used to track the session and we had the same problem as
you describe in a single instance of jetty.
--
View
where are the values stored?
do you really see the same page ?
For example place in a private field of the page the session.getId()
when you create the page
then when you do your test is the id in both sides the same??
johan
On Wed, Apr 9, 2008 at 2:56 PM, Wolfgang Gehner [EMAIL PROTECTED]
Hi
How can I check/log if there are error for that thread?
Niels
Johan Compagner wrote:
could you change that method that it checks this after the fact?
and then see if there is an error for that thread before? for example also
log the url call so that we can see
what kind of request did
On Tue, Apr 08, 2008 at 11:03:52PM +0200, Vitaly Tsaplin wrote:
Yep. It looks simple and efficient. But it's quite a repetitive
task. As I already mentioned I am going to create a component. And a
data conversion should be its direct responsibility. The model wrapper
cannot be provided from
if there was an error before that
that should then be logged just before you log that there is a wrong state
The way you do it now is in reverse
the wrong state was already set in X number of request back
so when you log it, You can;'t really tie it to a a specific request that
did go wrong.
If
I guess you mean the cvs/svn repo, because there's nothing on the
http://cwiki.apache.org/WICKET/wicket-stuff.html site?
wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis doesn't seem
to work
2008/4/9, Gerolf Seitz [EMAIL PROTECTED]:
the spinner in wicketstuff-minis should do the
It's working, thank you for your help
igor.vaynberg wrote:
like i said change your code to
((WebResponse)RequestCycle.get().getResponse()).addCookie(...
-igor
On Tue, Apr 8, 2008 at 12:48 AM, Fabien D. [EMAIL PROTECTED]
wrote:
Thank you for your response...
But it's possible to
yes.
at the root, remember it's all just java so most patterns of composition are
applicable. the trouble is finding the right one for your application. you
can do some very fancy things with wicket components and design patterns.
also, see wicket:enclosure to reduce your
How far away is wicket with generics? /Anders
Martijn Dashorst wrote:
If you are depending on trunk and build your own Wicket versions,
please note that trunk is now Wicket 1.4 and will be used for the next
Wicket version.
If you wish to continue building 1.3 jars then switch your local
What is going to happen if I call getModel on such a component? The
model should be properly unwrapped I suspect. It's a logical behavior.
Is it possible to achieve?
On Wed, Apr 9, 2008 at 3:03 PM, John Krasnay [EMAIL PROTECTED] wrote:
On Tue, Apr 08, 2008 at 11:03:52PM +0200, Vitaly Tsaplin
On Wed, Apr 09, 2008 at 05:09:03PM +0200, Vitaly Tsaplin wrote:
What is going to happen if I call getModel on such a component? The
model should be properly unwrapped I suspect. It's a logical behavior.
Is it possible to achieve?
If you extend CheckBoxMultipleChoice, getModel() must return
you can, just give the cpm reference to link as the model.
-igor
On Wed, Apr 9, 2008 at 1:31 AM, Tim Squires [EMAIL PROTECTED] wrote:
OK. It's clicked. I was hoping to have a simple ajaxed submit link
without having to create a fake property on the model object. No problem,
I can see
in Application.init():
getMarkupSettings().setDefaultBeforeDisabledLink();
getMarkupSettings().setDefaultAfterDisabledLink();
Gerolf
On Wed, Apr 9, 2008 at 5:32 PM, Beyonder Unknown [EMAIL PROTECTED]
wrote:
Hi All,
I was wondering if there's a way to get rid of the
added em tag every
The method getModel will always return a wrapper and that fact
breaks an encapsulation. So we can say that any wrapping can be done
only from outside which is not good. A conversion is an essential
part of an internal component's functionality and it's normally
shoudn't be exposed. I am not so
Thanks Gerolf! I appreciate it.
--- Gerolf Seitz [EMAIL PROTECTED] wrote:
in Application.init():
getMarkupSettings().setDefaultBeforeDisabledLink();
getMarkupSettings().setDefaultAfterDisabledLink();
Gerolf
On Wed, Apr 9, 2008 at 5:32 PM, Beyonder Unknown
[EMAIL PROTECTED]
wrote:
Unfortunately that patch doesn't solve the problem. I've added a
comment to the issue with a different patch which addresses our problem
and the problem mentioned in the issue (I hope :) ).
Thanks,
Meetesh
Thijs wrote:
See
https://issues.apache.org/jira/browse/WICKET-1426
Meetesh Karia
ok, I can put a try-catch(Throwable t) around the service() and log that
together with the request-url.
But since it is a production server, I am not able to get it deployed until
tomorrow evening, and right now we are doing ok with the workaround.
Niels
Johan Compagner wrote:
if there was
Hi,
Is Wicket Extensions 1.2.7 compatible with Wicket 1.3? I downloaded it, but I
can't find any mention of Wicket versions in the documentation
Thanks
___
The information in this email or in any file attached
hereto is intended only for
So I am using wicket annot.
So I have classes elsewhere in my app that are using JMS and other services
in a web service. The issue I am having is I need the ApplicationContext in
non-wicket files.
When I Do public static ApplicationContext spring = new
We're running into a problem with the change made for this issue:
http://issues.apache.org/jira/browse/WICKET-1370
Basically, if you have a situation like this where the Login page
extends DefaultPage and uses wicket:extend:
Login.html
DefaultPage.html
DefaultPage_style1.html
Have a look at Springs
WebApplicationContextUtils.getWebApplicationContext(...). This in
conjunction with org.springframework.web.context.ContextLoaderListener
should give you what you need.
best,
jim
On Wed, Apr 9, 2008 at 12:41 PM, Pinger [EMAIL PROTECTED] wrote:
So I am using wicket
hmm this is now a tricky one..
i need to figure out how it should work now..
On Wed, Apr 9, 2008 at 8:04 PM, Meetesh Karia [EMAIL PROTECTED]
wrote:
We're running into a problem with the change made for this issue:
http://issues.apache.org/jira/browse/WICKET-1370
Basically, if you have a
All the examples I see do something like
WebApplicationContext ctx =
WebApplicationContextUtils.getRequiredWebApplicationContext(
this.getServletContext());
how do I do the this.getServletContext() when I am not in the wicket file?
James McLaughlin-3 wrote:
Have a
but then we are back at the original problem that we have many same
resources in the cache
that will be a real memory hog.
johan
On Wed, Apr 9, 2008 at 8:21 PM, Meetesh Karia [EMAIL PROTECTED]
wrote:
What about adding the style and variation into the location string when
it's used as a
What about adding the style and variation into the location string when
it's used as a cache key. That will prevent the problem with the
locales, but will address the issue below too ...
Johan Compagner wrote:
hmm this is now a tricky one..
i need to figure out how it should work now..
On
what if the cache knew the actual resource path of the resource also
then we can cache login.html, default.html, default_style1.html,
default_style2.html independently of what they actually map to...
-igor
On Wed, Apr 9, 2008 at 11:41 AM, Johan Compagner [EMAIL PROTECTED] wrote:
but then we
Pinger wrote:
All the examples I see do something like
WebApplicationContext ctx =
WebApplicationContextUtils.getRequiredWebApplicationContext(
this.getServletContext());
how do I do the this.getServletContext() when I am not in the wicket file?
Maybe you could implement
No. You need all versions to be equal for all projects. We release all
projects concurrently under the same version number. Why did you
download wicket extensions when it is in the distribution? Or why
didn't you just add it to your pom?
Martijn
On 4/9/08, Andrew Broderick [EMAIL PROTECTED]
.. or just implement ApplicationContextAware ofcourse :)
-- Edvin
Edvin Syse skrev:
Pinger wrote:
All the examples I see do something like
WebApplicationContext ctx =
WebApplicationContextUtils.getRequiredWebApplicationContext(
this.getServletContext());
how do I do the
Is there any way to integrate Wicket and Jersey (REST framework) in the same
webapp without requiring each to have a unique mapping (Wicket filter set to
/web/* and Jersey filter set somewhere else)? I looked into the web.xml to
see if there was a way to put exclusions in a filter mapping, but
Oops! Didn't realize it was in the distribution blush
Thanks
-Original Message-
From: Martijn Dashorst [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 09, 2008 2:17 PM
To: users@wicket.apache.org
Subject: Re: Wicket Extensions
No. You need all versions to be equal for all projects. We
Hi,
How do I customize the markup for the stock SignInPanel?
Thanks
___
The information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial use of the individual or entity to which it is
extend it
On Wed, Apr 9, 2008 at 4:46 PM, Andrew Broderick
[EMAIL PROTECTED] wrote:
Hi,
How do I customize the markup for the stock SignInPanel?
Thanks
___
The information in this email or in any file attached
hereto is intended
you can make both to /*
wicket is a filter, so if it thinks it cant handle the url it will let
it fall through at which point jersey will have a try
-igor
On Wed, Apr 9, 2008 at 1:31 PM, Michael Laccetti [EMAIL PROTECTED] wrote:
Is there any way to integrate Wicket and Jersey (REST
Ah, that's good news. Appreciate the info.
Mike
igor.vaynberg wrote:
you can make both to /*
wicket is a filter, so if it thinks it cant handle the url it will let
it fall through at which point jersey will have a try
-igor
-
--
Michael Laccetti
not out of the box. ISecurityStrategy does provide a central point to
intercept lifecycle event, so you can easily do something like
new isecuritystrategy() { boolean isactionallowed(component caction a) {
if (pastLoadThreshold()component.render.equals(a)c instanceof
degradable) {
URL url = getServletContext().getResource(/WEB-INF/templates/); will
give you a url instead of a file path if that is of any help.
You can use getServletContext from within your application.
Using tomcat i find this is usually a jndi url.
Maurice
On Wed, Apr 9, 2008 at 8:49 AM, Igor Vaynberg
Could you open up an issue for this?
Maurice
On Wed, Apr 9, 2008 at 10:16 AM, Nili Adoram [EMAIL PROTECTED] wrote:
Hi all,
I have a ModalWindow A containing a page i.e. opened as an iframe.
This modal opens another ModalWindow B containing a panel.
Window B contains a simple AjaxLink
Have you considered wrapping your parameters in models? In the
model.getObject you can then use your own toString function.
Maurice
On Wed, Apr 9, 2008 at 11:27 AM, TonyVegas [EMAIL PROTECTED] wrote:
Hi!
When setting a string via StringResourceModel and using parameters, the
default
or, you can really use roll your own.
last time i used it (for a small project for my studies),
it felt like it wasn't actually made with customization in mind.
and iirc, it's in the wicket-auth-roles project, so it's basically an
example
on how to do it.
Gerolf
On Wed, Apr 9, 2008 at 10:48
I finally am able to get a good analysis of it. It dumped two memory dumps
when it died in the past couple days (it's still dying about once or twice a
day). Using this GREAT tool:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/Java/Java+Memory+AnalysisI
am able to see deep memory views that
4585 tomcat sessions?
thats quite large if may say that..
and even more 10 wicket sessions that tomcat sessions
Do you have multiply apps deployed on that server?
if a search engine doesnt send a cookie back then the urls should be encoded
with jsessionid
and we get the session from that..
Yes - quite large. I'm hoping someone has an idea to overcome this. There
were definitely not 4500+ unique users on the site at the time.
There were two copies of the same app deployed on that server at the time -
one was a staging environment, not being indexed, which is probably where
the
I am currently trying to debug a markup handling problem where Wicket is
complaining that it Failed to handle: wicket:container wicket:id=xyz
I suspect that the problem is mine as I am mucking around with content types
to deal with mobile devices. Any ideas on what might be wrong or what might
Hi,
I am trying to use DefaultDataTable - out of the box, the URLs generated for
the header (sorting) and navigation look really weird. I have setup
URLStrategy for the application and would like these DefaultDataTable URLs
to follow that stragegy. I have tried to enclose table inside
Hi all
Can I control parameter order?
I have been creating Blog software and using it.
I noticed parameter order changed. (sorry I don't know what change is trigger)
At Application class ,WebPage class is mounted.
mountBookmarkablePage(/page, Hoo.class);
At WebPage class, BookmarkablePageLink
On Wed, Apr 9, 2008 at 5:05 PM, Ritz123 [EMAIL PROTECTED] wrote:
Hi,
I am trying to use DefaultDataTable - out of the box, the URLs generated for
the header (sorting) and navigation look really weird. I have setup
URLStrategy for the application and would like these DefaultDataTable URLs
indexedparamurlcodingstrategy
On 4/9/08, Takeshi Matsuba [EMAIL PROTECTED] wrote:
Hi all
Can I control parameter order?
I have been creating Blog software and using it.
I noticed parameter order changed. (sorry I don't know what change is
trigger)
At Application class ,WebPage class is
On Tue, 08 Apr 2008 17:29:16 -0700, Michael Mehrle wrote:
In general, Wicket does a great job of giving your trace output of your
template when something goes awry, including the component inheritance
and suggestions as to what could be wrong.
And for that I am *very* thankful. I've only just
76 matches
Mail list logo