needs to be any checking of that string.
> >
> > Or is there an actual security impact that I'm missing?
> >
> > Carl-Eric
> >
> > On Mon, 25 May 2020 20:47:36 +0200
> > Daniel Stoch wrote:
> >
> > > Hi,
> > >
> > > Each resou
dVersion)) {
response.setCacheDurationToMaximum();
response.setCacheScope(WebResponse.CacheScope.PUBLIC);
}
}
--
Best regards,
Daniel Stoch
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi,
Do you have a knowledge how to protect a Wicket application against
such a problem:
http://cwe.mitre.org/data/definitions/601.html
In short: redirect request can be intercepted and the attacker can
change Host header to another value.
Can it be done on application (Wicket, Java Servlet)
> Thanks
> Sven
>
> On 01.08.19 10:57, Daniel Stoch wrote:
> > Correction to my previous message (I have debugged this more precisely):
> >
> > AbstractWebSocketProcessor.onClose method is called in both Jetty
> > versions (not only in a newer one).
> > The dif
is still open
So message is broadcasted only in a newer version.
--
Daniel
On Thu, Aug 1, 2019 at 10:25 AM Daniel Stoch wrote:
>
> Hi,
>
> We are using web sockets (with wicket-native-core) on many pages in
> our application. After upgrade a Jetty from 9.4.12.v20180830 to a
> ne
not care and current behaviour does not affect performance?
--
Best regards,
Daniel Stoch
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi,
DefaultExceptionMapper handles by default some "internal" exceptions.
You can look at the thread "Marker interface for "internal"
exceptions" on this list (Jun 02, 2014). ResponseIOException is one of
them, but when this kind of exception occurs then an error is logged
in
Hi,
I am trying to solve WICKET-5588. I want to add some ordering
information (key-value) to responses for ajax and websocket. This
information then will be read on client side (JS) to handle proper
processing order of responses. But I cannot find a good entry point to
add such generic
t any
> validation.
> Actually if Wicket rejects it then you won't be able to update your
> resources in new application versions.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, May 31, 2016 at 4:51 PM, Daniel Stoch <daniel.st.
Hi,
By default Wicket (6.x) uses IResourceCachingStrategy which generates
resource urls like this one:
http://host/myapp/wicket/resource/com.mycompany.BootstrapBehavior/js/timepicker/bootstrap-timepicker-ver-1E0DAFB24FE33C93370DE13BF6FFE77F.js
But as a user I can generate almost any version
e problem.
>
> Best regards
> Sven
>
>
>
> On 08.01.2016 18:19, Daniel Stoch wrote:
>>
>> Hi,
>>
>> I have upgraded Wicket from 6.17.0 to 6.21.0. And there is some
>> problem after this upgrade. I am using UrlPathPageParametersEncoder so
>> my page
Hi,
I have upgraded Wicket from 6.17.0 to 6.21.0. And there is some
problem after this upgrade. I am using UrlPathPageParametersEncoder so
my page parameters are encoded like:
/param1Name/param1Value/param2Name/param2Value
Sample scenario to reproduce this problem:
1. User enters a bookmarkable
On Fri, Jan 1, 2016 at 10:25 PM, Martin Grigorov <mgrigo...@apache.org> wrote:
> Hi,
>
>
> On Mon, Dec 28, 2015 at 4:49 PM, Daniel Stoch <daniel.st...@gmail.com>
> wrote:
>
>> Hi,
>>
>> As I wrote in my previous post "Native WebSockets - cookie
On Fri, Jan 1, 2016 at 10:26 PM, Martin Grigorov <mgrigo...@apache.org> wrote:
> Hi,
>
> On Tue, Dec 29, 2015 at 2:14 PM, Daniel Stoch <daniel.st...@gmail.com>
> wrote:
>
>> Another problem with WebSocketRequest:
>>
>> @Override
>>
)
at org.apache.wicket.request.Request.getRequestParameters(Request.java:136)
Maybe these methods should better return empty Url instead of null (
return new Url(); )?
--
Daniel
On Mon, Dec 28, 2015 at 4:49 PM, Daniel Stoch <daniel.st...@gmail.com> wrote:
> Hi,
>
> As I wrote in m
Hi,
As I wrote in my previous post "Native WebSockets - cookies and last
handler question": In WebSocketResponse many methods throws
UnsupportedOperationException. Some of them can be customized now
thanks to WICKET-6054.
But I have found another problem with WebSocketResponse.sendRedirect()
Hi,
I am during replacement Atmosphere push implementation to Wicket
Native WebSockets. I have an abstraction layer over it, so I can
replace only implementation and easily switch between these two
solutions and compare them. I have a couple of questions about Native
WebSockets:
1. In
On Wed, Dec 23, 2015 at 2:34 PM, Martin Grigorov <mgrigo...@apache.org> wrote:
> Hi,
>
>
> On Wed, Dec 23, 2015 at 2:21 PM, Daniel Stoch <daniel.st...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I am during replacement Atmosphere push implementation to Wi
On Wed, Dec 23, 2015 at 3:41 PM, Martin Grigorov <mgrigo...@apache.org> wrote:
> On Wed, Dec 23, 2015 at 2:52 PM, Daniel Stoch <daniel.st...@gmail.com>
> wrote:
>
>> On Wed, Dec 23, 2015 at 2:34 PM, Martin Grigorov <mgrigo...@apache.org>
>> wrote:
>> &
> this required check will always be true.
Will always be FALSE of course :)
--
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi,
What contract should be for FormComponent.getConvertedInput() method,
for components like ListMultipleChoice, which operates on Collection
of objects? When there are no selected values this method (exactly:
convertedInput field) should be set on empty Collection (0 sized) or
null object?
For
for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Jul 20, 2015 at 1:54 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
In Wicket (AFAIK) we keeps only actual page reference in a web
session, all other pages as serialized to a page store
. In its onXyz()
callbacks it will use the pageId to lookup the page, then it will search
for an AtmosphereBehavior in the page to do its job (if this is required).
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Aug 11, 2015 at 1:20 PM, Daniel Stoch
://twitter.com/mtgrigorov
On Mon, Jul 20, 2015 at 1:54 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
In Wicket (AFAIK) we keeps only actual page reference in a web
session, all other pages as serialized to a page store.
AtmosphereBehavior registers itself as a listener to
AtmosphereResource
Hi,
In Wicket (AFAIK) we keeps only actual page reference in a web
session, all other pages as serialized to a page store.
AtmosphereBehavior registers itself as a listener to
AtmosphereResource object. Because of this Atmosphere keeps references
to all registered pages (until such resource
Hi,
In Wicket 1.4 I can get a page parameter value using this code:
PageParameters pageParameters = requestCycle.getPageParameters();
String value = pageParameters.getString(paramName);
The problem is that in Wicket 6 there is no equivalent. I have tried
with this solution:
Well this workaround from my previous post does not work, because this
page does not exists yet when I need to get this parameter value.
--
Daniel
On Mon, Jan 19, 2015 at 4:16 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Maybe such workaround (not very elegant though):
app.init
On Mon, Jan 19, 2015 at 4:54 PM, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
On Mon, Jan 19, 2015 at 4:38 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
In Wicket 1.4 I can get a page parameter value using this code:
PageParameters pageParameters
, Jan 19, 2015 at 5:12 PM, Daniel Stoch daniel.st...@gmail.com wrote:
requestCycle.getRequest().getUrl() return null for me. - sorry, not
null but returns only a mount path without paramname/paramvalue part.
On Mon, Jan 19, 2015 at 5:09 PM, Daniel Stoch daniel.st...@gmail.com wrote:
On Mon, Jan
=
getCurrentPage(requestCycle.getPageParameters());
String value = pageParameters.getString(paramName);
} ...
?
--
Daniel
On Mon, Jan 19, 2015 at 3:38 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
In Wicket 1.4 I can get a page parameter value using this code:
PageParameters
requestCycle.getRequest().getUrl() return null for me. - sorry, not
null but returns only a mount path without paramname/paramvalue part.
On Mon, Jan 19, 2015 at 5:09 PM, Daniel Stoch daniel.st...@gmail.com wrote:
On Mon, Jan 19, 2015 at 4:54 PM, Martin Grigorov mgrigo...@apache.org wrote:
Hi
class is this code ?
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Jan 19, 2015 at 6:20 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Sorry, my fault - I forgot to pass a parameter.
So:
requestCycle.getRequest().getUrl()
returns full path including
I have found another solution: in my scenario I can get parameters
from DefaultMapperContext.
newPageInstance(). Thanks for your help and tips.
--
Daniel
On Mon, Jan 19, 2015 at 5:44 PM, Daniel Stoch daniel.st...@gmail.com wrote:
This code is called inside custom
.
It seems Atmosphere 2.20+ provides the solution by itself so Wicket's one
is not needed anymore.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Jan 9, 2015 at 3:41 PM, Daniel Stoch daniel.st...@gmail.com wrote:
On Fri, Jan 9, 2015 at 2:37 PM, Martin
Hi,
In the most recent version of atmosphere-example the init-params were
changed in servlet configuration (in web.xml).
From:
init-param
param-nameorg.atmosphere.cpr.broadcastFilterClasses/param-name
param-valueorg.apache.wicket.atmosphere.TrackMessageSizeFilter/param-value
/init-param
To:
9, 2015 at 11:07 AM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
In the most recent version of atmosphere-example the init-params were
changed in servlet configuration (in web.xml).
From:
init-param
param-nameorg.atmosphere.cpr.broadcastFilterClasses/param-name
param
Hi,
Is it possible that there is some issue with simultaneous access to a
page by different threads using wicket-atmosphere integration? From
time to time, when system send many server events to page, such error
can occurs - in onConfigure method I call setVisible on some children
components:
AtmosphereBehavior.renderHead in ajax requests?
--
Daniel
On Wed, Dec 10, 2014 at 12:19 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
It seems that I am using an older version of AtmosphereBehavior which
implements IResourceListener. Since 6.17.0 this implementation was
removed and the code
, Dec 12, 2014 at 11:36 AM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
Ok, I think I didn't described a problem well.
When you add a component which subscribes some events, then
AtmosphereBehavior is added to page. But the wicketAtmosphere JS
callback is registered inside
Is it possible to invoke this listener manually, or maybe this is a generally a
bad practise?
--
Daniel
On 9 gru 2014, at 12:24, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
I have a behavior which implements IResourceListener
(AtmosphereBehavior). The problem is when this behavior
to invoke org.apache.wicket.IResourceListener#onResourceRequested
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Wed, Dec 10, 2014 at 11:45 AM, Daniel Stoch daniel.st...@gmail.com
wrote:
Is it possible to invoke this listener manually, or maybe
Hi,
I have a behavior which implements IResourceListener
(AtmosphereBehavior). The problem is when this behavior is added to
page during ajax request (eg. some panel is dynamically added to page)
- then onResourceRequested is not invoked for page. So when using
AtmosphereBehavior the suspended
Hi,
I have a strange error when uploading file using ajax request. I have
a page with parameters whit url like:
http://localhost:8080/myapp/customer/id/1234
When I am opening a modal window with upload form the Wicket-Ajax-BaseURL is:
customer/id/1234?1
and all links in ajax response are
());
After this an url becomes encoded using escaped %2F instead of slashes
(eg. customer%2Fid%2F1234).
This leads to resolving urls problems, as I have described in my previous post.
--
Best regards,
Daniel
On Fri, Nov 7, 2014 at 1:30 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
I have
Hi,
I want to add extra debug information to component markup or modify
existing wicketpath info.
For now it can be easily done by using a custom default
IMarkupSourcingStrategy which has onComponentTag() method. But inside
Component.getMarkupSourcingStrategy() the default strategy is get
using
/some
components.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Oct 2, 2014 at 12:35 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
I want to add extra debug information to component markup or modify
existing wicketpath info.
For now it can
, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Hi,
On Fri, Jul 4, 2014 at 4:59 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Sorry, but for me all these solutions are hacks :).
Why? As far as they are under control... Isn't software development
production controlled hacks? Wicket
Hi all,
I think such question occurs from time to time on this list, but I
have never found a good answer how to solve such problem in general.
The problem is similar to my last question:
the UI?
On Fri, Jul 4, 2014 at 12:13 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi all,
I think such question occurs from time to time on this list, but I
have never found a good answer how to solve such problem in general.
The problem is similar to my last question:
http://apache-wicket
action but by
application. So yes, it can be push from a server (eg. using
Atmosphere - this is my case) or by ajax self updating behavior.
--
DS
On 07/04/2014 12:13 PM, Daniel Stoch wrote:
Hi all,
I think such question occurs from time to time on this list, but I
have never found a good
I have added the appropriate information in that thread.
On Fri, Jul 4, 2014 at 12:47 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Sven's question goes straight to the point: do you know what is causing the
mismacth?
On Fri, Jul 4, 2014 at 12:44 PM, Daniel Stoch daniel.st
are pushed to client browser.
--
Daniel
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Jul 4, 2014 at 1:46 PM, Daniel Stoch daniel.st...@gmail.com wrote:
On Fri, Jul 4, 2014 at 12:33 PM, Sven Meier s...@meiers.net wrote:
So page was rendered
never changing container passing ID of item. This way click will
never fail and it is still sort of object oriented...
On Fri, Jul 4, 2014 at 3:59 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
On Fri, Jul 4, 2014 at 3:14 PM, Martin Grigorov mgrigo...@apache.org
wrote:
Hi,
You can use
Hi,
I have a link (or ajax link) which executes some system command. This
system gives me an information if this command is enabled or not, so I
can mark my link as enabled or disabled (by calling
setEnabled(command.isEnabled()) or overriding link.isEnabled()
method).
1. Page is being rendered,
can always click faster ;).
Best regards
Sven
On 06/17/2014 03:55 PM, Daniel Stoch wrote:
Hi,
I have a link (or ajax link) which executes some system command. This
system gives me an information if this command is enabled or not, so I
can mark my link as enabled or disabled (by calling
On Tue, Jun 17, 2014 at 4:00 PM, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
On Tue, Jun 17, 2014 at 4:55 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
I have a link (or ajax link) which executes some system command. This
system gives me an information if this command is enabled
On Tue, Jun 17, 2014 at 4:27 PM, Sven Meier s...@meiers.net wrote:
Hi,
The next click does not come because exception is raised.
if the link is still enabled, which exception should be thrown then?
Sven
Please read again steps 1,2,3 ;).
Link is rendered as enabled in the browser (1),
in onClick() method.
So now I try to use the second solution (I have an abstraction over
all links so it would be easy to implement) and add an extra check
before calling a link code.
Thanks for your help.
--
Daniel
On 06/17/2014 04:32 PM, Daniel Stoch wrote:
On Tue, Jun 17, 2014 at 4:27 PM, Sven
Hi,
I have modified wicket-atmosphere example with sending messages, to display
a browser (DataView) with all received messages. So when user sends a
message (String) it will be added to list of messages stored in a page and
the browser is refreshed. There is a strange behavior when we open two
Hi,
In Wicket 1.4 the last page reference is hold in a session (is it in 6.x
also?). So after a request has been processed all components and models
should be detached, so this last page reference should not hold transient
LDM values. Is it true?
When we are using DebugBar with
On Fri, Feb 14, 2014 at 4:12 PM, Martin Grigorov mgrigo...@apache.orgwrote:
should be detached, so this last page reference should not hold transient
LDM values. Is it true?
LDM null-yfies its transien field explicitly:
page in the test code. Set it in the real application code.
Martin Grigorov
Wicket Training and Consulting
On Wed, Feb 5, 2014 at 1:47 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
In my real application there are calls to
RequestCycle.setResponsePage(...)
which are hidden by more
I have looked inside 1.4 and the code inside a clickLink() is very similar,
so this is not a case to 6.x. But still it would be nice to have
RequestCycle#setResponsePage() working ;).
--
Daniel
On Thu, Feb 6, 2014 at 10:00 AM, Daniel Stoch daniel.st...@gmail.comwrote:
I have created a new
Hi,
I'm during migration from Wicket 1.4.x to 6.x and I have the following
problem with WicketTester.
I have some secured page, during its initialization some kind of
AuthorizationException is raised. It should end with displaying standard
AccessDeniedPage. Here is a code fragment from test case:
at 10:33 AM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
I'm during migration from Wicket 1.4.x to 6.x and I have the following
problem with WicketTester.
I have some secured page, during its initialization some kind of
AuthorizationException is raised. It should end with displaying
For fast REPLY, of course ;)
On Wed, Feb 5, 2014 at 10:45 AM, Daniel Stoch daniel.st...@gmail.comwrote:
It works!
Thanks for your fast replay :)
--
Daniel
On Wed, Feb 5, 2014 at 10:40 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Try with tester.setExposeExceptions(false) before
(false) before making the request to the
secured page
Martin Grigorov
Wicket Training and Consulting
On Wed, Feb 5, 2014 at 10:33 AM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
I'm during migration from Wicket 1.4.x to 6.x and I have the following
problem with WicketTester.
I have
to the server
so first the page is rendered, then a new request to the default
destination is made, so the home page is rendered and lastRenderedPage
changes
Martin Grigorov
Wicket Training and Consulting
On Wed, Feb 5, 2014 at 11:39 AM, Daniel Stoch daniel.st...@gmail.com
wrote:
One more
)
- in your real application code: Page1 or in its components you can use
setResponsePage(Page2.class)
- finally in the test code: tester.assertRenderedPage(Page2.class)
Martin Grigorov
Wicket Training and Consulting
On Wed, Feb 5, 2014 at 12:18 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Ok
Hi all,
When there is some AJAX activity on page we can show ajax indicator
(using AjaxIndicatorAppender and implementing IAjaxIndicatorAware).
My problem is that I want to show such indicator only when ajax
request takes longer than specified amount of time (eg. 1 second).
But inside a
Hi,
I'm using WicketURLEncoder (1.4.18) to encode some parameter values.
Exactly WicketURLEncoder.QUERY_INSTANCE, but the problem if parameter
value contains / (slash) character, eg.: 1 Mbit/s, which is not
escaped. This cause an error in url coding startegy which is based on
key/value pairs
, 2012 at 2:28 PM, Daniel Stoch daniel.st...@gmail.comwrote:
Hi,
I'm using WicketURLEncoder (1.4.18) to encode some parameter values.
Exactly WicketURLEncoder.QUERY_INSTANCE, but the problem if parameter
value contains / (slash) character, eg.: 1 Mbit/s, which is not
escaped. This cause an error
Hi,
Is it possible to modify tag attribute (eg. add a CSS class) of
component which has set renderBodyOnly flag to true?
When using component.add(new AttributeModifier(...)) it has no effect,
because a tag in which this class attribute is appended is not
rendered in HTML (because of
a
class an that non-existing tag ?!
The easiest way is to remove the call to .setRenderBodyOnly(true).
On Wed, Feb 22, 2012 at 11:38 AM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
Is it possible to modify tag attribute (eg. add a CSS class) of
component which has set renderBodyOnly flag
On Wed, Feb 22, 2012 at 12:11 PM, Martin Grigorov mgrigo...@apache.org wrote:
On Wed, Feb 22, 2012 at 12:01 PM, Daniel Stoch daniel.st...@gmail.com wrote:
No. I want to have a. When you use this LinkContainer from my
example in HTML like:
div wicket:id=link
/div
It will be rendered
On Wed, Feb 22, 2012 at 12:31 PM, Martin Grigorov mgrigo...@apache.org wrote:
On Wed, Feb 22, 2012 at 12:20 PM, Daniel Stoch daniel.st...@gmail.com wrote:
On Wed, Feb 22, 2012 at 12:11 PM, Martin Grigorov mgrigo...@apache.org
wrote:
On Wed, Feb 22, 2012 at 12:01 PM, Daniel Stoch daniel.st
Hi,
Current implementation of AbstractAjaxTimerBehavior has a
functionality to stop() pooling. But once stopped it cannot be
restarted. There are situations when we want to periodically refresh
components from one event to another, but not all the time (to avoid
unnecessary requests to server).
, 2011 at 5:31 PM, manuelbarzi manuelba...@gmail.com wrote:
may HtmlDocumentValidator help you.
.
On Thu, Sep 15, 2011 at 5:05 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
How to display dynamic HTML content on page which can be invalid
(because this HTML is entered by a user). I can use
Hi,
How to display dynamic HTML content on page which can be invalid
(because this HTML is entered by a user). I can use
Label.setEscapeModelStrings(false), but with invalid HTML content the
page will not be rendered (because of HTML parsing error). So maybe I
can use some of standard Wicket
Hi,
Is it a valid behavior that setRenderAllowed(...) method is called for
invisible components (components that are not visible in hierarchy).
I have a use case with DataView component displaying list of links.
When I hide this DataView (eg. by setting dataView.setVisible(false))
then for each
Wicket 1.4.18
On Mon, Sep 5, 2011 at 12:29 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
Is it a valid behavior that setRenderAllowed(...) method is called for
invisible components (components that are not visible in hierarchy).
I have a use case with DataView component displaying list
Hi,
Yes, it should be called also on invisible components, but only when
it is any chance that these components can be rendered. If one of
theirs parents are not visible, then such component will not be
rendered.
In my scenario DataView is visible only when dataView.getItemCount()
0. But it
Maybe I should explain one of use-cases. Let's say we have a form to
enter RSS feed information. There are two TextFields:
- url for RSS feed (urlModel)
- custom RSS feed name (nameModel).
Both are required and both have OnChangeBehavior attached. When user
enter url for RSS the name of it
On Thu, Feb 17, 2011 at 10:37 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
validation is there to make sure the user of the webapp cannot push an
illegal value into a model. it doesnt matter if its just the component
that is being submitted or the entire form. components decide whether
or
be called with a null, and thus no need to check
required.
-igor
On Fri, Feb 18, 2011 at 7:22 AM, Daniel Stoch daniel.st...@gmail.com wrote:
On Thu, Feb 17, 2011 at 10:37 PM, Igor Vaynberg igor.vaynb...@gmail.com
wrote:
validation is there to make sure the user of the webapp cannot push
On Fri, Feb 18, 2011 at 10:09 AM, Daniel Stoch daniel.st...@gmail.com wrote:
My post was only a proposal, because it is not possible to easy extend
AjaxFormComponentUpdatingBehavior because onEvent() is final. I want
to avoid copy/paste code with only a little change. And I think this
change
, but this is ugly solution).
--
Daniel
On Fri, Feb 18, 2011 at 10:50 PM, Pedro Santos pedros...@gmail.com wrote:
Do your use case needs to convert a null input? If the input is differs from
null FormComponent#validate will be just fine.
On Fri, Feb 18, 2011 at 5:20 PM, Daniel Stoch daniel.st
There is a situation when the AjaxFormComponentUpdatingBehavior
deafult functionality fails. When we want to attach this behavior (or
OnChangeAjaxBehavior) to reflect changes inside a Model of
FormComponent which is marked as REQUIRED event if user clears
component input. In such situation
On Thu, Feb 17, 2011 at 6:50 PM, Pedro Santos pedros...@gmail.com wrote:
I Daniel, how alwaysUpdateModel differs from updateModel?
You mean from getUpdateModel()? isAlwaysUpdateModel() is called only
when component is invalid, but getUpdateModel() in both cases (for
valid and invalid).
If you
On Thu, Feb 17, 2011 at 9:02 PM, Pedro Santos pedros...@gmail.com wrote:
Override onError still makes sense for me, if the form component is
required, why to hide the message?
Because I don't want to show such error message when user clears
(update) this required field but only when he press
On Thu, Feb 17, 2011 at 10:01 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
if you want to push a null value into a component you marked required
then dont mark it as required.
No, because then I must have my own customrequired flags instead of
using the core mechanism. I think this is wrong
, because it seems this is the only
solution :).
Maybe it does not make sense from your point of view, but from mine it
does. I think your point of view is sometimes too narrow.
--
Daniel
On Thu, Feb 17, 2011 at 1:33 PM, Daniel Stoch daniel.st...@gmail.com wrote:
On Thu, Feb 17, 2011 at 10:01
Hi,
On Fri, Oct 22, 2010 at 12:53 PM, drf davidrfi...@gmail.com wrote:
I have encountered the following serious issue:
My application consists of one WebPage which has an AjaxTabbedPanel. Each
tab has an associated panel which includes several menu items (links) which
can be selected. This
On Thu, Oct 7, 2010 at 5:47 PM, Mauro Ciancio maurocian...@gmail.com wrote:
It's not so important, but I can't figure out why I have the same bean
instance, taking into account that the page is serialized at the end
of the request and the inyected bean is actually a proxy of the bean,
so no
The code looks ok. Maybe the problem is in childRecordService:
childRecordService.getList()
when method getList() does not reflect changes until you create a new
session. So maybe the problem is related to your service layer? Have
you checked whet this method returns inside
Hi,
Thanks for this change!
My suggestions and optimalization notes:
1. In some cases there is no necessary to create an anonymous class
for each ImageItem (using AbstractImageItem). When @ImageBundle
interface has not locale specified, then SimpleImageItem(String
imageSrc, String imageStyle)
On 2010-04-20, at 19:28, Anantha Kumaran wrote:
Maybe for methods returning an ImageItem a Locale should be a method
argument (but only if image is locale relative). So:
// for not locale relative images
ImageItem getSomeImage();
// for locale related
ImageItem getSomeImage(Locale locale);
And one more thing:
ImageItem interface (and posiibly ImageItemProvider too) should extend
Serializable (or maybe better IClusterable?).
--
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
I have the same problem today (what a coincidence :)).
This works ok for me in Firefox 3.5 and Opera 10, but does not work in
Chrome, Safari and IE.
PS. I'm using Wicket 1.4.4.
DS
On Thu, Feb 4, 2010 at 10:38 AM, MattyDE ufer.mar...@gmail.com wrote:
Any other hints for this right now?
I
Hi all,
Liz Huber wrote:
In our application we use Panels in different variations.
For example: Foot.html, Foot_withTextLinks.html, Foot_withImageLinks.html,
Head.html, Head_error.html
Now we'd additionally like to use different styles.
For example on Valentine's Day all image links in our
1 - 100 of 147 matches
Mail list logo