Hi,
On Mon, Mar 5, 2012 at 6:05 AM, Douglas Ferguson wrote:
> Does wicket 1.5 still use the resource urls?
>
> I'm getting a 404 on this
>
> resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indicator.gif
This url is generated by Wicket 1.4.x. AFAIK you upgrade your app to
1.5 where t
Hi,
Servlet specification says that the original request should be
available in request attribute named "javax.servlet.error.request_uri"
See org.apache.wicket.protocol.http.servlet.ErrorAttributes
On Mon, Mar 5, 2012 at 6:15 AM, Douglas Ferguson wrote:
> I setup a 404 handler in my web.xml to p
Hi,
It sounds to be related to Page#renderCount.
'renderCount' is used to prevent using an obsolete version of a page
instance. I.e. a page with a given page id counts how many times it
has been rendered. If you have a tab/window which contains an earlier
version of that page and you click on it t
Hi,
Just try with:
WebResponse response = (WebResponse)getResponse();
response.reset();
OpenIDService.sendDiscoveryResponse(response);
On Sun, Mar 4, 2012 at 10:19 PM, singh13 wrote:
> Sorry for another reply but can anybody give me an example solution.
>
> Thanks
>
> --
> View this message in c
Hi Dan, thanks for your answer, then the problem might lie within my setup. One
more thing:
which version of Wicket are you using? Maybe the Packaged Resource Bug that was
mentioned
earlier is the culprit...
J.
On 05.03.2012 03:55, Dan Retzlaff wrote:
Jürgen, my coworkers and I use that combi
I setup a 404 handler in my web.xml to point to a wicket page.
I'd like to be able to log what the original request was, but I'm having
trouble figuring this out.
Douglas
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apach
Does wicket 1.5 still use the resource urls?
I'm getting a 404 on this
resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indicator.gif
Jürgen, my coworkers and I use that combination successfully. Good luck.
On Sun, Mar 4, 2012 at 1:29 AM, Jürgen Lind wrote:
> Hi,
>
> I was just wondering if anybody is using the above combination. Since
> upgrading to 1.5. I have massive problems in reloading changed HTML
> templates as Eclipse
Paolo, sessions are accessed with a JSESSIONID cookie or query parameter
supplied with each request. It's not possible for one user to guess another
user's session ID, so the approach Martin describes is inherently secure.
(Just be careful with your authentication code and form/query parameter
vali
Sorry for another reply but can anybody give me an example solution.
Thanks
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/java-lang-IllegalStateException-Can-t-call-write-CharSequence-after-write-byte-has-been-called-tp4416819p190.html
Sent from the Users forum
Hello,
i have a question about the behavior of links in two tabs.
I have an application that I opened in two tabs. In Tab1, I
make a submit from Page1 and get Page2. At the same time,
I make a submit in Tab2 from Page1 to Page2. The two pages
with the name Page2 in the two tabs display the resul
I don't have a no arg constructor, and it was blowing up trying to construct
the page.
On Mar 4, 2012, at 9:38 AM, vineet semwal wrote:
> hi martin,
> WebPage exceptionPage = new NotifyUserOfException(ex);
> IPageProvider provider = new PageProvider(page);
> return new RenderPageRequestHandler(p
Yes I understand your point. But i have to get the object manipulate it then
only feed it to the label. In this case i cannot pass the model directly.
For this i had to workaround this problem bit differently. I had moved the
section to a fragment and then inside onBeforeRender i am reconstructin
hi martin,
WebPage exceptionPage = new NotifyUserOfException(ex);
IPageProvider provider = new PageProvider(page);
return new RenderPageRequestHandler(provider /*,
RenderPageRequestHandler.RedirectPolicy.XYZ */ );
he actually means page instance not found in page store and new page
instance is
See below:
On Mar 4, 2012, at 7:29 AM, Martin Grigorov wrote:
> I'm not sure what you mean by "throws away the page". It should work.
What I mean is that the even thought I "new up" a page and pass the into the
the PageProvider/RequestHander.
It still does a Page.class.newInstance()
>
> On Sa
If you're using LDM, you have to take care to *never* pull something out of the
model and pass it somewhere else, e.g. never do:
new FooComponent(model.getObject().getFoo())
new PropertyModel(foo.getBar(), "baz")
As long as you adhere to this guideline LDM should just work.
Sven
nazeem schri
On Sat, Mar 3, 2012 at 4:48 PM, Douglas Ferguson wrote:
> I think something else was interfering because it is working now. If you put
> the setRootRequstMapper after all the other mounts it works.
> It's a shame it has to be order dependent.
With the current way you can handle some pages with H
Hi,
We are not aware of any problems similar to what you described.
If you can reproduce the problem in a quickstart then attach it to a
ticket in Jira and we will try to help/fix.
On Fri, Mar 2, 2012 at 7:30 PM, azadbajaj wrote:
> Hi,
> I am using Apache wicket 1.4 for my application and this a
I'm not sure what you mean by "throws away the page". It should work.
On Sat, Mar 3, 2012 at 7:19 PM, Douglas Ferguson wrote:
> I decided to just put the exception in the session and just grab it from
> there.
Another place to put it is RequestCycle#metaData. This way you wont
have to clean it.
Thanks for the hint, but I do not think that this is the problem. The
resource (HTML file) is locked in the classes directory that is monitored
by jRebel and not in the directory where the WAR-File is located. Anyway, I
will be looking into that...
J.
On 04.03.2012 11:31, Christoph Leiter wro
Yes.
Now on to others. :(
On Mar 4, 2012, at 4:27 AM, Per Newgro wrote:
> So problem is solved?
> Per
>
> Am 04.03.2012 11:22, schrieb Douglas Ferguson:
>> I'm doing that.
>>
>> The fix involved moving the injector initialization to a template method so
>> I could override.
>>
>>
Hi,
do you use 1.5.4 with package resources? There's a bug that causes
locked resources:
https://issues.apache.org/jira/browse/WICKET-4359
Until 1.5.5 is released you can use 1.5.3, which is not affected by this
bug.
Christoph
On 04.03.2012 10:29, Jürgen Lind wrote:
Hi,
I was just wond
So problem is solved?
Per
Am 04.03.2012 11:22, schrieb Douglas Ferguson:
I'm doing that.
The fix involved moving the injector initialization to a template method so I
could override.
tester = new WicketTester(new MyApp(){
@Override
I'm doing that.
The fix involved moving the injector initialization to a template method so I
could override.
tester = new WicketTester(new MyApp(){
@Override
public SpringComponentInjector setupInjector() {
Hi,
I was just wondering if anybody is using the above combination. Since
upgrading to 1.5. I have massive problems in reloading changed HTML
templates as Eclipse sometimes tries to do a full build because of a
locked resource. I am also in contact with the Jrebel guys, I just wanted
to know if s
Assign the app to the wicket tester instance you use. See section
below.
Per
Am 04.03.2012 10:11, schrieb Douglas Ferguson:
What does this mean? "you have to set the app to wicket tester instance."
Douglas
On Mar 4, 2012, at 1:32 AM, Per Newgro wrote:
And the app should know the context in
What does this mean? "you have to set the app to wicket tester instance."
Douglas
On Mar 4, 2012, at 1:32 AM, Per Newgro wrote:
> And the app should know the context in which way? No no you have to set the
> app to wicket tester instance.
>
>tester = new WicketTester(new MyApp());
>
>
>
27 matches
Mail list logo