I have narrowed the behaviour that prevents our MyExpiredPage appearing
to this code below, specifically the StringEqualsValidator.
captchaToken = new
RequiredTextField("captchaToken",
new PropertyModel(this,
"captchaEntered"))
{
But according the below link,
https://issues.apache.org/jira/browse/WICKET-4454
The page should be repainted instead of showing ComponentNotFoundException.
I am using wicket 1.5.6. Why am I seeing ComponentNotFoundException? Anyway
to fix this?
-Suresh
--
View this message in context:
http://ap
I believe
org.apache.wicket.settings.IPageSettings#setRecreateMountedPagesAfterExpiry()
is default to true. So I didn't set anything in my application. I mounted
all the pages. I am handling only couple of exceptions on my application and
for others I just return 'null' in onException() method. Hop
Hi,
This is for wicket 1.4.20.
In our WebApplication subclass we have used:
getApplicationSettings().setPageExpiredErrorPage(MyExpiredPage.class);
However after session has expired on one of our pages, if I submit the
(fairly complex) form, the form error message is shown. By this I mean
that p
Hello,
I am using CompoundPropertyModel with some text fields. One of them is:
Later, when I try to enter invalid value for that field like "qwerty" (not
decimal type), I got validation message that wrong value entered. Even if I
have not added type validator.
But today, after I try to enter no
Hello,
I am using CompoundPropertyModel with some text fields. One of them is:
Later, when I try to enter invalid value for that field like "qwerty" (not
decimal type), I got validation message that wrong value entered. Even if I
have not added type validator.
But today, after I try to enter no
Hello,
I am using CompoundPropertyModel with some text fields. One of them is:
Later, when I try to enter invalid value for that field like "qwerty" (not
decimal type), I got validation message that wrong value entered. Even if I
have not added type validator.
But today, after I try to enter no
Hello,
I am using CompoundPropertyModel with some text fields. One of them is:
Later, when I try to enter invalid value for that field like "qwerty" (not
decimal type), I got validation message that wrong value entered. Even if I
have not added type validator.
But today, after I try to enter no
You can also use url like: path/to/page/tab2
where 'tab2' is an indexed parameter. In this case you will have its
value in the page's constructor and you can load the page with 'tab2'
pre-selected.
On Tue, May 29, 2012 at 9:51 PM, kevjay wrote:
> Thanks for the explanation. This is what I was lo
Thanks for the explanation. This is what I was looking for.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Pretty-URLs-for-AjaxLazyLoadPanel-tp4649499p4649555.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
You can simulate this by using the fragment part of the url, a.k.a. the hash.
For example the url may look like: path/to/page#tab2
Then the page will be loaded with tab1 selected but a onDomReady
script can click on tab2 if it is not the currently selected and an
Ajax call will do the switch.
Thanks for the reply Martin. Basically, my use case is to provide a "pretty"
URL that will have the non-default tab already selected. The desired tab is
selected if I provide a URL like
http://localhost:/?1-1.ILinkListener-tabs-tabs~container-tabs-2-link,
but I was hoping to be able to contro
Hi,
It is a bit more complicated.
On Tue, May 29, 2012 at 7:00 PM, sudeivas wrote:
> With the above code changes, I made a simple test case,
>
> 1. Ajax Button which will throw StalePageException.
> Result: The page reloaded itself without going to the error page.
>
> 2. Ajax Button which will t
With the above code changes, I made a simple test case,
1. Ajax Button which will throw StalePageException.
Result: The page reloaded itself without going to the error page.
2. Ajax Button which will throw PageExpiredException.
Result: Error page
3. Ajax Button which will throw ComponentNotFound
If I understand you correctly, your aim is to be able to rapidly prototype
processes to be reviewed by customers/POs etc. Wouldn't a tool like "Balsamiq
Mockups" or some other wireframing tool be more suitable for that purpose?
You also mentioned that the prototype should be created "by some one
Tom,
Something else. I experienced the advantages to have mock up pages
working in another company with Adobe Flex. These pages are added to the
analysis and the clients could have in advance a vivid experience.
Fernando Wermus.
www.linkedin.com/in/fernandowermus
On Tue, May 29, 2012 at 1
Tom,
Thanks you for the review.
The idea is that some pages are not implemented, tough they are declared by
some one who do not know how to program. A page implemented by us read the
form and instance all the components. We have wizards and they can show
the mock up to third workers. When th
Hi, Martin.
"First, sorry for any mistakes, but I am Brazilian and my English is not
very good." :-)
I need your help. I found exactly the same problems you, as follows:
*
// This page will be redirect to a page intercepting
public class Checkout extends WebPage {
User loggedInUser = sessi
Estou utilizando páginas interceptadores. Comumente, estou redirecionando
para uma tela de login, caso o usuário não esteja logado no sistema. Após se
logar, o sistema deverá retornar para a página anterior. O método foi
implementado conforme documentação descrita do site da Apache Wicket
(https://
Thanks a lot. That works like a charm.
cheers
On Mon, May 28, 2012 at 9:02 AM, Martin Grigorov wrote:
> Hi,
>
> Do something like:
> img = new NonCachingImage(...);
> img.add(new AttributeModifier("onload", "yourStuffHere"));
> form.add(img);
>
> On Mon, May 28, 2012 at 1:21 AM, Pasithee Jupite
I'm not convinced yet that this is really a good idea (how to deal with
constructor arguments for validators? What is the advantage of having all in
html effectively?) but as a starting point you could look at
AbstractMarkupFilter (e.g. see how WicketRemoveTagHandler and other
implementations w
21 matches
Mail list logo