I'll let one of the developers go into more detail about the
documentation issue :)
Regarding security there are several sub projects for you to choose.
and i would like to refer to this page for an overview of the
differences
Please remove the users, or at least me from the sourceforge lists :)
Maurice
On 8/13/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Hey Martijn, others,
Can we go ahead and remove all users from the sourceforge lists and
make sure no-one can every subscribe again? Or is there a better way?
The Form already does this, is there some other place you need to do this?
There is no other nice / wicket way to do this, so if you need this to
work when setting the value programatically i'm afraid you will have
to do some serious model coding yourself. and i don't think
compoundpropertymodel
There is no reason why Acegi should not be able to integrate with
swarm as long as you just use it for authentication (like
wicket-auth-roles does). In fact i think that by following the
auth-roles tutorial and replacing the auth-roles components with there
swarm counterpart you should be getting
What you are describing only makes sense if the loginpanel is located
on the loginpage.
Typically the redirectToInterceptPage works by storing the current
page in the session before going to the new page, the stored page is
retrieved and set as the new destination when
Allow me to hijack this topic because my eye sees the magic word
ISecureComponent :D
Glad to come across another user of Wasp and Swarm. Any comments /
questions about them?
Maurice
On 9/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
heh, seems a lot of people run into it. the short is that you
fragments
based on security is even more elegant then id's, but try getting time
to refactor that ;)
Maurice
-Anthony
On Sep 9, 2007, at 6:12 PM, Maurice Marrink wrote:
Allow me to hijack this topic because my eye sees the magic word
ISecureComponent :D
Glad to come across another user
Martijn, you are absolutely right, i forgot we moved the user from the
session to the requestcycle. Just keep the id for your user in the
session and keep the actual user for this request in the requestcycle.
This way each thread will have its own instance of the user.
Maurice
On 9/11/07,
on the requestcycle?
It's not obvious from the javadocs. Is there a wicket way?
-Anthony
On Sep 11, 2007, at 10:05 AM, Maurice Marrink wrote:
Martijn, you are absolutely right, i forgot we moved the user from the
session to the requestcycle. Just keep the id for your user
in our own application
to determine for what departments a user has certain rights.
Maurice
On 9/19/07, Maurice Marrink [EMAIL PROTECTED] wrote:
Swarm will work just fine for what you want.
You should create a new ISecurityCheck that will wrap another build in
check (probably
Yes you can, The trick is to extend ListItem and have it implement
ILinkListener you can then add the onclick behavior through an
attributemodifier or override oncomponenttag. To prevent having to
make a subclass per page you should make the onLinkClicked method in
your listitem redirect to a
I Like that idea, especially for all those wicket stuff projects out there.
If anyone has any questions / problems about / with wasp or swarm they
can not / will not ask on the mailing list, they are free to ask me on
the conference and I'll do my best assist them. If they bring there
projects
Hot reloading of classes is already supported in the jvm. it just
requires a debug connection if i understand it all correctly. for
instance we use the sysdeo tomcat plugin in eclipse which starts
tomcat in debug mode every time we change some code tomcat
automatically uses the new class. Well up
Hi,
I would like to use wicket-contrib-tinymce in our project but am
having a bit of a problem.
I am using the 1.0 version from sourceforge in our wicket 1.2.x project.
The problem is that in the html the id of the textarea is set to the
markupid from the component, where TinyMCESettings expects
Costan [EMAIL PROTECTED] wrote:
Maurice,
the issue was fixed in 1.3 only, i'll take a look and fix it in 1.2 branch
as well.
/iulian
On 10/8/07, Maurice Marrink [EMAIL PROTECTED] wrote:
Hi,
I would like to use wicket-contrib-tinymce in our project but am
having a bit of a problem.
I
Indeed, wasp and swarm are compiled against jdk 1.4. However, as much
i like you to use swarm, swarm is not a drop in replacement for
auth-roles. So you might want to consider the pro's and con's before
you do that. More info about swarm can be found here
Did you notice this method in AbstractChoice?
protected boolean isDisabled(final Object object, int index, String selected)
It is designed to do exactly what you want. In Wicket 1.3 only, in
wicket 1.2 you need to override protected void
appendOptionHtml(AppendingStringBuffer buffer, Object
Can't you create a role that implies all the other roles and then
specifically check for that role?
Maurice
On 10/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
The wicket-auth project is intended more like an example then a full
fledged project. Best thing you can do is just copy the things
Not sure why you would want the double redirect . but here goes.
Use either Swarm, Auth-roles or a custom security implementation to
redirect you to a login page. After sign-in use setResponsePage to
redirect the user to your other page. In that page you can then return
the user to the
What johan means is that you don't have to call getUser in the
onbeginrequest because your pages will already call getUser. hence the
user will be lazily loaded and possibly not on every request, just
when you need to. As opposed to calling getUser in the onbeginrequest
where it will be loaded
Looks like tomcat is running under a securitymanager. according to the
wiki you might need to add a few permissions, however they did not
mention anything about mbeans.
http://cwiki.apache.org/WICKET/java-security-permissions.html
Anybody else been here before?
Maurice
On 10/25/07, Peter
We use this plugin to run our apps with tomcat.
http://www.eclipsetotale.com/tomcatPlugin.html
No hassle with deploying a war, automatic class reloading, no special
main class required, its really quite nice.
Maurice
On 10/26/07, Ballist1c [EMAIL PROTECTED] wrote:
Yeah i have had a look, and
On Nov 2, 2007 3:26 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
if we rename it then we should also rename Component.RENDER action to
Component.VISIBLE
Perhaps something for after 1.3 is released?
Maurice
-
To unsubscribe,
You are using the wrong authorization framework!
:) No seriously now. I don't know what is wrong with your code,
although the authenticate method might give some useful debugging
info.
There is however a second authorization framework for wicket called
Swarm. you might want to check it out.
Swarm is designed to be plain and simple.
In short this is what you need to do:
1 implement Principal (i could see about a reasonable default
implementation , but my guess is you want to store this in a database
anyway and i am not sure i want a dependency on jpa)
2 create policy files
3 implement
Are you using the ModalWindow? in that case you need to set the
PageCreator to return your page, don't use panels. Second you need to
set a callbackhandler for the windowclose event. There you must update
your combo.
Maurice
On Nov 7, 2007 12:09 PM, serban.balamaci [EMAIL PROTECTED] wrote:
if your modal dialog contains ajax tabs it should work, but all your
user interaction from withing the dialog must be ajax.
Maurice
On Nov 7, 2007 1:50 PM, serban.balamaci [EMAIL PROTECTED] wrote:
I cannot use the modal windows.
They are plain popups. I do not know if there is a difference
Not entirely sure about this, but i think this is because wicket is
smart enough to figure out it has already sent the header, so it won't
send it again. If you want to invoke that script again you should
trigger it from your ajax call with target.appendJavaScript().
Maurice
On Nov 7, 2007 6:11
Ok, this is where i have to step aside and let the real wicket folks
take over :)
I have absolutely no clue as to what is going on here.
Maurice
On Nov 8, 2007 9:24 AM, serban.balamaci [EMAIL PROTECTED] wrote:
I forgot to look in the ajax console. Here is what it says:
INFO: Initiating Ajax
The trick is to let the models do the reloading by id part for you.
If you take a look at LoadableDetachableModel you see it has an
abstract load() method. A very common implementation would be this:
public Object load()
{
return myDao.get(Movie.class,movieId);
}
of course you have to make the
In general you don't let the filterbar provide the list of results
but have it update a filter bean. This filter is then used inside your
dataprovider to get the list of results.
Maurice
On Nov 13, 2007 4:16 AM, Joshua Jackson [EMAIL PROTECTED] wrote:
Dear all,
Is it possible to have a Page
Nope, don't think so. But you can always use an AjaxSubmitLink or
AjaxSubmitButton to submit the form.
On a more general note: all activity inside the modaldialog should be ajax.
Maurice
On Nov 15, 2007 5:03 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Hi
I'm having problems to close a
On Nov 16, 2007 5:26 PM, Johan Compagner [EMAIL PROTECTED] wrote:
and does it really work?
Why wouldn't it work?
For our projects we can store our users in our own database and do our
own authentication, so i don't really have a need for it (yet :)). But
i can certainly see people having to
Personally i prefer overriding protected IModel getListItemModel(final
IModel listViewModel, final int index) which has the same effect but
allows you to create a reusable subclass from listview which always
uses a compoundpropertymodel.
you can simply do return new
Beta1 has just been released for the following projects.
Wasp
Swarm
and the accompanying Examples.
The files are available on the wicketstuff maven repository
http://wicketstuff.org/maven/repository/
And on sourceforge http://sourceforge.net/project/showfiles.php?group_id=134391
The live examples
,
James.
On Nov 19, 2007 11:25 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
Beta1 has just been released for the following projects.
Wasp
Swarm
and the accompanying Examples.
The files are available on the wicketstuff maven repository
http://wicketstuff.org/maven/repository
This happens because you gave your form a compoundpropertymodel.
which by default is used by any child component of the form unless it
has its own model explicitly set.
the solution is thus to give the confirmpassword field another model.
this can be a very simple model like new Model();
Then you
I wouldn't presume calling myself a maven guru :) but i recently build
an archetype myself too.
I wonder why you have to use resource in your archetype. i get that
your archetype is a maven multiproject but i don't see how using
resource is better then using source.
I am just guessing here but
Use Select and SelectOption components http://jweekend.co.uk/dev/ArticlesPage/
Maurice
On Wed, Jul 2, 2008 at 3:08 PM, Søren Andersen [EMAIL PROTECTED] wrote:
This is my first post to this mailing-list, so I hope it's not too stupid.
:-)
I'm working on an application using DropDownChoice.
AFAIK there is no is such thing as isEnabledInHierarchy like there is
for visibility.
You can however use an IVisitor to quickly traverse all child
components of the container and set them to enabled / disabled.
If you do this in the onBeforeRender of the container you get pretty
much the behavior
Have you seen BoundCompoundPropertyModel?
It sounds like you are looking for that behavior.
Maurice
On Sun, Jul 6, 2008 at 9:42 AM, Thomas Kappler [EMAIL PROTECTED] wrote:
Thanks, Johan. Perhaps I wasn't clear enough about the motivation.
On Sun, Jul 6, 2008 at 6:51 AM, Johan Compagner
If you have a quickstart someone could take a look at it.
Maurice
On Mon, Jul 7, 2008 at 9:43 PM, taygolf [EMAIL PROTECTED] wrote:
Still having this issue. Can anyone tell me what it might be. I think it is a
cache issue but I am really not sure
Thanks
T
taygolf wrote:
hey guys. I
Sorry, there is nothing currently in wicket that does what you want.
PropertyModel might get you there partially but you would still need
to hack a lot to get it working the way you want.
Maybe there is an external library that does what you want, i don't
know. But whatever solution you eventually
Not at the moment AFAIK.
You could file an RFE.
Maurice
On Sat, Jul 12, 2008 at 9:38 PM, Beyonder Unknown [EMAIL PROTECTED] wrote:
Hi Users,
Is there a way to make the modalWindow unmovable? (disable the drag and
drop?).
Thanks,
Allan
--
The only constant in life is change.
Extend one of the defaultcolumns, like propertycolumn, and override
onpopulateitem.
Something like this:
public void populateItem(Item item, String componentId, IModel model)
{
item.add(new Label(componentId, createLabelModel(model))
{
Hmm, usually there is no need to change the guest permissions on the fly.
In that case you can just implement ISecurePage on every page that
needs to be secure and not on the guest pages.
On Fri, Jul 18, 2008 at 10:14 AM, Gabriel Bucher
[EMAIL PROTECTED] wrote:
hi all,
I did some test to
Well, there are a couple directions you can take.
1 If the number of admin fields is relatively small you could try
grouping those fields together in a panel for each page that has these
admin fields and then simply apply your security to the panel instead
of to the individual fields. (Works best
For extra credit... what is the easiest way to make the modal window
background darker? Do I need to extend the modal window and include a
different CSS file? what is the best practice for this kind of thing?
thanks!
ryan
Making the background darker is a bit tricky but it can be done in
Try an AjaxSubmitLink. And make sure that page2 is using the models
that page 1 uses to store the dates in.
If you want to o back and forth between those 2 pages it is a good
idea to pass a page reference between them so when they are serialized
they don't get out of sync with each other.
Maurice
On Tue, Jul 22, 2008 at 7:51 PM, srizmi [EMAIL PROTECTED] wrote:
Got a couple of questions:
1. BookmarkablePageLink - shouldn't events be exposed so that the
target
page [ page 2 in Joe's example ] is bookmarkable and still the user inputs
could be passed as pageParameters?
There are some things not entirely clear from your code, that and the
fact that i have never worked with radio or radiogroup before makes
any answer i can give an estimated guess at most, but here goes :).
What i gather from the code in radiogroup i would say that the value
is automatically set
On Sun, Jul 27, 2008 at 4:30 PM, Benny Weingarten [EMAIL PROTECTED] wrote:
Hello.
First let me congratulate this forum - I have always gotten wonderful
responses.
In my application I have a bookmarkable picture viewing page. That page
should only be viewed by users who have permission. The
Yes, one of the ideas behind wicket is that you create your own custom
wicketsession to access your session objects in a typesafe way.
Using a propertymodel like Jeremy showed is a very elegant way of
getting back that information.
Maurice
On Mon, Jul 28, 2008 at 9:39 PM, Jeremy Thomerson
Nope, no other info then class is available at that time since the
component is not yet fully constructed it is to dangerous to pass that
around even though we could.
So use a custom check in the constructor of your subclass, that way
you have access to all the information you need.
Maurice
On
A regular form and an ajaxbutton should get you a long way. Assuming
you have a feedbackpanel on your page.
The onSubmit of your button should do something like:
onSubmit(AjaxRequestTarget target)
{
//do calculation
target.addComponent(getForm());
//somehow create and or upload pdf
}
Not sure if it is of help to you, but Swarm has an example on how to do this:
http://wicketstuff.org/wicketsecurity/tabs/
You probably want the hide tabs option.
Source is available at
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-security-examples
Maurice
On Nov 27,
Not sure if you will be able to use acegi with .net and php. But if
that works i see no reason why you could not use it as single sign on.
As for cas i have no experience with that.
Main thing you need to take care of is that whatever framework you use
for single sign on. You have to take into
the requests and authenticate or
that some other thing perhaps CAS should intercept requests pass them
onto wicket if not authenticated etc...
I'll give some feedback of what I find out..
regards Nino
Maurice Marrink wrote:
Not sure if you will be able to use acegi with .net and php
That is because you are using normal links / form submits. If you use
ajax and stay on the same page (do some panel replacement) you won't
get that message.
Alternatively i do believe there is a setting to turn that message
off, somewhere.
Maurice
On Nov 29, 2007 12:51 AM, narup [EMAIL
No mistake.
Wicket does not remember any params when storing an url to later return to.
I had the same problem a while back and after asking johan about it
and finding out it was not possible we worked around the problem by
not doing it.
Something that might work for you is storing the request
Make Swarm (or at least Wasp) part of wicket core.
Hey, its a wish list, right? :)
Maurice
On Dec 12, 2007 11:56 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
add that to the wishlist with a description of what it is johan
-igor
On Dec 12, 2007 12:41 PM, Johan Compagner [EMAIL PROTECTED]
Actually wicket already does that for you. It does so by delegating to
the IAuthorizationStrategy. The default one just allows everything.
Maurice
On Dec 13, 2007 1:36 PM, Christopher Hlubek [EMAIL PROTECTED] wrote:
AFAIK you could use a custom WebRequestCycle that checks your security
policy
you could take a look at the IAuthorizationStrategy but that would
basically mean building your own security framework from scratch.
A better solution would be to use either Wicket-Auth-Roles or Swarm as
your security framework.
Neither is centralized, both are geared towards securing individual
Or create a single page used by both user as an entry point and have
different menu options visible depending on the user.
Hint: a security framework like swarm can easily do this. :D ;)
http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security
Maurice
On Dec 16, 2007 5:02 PM, Martijn
As the other members suggested, use one app and have your security
handle the logic for deciding what to show.
There are currently 2 security frameworks (that i know of) for wicket
to choose from.
Take a look at this site to see which security framework suits your
needs better.
Are you by any chance running on vista?
If so, try running eclipse as an administrator.
Maurice
On Dec 24, 2007 2:08 PM, oliverw [EMAIL PROTECTED] wrote:
Happens with the latest JDK too and only with Wicket Applications.
Johan Compagner wrote:
This is a prety serious error, try
Have you checked your memory? When i had a few segments of bad ram i
was getting similar vm crash dumps.
Maurice
On Dec 24, 2007 6:15 PM, oliverw [EMAIL PROTECTED] wrote:
Nope I'm running Windows XP. And strangely projects using Struts or GWT do
not seem to suffer from the same problem.
Usually this happens when you try to use getPage in the constructor of
you panel, however in that case i find the stacktrace with the
bookmarkablepagerequesttarget a bit odd.
Is the panel at the time of invocation attached to a page at all?
Usually you should be able to use getPage in the event
Did you try starting your app container with extra memory, by default
java does not allocate that much, a common webapp is likely to run out
of memory with the default settings.
Maurice
On Dec 28, 2007 1:20 PM, Uwe Schäfer [EMAIL PROTECTED] wrote:
Hi Artur,
I suppose it isn´t the
the permgen space param = -XX:MaxPermSize=256m
Just in case.
Maurice
On Dec 29, 2007 3:09 PM, Artur W. [EMAIL PROTECTED] wrote:
Eelco Hillenius wrote:
Yes, use a profiler. Everyone who is working on a production system
should regularly use a profiler and load testing tool to ensure
Hi,
I'm wondering what exactly about swarm you find difficult or too complex.
Perhaps we can make some improvements.
preventing pages in swarm to be constructed is as complex as extending
SecureWebPage.
Off course you need to create a policy for those 3 types of users,
containing you're secure
Thanks for responding, we always try to improve.
On Jan 2, 2008 11:20 AM, Sébastien Piller [EMAIL PROTECTED] wrote:
Well, with swarm I do need to define the policy files, which isn't trivial
for me (I never saw this kind of syntax before).
True, policy file is not a trivial task especially
Yes and not exactly.
wicket-security is build with plugability in mind, meaning if it does
not yet exist you can build it yourself quite easily.
Regarding LDAP, i myself have never worked with it but there are a
couple of options you can try
-use swarm and map ldap permissions to swarm principals
may have to look for another route.
Do you have a roadmap/timeline on a release date for wicket-security?
-Original Message-
From: Maurice Marrink [mailto:[EMAIL PROTECTED]
Sent: Friday, January 04, 2008 8:36 AM
To: users@wicket.apache.org
Subject: Re: [wicket-security] LDAP
=
application.getStrategyFactory().newStrategy(); // throws npe
}
-Original Message-
From: Maurice Marrink [mailto:[EMAIL PROTECTED]
Sent: Friday, January 04, 2008 11:16 AM
To: users@wicket.apache.org
Subject: Re: [wicket-security] LDAP integration?
I think there will be one more beta before we
A release candidate has been made available on sourceforge and the
wicketstuff maven repository.
We did however made a little jump in the version number, the current
release is version 1.3.0-rc1.
There have been several questions / request about the version number
and by following the wicket
I would also like to see the method return type change to
AbstractLink, that way both can be used.
Maurice
On Jan 7, 2008 12:20 PM, Alan Romaniuc [EMAIL PROTECTED] wrote:
Hi all,
I have a tipical scenario with pagination, combobox in a dataview and
submit buttons. I would like to save the
to get
it working properly ;o)
-Original Message-
From: Maurice Marrink [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 05, 2008 12:16 PM
To: users@wicket.apache.org
Subject: Re: [wicket-security] LDAP integration?
You could do LoginPage extends AbstractBasePage
MySecurePage
. Thanks for your help! I will let you know how thinks turn
out with ldap :o)
-Original Message-
From: Maurice Marrink [mailto:[EMAIL PROTECTED]
Sent: Monday, January 07, 2008 11:06 AM
To: users@wicket.apache.org
Subject: Re: [wicket-security] LDAP integration?
Do you mean that little
Try using a normal Link instead of PageLink and do the
setResponsePage stuff in the onClick.
Maurice
On Jan 13, 2008 9:41 PM, Martijn Dashorst [EMAIL PROTECTED] wrote:
For the record: I can't smell or magically see what you do in your
call to super().
I tried it in an application here, and I
Or you could use one of the security frameworks for wicket. They will
save you a lot of boilerplate coding and allow you to fix on what is
really important: your login page and your authentication mechanism.
The whole redirecting when a user is not logged in, checking for
sufficient permissions
On Jan 17, 2008 5:12 PM, Nick Heudecker [EMAIL PROTECTED] wrote:
This is something I've wanted to write as well. I have a collection of
features I want it to support including:
- Support for multiple roles (editor, author)
Sounds like someone needs Swarm. ;)
Maurice
I Don't there there already is such a component, but if you are
interested in creating one you could extend label, override
onComponentTagBody like this
@Override
protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag)
{
replaceComponentTagBody(markupStream,
Piispanen
+358 45 630 2546
Senior Product Architect
Conmio Ltd
http://www.conmio.com
Maurice Marrink wrote:
I believe there is indeed a problem with continueTo...
I have talked with Johan about it a long time ago, i don't recall what
the problem was but ever since i am using the following
I believe there is indeed a problem with continueTo...
I have talked with Johan about it a long time ago, i don't recall what
the problem was but ever since i am using the following work around to
test continueTo behavior.
// continueToOriginaldestination does not work if there is no url
You always add all the links and then decide for each link if it
should display or not.
You can do this manually by having the isVisible method of your link
check for an admin user or you can defer this to your security
framework, swarm for instance automatically hides secure links.
There is no example application (that i know of) showing what you want.
Let me recap what i think you want:
You have an application (probably with a basic set of roles)
You want to add plugins (probably containing several pages each
requiring there own special permissions to do stuff)
The extra
I'm guessing you want an alternative to display those reports because
of the problems hiding an item?
Why not put some logic in your model and have it decide which items to
pass to your dropdownchoice, or adjust your query that fills the
model.
Maurice
On Jan 27, 2008 6:30 PM, mgiedt [EMAIL
Guess i misunderstood you the first time.
For a layout as you described here i recommend the following:
Hard code the top level menu items and either use swarm to hide the
items or use the isVisible technique i told you about.
use swarm to hide tabs (http://wicketstuff.org/wicketsecurity/tabs/)
or
Depending on the component you use to display the list there are a few
differences in putting it all together but generally you should create
a bean containing all your filter options. you can then pass the bean
to your query and adjust it accordingly.
If you use a ListView or DataView you have to
Would you mind elaborating on what did not cut it?
It probably is not going to help you but i would like to know what you
felt you could not solve with swarm, maybe i can point others with a
similar problem in the right direction or make some changes so future
versions will be able to do that.
That is odd, it works for our component project.
On tomcat that is. Either as compiled directory or as a jar.
Can you give more details on what you are doing, maybe even show us
the poms for your projects.
Maurice
On Feb 7, 2008 11:21 AM, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
I just
If I recall correctly we had a similar problem a little while ago.
As it turned out the page was requested twice but only the first was rendered.
The reason the page was requested twice was because we had something
like this on our page img src /
For some reason the absence of a valid source tag
also the
first page a user hits after logging in (usually the home page) is a
candidate.
Sorry this is not correct, usually that page (the home page) is a
secure page to trigger the automatic login.
I was trying to find more examples of pages typically not secure but i
guess besides public pages
I was wondering if it is possible
to add an EverybodyPrincipal to the current session on session
instantiation.
After reading your mail again, trying to recreate the stackoverflow, i
realize you said the EveryBodyPrincipal, the whole time i was reading
is as AllPermissions. :-s
The
First off i would like to see your code as it should not be possible
to create a StackOverFlow.
Second i am not entirely sure why you would want EVERY page to be a secure page.
For instance the login page should not be a secure page, also the
first page a user hits after logging in (usually the
On Feb 12, 2008 9:24 AM, Michael Sparer [EMAIL PROTECTED] wrote:
hi maurice,
thanks for your answers. The reason why I want to avoid to have two
basepages (one implementing ISecurePage) is that if I wanted to change
something, such as markup, in the basepage I'd have to change it at two
If i add an extra method isUserAuthenticated to my
WaspAuthorizationStrategy, then yeah i probably could let wasp handle
everything in the WaspSession class.
I need to know if a user is logged in before i force the session to bind.
Thnx Johan.
Maurice
On Feb 12, 2008 10:13 AM, Johan Compagner
basepage because they would not have to extend
SecureWebPage
-Original Message-
From: Maurice Marrink [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 12, 2008 4:24 AM
To: users@wicket.apache.org
Subject: Re: wicket-security, everybodyprincipal and only securepages
If i add an extra
Data in wicket components is wrapped in models.
You can ask a component for its model: getModel() and then ask the
model for its data: getObject().
Or you can use the shortcut getModelObject() on a component.
Setting data is done in a similar way.
Maurice
On Feb 12, 2008 3:11 PM, carloc [EMAIL
1 - 100 of 422 matches
Mail list logo