Hi,
In IRoleCheckingStrategy, the method hasAnyRole() only gets
a collection of roles to check against. Would it be possible
to pass the component that is checked as well?
I'm trying to integrate Wicket with Acegi security, and I
want to let Acegi's AccessDecisionManager check if the
the current version (2.2) isn't made for injection (what we could do for
example if we have an ajax tabpanel)
But 2.3 which is about the get released i think says this in the code:
// If the library is being injected after window.onload, it
// is not safe to document.write
The injecting flag is used only by the new yuiloader functionality,
which will resolve and load library dependencies. Before this, you
would need to specify each dep by hand. For some reason, the yui event
prefers to use document.write to create the script node over
document.createElement if not
To filter header contribution in wicket there you can set the id
attribute of the script. Otherwise it will be filtered by URL. So if
you have the contribution twice with same javascript url, it will be
filtered.
-Matej
On 7/19/07, James McLaughlin [EMAIL PROTECTED] wrote:
The injecting flag
On 7/19/07, James McLaughlin [EMAIL PROTECTED] wrote:
The injecting flag is used only by the new yuiloader functionality,
which will resolve and load library dependencies. Before this, you
would need to specify each dep by hand. For some reason, the yui event
prefers to use document.write to
Hi Bart,
You can study the wicket-auth-roles project to see how you can use
authorization based on roles. Wicket-auth-roles does this at the component
level. Better yet, this (still incomplete but useable) wiki page shows you
how to integrate Acegi with Wicket:
Is there anyway to set the id or some other token when using a
JavascriptResourceRef? Both wicket-datetime and wicket-contrib-yui use
it to load script.
thx,
jim
On 7/19/07, Matej Knopp [EMAIL PROTECTED] wrote:
To filter header contribution in wicket there you can set the id
attribute of the
what do you mean? that 2.2 didn't use document.write()?
No, I was merely puzzling over why they would use document.write, and
the only place YAHOO_config.injecting is checked is in a condition
that decides whether to use document.createElement or document.write.
Must be some kind of IE quirk.
Well, actually, there is none. The reference is filtered only by URL.
You can submit a feature request for adding an ID to it.
-Matej
On 7/19/07, James McLaughlin [EMAIL PROTECTED] wrote:
Is there anyway to set the id or some other token when using a
JavascriptResourceRef? Both wicket-datetime
Done https://issues.apache.org/jira/browse/WICKET-771
thanks,
jim
On 7/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 7/19/07, Matej Knopp [EMAIL PROTECTED] wrote:
Well, actually, there is none. The reference is filtered only by URL.
You can submit a feature request for adding an ID to
Greetings.
I've been trying to figure out how to do a WicketTester based test of
an Ajax-enabled form sequence. The basic idea of the code under test
is to have a bunch of panels on a single page, where navigation
between panels is gated by server-side validation implemented as Ajax
we also have IChainingModel shouldn't we also test for that?
because çurrently the behavior is that we only test for WramModels to get to
the innermost model
but what is then the big difference with IChainingModel?
Hey, didn't you code that stuff? :)
Eelco
12 matches
Mail list logo