Jeremy,
A workaround is to make the session timeout way lower and add some keep
alive javascript to each page. For example as described by Eelco
(http://chillenious.wordpress.com/2007/06/19/how-to-create-a-text-area-with-a-heart-beat-with-wicket/).
Regards,
Erik.
Jeremy Thomerson wrote:
>
PageParam is a map so the order is currently not remembered
Please make a jira issue for this
On 4/10/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 kn
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 ju
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 cl
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 DefaultDataTab
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
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 inside
but that didnt
I am currently trying to debug a markup handling problem where Wicket is
complaining that it "Failed to handle: "
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
be a good approach for debug
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 extr
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..
johan
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
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 PM,
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
> defaul
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 A
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 <[
> 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
> degradabl
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
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 frame
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 i
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
addres
Oops! Didn't realize it was in the distribution
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 releas
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 no
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]> wro
.. 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 this.g
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
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
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 c
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 W
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
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
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 an
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 :
Login.html
DefaultPage.html
DefaultPage_style1.html
DefaultPage_style2.html
The
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
ClassPathXmlApplicationContext("applicati
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 the
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 wa
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 PROTEC
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 s
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 s
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 tag e
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 se
Hi All,
I was wondering if there's a way to get rid of the
added tag every time I disable the Link
component?
Thanks,
Wen Tong
--
The only constant in life is change.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection ar
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 retur
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 Tsapli
http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.4-SNAPSHOT/
johan
On Wed, Apr 9, 2008 at 4:52 PM, Anders Peterson <[EMAIL PROTECTED]> wrote:
> How far away is wicket with generics? /Anders
>
> Martijn Dashorst wrote:
>
> > If you are depending on trunk and build your own
Johan Compagner wrote:
why would that help?
Did'nt state it would, was just currious..
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
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 checkou
On Wed, Apr 9, 2008 at 3:43 PM, Martijn Lindhout <[EMAIL PROTECTED]>
wrote:
> I guess you mean the cvs/svn repo, because there's nothing on the
> http://cwiki.apache.org/WICKET/wicket-stuff.html site?
this site is really old and should be updated (or removed?)
>
>
> wicketstuff.org/confluence/
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 webmarkupcontainer
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
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 t
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
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 reques
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]> wr
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 th
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();
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 f
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 cr
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 Response.clos
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:
en
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:
The page this is called from has a URL that looks like this
http://host/2008/foo/
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,
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
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
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
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?
W
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 PRO
Can You give mi more details how remove the
UrlCompressingWebRequestProcessor because i don't have any idea?
>
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?
Which one is it by the way?
is it app, session or request cycle?
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 i
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
UrlCompressingWebRequestP
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
org.apa
We have kind of the same problem.
It looks like Application and Session are not always cleared from the
request thread, and to test this I have just deployed a subclassed
WicketServlet with these checks (and also as a workaround):
protected void service(HttpServletRequest req, HttpServletResp
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 th
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 7:57
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 7:
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 org.apache.wicket.protocol.http.W
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 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(AjaxRequestTarg
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
>
79 matches
Mail list logo