Re: [Wicket-user] wicket security and acl files

2007-06-29 Thread craigdd
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

Re: [Wicket-user] wicket security and acl files

2007-06-29 Thread craigdd
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

Re: [Wicket-user] wicket security and acl files

2007-06-28 Thread craigdd
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

Re: [Wicket-user] wicket security and acl files

2007-06-28 Thread craigdd
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

Re: [Wicket-user] wicket security and acl files

2007-06-21 Thread craigdd
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

[Wicket-user] wicket security and acl files

2007-06-21 Thread craigdd
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

Re: [Wicket-user] Wicket MADE the grade

2007-06-20 Thread craigdd
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

Re: [Wicket-user] WASPSession.logout(object)

2007-06-08 Thread craigdd
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: [Wicket-user] WASPSession.logout(object)

2007-06-08 Thread craigdd
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

Re: [Wicket-user] WASPSession.logout(object)

2007-06-08 Thread craigdd
> 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

[Wicket-user] WASPSession.logout(object)

2007-06-07 Thread craigdd
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

Re: [Wicket-user] Wicket Security Configuration Question

2007-06-07 Thread craigdd
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

[Wicket-user] Wicket Security Configuration Question

2007-06-07 Thread craigdd
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

Re: [Wicket-user] Wicket Security Example Time Frame

2007-06-01 Thread craigdd
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

[Wicket-user] Wicket Security Example Time Frame

2007-06-01 Thread craigdd
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

Re: [Wicket-user] Displaying a JavaScript alert after a click on a link

2007-06-01 Thread craigdd
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

Re: [Wicket-user] Exception Strategy in 1.3

2007-05-24 Thread craigdd
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

Re: [Wicket-user] CSS Branding

2007-05-23 Thread craigdd
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

[Wicket-user] CSS Branding

2007-05-23 Thread craigdd
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:

Re: [Wicket-user] Component for opening/closing an arbitrary div layer in Wicket.

2007-05-23 Thread craigdd
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

Re: [Wicket-user] Exception Strategy in 1.3

2007-05-22 Thread craigdd
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(). >> >

Re: [Wicket-user] Component for opening/closing an arbitrary div layer in Wicket.

2007-05-22 Thread craigdd
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

Re: [Wicket-user] Exception Strategy in 1.3

2007-05-22 Thread craigdd
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

Re: [Wicket-user] Exception Strategy in 1.3

2007-05-22 Thread craigdd
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

Re: [Wicket-user] Exception Strategy in 1.3

2007-05-21 Thread craigdd
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

Re: [Wicket-user] Add feedback message to internal error page.

2007-05-21 Thread craigdd
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

[Wicket-user] Exception Strategy in 1.3

2007-05-21 Thread craigdd
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

[Wicket-user] Add feedback message to internal error page.

2007-05-16 Thread craigdd
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

Re: [Wicket-user] WicketTester & Sessions (1.3.0-incubating-beta1)

2007-05-16 Thread craigdd
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

[Wicket-user] Tapestry vs. Wicket

2007-05-15 Thread craigdd
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

Re: [Wicket-user] MarkupContainer.autoAdd in DataView

2007-04-25 Thread craigdd
) { 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

[Wicket-user] MarkupContainer.autoAdd in DataView

2007-04-25 Thread craigdd
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:

Re: [Wicket-user] DataTable row and header formatting

2007-04-19 Thread craigdd
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,

[Wicket-user] DataTable row and header formatting

2007-04-19 Thread craigdd
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

[Wicket-user] DataTable alternating tr background colors

2007-04-18 Thread craigdd
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

[Wicket-user] WicketTester Best Practices

2007-04-17 Thread craigdd
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

Re: [Wicket-user] Ajax DropDownChoice Question

2007-01-06 Thread craigdd
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

[Wicket-user] Ajax DropDownChoice Question

2007-01-06 Thread craigdd
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

Re: [Wicket-user] Can I prevent wicket specific URL parameters

2006-12-01 Thread craigdd
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

Re: [Wicket-user] Can I prevent wicket specific URL parameters

2006-12-01 Thread craigdd
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

[Wicket-user] Wicket and Cross-site scripting

2006-10-13 Thread craigdd
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

Re: [Wicket-user] ICryptFactory Uses

2006-10-13 Thread craigdd
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

Re: [Wicket-user] ICryptFactory Uses

2006-10-13 Thread craigdd
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

[Wicket-user] ICryptFactory Uses

2006-10-13 Thread craigdd
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

[Wicket-user] Form Field Focus

2006-10-12 Thread craigdd
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. --

Re: [Wicket-user] User Friendly Validation Messages

2006-10-12 Thread craigdd
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 >

Re: [Wicket-user] User Friendly Validation Messages

2006-10-11 Thread craigdd
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 &

Re: [Wicket-user] User Friendly Validation Messages

2006-10-11 Thread craigdd
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

[Wicket-user] User Friendly Validation Messages

2006-10-11 Thread craigdd
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

Re: [Wicket-user] HTTPSession Creation

2006-10-10 Thread craigdd
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.

[Wicket-user] HTTPSession Creation

2006-10-10 Thread craigdd
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

Re: [Wicket-user] Wicket Life Cycle

2006-10-10 Thread craigdd
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. > >

[Wicket-user] Wicket Life Cycle

2006-10-09 Thread craigdd
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.

[Wicket-user] Properties string with parameter

2006-10-09 Thread craigdd
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

[Wicket-user] Resource Bundle Best Practice

2006-10-06 Thread craigdd
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

Re: [Wicket-user] Add addictional resource folder

2006-10-06 Thread craigdd
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

Re: [Wicket-user] Add addictional resource folder

2006-10-06 Thread craigdd
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

Re: [Wicket-user] JBOSS Reload Classes

2006-10-06 Thread craigdd
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

Re: [Wicket-user] JBOSS Reload Classes

2006-10-06 Thread craigdd
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

Re: [Wicket-user] Add addictional resource folder

2006-10-06 Thread craigdd
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

Re: [Wicket-user] JBOSS Reload Classes

2006-10-06 Thread craigdd
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

Re: [Wicket-user] Add addictional resource folder

2006-10-06 Thread craigdd
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

Re: [Wicket-user] JBOSS Reload Classes

2006-10-06 Thread craigdd
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

Re: [Wicket-user] Add addictional resource folder

2006-10-06 Thread craigdd
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

Re: [Wicket-user] Add addictional resource folder

2006-10-06 Thread craigdd
pplication.internalInit() and > PortletApplication.internalInit() and the code looks like > ... > configure(configuration, wicketFilter.getFilterConfig() > .getInitParameter("sourceFolder")); > ... > > So the init param is "sour

Re: [Wicket-user] JBOSS Reload Classes

2006-10-06 Thread craigdd
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 >

[Wicket-user] JBOSS Reload Classes

2006-10-05 Thread craigdd
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

[Wicket-user] Add addictional resource folder

2006-10-05 Thread craigdd
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