Hi guys!
I'm trying create a label contain an error message after ajax request, but
no success. I can't use FeedbackPanel because it changes the design.
So I did:
final Label label = new Label("postalCodeNotExisti");
label.setOutputMarkupId(true);
final RequiredTextField postalCodeComplement = (
Hi!
How I can keep the label's states values after form submit?
My app update the values of 3 labels using ajax, but when the form is
submited and not pass in validation, the label's value are missing.
Thanks!
In a rgister form, I find the address by postal code (ajax) and show in the
page using labels. The user can submit the form (not ajax). if invalid form,
the same page is showed. all the textfields values self keep but the labels
values are missing.
The problem is diferent but is related with the previous post.
How I get the hiddenfield value on Form's onError method?
thanks!
Can anyone tell me where I find a good documentation about this integration?
Thanks!
could you release the wicket code for us?
that would be a great help for the community.
thanks!
Hi!
I need to create a cookie and redirect to page in other app, but when I try
redirect the cookie is not send in response:
Form loginForm = new StatelessForm("loginForm") {
protected void onSubmit() {
try {
Customer authenticatedCustomer =
customerAuthentication.aut
hi guys!
I have been a problem using WicktTester. When I run a simple test, wicket
throws an exception because can't load the template html. But if I access
page via browser, wicket works fine.
the source code:
CustomerApplicationTest.java
http://pastebin.com/tRJ9hNuk
Example.java
http://pastebi
org.apache.wicket.WicketRuntimeException: path: 'Example:username' does not
exist for page: Example
at
org.apache.wicket.util.tester.BaseWicketTester.fail(BaseWicketTester.java:1344)
at
org.apache.wicket.util.tester.BaseWicketTester.getComponentFromLastRenderedPage(BaseWicketTester.java:472
I'm sorry! Blank is the constructor. It is a wrong word, because in my
source the class name is Blank (only for test) and I renamed for Example in
this post!
Yes, the problem is the word void in the constructor. Now is ok!
Thank you guys!
Hi!
I'm trying using WicketTester but I got an error:
org.apache.wicket.markup.MarkupNotFoundException: Markup of type 'html' for
component 'br.com.ecommerce.wicket.pages.ContactPage' not found.
I changed the html dir using the trick with PathStripperLocator class and
this works. But the test not
Hi!
I'm trying using WicketTester but I got an error:
org.apache.wicket.markup.
MarkupNotFoundException: Markup of type 'html' for component
'br.com.ecommerce.wicket.pages.ContactPage' not found.
I changed the html dir using the trick with PathStripperLocator class and
this works. But the test not
I already tried that but failed. Only pass an instance of application class
to the tester don't work. Is need configure the pom.xml too or put the html
dir on build path.
I resolved configuring the pom.xml as:
false
src/main/webapp/WEB-INF/html
Hi!
Is there any name convention for classes using wicket?
I'm using that model: CustomerPage, OrderPanel, ProductAddForm. What you
think about?
Thanks!
Hi!
I need to put in the page a javascript function with name and Id of
customer. I'm using a label component because I don't know others solutions.
Any idea?
Thanks!
Hi!
Is better put a class form as inner class in page or an external file
imported in page?
For example, I did have to add a cookie in onSubmit method so was need to
put the form class inside an WebPage class.
thanks!
Hi!
I'm using wicket in development mode but I need to change to deployment mode
when maven is called. How I configure maven to change that mode when it is
to generate war file?
thanks!
guration with JVM properties too, so
> > you can have always enabled the production mode in web.xml, and override
> > it with your dev server JVM property. See the JavaDoc for
> > Application#getConfigurationType.
> >
> > Regards,
> > Peter
> >
> > 201
Hi!
How to put a loading cursor in ajaxsubmitlink?
thanks!
Hi!
I have a page with 1 statelessform and another form that use ajaxsubmitlink.
I overrides the isStateless method to return false to avoid ajaxsubmitlink
fail but when the normal form is submited wicket throws exception with text:
"... deserializing proxy...".
Is possible have a statelessform and
hi!
what better way to send an object to webpage?
I'm sending in constructor but the URI is not friendly.
thanks!
23 matches
Mail list logo