Re: [Wicket-user] Wicket With Acegi

2006-10-26 Thread sunraider
Thank you Eelco, I have a requirement to do a database authentication / authorization as well as LDAP based authentication so to begin with I have to first authenticate the user and Acegi has a clean solution of using the ProviderManager concept. It checks for ldap as well as db for user login.

Re: [Wicket-user] Gwyn, Igor...any comments?

2006-10-26 Thread Igor Vaynberg
geoff, ive been extremely busy in the past few days so i havent had a chance to look at it although rest assured it is on my todo list.im not sure we need a default persistence mechanism - we are a web ui framework after all, but it would be very cool to have something akin to the databinder

Re: [Wicket-user] Wicket With Acegi

2006-10-26 Thread Erik van Oosten
Hi, Here is an example (we're using wicket-auth-roles). We use Spring to inject the authentication manager into the application. Regards, Erik. --8-- public class MySession extends AuthenticatedWebSession { .. constructor,

Re: [Wicket-user] Modal window with form

2006-10-26 Thread Matej Knopp
Can you please use the latest SVN version (or wait until 1.2.3 is out) to see if any of those issues persist? -Matej Marc-Andre Houle wrote: I got problems with a form in a Modal Window. In IE, it is not possible to pass from one field to the other with the tab key. Step to reproduce :

[Wicket-user] component internally generating AND binding wicket markup?

2006-10-26 Thread Wouter Huijnink
Hi list, We have a domain class containing an XML string that needs to be transformed to XHTML, but we'd like to have a 2-phase transformation: an XSLT to generate wicket markup, and then a parsing and binding of this generated markup, using BookmarkablePageLink and other wicket components.

Re: [Wicket-user] Wicket With Acegi

2006-10-26 Thread sunraider
Thanks a million Erik. This will really help me to get going. I really appreciate your quick response. Sunraider Erik van Oosten wrote: Hi, Here is an example (we're using wicket-auth-roles). We use Spring to inject the authentication manager into the application. Regards,

Re: [Wicket-user] Wicket-CMS Templates

2006-10-26 Thread glanzel
Hi I would strongly recommend a version with wicket templates. Wouldn't it be the most important reasons for using a Wicket CMS that you don't have to deal with any scripting language but plain html ? So I would prefer Number 2 (use Wicket templates, but create additional, CMS specific

Re: [Wicket-user] component internally generating AND binding wicket markup?

2006-10-26 Thread Juergen Donnerstag
In V2.0 it will be possible by subclassing getMarkupFragment(String id). Don't think it'll be easy in 1.2 Juergen On 10/26/06, Wouter Huijnink [EMAIL PROTECTED] wrote: Hi list, We have a domain class containing an XML string that needs to be transformed to XHTML, but we'd like to have a

Re: [Wicket-user] Role authorization per page

2006-10-26 Thread ChuckDeal
Damn it! I was this close holds fingers a hair-width apart. I modified my MetaDataComponentProtector class (very close to the MetaDataRoleAuthorizationStrategy, but I need to store a Predicate (commons-collections) with the action for dynamic evaluation) to be an IAuthorizationStrategy

Re: [Wicket-user] Modal window with form

2006-10-26 Thread Marc-Andre Houle
Problem solved in the latest build.Thanks a lot.On 10/26/06, Marc-André Houle [EMAIL PROTECTED] wrote: Yeah, sorry to not have said it before, I use wicket 1.2.2.How long until 1.2.3?If it is a matter of days, I'll wait to integrate with our application.If long, I'll check the svn versionwith the

[Wicket-user] How to use links from an evicted page?

2006-10-26 Thread Erik van Oosten
Hi, Is there some way to use links on a page that has been evicted from the pagemap? Here is my use-case. On the home page of the application I am using the AjaxFallbackLink to replace components. From the home page the user might go back and forth between several (bookmarkable) pages, going

[Wicket-user] why is isRenderAllowed() protected?

2006-10-26 Thread ChuckDeal
I am defining a panel, which is visible only if at least one of its children is visible. So, it's isVisble() method calls visitChildren() with a visitor that returns true as soon as it finds a visible child or null otherwise. This worked until I started using an AuthorizationStrategy, now I

Re: [Wicket-user] How to use links from an evicted page?

2006-10-26 Thread Johan Compagner
in 2.0 all pages will be stored on the hd as long as the session is alive so the homepage will be always thereBut are you saying that the users goes back 5 pages? Because that is currently the default threshold of the pages that are kept in the page ( 1.2)In 2.0 you could use a stateless link that

Re: [Wicket-user] why is isRenderAllowed() protected?

2006-10-26 Thread ChuckDeal
It goes into an infinite loop because I define the parent component's isVisble() to be the result of visiting the children and calling their isVisbleInHierarchy() which will in turn call the parent's isVisble() which is the result of the childrens's ... and on and on isVisbleInHierarchy is not a

[Wicket-user] wicket-auth-roles proposed change

2006-10-26 Thread Erik van Oosten
Hi, I was just looking at the issue tracker at http://issues.apache.org/jira/browse/WICKET to submit a change request for wicket-auth-roles. However I do not see under which project it should be put. In fact I can not find wicket-auth-roles on http://wicketframework.org at all! My idea is to

[Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Erik Brakkee
Hi, In many cases, it is useful to define an application wide Panel for commonly recurring parts of the user interface. Nevertheless, sometimes, it is necessary to vary only the presentation of a Panel. As far as I understand it, the Panel is always associated with one html template with the same

Re: [Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Pierre-Yves Saumont
Use styles. You can have several templates with different extensions, for example loginPanel_liquid.html and loginPanel_icy.html. Then, when you switch style from liquid to icy, Wicket will automatically select the appropriate template. Pierre-Yves Erik Brakkee a écrit : Hi, In many

Re: [Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Erik van Oosten
Hi Erik, As far as I understand it, the Panel is always associated with one html template with the same name as the panel. Actually this is not true. You can work with styles and variations. I have never done myself, but you can do something like: class MyPanel extends Panel { public

[Wicket-user] embed src ... /

2006-10-26 Thread Michael Welter
I have an html table with several columns. One column is an audio recording: tr wicket:id=responses class=even tdembed wicket:id=recording type=audio/x-wav src= height=50 width=100 autostart=false//td tdspan wicket:id=titleTitle/span/td tdspan

Re: [Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Pierre-Yves Saumont
I forgot this: to switch styles, use Session.setStyle(). Pierre-Yves Pierre-Yves Saumont a écrit : Use styles. You can have several templates with different extensions, for example loginPanel_liquid.html and loginPanel_icy.html. Then, when you switch style from liquid to icy, Wicket will

Re: [Wicket-user] wicket-auth-roles proposed change

2006-10-26 Thread Igor Vaynberg
just added the jira component so you can file the issue-IgorOn 10/26/06, Erik van Oosten [EMAIL PROTECTED] wrote:Hi,I was just looking at the issue tracker at http://issues.apache.org/jira/browse/WICKET to submit a change requestfor wicket-auth-roles. However I do not see under which project

Re: [Wicket-user] embed src ... /

2006-10-26 Thread Juergen Donnerstag
embed.setVisible(false) Juergen On 10/26/06, Michael Welter [EMAIL PROTECTED] wrote: I have an html table with several columns. One column is an audio recording: tr wicket:id=responses class=even tdembed wicket:id=recording type=audio/x-wav src= height=50 width=100

Re: [Wicket-user] embed src ... /

2006-10-26 Thread Igor Vaynberg
instead of label add a webmarkupcontainer and call setvisible(false) on it-IgorOn 10/26/06, Michael Welter [EMAIL PROTECTED] wrote:I have an html table with several columns.One column is an audio recording: tr wicket:id=responses class=even tdembed wicket:id=recording type=audio/x-wav

Re: [Wicket-user] embed src ... /

2006-10-26 Thread Johannes Fahrenkrug
How about setVisible(false)? Michael Welter wrote: I have an html table with several columns. One column is an audio recording: tr wicket:id=responses class=even tdembed wicket:id=recording type=audio/x-wav src= height=50 width=100 autostart=false//td tdspan

Re: [Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Juergen Donnerstag
exactly, style is a per session setting whereas variation is a per component setting. Juergen On 10/26/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote: I forgot this: to switch styles, use Session.setStyle(). Pierre-Yves Pierre-Yves Saumont a écrit : Use styles. You can have several

Re: [Wicket-user] embed src ... /

2006-10-26 Thread Johannes Fahrenkrug
Juergen, you win. Igor and I were a minute too late ;-) Juergen Donnerstag wrote: embed.setVisible(false) Juergen On 10/26/06, Michael Welter [EMAIL PROTECTED] wrote: I have an html table with several columns. One column is an audio recording: tr wicket:id=responses class=even

Re: [Wicket-user] Help needed: Best practise or example for first level navigation model

2006-10-26 Thread Johannes Fahrenkrug
Hi, I'm not sure because I haven't used it yet, but the components in wicket.markup.html.tree or wicket.extensions.markup.html.tree could be what you're looking for. - Johannes [EMAIL PROTECTED] wrote: Hi there ! I am new in wicket developement and currently setting up my first project.

[Wicket-user] cool ...looking forward to it

2006-10-26 Thread Geoff hendrey
Hi Igor, Cool, I am looking forward to your feedback, and I'm ready to work on a data binding framework, or whatever else will benefit the Wicket community, using Shades. -geoff - Using Tomcat but need to do more?

[Wicket-user] urlFor() + HeaderContributor.forCss() = extra path

2006-10-26 Thread Jonathan Sharp
I have a reference to a class that I have successfully generating the stylesheet and I'm wanting to add this url using HeaderContributor.forCss(); but it's appending an extra context to the url.Example:App maps to localhost/secure String css = /secure...forCss(css) outputs /secure/secure...-- Base

[Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository: subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn:

Re: [Wicket-user] Issue with AJAX and InternalFrame

2006-10-26 Thread Allen James
Thanks for the quick repsonse Igor, that appears to have been my problem. I used the iframe because the tabular display is so wide it caused the entire page to scroll and certain aspects of the page to be wider than I wanted. I wrapped the data table in an iframe to give the same look as

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Igor Vaynberg
that should have been fixed last night, please try again-IgorOn 10/26/06, Caleb Land [EMAIL PROTECTED] wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository: subversion/libsvn_subr/utf.c:466:

[Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-26 Thread Flavius
I'm new with wicket and started a vanilla project. I created my application class which extends WebApplication and defined a home page called Home.java (and Home.html). When I nav to the root of the app, it successfully takes me to the home page. But the app loads that page twice. I am

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
I tried just now and it's still not working from Mac OS X.On 10/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote:that should have been fixed last night, please try again-Igor On 10/26/06, Caleb Land [EMAIL PROTECTED] wrote:I tried updating my working directory of Wicket trunk and it seems that my

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
I removed my wicket working directory and tried checking out fresh, still no luck.On 10/26/06, Caleb Land [EMAIL PROTECTED] wrote:I tried just now and it's still not working from Mac OS X. On 10/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote:that should have been fixed last night, please try

Re: [Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-26 Thread Johan Compagner
does your url of the homepage also change the second time (is there a redirect somehow)or does it just stay /Else place a breakpoint in your constructor and see why or where it comes from the second time for one request. johanOn 10/26/06, Flavius [EMAIL PROTECTED] wrote: I'm new with wicket and

Re: [Wicket-user] Issue with AJAX and InternalFrame

2006-10-26 Thread Igor Vaynberg
see Page.init()wicket reads off the pagemap name off url when the page is initialized - only when there is no pagemap encoded into the url a new one is created-Igor On 10/26/06, Allen James [EMAIL PROTECTED] wrote: Thanks for the quick repsonse Igor, that appears to have been my problem.I used the

Re: [Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-26 Thread Martijn Dashorst
Did you download and see the same effect with the Wicket Quickstart project? Martijn On 10/26/06, Flavius [EMAIL PROTECTED] wrote: I'm new with wicket and started a vanilla project. I created my application class which extends WebApplication and defined a home page called Home.java (and

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
After a quick search for mac os x utf-8 filenames subversion I found this page, which fixes the problem.http://www.snark.de/index.cgi/0003Of course, I used: env LC_CTYPE=en_US.UTF-8 svnas my command instead of de_DE.UTF-8.On 10/26/06, Caleb Land [EMAIL PROTECTED] wrote:I removed my wicket working

Re: [Wicket-user] why is isRenderAllowed() protected?

2006-10-26 Thread Johan Compagner
why would a parent be none visible if one of its childs is not visible??isVisibleInHierachy is exactly what it says for one component. It test if that componentwill be visible yes or know. And that depends on itself or his parent visibility or render allowed boolean. johanOn 10/26/06, ChuckDeal

[Wicket-user] Tabbed Panel

2006-10-26 Thread Michael Welter
When navigating to the wicket example for tabbed panel using IE on OS/X, the tabs are stacked vertically. I get the same behavior in my application. I don't have a Windows box handy--does this happen with Windows/IE? Is this an IE problem or wicket? Is there a work-around? Thanks

Re: [Wicket-user] Tabbed Panel

2006-10-26 Thread Igor Vaynberg
try safariworks fine on IE in windows.-IgorOn 10/26/06, Michael Welter [EMAIL PROTECTED] wrote:When navigating to the wicket example for tabbed panel using IE on OS/X, the tabs are stacked vertically.I get the same behavior in my application.I don't have a Windows box handy--does this happen with

Re: [Wicket-user] Tabbed Panel

2006-10-26 Thread Martijn Dashorst
IE on OS/X is not supported anymore by MS or Apple. MS advises to use Safari. IE on Mac is horrible when compared to IE on Win. Martijn On 10/26/06, Michael Welter [EMAIL PROTECTED] wrote: When navigating to the wicket example for tabbed panel using IE on OS/X, the tabs are stacked vertically.

Re: [Wicket-user] Tabbed Panel

2006-10-26 Thread Igor Vaynberg
it works fine in ie on windows-igorOn 10/26/06, Michael Welter [EMAIL PROTECTED] wrote: If you have IE on Windows, please go to the tabbed panel example andverify that it works correctly (I don't have a Windows box handy and there's 30 of snow in my driveway).ThanksMartijn Dashorst wrote: IE on

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Frank Bille
Hey does that mean that you have fixed it? BTW The files should be in ISO-8859-1 (latin1) in svn. Do you still have problems?FrankOn 10/26/06, Caleb Land [EMAIL PROTECTED] wrote: After a quick search for mac os x utf-8 filenames subversion I found this page, which fixes the problem.

Re: [Wicket-user] Tabbed Panel

2006-10-26 Thread Stefan Lindner
When navigating to the wicket example for tabbed panel using IE on OS/X, the tabs are stacked vertically. I get the same behavior in my application. You must provide a sufficient CSS for your desired tabpanel appearance. If you download the source for the wicket-examples, you will find an

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
I can check Wicket out of svn now, but my compiler is barfing (when I run mvn install from the wicket module's directory): [INFO] [ERROR] BUILD FAILURE [INFO]

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Frank Bille
Hmm great. I'll remove the tests for now until I have found out how to do it. FrankOn 10/26/06, Caleb Land [EMAIL PROTECTED] wrote:I can check Wicket out of svn now, but my compiler is barfing (when I run mvn install from the wicket module's directory): [INFO]

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
Actually, the error on the Ubuntu boxes is: [INFO] [ERROR] BUILD FAILURE[INFO] [INFO] Compilation failure

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Frank Bille
When I run them on my ubuntu box I don't get an error. I will try to do a clean checkout from the commandline and see what happens when building using maven on ubuntu.FrankOn 10/26/06, Caleb Land [EMAIL PROTECTED] wrote: Actually, the error on the Ubuntu boxes is: [INFO]

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Frank Bille
Hmm.. I still can't reproduce locally. But anyway I have removed the tests again from trunk (removing them from 1.x in a moment).FrankOn 10/26/06, Frank Bille [EMAIL PROTECTED] wrote: When I run them on my ubuntu box I don't get an error. I will try to do a clean checkout from the commandline and

Re: [Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-26 Thread Flavius
I found the issue. I'm putting the images in for the home page. One tag didn't have an entry for the src, like img src= . . . . That was calling the home page. :-( -- View this message in context: http://www.nabble.com/Wicket-1.2.2-home-page-loads-twice-tf2515875.html#a7022847 Sent

[Wicket-user] reminder for wicket-dev on Apache

2006-10-26 Thread Eelco Hillenius
Hi folks, This email is to remind you that we are active as an incubating project over at Apache now: http://incubator.apache.org/projects/wicket.html If you want to follow the developer discussions over there, please subscribe to wicket-dev at incubator.apache.org (by sending an email to

Re: [Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Eelco Hillenius
And ultimately, there is custom markup loading (wicket.examples.customresourceloading), though I would only consider that when working with 2.0. Eelco On 10/26/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: exactly, style is a per session setting whereas variation is a per component setting.

[Wicket-user] sportswear thunderbolt

2006-10-26 Thread Hope Barry
I've never really subscribed to the buzzword-loading technique. used to record tons of shows everyday. There are plenty of other interesting people at their office too. Still there are some helpful pointers in here that anyone can use. Eventually the cylons revolted and there was much waring.