;t
> > think there 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,
> >
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) leve
anks
> 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
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
WICKET-6565
--
Daniel
On Tue, Jun 26, 2018 at 11:19 PM Sven Meier wrote:
>
> Hi,
>
> I agree that a warning would be more appropriate, maybe we don't need
> the stacktrace either.
>
> Please create an issue.
>
> Thanks
> Sven
>
>
> (WICKET-3570)
>
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 DefaultExceptionMappe
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 information
ually 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
> wrote:
>
>> Hi
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 numbe
> 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 parameters are encoded like:
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 p
On Fri, Jan 1, 2016 at 10:25 PM, Martin Grigorov wrote:
> Hi,
>
>
> On Mon, Dec 28, 2015 at 4:49 PM, Daniel Stoch
> wrote:
>
>> Hi,
>>
>> As I wrote in my previous post "Native WebSockets - cookies and last
>> handler ques
On Fri, Jan 1, 2016 at 10:26 PM, Martin Grigorov wrote:
> Hi,
>
> On Tue, Dec 29, 2015 at 2:14 PM, Daniel Stoch
> wrote:
>
>> Another problem with WebSocketRequest:
>>
>> @Override
>> public Url getUrl()
>> {
>> return n
t.java:128)
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 wrote:
> Hi,
>
> As I wrote in my previous post
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()
meth
On Wed, Dec 23, 2015 at 3:41 PM, Martin Grigorov wrote:
> On Wed, Dec 23, 2015 at 2:52 PM, Daniel Stoch
> wrote:
>
>> On Wed, Dec 23, 2015 at 2:34 PM, Martin Grigorov
>> wrote:
>> > Hi,
>> >
>> >
>> > On Wed, Dec 23, 2015 at 2:21 PM,
On Wed, Dec 23, 2015 at 2:34 PM, Martin Grigorov wrote:
> Hi,
>
>
> On Wed, Dec 23, 2015 at 2:21 PM, Daniel Stoch
> wrote:
>
>> Hi,
>>
>> I am during replacement Atmosphere push implementation to Wicket
>> Native WebSockets. I have an abstracti
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 WebSocketRe
> 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
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, 20
atmosphere
resources are created.
--
Daniel
On Mon, Aug 10, 2015 at 1:38 PM, Martin Grigorov wrote:
> Hi,
>
> Can you point in the code where this happens?
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Mon, Aug 10, 201
and Consulting
> https://twitter.com/mtgrigorov
>
> On Mon, Jul 20, 2015 at 1:54 PM, Daniel Stoch
> wrote:
>
>> Hi,
>>
>> In Wicket (AFAIK) we keeps only actual page reference in a web
>> session, all other pages as serialized to a page store.
>>
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 expire
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 wrote:
> This code is called inside custom
> DefaultMapperContext.newPageIn
s code ?
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Mon, Jan 19, 2015 at 6:20 PM, Daniel Stoch
> wrote:
>
>> Sorry, my fault - I forgot to pass a parameter.
>> So:
>> requestCycle.getRequest().getUr
, Jan 19, 2015 at 5:12 PM, Daniel Stoch 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 wrote:
>> On Mon, Jan 19, 2015
"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 wrote:
> On Mon, Jan 19, 2015 at 4:54 PM, Martin Grigorov wrote:
>> Hi,
>>
>>
On Mon, Jan 19, 2015 at 4:54 PM, Martin Grigorov wrote:
> Hi,
>
> On Mon, Jan 19, 2015 at 4:38 PM, Daniel Stoch
> wrote:
>
>> Hi,
>>
>> In Wicket 1.4 I can get a page parameter value using this code:
>>
>> PageParameters pageParameters = requestC
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 wrote:
> Maybe such workaround (not very elegant though):
>
> app.init():
> getRequestCy
rameters pageParameters =
getCurrentPage(requestCycle.getPageParameters());
String value = pageParameters.getString(paramName);
} ...
?
--
Daniel
On Mon, Jan 19, 2015 at 3:38 PM, Daniel Stoch wrote:
> Hi,
>
> In Wicket 1.4 I can get a page parameter value using this code:
>
> PagePa
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:
IReques
oblem in Atmosphere
>> + Wicket's XML response.
>> 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
>&g
grigorov
>
> On Fri, Jan 9, 2015 at 11:07 AM, Daniel Stoch
> wrote:
>
>> Hi,
>>
>> In the most recent version of atmosphere-example the init-params were
>> changed in servlet configuration (in web.xml).
>>
>> From:
>>
>> org.atm
Hi,
In the most recent version of atmosphere-example the init-params were
changed in servlet configuration (in web.xml).
From:
org.atmosphere.cpr.broadcastFilterClasses
org.apache.wicket.atmosphere.TrackMessageSizeFilter
To:
org.atmosphere.cpr.AtmosphereInterceptor
org.atmosphere.clie
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:
org
Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Dec 12, 2014 at 11:36 AM, Daniel Stoch
> wrote:
>
>> Hi,
>>
>> Ok, I think I didn't described a problem well.
>>
>> When you add a component which subscribes
from AtmosphereBehavior.renderHead in ajax requests?
--
Daniel
On Wed, Dec 10, 2014 at 12:19 PM, Daniel Stoch 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 i
.PageParameters) and use it
> somehow 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
> wrote:
>
>> Is it poss
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 wrote:
>
> Hi,
>
> I have a behavior which implements IResourceListener
> (AtmosphereBehavior). The problem is when this behavior
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 con
ot; +
Wicket.Form.encode(getAjaxBaseUrl());
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 wrote:
> Hi,
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 proper
> components.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Oct 2, 2014 at 12:35 PM, Daniel Stoch
> wrote:
>
>> Hi,
>>
>> I want to add extra debug information to component markup or modify
>> e
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 a
Jul 4, 2014 at 5:36 PM, Ernesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
>> Hi,
>>
>>
>> On Fri, Jul 4, 2014 at 4:59 PM, Daniel Stoch
>> wrote:
>>
>>> Sorry, but for me all these solutions are hacks :).
>>>
>>
>>
and server side
>> 2- The items are pushed but instead of normal AJAX link you use link to
>> the parent 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, 20
re 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 wrote:
>
>> On Fri, Jul 4, 2014 at 12:33 PM, Sven Meier wrote:
>> >> So page wa
I have added the appropriate information in that thread.
On Fri, Jul 4, 2014 at 12:47 PM, Ernesto Reinaldo Barreiro
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
>
ead is not initialized by user 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 q
>
>
> On Fri, Jul 4, 2014 at 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 answer how to solve such problem in general.
>> The problem is similar
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.1842946.n4.nabble.com/How-to-handle-click-on-disabled-links-ListenerInvocationNotAllowedE
check 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 Meier 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), but on
On Tue, Jun 17, 2014 at 4:00 PM, Martin Grigorov wrote:
> Hi,
>
>
> On Tue, Jun 17, 2014 at 4: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 comm
ing push),
but user 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 com
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, c
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
br
On Fri, Feb 14, 2014 at 4:12 PM, Martin Grigorov wrote:
>
> > should be detached, so this last page reference should not hold transient
> > LDM values. Is it true?
> >
>
> LDM null-yfies its transien field explicitly:
>
> https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/a
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 SessionSizeDebugPa
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 wrote:
> I have created a new page with link and t
the new 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
> wrote:
>
> > In my real application there are calls to
> RequestCycle.setResponsePage(..
gt; - 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 St
er"
> 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
ing the request to the
> secured page
>
> Martin Grigorov
> Wicket Training and Consulting
>
>
> On Wed, Feb 5, 2014 at 10:33 AM, Daniel Stoch >wrote:
>
> > Hi,
> >
> > I'm during migration from Wicket 1.4.x to 6.x and I have the following
> &
For fast REPLY, of course ;)
On Wed, Feb 5, 2014 at 10:45 AM, Daniel Stoch wrote:
> It works!
> Thanks for your fast replay :)
>
> --
> Daniel
>
>
> On Wed, Feb 5, 2014 at 10:40 AM, Martin Grigorov wrote:
>
>> Try with tester.setExposeExceptions(false) be
Feb 5, 2014 at 10:33 AM, Daniel Stoch >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
> > A
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:
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 Abstract
6, 2012 at 2:28 PM, Daniel Stoch wrote:
>
>> 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.: &quo
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 (
On Wed, Feb 22, 2012 at 12:31 PM, Martin Grigorov wrote:
> On Wed, Feb 22, 2012 at 12:20 PM, Daniel Stoch wrote:
>> On Wed, Feb 22, 2012 at 12:11 PM, Martin Grigorov
>> wrote:
>>> On Wed, Feb 22, 2012 at 12:01 PM, Daniel Stoch
>>> wrote:
>>&g
On Wed, Feb 22, 2012 at 12:11 PM, Martin Grigorov wrote:
> On Wed, Feb 22, 2012 at 12:01 PM, Daniel Stoch wrote:
>> No. I want to have . When you use this LinkContainer from my
>> example in HTML like:
>>
>>
>>
>> It will be rendered as:
>>
nly(true).
>
> On Wed, Feb 22, 2012 at 11:38 AM, Daniel Stoch wrote:
>> 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
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 setRenderBodyO
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). So
at 5:31 PM, manuelbarzi wrote:
> may HtmlDocumentValidator help you.
> .
>
>
>
> On Thu, Sep 15, 2011 at 5:05 PM, Daniel Stoch wrote:
>> Hi,
>>
>> How to display dynamic HTML content on page which can be invalid
>> (because this HTML is entered by a us
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 mecha
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 l
Wicket 1.4.18
On Mon, Sep 5, 2011 at 12:29 PM, Daniel Stoch 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 o
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 of
this is ugly solution).
--
Daniel
On Fri, Feb 18, 2011 at 10:50 PM, Pedro Santos 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 wrote:
>
>&
On Fri, Feb 18, 2011 at 10:09 AM, Daniel Stoch 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
alled with a null, and thus no need to check
> required.
>
> -igor
>
> On Fri, Feb 18, 2011 at 7:22 AM, Daniel Stoch wrote:
>> On Thu, Feb 17, 2011 at 10:37 PM, Igor Vaynberg
>> wrote:
>>> validation is there to make sure the user of the webapp cannot push an
&g
On Thu, Feb 17, 2011 at 10:37 PM, Igor Vaynberg 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 not a user can push
>> 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 n
x27;ll write my own behavior, 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 wrote:
>> On Thu, F
On Thu, Feb 17, 2011 at 10:01 PM, Igor Vaynberg 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 way.
There is a wro
On Thu, Feb 17, 2011 at 9:02 PM, Pedro Santos 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 Submit. And
Feedback
On Thu, Feb 17, 2011 at 6:50 PM, Pedro Santos 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 have an
> requir
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 AjaxForm
Hi,
On Fri, Oct 22, 2010 at 12:53 PM, drf 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 works well.
> Ho
On Thu, Oct 7, 2010 at 5:47 PM, Mauro Ciancio 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 real bean is in the
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 childRecordsModel.load()
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 c
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);
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) can
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 wrote:
>
> Any other hints for this right now?
>
> I want to submit an aj
1 - 100 of 150 matches
Mail list logo