Done https://issues.apache.org/jira/browse/WICKET-4227
Best regards,
Michal Wegrzyn
> -Original Message-
> From: Martin Grigorov [mailto:mgrigo...@apache.org]
> Sent: Monday, November 14, 2011 13:43
> To: users@wicket.apache.org
> Subject: Re: abort loading lazy components
>
> Ticket + qu
Okay, this is the preferred way if I would have a link on the page, but I
have not. This is also the way like the DownloadLink works:
@Override
public void onClick()
{
...
getRequestCycle().scheduleRequestHandlerAfterCurrent(
Hi,
Extend MountedMapper and override its mapRequest() method.
When a request comes render the page and send it as email. After that
return TextRequestHandler("OK") to indicate the success or
ErrorCodeRequestHandler for the failure.
On Tue, Nov 15, 2011 at 12:31 PM, Dirk Forchel wrote:
> Okay, t
Sorry for all the hassle. This sounds now obvious to me. Thank you for your
hint.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-page-as-result-tp4039468p4042521.html
Sent from the Users forum mailing list ar
Simpy, I have a listview and a LoadableDetachableModel which is listview
Model. Listview has a link to populate. This Link has onclick event.
The event is update the query for LoadableDetachableModel to load data and
list them in listview.
But the problem is that event of LoadableDetachable
Finally I've implemented my customized IRequestMapper
(CapturingRequestMapper). How can I contribute this little working example
to the wicket-examples?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-page-as-
Checkout http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/
Integrate it in
http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/requestmapper/
Attach the patch to a ticket in Jira
I guess you will need the logic from MailTemplate.java - feel f
See https://issues.apache.org/jira/browse/WICKET-4228. Please check the
attached patch whether it works.
Locally it works the way intented.
Dirk Forchel
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-page-as
LoadableDetachableModel#load() is invoked lazily only first access of the
model object.
Is your link part of the ListView? Does it access the row model before
changing the query?
Sven
-Ursprüngliche Nachricht-
Von: bilgisever [mailto:mehmetate...@hotmail.com]
Gesendet: Dienstag, 15. Nov
Yes, the link is a part of the listview.
ListView :
ListView breadList = new ListView("breadList",loadModel)
{
private static final long serialVersionUID = 1L;
@Override
protected void populateItem(f
Ok, then you have to call #detach() on your model:
public void onClick() {
stack.add(item.getModelObject().getAssetCod());
loadModel.detach();
}
Hope this helps
Sven
-Ursprüngliche Nachricht-
Von: bilgisever [mailto:mehmetate...@hotmail.com
the javadoc says the key to use is PatternValidator not pattern. to make it
specific to a field use fieldid.PatternValdiator, in your case you can see
from the log that one of the keys that is tried is zip.PatternValidator
-igor
On Mon, Nov 14, 2011 at 12:03 PM, anantasthana wrote:
> Here is t
Thanks that workes perfectly
-Original Message-
From: Igor Vaynberg
Date: Tue, 15 Nov 2011 07:20:44
To:
Reply-To: users@wicket.apache.org
Subject: Re: Customizing Error / Validation messages
the javadoc says the key to use is PatternValidator not pattern. to make it
specific to a field
if you want to learn how to use CDI with Wicket i just wrote a short blog
about it:
https://www.42lines.net/2011/11/15/integrating-cdi-into-wicket/
-igor
I'm trying to use the wicketstuff.org JSR-303 validation project to use
Hibernate Validator in my
newish Wicket project.
I have a FormComponentPanel with a model object set up for JSR-303 validation,
but we are
using vanilla Wicket Validators for it. To test the FormComponentPanel, I
wrote a t
Hi,
On Tue, Nov 15, 2011 at 8:09 PM, Jablow, Eric R wrote:
> I'm trying to use the wicketstuff.org JSR-303 validation project to use
> Hibernate Validator in my
> newish Wicket project.
>
> I have a FormComponentPanel with a model object set up for JSR-303
> validation, but we are
> using vanil
Hi,
I have to call an external url (a rest web service) from onSubmit of a
form.
I found this solution:
|throw new RedirectToUrlException(
"http://www.facebook.com/login.php?api_key="+ _apiKey + "&v=1.0",
HttpServletResponse.SC_MOVED_PERMANENTLY);
but it is just a redirect and I canno
Hey all,
I have a requirement where I'd like to create a Wicket Session outside of a
Wicket request:
My application runs stand-alone (no problem here) and as a Facebook
application. Facebook calls my REST authentication service with a user's
credentials if they open my application in facebook. At
Apache Shiro, and create a shiro version of WebSession. Then wicket can
ask for the Shio Session from the Http context, and you can get it
outside the context.
David
-Original Message-
From: Thomas Heigl [mailto:tho...@umschalt.com]
Sent: Tuesday, November 15, 2011 10:57 AM
To: users@wic
Hey David,
Thanks for your reply! I have thought about using Spring Security or Shire,
but at the moment the minimal wicket-auth-roles is enough for my
requirements. I'd prefer to just create the session myself when I need it.
Any other ideas?
Cheers,
THomas
On Tue, Nov 15, 2011 at 8:02 PM, Da
You can integrate Shiro with auth-roles very easily. Just create
ShiroAuthenticatedWebSession.
package com.wicketized.extension.security;
import java.util.LinkedList;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subjec
That's interesting I was trying to do some thing similar n eariler and just
dropped it. Is it possible to use wicket shiro instead?
-Original Message-
From: "David Berkman"
Date: Tue, 15 Nov 2011 11:09:10
To:
Reply-To: users@wicket.apache.org
Subject: RE: Creating a Wicket Session outsi
Don't know. It was easy enough I just rolled my own.
David
-Original Message-
From: anant.a...@gmail.com [mailto:anant.a...@gmail.com]
Sent: Tuesday, November 15, 2011 11:36 AM
To: users@wicket.apache.org
Subject: Re: Creating a Wicket Session outside of a Wicket request
That's interest
Hello,
I am trying to write some unit tests for my wicket application. My
webpage has a custom constructor.
public DefaultErrorPage(String message) {
add(new Label("message", message);
}
For this, I followed the steps mentioned in
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/util/
That looks quite straight forward, but wouldn't I still have the same
problem I'm currently facing? The ShiroWebSession is still just a normal
wicket session that can't be created from outside the Wicket request.
Or are you suggesting to login the subject using "raw" Shiro and then check
in the ne
Normally, wicket wraps HttpSession, which you can't get outside of an
HttpRequest. Shiro provides a session you can get from a pojo context.
If your code and wicket use the Shiro session, then you can hold the
same session both inside and outside the HttpRequest. Shiro will
remember your login if y
it is usually helpful to post a strack trace. also, isnt there a
tester.startPage(Page)?
-igor
On Tue, Nov 15, 2011 at 12:04 PM, sudeivas wrote:
> Hello,
> I am trying to write some unit tests for my wicket application. My
> webpage has a custom constructor.
>
> public DefaultErrorPage(String
Stack Trace:
java.lang.NullPointerException
at
org.apache.wicket.protocol.http.MockHttpServletRequest.setRequestToComponent(MockHttpServletRequest.java:1222)
at
org.apache.wicket.util.tester.BaseWicketTester.executeListener(BaseWicketTester.java:260)
at
org.apache.wicket.ut
I have found the solution.
getRequestCycle().replaceAllRequestHandlers(new RedirectRequestHandler
(logoutPageUrl(isGuest)));
Works!
-Original Message-
From: Fang Lin [mailto:fang...@u.washington.edu]
Sent: Tuesday, November 15, 2011 1:31 PM
To: users@wicket.apache.org
Subject: Issue with
I took your advice and I am trying to use this project. I have some teething
pains.
>See https://github.com/42Lines/wicket-bean-validation
>http://repo1.maven.org/maven2/net/ftlines/wicket-bean-validation/
>
I removed the wicketstuff.org jsr303 repository and added the ftlines one. I
also notic
i just pushed version 1.1 into the maven repo. this one should fix
dependencies (it depends on wicket-1.5.3). it should be synced within a
couple of hours. if you want to try it sooner you can clone the repo,
checkout the 'release/1.1' tag and mvn install it locally.
-igor
On Tue, Nov 15, 2011 a
I was using version 1.4.3 and recently updated to 1.4.19. I am trying
to prevent the double click of the Finish button causing a double submit
on the finish step of a wizard.
Was this resolved between version 1.4.3 and 1.4.19? Hopefully it was.
If not...
There was mention of this in the f
with jquery have you tried saying $(button).attr("disabled", "disabled") ?
-igor
On Tue, Nov 15, 2011 at 3:29 PM, Jeffrey Schneller <
jeffrey.schnel...@envisa.com> wrote:
> I was using version 1.4.3 and recently updated to 1.4.19. I am trying
> to prevent the double click of the Finish button c
I have. I even added a breakpoint in my onFinish code to be sure that
it was getting there.
I do the bind to the click event in the document onReady. It definitely
fires the jquery but the onFinish code is never executed.
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gm
I am using Wicket 1.5.x with tag. I tried rendering the child
component (Wicket Panel) CSS / JS 1st then followed by the parent. It didn't
work. It always renders the parent (Wicket WebPage) JS 1st. I used
-DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRender
are you not using maven?
-igor
On Tue, Nov 15, 2011 at 6:21 PM, sudeivas wrote:
> I upgraded from 1.4 to 1.5.3. Now I am getting a different error,
>
> Stack trace:
>
> java.lang.NoClassDefFoundError: org/apache/velocity/app/Velocity
>at org.apache.wicket.velocity.Initializer.init(Initi
Hi,
This exception means that you have wicket-velocity.jar in the
classpath but velocity.jar is not there.
On Wed, Nov 16, 2011 at 4:21 AM, sudeivas wrote:
> I upgraded from 1.4 to 1.5.3. Now I am getting a different error,
>
> Stack trace:
>
> java.lang.NoClassDefFoundError: org/apache/velocity
Hi,
On Tue, Nov 15, 2011 at 8:45 PM, Alberto wrote:
>
> Hi,
> I have to call an external url (a rest web service) from onSubmit of a
> form.
> I found this solution:
>
> |throw new RedirectToUrlException(
> "http://www.facebook.com/login.php?api_key="+ _apiKey + "&v=1.0",
> HttpServletResp
Hello,
Following the release of wicket 1.5.3 have cut a matching
wicketstuff-core release.
The artifacts have been promoted and will be available in maven central
soon (within 1-2 hours).
They can be retrieved like this:
org.wicketstuff
wicketstuff-tinymce
1.5.3
The release tag is here:
Hi,
Please file a ticket with a quickstart to debug what is happening.
I'm almost sure that the reason is the fact that a IMarkupFilter
handles and this is handled earlier than the header
render phase but let's see what can be done.
On Wed, Nov 16, 2011 at 5:07 AM, TH Lim wrote:
> I am using Wi
Thank you, Mike!
I've tested the build and the examples of wicket-facebook and they worked fine.
On Wed, Nov 16, 2011 at 9:22 AM, Michael O'Cleirigh
wrote:
> Hello,
>
> Following the release of wicket 1.5.3 have cut a matching wicketstuff-core
> release.
>
> The artifacts have been promoted and
With Wicket 1.5, can we have a WebPage that serves XML / JSON without having
an associated XML or HTML page? I understood how XMLPage.java example works
but I just wander if we could do *without* the additional template file with
a simple Wicket Label and stream tens of megabytes of XML/JSON as out
See org.apache.wicket.markup.IMarkupResourceStreamProvider
On Wed, Nov 16, 2011 at 9:31 AM, TH Lim wrote:
> With Wicket 1.5, can we have a WebPage that serves XML / JSON without having
> an associated XML or HTML page? I understood how XMLPage.java example works
> but I just wander if we could d
43 matches
Mail list logo