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 +
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
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
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
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:
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
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:
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.
Yes, the link is a part of the listview.
ListView :
ListViewAstPlans breadList = new ListViewAstPlans(breadList,loadModel)
{
private static final long serialVersionUID = 1L;
@Override
protected void
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
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
Thanks that workes perfectly
-Original Message-
From: Igor Vaynberg igor.vaynb...@gmail.com
Date: Tue, 15 Nov 2011 07:20:44
To: users@wicket.apache.org
Reply-To: users@wicket.apache.org
Subject: Re: Customizing Error / Validation messages
the javadoc says the key to use is
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
Hi,
On Tue, Nov 15, 2011 at 8:09 PM, Jablow, Eric R eric.jab...@mantech.com 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
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 cannot
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.
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:
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,
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
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 david.berk...@glu.com
Date: Tue, 15 Nov 2011 11:09:10
To: users@wicket.apache.org
Reply-To: users@wicket.apache.org
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
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
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
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 sureshkumar@gmail.comwrote:
Hello,
I am trying to write some unit tests for my wicket application. My
webpage has a custom constructor.
public
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
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
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 noticed
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
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
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 causing
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
I am using Wicket 1.5.x with wicket:head 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
are you not using maven?
-igor
On Tue, Nov 15, 2011 at 6:21 PM, sudeivas sureshkumar@gmail.com 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
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 sureshkumar@gmail.com wrote:
I upgraded from 1.4 to 1.5.3. Now I am getting a different error,
Stack trace:
Hi,
On Tue, Nov 15, 2011 at 8:45 PM, Alberto abros...@ogs.trieste.it 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,
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:
dependency
groupIdorg.wicketstuff/groupId
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 wicket:head 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
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
michael.ocleir...@rivulet.ca wrote:
Hello,
Following the release of wicket 1.5.3 have cut a matching wicketstuff-core
release.
The artifacts
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
See org.apache.wicket.markup.IMarkupResourceStreamProvider
On Wed, Nov 16, 2011 at 9:31 AM, TH Lim ssh...@gmail.com 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
42 matches
Mail list logo