Hi,
On Thu, Mar 13, 2014 at 3:15 AM, nazeem wrote:
> Thanks Niranjan & Swen, I managed to add this js to block backspace when
> not
> on focus on form fields. I believe this fix will not be required when we
> get
> Wicket 7 ajax history support ?
>
Ajax history support is not in the roadmap fo
Hi,
On Wed, Mar 12, 2014 at 9:52 PM, Aaron J. Garcia wrote:
>
>
> Martin Grigorov apache.org> writes:
>
> >
> > Hi,
> >
> > It sounds like an issue with the IDE.
> > What is the produced url with the custom jsession id ? Does it work if
> you
> > paste this url directly in the browser address
We just use a configuration property in our application that is stored in our
"properties" database table. So our solution really doesn't involve wicket
at all.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/The-wicket-way-of-getting-application-base-URL-tp4664925p466
I think that such a configuration option is likely your only choice, and is
something I often see in other webapps. The only other option I can think
of would be if the proxy was passing a header with the original requested
URL. However, I don't see such functionality in mod_proxy (at least from a
Hi Martin,
if found the reason why the data is not freed in onInvalidate,
the Spring/Hibernate update to the database issues a "There is no
application attached to current thread
ContainerBackgroundProcessor[StandardEngine[Catalina]]". Is this a wicket
or a tomcat issue?
Best Regards
Daniela
2014
Hi,
Maybe it is a problem in your code ;-)
In case of session expiration this method is called in a non-worker
thread, i.e.
* there are no thread locals exported for the Application, RequestCycle
and Session.
* The Session is the current instance. The Application can be found by
using
* {@lin
How do you submit a form via WicketTester and an AjaxSubmitLink?
*HomePage.java:*
public class HomePage extends WebPage
{
private static final long serialVersionUID = 1L;
private String email;
public HomePage( final PageParameters parameters )
{
super( parameters );
Form form = new Form( "f
Hi,
See the javadoc of
org.apache.wicket.util.tester.BaseWicketTester#clickLink(java.lang.String,
boolean)
Martin Grigorov
Wicket Training and Consulting
On Thu, Mar 13, 2014 at 8:06 PM, Nick Pratt wrote:
> How do you submit a form via WicketTester and an AjaxSubmitLink?
>
>
> *HomePage.java:
Any reason that the FormTester.submit() couldn't be modified to check the
type of the form submitter, and invoke the correct code accordingly?
N
On Thu, Mar 13, 2014 at 3:28 PM, Martin Grigorov wrote:
> Hi,
>
> See the javadoc of
> org.apache.wicket.util.tester.BaseWicketTester#clickLink(java.l
As Martin said you can use :
tester.clickLink("form:submit", true);
You can also use :
tester.executeAjaxEvent("form:submit", "onclick");
Regards,
Gabriel.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Testing-Form-with-AjaxSubmitLink-tp4664946p4664949.html
Sent
There is something similar already
- org.apache.wicket.util.tester.FormTester#submitLink
But it doesn't support Ajax at the moment.
Feel free to send a PR (preferably with a test case)
Martin Grigorov
Wicket Training and Consulting
On Thu, Mar 13, 2014 at 9:53 PM, Nick Pratt wrote:
> Any reas
I am using wicket 6.14.0.
I have a RequestCycleListener that listens for onException. I handle
PageExpiredException, UnauthorizedInstantiationException(this is custom),
and by default I redirect to a custom ErrorPage class that takes the
Exception object in the constructor. It also contains a list
Hi,
i'm trying to migrate my application from 1.4 to 6.14. i have a class
extending the DataTable and it seems not working after the migration.
i tried replacing the extended class with the DataTable class and it worked
fine.
this is my code for extending the DataTable class.
public class Te
13 matches
Mail list logo