e Principals. Each
> Principal is mapped to 1 or more Permissions.
> Each Permission has 0 or more Actions.
>
> Permissions and actions are named pretty straight forward i think.
>
> Maurice
>
> On 6/29/07, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> Just my
e right about me misusing the
> principal, but using the actions of a permission for read write and
> then logically separating permissions with read from permissions with
> write in different principals does not seem like stretch to me.
>
> Maurice
>
> On 6/29/07, craigdd <[EMA
A and write access to page A
> but can suffice with write access to page A. Although most of our
> principals handle a couple of related pages we also have principals
> going as deep as individual components. For instance we have a large
> data grid, the principals are fine grained enough to gi
cket's security model is completely generic
>>
>> see IAuthorizationStrategy - it is very abstract and thus can be used to
>> implement any kind of authorization
>>
>> wicket-auth is just an example that implements basic role-based model
>>
>> see wicket
Sorry, I should have been more clear. I was referring to the wicket security
project.
-Craig
Eelco Hillenius wrote:
>
> Any strategy you like. Check out IAuthorizationStrategy.
>
> Eelco
>
>
> On 6/21/07, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> Is w
Is wicket security based only on role based authorization or could it somehow
be used with a more traditional ACL type of file / logic.
-Craig
--
View this message in context:
http://www.nabble.com/wicket-security-and-acl-files-tf3960558.html#a11239024
Sent from the Wicket - User mailing list
Great news Francisco,
So give us the dirt, what made your company ultimately go with wicket?
Which other frameworks where you considering.
-Craig
Francisco Diaz Trepat - gmail wrote:
>
> Hi guys, from a discarded framework to the choice in hand. Wicket was
> chosen
> by my company to start a
tle better. but first i
> gotta grab some sleep.
>
> Maurice
>
> On 6/9/07, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> Sounds like a pretty good idea, I like that much better than having the
>> user
>> need to know they need to cleanup data state in thei
re of
> this kind of problems just let me know.
>
> Maurice
>
> P.S. i guess an api for getting the original logincontext is out of
> the question then :)
>
>
> On 6/8/07, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> Are you saying then that the instance of L
> However if you feel you need to have access to the original instance,
> for instance because you want to know the username, i can always
> include such a method in the api.
>
> Maurice
>
> On 6/8/07, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> I see that
I see that the WASPSession.logout method takes a LoginContext. Is there
somewhere within the SWARM implementation to grab the LoginContext used to
login? Or when logging in is it up to the developer to put the LoginContext
somewhere...say maybe the session itself?
Thanks
Craig
--
View this mes
ine with the following two lines
HomePage, "render"; and HomePage:link, "render"; Assuming the
wicket id of our link is link :) To enable the link we would still
require PageA, "enable"; in our policy.
Thanks for checking out swarm and wasp, i hope i did not just
In look looking the getting started page for wicket security I came across
the following block on text when describing the configuration of principals.
What we just did is grant everyone the right to see (render) our HomePage,
if there are secure components on the homepage we can see them too
(in
I came across the GeneralTest in the security project, looks like a great
example starter for the security project.
Thanks
Craig
craigdd wrote:
>
> Does anyone know the time frame for the wicket security project to come
> out with an examples project or is there some early access co
Does anyone know the time frame for the wicket security project to come out
with an examples project or is there some early access code people can get
access to?
The project looks pretty nice, I look forward to doing some evaluation on it
and possibly using in on an upcoming project.
Thanks
Cra
Here is a pretty simple example.
Link myLink = new Link("myLink");
myLink.add(new AttributeModifier(
"onclick",
true,
new Model("javascript:callAlert()"));
-Craig
Huergo Perez wrote:
>
> What attribute of the Link should I modify with an attribute modifier?
> I could not find a
Will do Gwyn, I plan on spending a few hours tonight to see what type of
update to the API would be needed to help out my type of situation.
-Craig
Gwyn wrote:
>
> On Wednesday, May 23, 2007, 2:53:50 AM, craigdd <[EMAIL PROTECTED]> wrote:
>
>> Thanks Eelco, your example
Thanks Al,
I figured it was that easy, I guess sometimes you make something more
complicated that it really is.
-Craig
Al Maw wrote:
>
> craigdd wrote:
>> I'm looking for the best way to provide CSS branding for a logged in
>> Client.
>> In other words a
I'm looking for the best way to provide CSS branding for a logged in Client.
In other words a css will be added as a header contrib to a page based on
the Client object found in the session and search for a name like;
layout_[clientname].css.
Thanks
Craig
--
View this message in context:
http:
assist in simplifying our efforts.
> Besides, how easy and how long will it take to move to Wicket. As our
> efforts are commercial, we will be heavily penalized for making the
> wrong choice.
>
> - Ravi.
>
> craigdd wrote:
>
> Hey Ravi, just out of curiosity, is the
ing to. The page parameter in this method
>> if
>> the context from where the exception was thrown.
>>
>> -Craig
>>
>>
>>
>> RĂ¼diger_Schulz wrote:
>> >
>> > Make a subclass of WebRequestCycle, and override onRuntimeException().
>> >
Hey Ravi, just out of curiosity, is the application you provided a link for
written in wicket?
-Craig
RW wrote:
>
>
>
>
>
>
>
>
> Go to...
> http://www.celoxis.com/psa/user.do?bxn=umyhome&p_auth_authenticate=true&p_auth_login=mark&p_auth_password=celoxis1
>
>
> On this page click
nd override onRuntimeException().
> Works like a charm for me.
>
> 2007/5/22, craigdd <[EMAIL PROTECTED]>:
>>
>> True the wicket session is mandatory, thanks for pointing that out.
>>
>> As for my question though, I'm looking for the best way to implement th
information. Other then that
> i see no reason why your proposed strategy should not work.
>
> Maurice
>
> On 5/22/07, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> Basically what I want to do is set the internal error page to my own
>> internal
>> p
optional, meaning that this should work with or without a Session.
-Craig
craigdd wrote:
>
> What is the best way to implement your own exception strategy in wicket
> 1.3? I want to add some added logic to my application when an unexcepted
> exception occurs. During this added logic I w
n error page with a
> feedbackpanel should work.
>
> Eelco
>
>
> On 5/17/07, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> In my application I'm overriding the default internal error page to my
>> application's login page, however, I want to supply t
What is the best way to implement your own exception strategy in wicket 1.3?
I want to add some added logic to my application when an unexcepted
exception occurs. During this added logic I want a handle on the page that
is being redirected to, ie the internal error page.
Thanks
Craig
--
View t
In my application I'm overriding the default internal error page to my
application's login page, however, I want to supply the user with a feedback
panel message starting that something bad happened and include an error code
from my internal runtime exception.
What would be the proper way to go a
Did a JIRA bug get created for this? I'm having the same issue and want to
document in my code the JIRA issue number. If a bug hasn't been created
then I'd be happy to create it myself.
Thanks
Craig
severian wrote:
>
> I've been having trouble using sessions with WicketTester, even after
> l
I started looking at tapestry today, for some reason through out all my
webapp development experience I never have taken a look at it. With that
said I see a lot of similarities to wicket. Can someone point out the
advantages that wicket has over tapestry.
Kind of a side note, and I little off
) {
return new BoundCompoundPropertyModel(object);
} // model
This seems to work, but is this the correct way to go about this?
-Craig
craigdd wrote:
>
> Is it possible to implement IComponentResolver interface in a child
> implementation of
Is it possible to implement IComponentResolver interface in a child
implementation of DataView so that a Label object is added for each cell
found in the markup?
This would be similar to some of the examples I've seen when extending
ListView.
Thanks
Craig
--
View this message in context:
http:
stead of DataTable?
-Craig
craigdd wrote:
>
> Sorry, I keep asking what are probably simple questions regarding the
> DataTable.
>
> How do I utilize this component and still have access to format things
> such and the alignment / width of each column.
>
> By the way,
Sorry, I keep asking what are probably simple questions regarding the
DataTable.
How do I utilize this component and still have access to format things such
and the alignment / width of each column.
By the way, is there any good example out there using DataTable / DataView,
I don't see any in th
What is the best way to add alternating back ground colors, or CSS styles to
s when using the DataTable extension object?
--
View this message in context:
http://www.nabble.com/DataTable-alternating-tr-background-colors-tf3604301.html#a10069961
Sent from the Wicket - User mailing list archive at
I'm looking for some input on what is the best practices for testing Panels
that aren't inner classes to WebPage objects
If I do the following;
WicketTester tester = new WicketTester();
tester.startPanel(MyPanel.class);
tester.clickLink("logout");
I get an exception saying path: 'logout' does
Thanks, that works much better, I knew I was missing something pretty simple.
Martijn Dashorst wrote:
>
> Use an AjaxFormComponentUpdateBehavior instead.
>
> Martijn
>
> On 1/6/07, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> Maybe I'm missing somet
Maybe I'm missing something simple here but I need a little help getting my
ajax dropdownchoice working.
The situation is that I have my own (extension) to the DropDownChoice where
I'm adding an AjaxEventBehavior behavior to it. The issue is that by the
time the "onEvent" method is called on the
I haven't following the whole apache move, is there where we are logging
issues now?
https://issues.apache.org/jira/browse/WICKET
Eelco Hillenius wrote:
>
> Could you please open up an issue for that then?
>
> Thanks,
>
> Eelco
>
>
> On 12/1/06, c
This is a nice solution, however, I noticed that if you are using this
feature and try to hack the encrypted URL, in other words you type if
"skaldjflskdajflsd" you get an exception that gets thrown back to the
container. It looks like the exception happens low enough where the default
or overrid
Does wicket handle Cross-site scripting out of the box. Meaning if I where
to enter the string Hello World into a textarea of a form and then
submitting that form would that same string reappear in a confirmation page
corrently.
If this function isn't provided out of the box is there hooks into
convenient
way to provide a utility to the application has a whole for encrypting
things?
Johan Compagner wrote:
>
> no use CryptedUrlWebRequestCodingStrategy for that.
>
> johan
>
>
> On 10/13/06, craigdd <[EMAIL PROTECTED]> wrote:
>>
>>
>&g
gt; that is one place where it is used.
>
> generally you can find all places in code where it is used by asking your
> IDE to find references to it.
>
>
> -Igor
>
>
> On 10/13/06, craigdd <[EMAIL PROTECTED]> wrote:
>>
>>
>> In looking a
In looking at the JavaDoc I noticed the ICryptFactory interface that can be
implemented and added to the security settings of a wicket application
object.
I'm a little confuses as to what this is used for, does anyone have any
infor on this interface or how they are utilizing it?
--
View this m
Is there a way in wicket to set with field should have focus when rendering a
Page?
--
View this message in context:
http://www.nabble.com/Form-Field-Focus-tf2431530.html#a6779893
Sent from the Wicket - User mailing list archive at Nabble.com.
--
formid.firstName
> of just
> firstName
>
> Erik.
>
>
> craigdd schreef:
>> Sorry, should have read a few more posts...here is the solution to the
>> different message.
>>
>> new RequiredTextField("firstName").setLabel(new
>
Sorry, should have read a few more posts...here is the solution to the
different message.
new RequiredTextField("firstName").setLabel(new
ResourceModel("resource.key"));
craigdd wrote:
>
> I noticed that when using a RequiredTextField that the validation message
&
Or maybe another option would be to show the message "The Following Fields
are Required" and then show something like a red astrick by the fields that
are required.
\
craigdd wrote:
>
> I noticed that when using a RequiredTextField that the validation message
> that comes
I noticed that when using a RequiredTextField that the validation message
that comes up if no value was added to the textfield is the name of the
component. In other words I have a page backed my a model object that has a
property called "firstName". The message that comes up is firstName is
req
Where can you down wicket 2.0? I'm assuming this is a pre production release
/ build?
I agree that this is not a security issue, however a person just has to
right a simple script, say with wget to create many many session within your
application possibly causing performance and memory issues.
In the wiki's documentation;
http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle
I found the following description of Servicing a Request;
1. Wicket asks the Application class to create a Session for the servlet
request. If no session exists for the incoming request, a Session object is
cre
Thanks
Some how I missed that on the wiki.
Erik van Oosten wrote:
>
> It's on the Wiki: http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle
>
> You can find it by following 'Reference library' from the main page.
>
> Regards,
> Erik.
>
>
Does anyone have any good documentation of the life cyle for wicket?
--
View this message in context:
http://www.nabble.com/Wicket-Life-Cycle-tf2413625.html#a6728006
Sent from the Wicket - User mailing list archive at Nabble.com.
I have a form object that onSubmit will catch an exception and call the error
method on the form object. The key to this error has parameters in it for
example here is the string in the .properties for the page that has the
form.
mykey=This is a string with value {0}.
My question is how do I re
As I'm evaluating wicket I'm not seeing many examples of using resource
bundles.
I was wondering how, or what the best practices of using resource bundles
with wicket was. I'm primarily interested on how you setup resource bundles
through wicket, how to use resource bundles in html pages for thi
ons between
> components with the same name but in different packages.
>
> just my two cents
>
> -Igor
>
>
> On 10/6/06, craigdd <[EMAIL PROTECTED]> wrote:
>>
>>
>> Ok, here is my solution to this problem instead of implementing my own
>> IResourceSt
tream(),
> it is done via the IResourceStreamLocator defined in resource settings.
>
> so you can either override that method on all markup containers, or
> implement your own IResouceStreamLocator like i sugested.
>
> -Igor
>
>
> On 10/6/06, craigdd <[EMAIL PROTECTED]> wrote:
&g
elop on jetty and deploy on
> jboss
> :)
>
> if you need app server features like ejb then the solution is not to
> restart
> the server, but to force it to redeploy your app.
>
> -Igor
>
>
> On 10/6/06, craigdd <[EMAIL PROTECTED]> wrote:
>>
>>
&g
h MyEclipse in development and it
> is very slick.
>
> Perhaps people are not answering his question because it is off topic and
> that annoys people?
>
>
> On 10/6/06, Thomas R. Corbin <[EMAIL PROTECTED]> wrote:
>>
>> On Friday, 06 October 2006 12:51 pm
the IResourceStreamLocator defined in resource settings.
>
> so you can either override that method on all markup containers, or
> implement your own IResouceStreamLocator like i sugested.
>
> -Igor
>
>
> On 10/6/06, craigdd <[EMAIL PROTECTED]> wrote:
>>
&g
icket
which makes me wonder how main stream this framework is.
igor.vaynberg wrote:
>
> why not ask on the jboss forums? what you want to ask is that if jboss can
> be launched to take advantage of jvm's hotswap.
>
> -Igor
>
>
> On 10/6/06, craigdd <[EMAIL PROTECTE
from.
igor.vaynberg wrote:
>
> implement your own IResourceStreamLocator
>
> -Igor
>
>
> On 10/6/06, craigdd <[EMAIL PROTECTED]> wrote:
>>
>>
>> I got it to work with the path "WEB-INf/view" the thing I was over
>> looking
>> was t
does start jboss in debug mode.
>
> craigdd wrote:
>
>> I don't think debug mode in jboss allows the reloading of classes, i
>> believe
>> it it just for remote debugging.
>>
> Indeed again, JBoss is directly started from Eclipse (as all programs
&g
now, but did try
> WEB-INF/view
> /view (actually the files in that directory as well)
> view
>
> already. And I'm sure you are aware that even though you might a
> sourceFolder the sub-directory structure must still match.
>
> Juergen
>
> On 10/6/06, craigdd <[E
pplication.internalInit() and
> PortletApplication.internalInit() and the code looks like
> ...
> configure(configuration, wicketFilter.getFilterConfig()
> .getInitParameter("sourceFolder"));
> ...
>
> So the init param is "sour
etty
> launcher plugin)
>
> Martijn
>
> On 10/6/06, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> I'm using jboss 4.0.4, does anyone know how to configure it to reload
>> changed
>> classes? I want to be able to change my Wicket WebPage subclasses
>
I'm using jboss 4.0.4, does anyone know how to configure it to reload changed
classes? I want to be able to change my Wicket WebPage subclasses without
having to restart the container.
--
View this message in context:
http://www.nabble.com/JBOSS-Reload-Classes-tf2393072.html#a6672270
Sent from
I've beed trying to get this to work for a while now, basically what I want,
is to have Wicket load my html files from /WEB-INF/view directory instead of
the classes directory.
I've been reading a post about seperating your html and it was suggested to
use the method addResourceFolder("path"); S
68 matches
Mail list logo