[Wicket-user] Wicket and JAAS integration

2006-03-02 Thread Piotr Bzdyl
Hello, How can I integrate wicket with the JAAS? I mean configuring web.xml with following configuration: security-constraint web-resource-collection web-resource-nameMySystem authorized area/web-resource-name url-pattern/app/*/url-pattern http-methodDELETE/http-method

Re: [Wicket-user] Wicket and JAAS integration

2006-03-02 Thread Piotr Bzdyl
Hello, I don't believe letting the webcontainer handle all the security has come up on the mailing before. So i am afraid i cannot help you there. However i have build a jaas securityframework for wicket (1.2) allowing your wicket app to control what pages/ components are displayed based on the

Re: [Wicket-user] Requesting Clarification on Page Expired Exceptions

2006-02-21 Thread Piotr Bzdyl
Hello, when a url is accessed for a page that cannot be found in the pagemap it is considered an expired page. so basically you create a page, some time passes and that page is removed from the pagemap via the page eviction strategy. so if you go back to that page and click a link, that url

[Wicket-user] Re: [Wicket-user] Trouble with char acters: Æ Ø Å

2006-02-21 Thread Piotr Bzdyl
Hello, Im having a bit of a trouble using wicket with Danish characters, they do not get displayed correctly the first time a page is displayed on postbacks the show like supposed to. I have the same problem with the Polish characters. I open bookmarkable page and the Polish characters

Re: [Wicket-user] VOTE

2006-02-17 Thread Piotr Bzdyl
Hello, 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) +1 Best regards, Piotr --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new

Re: [Wicket-user] Best practice for setting up a forward to your app's homepage

2006-02-17 Thread Piotr Bzdyl
Hello, What is typically the best practice for setting up a forward to your application's homepage? Right now I have a filter that checks if any page is specified, if it's not, it sends the user to whatever.html (I have wicket mapped to *.html) which feels like such a crap-hack to me. So if

Re: [Wicket-user] Wicket for this project?...

2006-02-11 Thread Piotr Bzdyl
Hello, The component model of Wicket makes it /very/ easy to create application specific components, which enable reuse to the max. Today I created a form component that is Hibernate optimistic locking aware with about (give or take) 20 lines of code. All my collegues need to do now is to

Re: [Wicket-user] Wicket 1.2 ?

2006-02-10 Thread Piotr Bzdyl
Hello, Thanks for your offer, but that is really something for the publisher to decide. When the time comes, we might propose such a thing on this list. But at this time, we are just not far enough with the book. I am one more interested in the book proofreading :) Best regards, Piotr

Re: [Wicket-user] Data available across many pages - best practice

2006-02-08 Thread Piotr Bzdyl
Hello, Pass it along each page. Works like a charm. add(new Link(next, specificModel) { public void onClick() { setResponsePage(new NextPage(getModelObject())); } } Thanks, I was using this pattern, but I was unsure if this is the best solution. Best regards, Piotr

Re: [Wicket-user] Displaying dynamically generated image

2006-02-08 Thread Piotr Bzdyl
Hello, Or the images example of wicket-examples. Thanks to both of you for help. Best regards, Piotr --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search

[Wicket-user] Displaying dynamically generated image

2006-02-07 Thread Piotr Bzdyl
Hello, How can I display dynamically generated image in the wicket (let say that I generated image via some charting library and get image as java.awt.Image or other)? Best regards, Piotr --- This SF.net email is sponsored by: Splunk Inc.

Re: [Wicket-user] Path to resources

2006-02-06 Thread Piotr Bzdyl
That path is youre webapplication context and youre wicket servlet name That is constant for youre application. You don't generate that at all you only make/register Resources to the SharedResources. So every application will have this resource with this path:

Re: [Wicket-user] Path to resources

2006-02-06 Thread Piotr Bzdyl
Hello, yes that is what i mean. you don't have anything to do with those urls. You don't have to genereate them wicket does that for you. I know that I don't have to generate URL by myself for ie.: script wicket:id=myscript src=.../ But to use mentioned html editor javascript library I have

Re: [Wicket-user] Re: button in the form and form data submission

2006-02-05 Thread Piotr Bzdyl
Hello, you can use submitlinks yes if you want to use links for the form submit or want to use links/buttons outside the form tag. What do you use buttons or links? and are the buttons inside the form tag? I wanted to have several input type=submit/ buttons. I found that I should use Button

[Wicket-user] Path to resources

2006-02-05 Thread Piotr Bzdyl
Hello, I would like to create component for HTML editor on the web page using HTMLArea javascript library. It requires to specify relative or absolute location of its resources on the web site. How should I get this path using wicket? I put the library's resources in the package

Re: [Wicket-user] Path to resources

2006-02-05 Thread Piotr Bzdyl
Hi, Those resources are generated by PackageResources (or other dynamic resources) that are added to the SharedResources map. This can be done at startup from youre application see wicket.extensions.Initializer and DatePickerComponentInitializer().init(application); this is the calendar.js:

[Wicket-user] button in the form and form data submission

2006-02-04 Thread Piotr Bzdyl
Hello, I wanted to add two buttons to my form and add links to them. But it seems that when one of that buttons is clicked that no data submission from the form is performed. How should I do it? I would like to have two or even three buttons in the form and each of them should perform form

[Wicket-user] Data available across many pages - best practice

2006-02-03 Thread Piotr Bzdyl
Hello, I would like to have access to an object (or objects) across several web pages. Where should I keep this data? What solution do you recommend? (This is some kind of the wizard pages) Best regards, Piotrek --- This SF.net email is