Hi,
I observed that when I've a nested (second level) dialog with multipart form
in it, after submitting this form, first level dialog form submit results a
multipart form submit instead of normal form submit.
I've attached a quick start to reproduce this.
Steps:
1. Click the link on home page
find out resolution myself
sorry for the noise, I shouldn't send emails in the middle of the night :((
On Fri, May 20, 2016 at 12:07 AM, Maxim Solodovnik
wrote:
> Hello Sebastien,
>
> I'm trying to add tabs to form dialog
>
> I'm add behavior to the constructor:
> add(new
Hi All
I am trying to integrate CDI and EJB with wicket 7. I am running the latest
release so 7.3.0 etc and wicket-cdi-1.1. I am having to use
Noncontextual.of().inject(this) for some resource however when I run the
application I am getting the following error.
23:18:58,632 INFO
Ah cool, I’ll give that a whirl.
-Lon
On Thu, May 19, 2016 at 9:55 AM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> IComponentAssignedModel?
>
> On Thu, May 19, 2016 at 6:52 PM, Lon Varscsak
> wrote:
>
> > Hey Sven, I considered this, but realized that
Hello Sebastien,
I'm trying to add tabs to form dialog
I'm add behavior to the constructor:
add(new JQueryUIBehavior("#tabs", "tabs"));
I'm adding JS code to onOpen handler
handler.appendJavaScript("$('#tabs').tabs();");
no luck :( no tabs being displayed :(
What am I doing wrong?
--
WBR
IComponentAssignedModel?
On Thu, May 19, 2016 at 6:52 PM, Lon Varscsak
wrote:
> Hey Sven, I considered this, but realized that models don’t have access to
> the component, so I wasn’t sure how I would report the errors. Any tips
> would be appreciated.
>
> -Lon
>
> On
Hey Martin, well the exception is being thrown during the form submit
processing, but it just ends up as a big error on the page.
On Thu, May 19, 2016 at 12:00 AM, Martin Grigorov
wrote:
> Hi,
>
> Wicket cares about validation errors only during form submit processing.
>
Hey Sven, I considered this, but realized that models don’t have access to
the component, so I wasn’t sure how I would report the errors. Any tips
would be appreciated.
-Lon
On Thu, May 19, 2016 at 7:08 AM, Sven Meier wrote:
> Hi,
>
> you could use a custom model wrapper
Hi,
you could use a custom model wrapper catching your exceptions and
reporting them as error messages.
Have fun
Sven
On 19.05.2016 00:23, Lon Varscsak wrote:
Hey guys,
I have some business logic where when the set method is called, it first
validates the value. In finding a “bad” value,
Hi,
for parameters StringResourceModel uses Java's MessageFormat (which does
its own conversion).
All properties interpolated from an optional nested model are properly
converted by Wicket:
new StringResourceModel("foo.bar", nestedModel);
Have fun
Sven
On 19.05.2016 10:45, Marieke
> but I am not getting feedback message when there is some error.
In case of a redirection, you need to notify the message to the session,
not to the page/component.
ie: Session.get().warn(message);
On Thu, May 19, 2016 at 11:04 AM, Martin Grigorov
wrote:
> Hi,
>
> If
What I mean is that if by some way a hacker snatches my POST request and the
POSTDATA is encrypted, they could still insert malicious data to the form from
URL if the form fields contain an error. The chances of an attack here are very
slim but existent. I cannot use cryptomapper due to our
Hi,
If you use AjaxLink then you don't submit any data. You may try
AjaxSubmitLink instead.
Please give more information about "but setResponsePage is not working".
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, May 19, 2016 at 10:11 AM, Sarang
Hello Josh,
I am stuck in similar situation only. When I hit on the link, I want to show
feedback message if there are some mandatory fields unfilled otherwise I
want to redirect using setResponsePage. If i use AjaxLink then I get
feedback message properly but setResponsePage is not working. When
Hi,
Really? Isn't that something that should be managed by wicket? I thought
this was going to be default behavior, so maybe other people will also
think that..
Should I create a jira change request for this?
2016-05-19 10:41 GMT+02:00 Martin Grigorov :
> Hi,
>
> You will
Hi,
You will have to do it yourself. The converters are used only by the
components.
In your case I guess you'll have to do something like:
String converted = converterLocator.get(Double.class).convert(1.2d)
new StringResourceModel("MYLABEL").setParameters(converted).
Martin Grigorov
Wicket
Dear,
I use the new method within Wicket 7 (currently using 7.3.0) :
new StringResourceModel("MYLABEL").setParameters(new double(1.2)).
Also in my application I have a ConverterLocator defined, which converts
doubles.
But I don't think this conversion is used within my StringResourceModel.
Is
Sorry, but your email is hardly readable.
You may use some pastebin service for the code.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, May 19, 2016 at 10:13 AM, Hans-Heinrich Braun <
hansheinrichbr...@yahoo.de.invalid> wrote:
> I tested a little bit but
I tested a little bit but the reason is not so obviousthere is a series of
DropDowbFields where each sets the choices for the next protected IModel
selectedLand=new EntityModel(Land.class,null); protected IModel
selectedOrt=new EntityModel(Orte.class,null);; protected IModel
Hi,
No one else answered your email and I guess they have the same problem as
me - I don't really understand the problem you describe.
You submit some form. Then you _intercept_ the request somehow and you
append some extra data. And finally your concern is that there is extra
data.
What I
Hi,
Wicket cares about validation errors only during form submit processing.
In your case you could throw ConversionException during the 'convertInput'
phase.
I.e. in the beginning of the form submit processing Wicket will try to
convert the String input to the backend object (e.g. a String to
Hi,
Show us some code please!
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, May 19, 2016 at 4:19 AM, hansheinrichbraun <
hansheinrichbr...@yahoo.de.invalid> wrote:
>
> i use forms with DropDownChoices with fields which are IModel. When i test
> in real
22 matches
Mail list logo