A couple of implementation questions:
1) Do you use the "RestartResponseAtInterceptPageException" to redirect
users to the cas site when the user is not logged in and the cookie is not
present, or something else?
2) Do you allow loging in also through the "normal" sites, not using the
cas?
3) Shar
Hi,
in Ajax requests the page id is not incremented, to keep the page
version in the browser's url in sync with the state on the server.
When the page is refreshed (F5), the following happens:
- WebPageRenderer#respond() checks whether the url has changed, which it
has not yet. So no redirect
Hello All,
Has anyone else apart from me suffered from this problem of URLs being
truncated to become invalid?
I would appreciate it if anyone else shared my pain!
Ian Marshall
Ian Marshall wrote
>
> Hello All,
>
> A user's first visit to my app's home page results in the URL
>
> http://[
Thanks for that link! I never managed to work out how to get jquery events to
override the buttons onClick attribute. This should simplify our validation
code a lot.
Paul
-Original Message-
From: Alec Swan [mailto:alecs...@gmail.com]
Sent: 13 February 2012 16:38
To: users@wicket.apache
Hi Richard,
you're right, this implementation looks 'curious' but it was intentional.
Note the javadoc of Collection.unmodifiableList():
'Query operations on the returned list "read through" to the specified list'
Sven
Am 13.02.2012 23:58, schrieb richard emberson:
While looking at the exten
Hello All,
I have a Wicket application on the JBoss-4.2.2 GA server.
User visits the link:
https://name_of_host.com:8443/webform/?code=c30bd05e-da65-45ab-9217-fcb72969
1138
And receive the error message in the browser:
==
Unexpected
I actually want to know if I can set date format. I want to set it after
submit.
There is #forDatePattern(...) but this can be used at page initialization,
instead of constructor.
Thnaks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Problem-with-date-format-on-cha
This is what I was trying to find:
http://mail-archives.apache.org/mod_mbox/wicket-users/200904.mbox/%3ca737c1240904170336h2231a4aej48e6f3ec783bd...@mail.gmail.com%3E
On Mon, Feb 13, 2012 at 11:08 AM, fachhoch wrote:
> any help with this , My modal window is taking too long to close.
>
>
> --
>
> Thus the browser still shows the old version in the URL. But all future Ajax
> requests are targetting a different page version than visible in the browser
> URL :(.
Can't you fix that with a
getPage().dirty();
in the Ajax request handler?
- Tor Iver
--
Hi!
In the project I'm on we want to upgrade from Wicket 1.4 to 1.5 (1.5.4) and
one major thing is not working yet.
There's a need to wrap old JSP/servlets into the new Wicket based
application and the old 1.4-approach is not working anymore.
Simplified html output in 1.4
wrapped
Hi,
I just realized painfully, that SpringComponentInjector only injects Beans,
when the Fields are non-null.
Is there a reason for this Behavior?
The Reason I ask is, we "use" the SpringComponentInjector in all our Tests
to inject Mocks with Injector.get().inject(this).
This only works, if we set
Hi,
auto-components are added to the component tree not until rendering of
markup, this is too late for header contributions.
Sven
Am 14.02.2012 07:33, schrieb Chris Colman:
Added a JIRA for this:
https://issues.apache.org/jira/browse/WICKET-4408
If I explicitly add the component to the pa
There is a remark on this here:
https://cwiki.apache.org/WICKET/spring.html
"When doing this it is important to remember not to initialize
dependencies, to null or any other value, e.g.private ContactDao
dao=null;. Don't do this because the injector will run before the
subclass initializes its fi
If I intercept the onclick event my function is called but the processing not
stop. Mean that the wicket (onclick) javascript is running parallel.
So I write a AttributeModifier that prepends my function to the onclick
attribute. Now the validation works fine, but on the onSubmit method of the
w
Since the intent is to access the latest snapshot of the
Application IInitializer list, why not simply have the
InitializerStringResourceLoader loadStringResource
method call
Application.get().getInitializers().
I would suggest that it is cleaner.
And, yes, I know that Java's unmodifiableList is
file this in our jira so it doesnt get lost
-igor
On Mon, Feb 13, 2012 at 9:56 PM, pmaks wrote:
> Hi All,
> Please have a look at below images
>
> before form submit
> http://apache-wicket.1842946.n4.nabble.com/file/n4386241/before-submit.png
>
> after form submit (it shows the feedback panel fo
Hi,
thanks, this is true, but I dont think this is the Point I refer to, since I
call Injector.get().inject(this) in our Test, so I explicitely request
SpringBean-injection.
The Problem is this Line in Class Injector:
if (field.get(object) == null)
{
I'd rather have an InitializerCollection (similar to other wicket
*Collection classes).
This could safely be passed around.
Sven
Am 14.02.2012 15:11, schrieb richard emberson:
Since the intent is to access the latest snapshot of the
Application IInitializer list, why not simply have the
Initia
that is there to give users a chance at test time to override
injection partially, as in
component c=new mycomponent();
c.service1=mock(service.class);
injector.inject(c);
injector will inject everything but service1. key here is to make sure
service doesnt have to be defined in the test's spring
ok,
understood, thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/SpringComponentInjector-and-non-null-fields-tp4386918p4387545.html
Sent from the Users forum mailing list archive at Nabble.com.
--
Are you saying that AjaxRequestTarget is not null without your onclick
attribute changes and is null with your changes? If so, please post
the changes you made to onclick attribute.
On Tue, Feb 14, 2012 at 7:06 AM, Gerrit Scholz | QUERPLEX.de
wrote:
> If I intercept the onclick event my function
>
> Can't you fix that with a
> getPage().dirty();
> in the Ajax request handler?
Hmm tried your suggestion, but no luck. How would it help anyway? It's
dirty() that is causing the page to change version in the first place
right? RefreshingView.onPopulate() -> MarkupContainer.removeAll() ->
Compo
Hi, Sam. Responses inline.
On Tue, Feb 14, 2012 at 12:07 AM, Sam Zilverberg wrote:
> 1) Do you use the "RestartResponseAtInterceptPageException" to redirect
> users to the cas site when the user is not logged in and the cookie is not
> present, or something else?
> 2) Do you allow loging in also
23 matches
Mail list logo