Hi, I'm creating a page with a form.
The form asks for personal information and also for information to add some
items.
For example
General information
Name: ___
Lastname: ___
Item information
Item number: ___
Item description: __
Add item (button)
Item number | Description
1
Hi,
nested form should work fine. I mean something like this:
_
| main form
| Name:..
| Lastname:...
|
|
| | item (inner) form
| | item number:...
| | item number:...
| | Add item button
| |__
|
| save button
Hi,
Have you verified that the cookie value is correct? In Cookie javadocs [1]
it reads: With Version 0 cookies, values should not contain white space,
brackets, parentheses, equals signs, commas, double quotes, slashes,
question marks, at signs, colons, and semicolons. Empty values may not
Yes, I have this layout. Is the first I tested.
The problem with this is that when I click Add Item buttom information is
not submitted because general validations stops it. I mean, if I don't
complete name field i can't add items.
It seems like inner form submit is submitting outer form.
This is strange end should not happened:
https://cwiki.apache.org/WICKET/nested-forms.html. Maybe the problem is
on code side. Can you show the initialization code for the two forms?
Yes, I have this layout. Is the first I tested.
The problem with this is that when I click Add Item buttom
Hi, I know it's off topic but I didn't want to create a separate topic for a
simple question.
I've got an error on production server and I cannot reproduce on my
development machine. The error says :
woUploadFilesContainer:calculateButton
Hi, I know it's off topic but I didn't want to create a separate topic for a
simple question.
I've got an error on production server and I cannot reproduce on my
development machine. The error says :
woUploadFilesContainer:calculateButton
Here I have something like a QuickStart.
In this reduced example I can verify this behavior. I checked that link but
it seems to work different.
In this case both submit button do the same. I'm using wicket 1.4.19.
package com.keepcon.web.administration.users;
import java.util.ArrayList;
Hello everyone,
How could I make an @EJB working in an (Extend of) AuthenticatedWebSession?
Somehow they keep staying null, while the EJB's just work in my webpages (
who are extended from WebPage ).
Thanks in advance,
Rick
In Wicket 1.5.3 only Components and Behaviors are auto injected.
For everything else you need to call Innjector.get().inject(this) in
the constructor.
On Mon, Dec 19, 2011 at 6:32 PM, Rick van Son rick.van@foreyet.com wrote:
Hello everyone,
How could I make an @EJB working in an (Extend
I think this happens because you submit your forms with a simple HTML
submit button, not mapped to a Wicket component. Try to explicitly
add a submit component to the forms. I've added SubmitLink to both forms
and forms are submitted as expected.
HTML code:
form wicket:id=form1
form
I think you are right.
Using an AjaxButton it works a litle more like I want.
Nevertheless I still have a problem, because outer form submits inner form.
In my case I think that I need two separated forms, but the problem is how
to put add button y save button in the correct place. I mean, the
Hello, our application is one page and everything is done by ajax. And
tester says that when he comes from lunch all buttons are dead.
Nothing happen when he clicks on links or buttons. I can't reproduce
this behavior because on my machine I always get pageExpiredException
(what is required). Is
Do you have a security filter?
I think may be you have the session expired and ajax requests don't get
wicket filter.
On Mon, Dec 19, 2011 at 3:33 PM, danisevsky danisev...@gmail.com wrote:
Hello, our application is one page and everything is done by ajax. And
tester says that when he comes
I found that if you have a modal window, and then you close it, it is
not possible to reopen it anymore unless you have set a
WindowClosedCallback. This is because WindowClosedBehavior.render()
does not get called.
-
To
WindowClosedBehavior does not have render()...?
-igor
On Mon, Dec 19, 2011 at 11:40 AM, Nelson Segura nsegu...@gmail.com wrote:
I found that if you have a modal window, and then you close it, it is
not possible to reopen it anymore unless you have set a
WindowClosedCallback. This is because
Sorry, I meant respond() ...
On Mon, Dec 19, 2011 at 11:46 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
WindowClosedBehavior does not have render()...?
-igor
On Mon, Dec 19, 2011 at 11:40 AM, Nelson Segura nsegu...@gmail.com wrote:
I found that if you have a modal window, and then you
It worked like a charm. Thanks for the help Martin.
2011/12/19 Martin Grigorov
In Wicket 1.5.3 only Components and Behaviors are auto injected.
For everything else you need to call Innjector.get().inject(this) in
the constructor.
On Mon, Dec 19, 2011 at 6:32 PM, Rick van Son
i took the window closed callback out of the ModalWindowPage in
wicket-examples and was able to close and reopen the modal...please
create a quickstart and attach it to a jira issue.
-igor
On Mon, Dec 19, 2011 at 12:39 PM, Nelson Segura nsegu...@gmail.com wrote:
Sorry, I meant respond() ...
Hi,
I have form with few TextField and DropDownChoice components. All of them have
added AjaxFormComponentUpdatingBehavior( onkeyup ) and are set as required.
Some of them are wrapped in my custom objects, but it does not matter
(validation and processing logic is in behavior).
With this
Hi folks,
On wicket 1.5.1
I have a page that calls a JSON service url in different package. For
simplicity let's just say, Page resides in page package and services
reside in services package. Layout is something as follows
page:
Page
sercices:
ServiceA
ServiceB
Page calls get urlFor
Hi Niranjan,
Url url = RequestCycle.get().mapUrlFor(pageClass, parameters);
String fullurl = RequestCycle.get().getUrlRenderer().renderFullUrl(url);
François
Le 20 déc. 2011 à 03:52, Niranjan Rao a écrit :
Hi folks,
On wicket 1.5.1
I have a page that calls a JSON service url in
22 matches
Mail list logo