Re: [Wicket-user] ConcurrentModificationException during AJAX updates

2006-02-06 Thread Johan Compagner
not sure whether that is the best solution. I think we shouldfirst find out why our session synchronization isn't working in thiscase.EelcoOn 2/5/06, Johan Compagner [EMAIL PROTECTED] wrote: Is there more then one request happening at the same time? Can you check that with a system.out somewhere

Re: [Wicket-user] Re: Wicket - Dojo Contrib Examples

2006-02-06 Thread Johan Compagner
just want to know if this was netbeans fault cuz i followed the example steps to the letter On 2/4/06, Johan Compagner [EMAIL PROTECTED] wrote: what is youre webapp root? is it /general/guestbook/ ? because the urls you are seeing should be packaged resources that should be served by wicketwhat dir

Re: [Wicket-user] ConcurrentModificationException during AJAX updates

2006-02-06 Thread Johan Compagner
Vaynberg [EMAIL PROTECTED] wrote: sounds like something to be fixed on our end. if i am writing a request target and say sync on session i should not be worrying about concurrency.-Igor On 2/6/06, Johan Compagner [EMAIL PROTECTED] wrote: Huh?Why it doesn't work is pretty easy to understand

Re: [Wicket-user] ConcurrentModificationException during AJAX updates

2006-02-06 Thread Johan Compagner
the calls to targetcomponents etc. we should not have sync problems. The problem here is that the call to cleanup() in RequestCycle (ln1044), which triggers the Session.update() method, is done after/outside the synchronized code. Maybe we should change.Eelco On 2/6/06, Johan Compagner [EMAIL

Re: [Wicket-user] Re: wicket links and usability

2006-02-07 Thread Johan Compagner
do you have a nice patch for this that would should youre needs and that is simple and easy to use?On 1/30/06, pepone pepone [EMAIL PROTECTED] wrote:nobody see this as a problem??On 1/24/06, pepone pepone [EMAIL PROTECTED] wrote: Hello all I using wicket and think that there is samething wrong

Re: [Wicket-user] iframe error : ConcurrentModificationException

2006-02-07 Thread Johan Compagner
are you sure that is the latest snapshot?Because that Session.java 767 line number doesn't make sense it seems like an old lineAnd in the latest code this should be fixed.johan On 2/7/06, Marieke Vandamme [EMAIL PROTECTED] wrote: I have a problem using multiple iframes on one WebPage. This error

Re: [Wicket-user] wicket.WicketRuntimeException while redirecting to Login Page

2006-02-07 Thread Johan Compagner
please try to upgrade to the latest 1.1 or even better try using the latest snapshots.what you could do is this in 1.1:redirectToInterceptPage(newPage(Login.class));setResponsePage(null); On 2/7/06, Dipu [EMAIL PROTECTED] wrote: Hi , I have got a base page which is extended bymost of the

Re: Betr.: Re: [Wicket-user] iframe error : ConcurrentModificationException

2006-02-08 Thread Johan Compagner
this all will not really fix youre concurrent exception because that was a bug when 2 request (what 2 frames will cause) happens on the same time modifying the same session object.That should be fixed with the latest snapshot or cvs. johanOn 2/8/06, Marieke Vandamme [EMAIL PROTECTED] wrote:

[Wicket-user] Re: [Wicket-develop] remove Page.checkAccess() in 1.2?

2006-02-08 Thread Johan Compagner
. Eelco On 2/8/06, Johan Compagner [EMAIL PROTECTED] wrote: Yes but checkAccess is then a bit strange method name.. With the new interface it is better named and refactored. The question still stays.. Can i remove checkAccess() in 1.2 all together or depricate it for 1.2 and remove

Re: [Wicket-user] Added i18n page to wiki

2006-02-09 Thread Johan Compagner
see Application.getDebugSettings().setComponentUseCheck(boolean check);On 2/9/06, David Leangen [EMAIL PROTECTED] wrote:Thanks for the suggestion below. That seems like a really good solution for internal links. I have yet to check out bookmarkable links.I'm still wondering, though, about

Re: [Wicket-user] RestartResponseAtInterceptPageException

2006-02-09 Thread Johan Compagner
What is the original page?Really the page with the link on it?So when you click a link on it your wnat to redirect and return to the page with the link on it?Curious what the case would be for that.i think you just need to use this class: public RestartResponseException(Page page)and then youre

Re: [Wicket-user] Scope of application object

2006-02-09 Thread Johan Compagner
you shouldn't use the Http session directlyBut using the Wicket session object (or a wikcet session sub clas object of youre own) can be used fine to share global information (like the logged in user)sharing information between pages for page construction i would do through special page

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

2006-02-10 Thread Johan Compagner
isn't that ssl problem a problem when you mix stuff?So non ssl pages and a ssl pages? And you want to generate a (page)link that goes to a ssl one or the other way around?The default wicket doesn't generate the http server port part of the url only the / path. So that is or was a problem

Re: [Wicket-user] Exception when displaying List from hibernate

2006-02-10 Thread Johan Compagner
that looks like very wrong codeDon't know where these pieces of code are in: //get default directory Directory ed = DirectoryProxy.getDefaultWithEmployees(); //get employees from directory ListEmployee employees = ed.getEmployees();but if that is in a webpage constructor or something that it

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

2006-02-10 Thread Johan Compagner
, Johan Compagner [EMAIL PROTECTED] wrote: isn't that ssl problem a problem when you mix stuff?So non ssl pages and a ssl pages? And you want to generate a (page)link that goes to a ssl one or the other way around?The default wicket doesn't generate the http server port part of the url only the /

Re: [Wicket-user] Exception when displaying List from hibernate

2006-02-10 Thread Johan Compagner
[EMAIL PROTECTED] wrote: I'll try it...not being a Swing programmer and never really having to think about how this type of event model works...I had no idea I could do it that way. Thanks very much for the info!I'll see what happens once I get it working. On 2/10/06, Johan Compagner [EMAIL

Re: [Wicket-user] ListMultipleChoice

2006-02-11 Thread Johan Compagner
i don't know what goes wrong. In the forminput example we have also a ListMultipleChoice and that one is working fineCan you just look what goes wrong just set a breakpoint in ListMultipleChoice.updateModel()and see why the Collection selectedValues = (Collection)getModelObject(); is not filled

Re: [Wicket-user] Re: Security framework in Wicket

2006-02-11 Thread Johan Compagner
be part ofa model framework.A beautiful design would be to make it possible to add any kind of hook,and not to provide any hooks that are unrelated to the core tasks. Timo On 2/11/06, Timo Stamm [EMAIL PROTECTED] wrote: Johan Compagner schrieb: We have now a Security framework (better said security

Re: [Wicket-user] Re: Security framework in Wicket

2006-02-12 Thread Johan Compagner
In my case, I don't even need authorization exceptions. It looks like this:for (Action a : entity.getActions()) {add(new ActionButton(a));}So for every link/button you have you have a listview and/or panels in wicket?Because you can't just not add a button/link if it is specified in the markup.

Re: [Wicket-user] Wicket goodie: Versioned form blog entry

2006-02-13 Thread Johan Compagner
nice but i do it already a little bid different.Because what we want is that person A alters field X and person B field Y then it may pass.(ok it can be that those 2 fields are related to each other but then a validator must handle that) The big trick we needed to fix was that a form input that is

Re: [Wicket-user] Graphics, css, html and classes

2006-02-13 Thread Johan Compagner
some ideasMake those resources also PackageResources so inside the src dir.Or set a hard path ../../../ in Index.html to style.css and logo.pngAnd then fix that path at runtime johan On 2/13/06, Tom S. [EMAIL PROTECTED] wrote: Hi,At the moment I have following project structure:[root]+

Re: [Wicket-user] Graphics, css, html and classes

2006-02-13 Thread Johan Compagner
=""> /wicket:remove style src="" On 2/13/06, *Johan Compagner* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: some ideas Make those resources also PackageResources so inside the src dir. Or set a hard path ../../../ in Index.html to style.css and logo.png And then fix that path

Re: [Wicket-user] ApplicationSettings.setSigninPage moved?

2006-02-13 Thread Johan Compagner
yes it is removed and the replacement is: setUnauthorizedComponentInstantiationListener()see the library examplegetSecuritySettings().setUnauthorizedComponentInstantiationListener(new IUnauthorizedComponentInstantiationListener() { public void onUnauthorizedInstantiation(final Component

Re: [Wicket-user] complex forms w/ dynamic name/id attributes

2006-02-14 Thread Johan Compagner
why are the names not unique?Which names?It should work fine building those forms. Just use setOptimizedRemoval(true) on the listviewso that it doesn't regenerate youre form everytime.johan On 2/13/06, VGJ [EMAIL PROTECTED] wrote: I understand simple wicket forms at least a little now...but

Re: [Wicket-user] Removal of ISecuritySettings.get/setSignInPage()

2006-02-14 Thread Johan Compagner
fine by me but should we make a SimplePageUnauthorizedComponentInstantiationListener(SignIn.class); to simplify itfor usersthen they can do (libray example:) getSecuritySettings().setUnauthorizedComponentInstantiationListener(new SimplePageUnauthorizedComponentInstantiationListener( SignIn.class);

Re: [Wicket-user] Post 1.2 roadmap

2006-02-14 Thread Johan Compagner
are we sure we just one to package that in the wicket.jar?Why not release it as a seperate jar? What is wrong with that? Then people can choose to use it or not.(just like extentions)We just have to sync the release cycle. On 2/14/06, Jonathan Locke [EMAIL PROTECTED] wrote: +1 on Java 5 sooner.

Re: [Wicket-user] Post 1.2 roadmap

2006-02-14 Thread Johan Compagner
having 1.3 with constructor change and fixes and maybe one or 2 things more (ajax related) looks fine to meand then 2.0 with java 5 support.I will then try to backport most wanted features and bug fixes if possible because i can't use 1.5 because manymany customers don't run 1.5 on there servers.

Re: [Wicket-user] Removal of ISecuritySettings.get/setSignInPage()

2006-02-14 Thread Johan Compagner
it something more like UnauthorizedPageInstantiationRedirector or even just SimpleAuthenticator. On 2/14/06, Johan Compagner [EMAIL PROTECTED] wrote:fine by me but should we make a SimplePageUnauthorizedComponentInstantiationListener( SignIn.class); to simplify itfor usersthen they can do (libray

Re: [Wicket-user] URL redirect

2006-02-14 Thread Johan Compagner
In the current version of 1.2 the home page shouldn't be redirected if it was justmounted on / if it was mounted to another path then a redirect is done (in 1.1 this was an option what to do with the home page: redirect to bookmarkable varant, redirect to path=x or don't redirect) johanOn 2/14/06,

Re: [Wicket-user] Post 1.2 roadmap

2006-02-14 Thread Johan Compagner
that would be very hard to maintain.For example if you have a panel that is rewritten by using only the new parent in constructor params.And you add that in youre own webpage/panel that doesn't use that parent in constructor param. Then you get all kind of errors because the child panel expect to

Re: [Wicket-user] Post 1.2 roadmap

2006-02-14 Thread Johan Compagner
another java5 jar that is an add on for the normal wicket.jar?If we introduce generics i think it will be ALL over the place throughout the complete code base of wicket.There is no real seperation.johan On 2/14/06, Ingram Chen [EMAIL PROTECTED] wrote: Here is my opinion:+1 for the Constructor

Re: [Wicket-user] Removal of ISecuritySettings.get/setSignInPage()

2006-02-14 Thread Johan Compagner
yes that is for SimplePageAuthorizationStrategy even easier to use. Only one thing to do/create.johanOn 2/14/06, Mark Derricutt [EMAIL PROTECTED] wrote:On 2/14/06, Johan Compagner [EMAIL PROTECTED] wrote: then i prefer SimplePageAuthenticator to be in line wit hthe

Re: [Wicket-user] Example web-applications

2006-02-14 Thread Johan Compagner
i think the component reference examples (in our examples project) and all the others are pretty good explaining the basicsbesides that we have examples of spring (in the wicket cvs repository)and in the wicket-stuff cvs repository we have a lot of other example projects (ajax examples like dojo

Re: [Wicket-user] URL redirect

2006-02-14 Thread Johan Compagner
Why should it redirect to /foo/xyz.abc?You can do that if you mount bookmarkable pages i guess.What kind of resource is not found?Can you give an example?johan On 2/14/06, Thomas Singer [EMAIL PROTECTED] wrote: does this clear things up?No, not really. it processes because the url

Re: [Wicket-user] URL redirect

2006-02-14 Thread Johan Compagner
Why should it redirect to /foo/xyz.abc?Because I've entered /foo/ and a typical plain-html-webserver redirects to /foo/index.html.Thats not true many serve you the index.html on that dir but in the url you mostly just see /At least for homepages this is mostly the case. What kind of resource is

Re: [Wicket-user] URL redirect

2006-02-14 Thread Johan Compagner
wicket just does everything under /foo?xxxSo if you have plain web resources that are not served by wicket through shared resourcesthen just take that path into account in youre html files On 2/14/06, Tom S. [EMAIL PROTECTED] wrote: Thats not true many serve you the index.html on that dir but in

Re: [Wicket-user] Post 1.2 roadmap

2006-02-15 Thread Johan Compagner
such a class so if the value of one of the arguments needs to be calculated ormodified in any way prior to the super() call you're out of luck.GiliTimo Stamm wrote: Johan Compagner schrieb: that would be very hard to maintain. For example if you have a panel that is rewritten by using only the new parent

Re: [Wicket-user] Download dynamic pdf via Link

2006-02-15 Thread Johan Compagner
that should work i think (need to test this)But why don't you use a ResourceLink with a ByteArrayResource as the resource in its constructor?johanOn 2/15/06, Ingram Chen [EMAIL PROTECTED] wrote: Dear all, I would like to download iText pdf document via Link component: new Link(download) { public

Re: [Wicket-user] Re: Download dynamic pdf via Link

2006-02-15 Thread Johan Compagner
When do you generate that byte[] is it already there? when you construct the link?Then i would replace the new Link() with new ResourceLink(xx,new ByteArrayResourceStream())else yes use youre DynamicByteArrayResource. But i still would use the ResourceLink not implement that resource streaming

Re: [Wicket-user] Re: Download dynamic pdf via Link

2006-02-15 Thread Johan Compagner
tried onClick() but it doesn't work. On 2/15/06, Johan Compagner [EMAIL PROTECTED] wrote: When do you generate that byte[] is it already there? when you construct the link?Then i would replace the new Link() with new ResourceLink(xx,new ByteArrayResourceStream())else yes use youre

Re: [Wicket-user] Post 1.2 roadmap

2006-02-15 Thread Johan Compagner
not an wicket expert. But would it help to change theconstructors in wicket to factory methods?On 2/15/06, Johan Compagner [EMAIL PROTECTED] wrote: How is this method any different with our current Component.setParent(), called in Component.add() Then we still don't have the parent (==page) already available

Re: [Wicket-user] PropertyModel question

2006-02-15 Thread Johan Compagner
it should work fine.public fields are found.johanOn 2/15/06, Eelco Hillenius [EMAIL PROTECTED] wrote:I saw from the commit logs that Jonathan just removed this. Are people using this a lot? I know it used to be possible with OGNL...EelcoOn 2/15/06, Matej Knopp [EMAIL PROTECTED] wrote: It is

Re: [Wicket-user] CMS-like functionality with bookmarkable page

2006-02-16 Thread Johan Compagner
everything started working perfectly. Did the team come to a consensus about reserved words? The last I saw the idea was to use w_word -Riyad Johan Compagner wrote: a bookmarkable page is created everytime. So that page can't be expired. What version of wicket are you using? And what do you exactly

Re: [Wicket-user] DatePicker question with TextBox associated with input READONLY

2006-02-16 Thread Johan Compagner
readobly should work fine.As far as i know readonly fields are committed (disabled are not) so it should be fine.johanOn 2/16/06, Frank Silbermann [EMAIL PROTECTED] wrote: A DatePicker is typically attached to a TextBox. In the FormInput example, a validator is also attached to

Re: [Wicket-user] PageableListView

2006-02-16 Thread Johan Compagner
why would it the PageableListView have to know that?The navigator n eeds to know that and that one just compared: list.getCurrentPage() == my ownpage.johanOn 2/16/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: The wicket.markup.html.list.PageableListView isquite handy. but why are these two

Re: [Wicket-user] Form.onSubmit - refresh current page or redirect to another

2006-02-16 Thread Johan Compagner
you said you want to reload a page in a browser.But it will always be the page you made once if you do a refresh or submit to that page.We don't create new pages all the time. We keep state in the pages.HomePage and Bookmarkable urls that point to pages will create a new Page (done by the

Re: [Wicket-user] Post 1.2 roadmap

2006-02-16 Thread Johan Compagner
igor is ofcourse 100% right !We all should really listen to what igor has to say on this matter!!I always completely agree with igor! We all should follow him!!johan On 2/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote: it doesnt matter how the post started, you have to read the entire thing.first he

Re: [Wicket-user] Post 1.2 roadmap

2006-02-17 Thread Johan Compagner
If we do this (java5 and constructor change at once)Then we need to support 2 really different versions1.2 like it is now and a pretty much changed wicket by internals (constructor) and java5.If we don't we only really have to support 1.3 and 2.0 but those wickets are pretty much the same except

Re: [Wicket-user] Give me the constructor change and the Java 5 functionality

2006-02-17 Thread Johan Compagner
We already have committed our self that the constructor change will happen, just as the java 5 stuff will happen.The only question is when.but the constructor change is this, now you do this:public MyWebPage() { Form form = new Form(form); TextField field = new TextField(text); form.add(field);

Re: [Wicket-user] No such method

2006-02-17 Thread Johan Compagner
Somehow it seems that the code is a bit out of syncOr not compiled cleanly.Please make sure that you do compile everything from the start.If you look at the source code you do see that method?johan On 2/17/06, Mats Norén [EMAIL PROTECTED] wrote: Hi,I've upgraded from CVS today and got this

Re: [Wicket-user] Wicket Application behind a proxy

2006-02-18 Thread Johan Compagner
i am currently fixing this so that you can decide what the context path must beapplication.getApplicationSettings().setContextPath()will set it to use the root (what you use from the outside) johanOn 2/17/06, Al Maw [EMAIL PROTECTED] wrote: Timo Stamm wrote: I have a proxy server:http://proxy.com/

Re: [Wicket-user] conceptual question

2006-02-18 Thread Johan Compagner
What sort of application data is automatically stored in the wicketservlet's HttpSession (for simplicity, assume that models are not detachable).First youre wicket session object (and everything you put in it when you subclass it) is stored in the session.Second are the pagemaps, the default one

Re: [Wicket-user] FormToModel Binding - Can Annotations Help

2006-02-18 Thread Johan Compagner
we do it the other way around.just do this in youre example:[Form Code] Form myform = new Form(myform, new CompoundPropertyModel(new Data())); TextField txt = new TextField(myprop); myform.add(txt); [/Form Code] myprop id is automaticaly mapped to youre model property mypropjohanOn 2/18/06,

Re: [Wicket-user] Too many open files problem

2006-02-19 Thread Johan Compagner
No this is already discussed long time ago on this mailing list.It is a bug of sun. We can't do ONE thing about it.. It really sucks i know but its out of our hands.Here is the bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4950148Please vote for it, because we as wicket really have

Re: [Wicket-user] Too many open files problem

2006-02-19 Thread Johan Compagner
+1 calling configure youre self doesn't make anysense.This is one thing that just have to be configured somewhere else (web.xml or system property)johanOn 2/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: seems there is a problem with how application.configure() works.if you call

Re: [Wicket-user] NullPointerException from a SubmitLink

2006-02-19 Thread Johan Compagner
Is the wicket component reference examples also failing at youre place?Because those seems to do fine at my place.What i find very strange by looking at youre stack is that what i see doesn't have anything to do with the link. Because it is in the response phase for a BookmarkablePage.Can you run

Re: [Wicket-user] Too many open files problem

2006-02-19 Thread Johan Compagner
it just be one open file per URLClassLoader? On 2/19/06, Johan Compagner [EMAIL PROTECTED] wrote: No this is already discussed long time ago on this mailing list.It is a bug of sun. We can't do ONE thing about it.. It really sucks i know but its out of our hands.Here is the bug: http

Re: [Wicket-user] Too many open files problem

2006-02-19 Thread Johan Compagner
file limits. Why would it need one connection per entry within a single Jar? Could it be something else that we are using (creating too many JARClassLoaders for the same jar or something)?-- Jess On 2/19/06, Johan Compagner [EMAIL PROTECTED] wrote: don't know how it reports that, But it seems

Re: [Wicket-user] Too many open files problem

2006-02-19 Thread Johan Compagner
Why??You can't call or shouldn't call it anyway...so whats the point.On 2/19/06, Gili [EMAIL PROTECTED] wrote:I'm -1 on this.GiliJohan Compagner wrote: +1 calling configure youre self doesn't make anysense. This is one thing that just have to be configured somewhere else (web.xml or system

Re: [Wicket-user] New RequiredValidator and DropDownChoice

2006-02-19 Thread Johan Compagner
the changes that where made where wrong anyway.I think this will handle most situations.. (especially components not disabled in wicket but only in html, which could be pretty common)johan On 2/19/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Do the other devs agree with the fix? I especially would

Re: [Wicket-user] Too many open files problem

2006-02-19 Thread Johan Compagner
fine by meOn 2/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: fine, lets just have an overriddable String getDeploymentMode() on the app. that will solve the current issue and allow the user to fetch that value from anywhere. by default we can try a sys prop and servlet init param/context param

Re: [Wicket-user] Too many open files problem

2006-02-19 Thread Johan Compagner
the polling thread is not started in configure.It is started then the first markup is being loaded.So you can override the polling frequenty in youre init method again if you want to On 2/19/06, Martijn Dashorst [EMAIL PROTECTED] wrote: We can't start the resource polling thread /after/ the init

Re: [Wicket-user] Martijn Igor Help

2006-02-20 Thread Johan Compagner
I see youre problem. When we try to resolve/find a mount target we now throw that error.That is a bit wrong because you haven't mounted anything you just ask to find a mount on /Why that happens i don't know that has something to do with youre config files. Because when you don't mount youre app

Re: [Wicket-user] Martijn Igor Help

2006-02-20 Thread Johan Compagner
in form) which turned out that my business logic was resetting values to zero,long story :), I only need some guidance to how to make this build work (specially that I can't wait to test Fragment and new Ajax stuff). Regards, AliOn 2/20/06, Johan Compagner [EMAIL PROTECTED] wrote: I see youre

Re: [Wicket-user] New 1.2 snapshot release available

2006-02-21 Thread Johan Compagner
what does the links really look like?and how do you run youre app? What is youre context?johanOn 2/21/06, Ali Zaid [EMAIL PROTECTED] wrote:Ok;Now you going to really hate me :), this build messed up anchors, so if I have a page with an anchor instead of calling the same page and anchor (like it

Re: [Wicket-user] New 1.2 snapshot release available

2006-02-21 Thread Johan Compagner
fixed it just anchor tags are now not made absolute anymore by the PrependContextPathHandlerOn 2/21/06, Ali Zaid [EMAIL PROTECTED] wrote::), Thanks;Well, I love wicket, it's like a dream came true to me, last few days I created a big mess out of nothing regarding form update and it turnout that

Re: [Wicket-user] Re: DatePicker Errors

2006-02-21 Thread Johan Compagner
you really seem to be mixing up wicket jars or something i see no other way why this would happen otherwise.johanOn 2/20/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:hmm...one more thing, i am using DataBinder.netVersion 0.2 to work with Hibernate and A Form class has to extend DataForm

Re: [Wicket-user] Re: DatePicker Errors

2006-02-21 Thread Johan Compagner
[EMAIL PROTECTED] wrote: really... On 2/21/06, Johan Compagner [EMAIL PROTECTED] wrote: you really seem to be mixing up wicket jars or something i see no other way why this would happen otherwise. johan On 2/20/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: hmm...one more thing, i am using

Re: [Wicket-user] New 1.2 snapshot release available

2006-02-21 Thread Johan Compagner
. Martijn On 2/21/06, Ali Zaid [EMAIL PROTECTED] wrote: Johan; Thanks, is there a new snapshot? or should I download it from cvs, but then the problem would be where and how :) On 2/21/06, Johan Compagner [EMAIL PROTECTED] wrote: fixed it just anchor tags are now not made absolute

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread Johan Compagner
and we could interpreted the results this way that there are still quite a number of persons that can't use 1.5 yet.So it is not a pure democratic vote but just the get a feeling how many people would be really set backed by directly 1.5I still believe that you can live without it, but you can't

Re: [Wicket-user] wicket and ognl

2006-02-23 Thread Johan Compagner
and do not forget the irritatin null handling of ognl On 2/23/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yes. Or rather a limited subset of the functionality. When profilingWicket we (Johan) found out that OGNL had a much higher impact on the performance than it should have had - from the top

Re: [Wicket-user] Detachable resources

2006-02-23 Thread Johan Compagner
i guess you are now talking about a Component that is directly its own Resource Streamer? of do you have Shared Resources with a detachablemodel? That would be strange because that doesn't make anysense for wicket (we don't attach/detach it) But for a component and a model impl that has the

Re: [Wicket-user] Detachable resources

2006-02-23 Thread Johan Compagner
Iresourcestream.close() On 2/23/06, Gili [EMAIL PROTECTED] wrote: I meant I haved a Resource that gets its data from the database. So Iwrapped my Hibernate object in a LoadableDetachableModel. Basically what I am noticing is this:1) First request comes in2) New Hibernate session is opened3)

Re: [Wicket-user] Subversion available for test

2006-02-24 Thread Johan Compagner
Seems to work fine at my placeI can check out and commit again.On 2/24/06, Igor Vaynberg [EMAIL PROTECTED] wrote:ok, that doesnt help me in any way though. -IgorOn 2/24/06, Martijn Dashorst [EMAIL PROTECTED] wrote:You don't need to log in. only when committing you'll be queried for a

Re: [Wicket-user] New to Wicket

2006-02-24 Thread Johan Compagner
Looking at the WEB-INF/lib dir inside the War/extracted dirDo you have there a servlet.jar?If so remove it.johanOn 2/24/06, Singh, Varun [EMAIL PROTECTED] wrote: Hi, I've tried deploying the wicket-examples war file. Tomcat expands the WAR file into proper directory structure but I

Re: [Wicket-user] Page Versioning Problem

2006-02-25 Thread Johan Compagner
first of all a page has a version number not the listview.And when must the version be bumped up one?When the model of the listview changes?See the modelChanging can modelChanged() events. That will up the version number. johanOn 2/25/06, Robert McClay [EMAIL PROTECTED] wrote: I'm using Wicket

Re: [Wicket-user] light tree

2006-02-26 Thread Johan Compagner
don't think there is but you could search for it on the internet if you see a nice dynamic client side tree.And the fill that one with link that points to bookmarkable pages.Currently we need that because we need to sync up the links on the server and client side. johanOn 2/26/06, Nili Adoram

Re: [Wicket-user] Is wicket on the right path?

2006-02-26 Thread Johan Compagner
our existing static website, which was pre-rendered locally using fmpp, if you come from fmp pro then maybe www.servoy.com is something then? Servoy 3 uses wicket under de hood for its webpart. I've spend a couple of time to take a look at different web-applicationframeworks (incl. wicket) and, to

Re: [Wicket-user] Bookmarkable links (was: Added i18n page to wiki)

2006-02-26 Thread Johan Compagner
just make links like:a href="">wicket will make those links absolute.johanOn 2/26/06, David Leangen [EMAIL PROTECTED] wrote:I finally have some time to start looking into this some more... Why don't you just provide some bookmarkable links to your template designer? MyApplication.java:

Re: [Wicket-user] @SpringBean annotations

2006-02-26 Thread Johan Compagner
eh it is not a class not found exception, those are easy fix. No it is the most annoying error you can get in a java environment:java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer the NoClassDefFoundErrorSo cglib is found. But what that one wants is not

Re: [Wicket-user] enable/disable form controls

2006-02-26 Thread Johan Compagner
If you really want to do it client side. Why don't you it completely at the client side?If the rendered state always have to be calculated then you have to use attributemodifiers.Because if you do comp.setEnabled (false) and on the client side you just make it true in a scriptthen you still can't

Re: [Wicket-user] Bookmarkable links (was: Added i18n page to wiki)

2006-02-26 Thread Johan Compagner
with the latest snapshots all urls that you define will be made absolute by wicketWe have to do this because of our mounting of pages.johanOn 2/26/06, David Leangen [EMAIL PROTECTED] wrote: Page(_xx).html: Take a look at a href="" page/a! Unfortunately, this is not acceptable. The author

Re: [Wicket-user] Is wicket on the right path?

2006-02-26 Thread Johan Compagner
I can;t download the zip file resource not found.But remember if you make it relative with things like ..\..\.. then you have to ofcourse make it a wicket component and change the url/src attribute yourself to point to the right file. also you say:See above example, I do not get it to work as

Re: [Wicket-user] Detachable resources

2006-02-27 Thread Johan Compagner
theyhave not been re-attched.MauriceOn 2/24/06, Johan Compagner [EMAIL PROTECTED] wrote: personally i wouldn't keep hibernate objects in my models. Let one of the Hibernate caches do that for you down below (closer to youre data) instead of in the ui level/models. On 2/23/06, Gili [EMAIL PROTECTED

Re: [Wicket-user] Re: DatePicker problems

2006-02-27 Thread Johan Compagner
Then the sequence how you set the fields should be pushed by the locale settingsOr just specified in youre markup.johanOn 2/27/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: please just a suggestion about Date Components. Is it possible to have a FormComponent for Date that is rendered as 3 combo

Re: [Wicket-user] Basic - JavaScriptReference and IInitializer question.

2006-02-27 Thread Johan Compagner
Don't forget restarting youre server and reloading the session from disc.Then the Resources are also not there yet in the SharedResources.And static blocks are then completely evil! Because the static part: static{ PackageResourceReference resource = new PackageResourceReference ();}will pretty

Re: [Wicket-user] Bookmarkable links

2006-02-27 Thread Johan Compagner
what does youre html look like?If you have non absolute paths in src or href attributes of tags then they will be made absolute in the latest snapshots.i don't have any compile errors in head so don't know why you have. On 2/27/06, David Leangen [EMAIL PROTECTED] wrote: Sorry, I deleted the last

Re: [Wicket-user] Bookmarkable links

2006-02-28 Thread Johan Compagner
What test i do with the /.temp/www context path it works always.I tested in the the PrependContextPathHandlerTest we have in our unit test.And also when i do this in our FormInputApplication.init() method example: getApplicationSettings().setContextPath(/.temp/www);Then the stylesheet is altered

Re: [Wicket-user] Bookmarkable links

2006-02-28 Thread Johan Compagner
Wait a second do you use wicket:id tags in the link href="" rel=Stylesheet type=text/css/andimg src=""> Then you have to do it yourself!We don't touch urls generated by developer code.so when i see this:public Object getObject( final Component c ) {if ( ContentPage.this.isLocaleJapan

Re: [Wicket-user] Onsubmit giving error? Missing model?

2006-02-28 Thread Johan Compagner
You don't specify a model at all form or youre form (compound model) or the radiochoice.Where should the submit values go into if you don't supply a model under youre form components.johan On 2/28/06, Nino Wael [EMAIL PROTECTED] wrote: HiIm having some trouble getting my onsubmit to work, looking

Re: [Wicket-user] relative resources(css/images...) in HTML

2006-02-28 Thread Johan Compagner
That is the best thing you can do in wicket. They are called PackageResources which are added to our SharedResources (in application object)quite a lot of examples do use them.Just lookf for example that use the PackageResource, PackageResourceReference, SharedResources For example we have

Re: [Wicket-user] Refreshing dynamic images

2006-02-28 Thread Johan Compagner
By default resources are cachable.You have to turn that off first:SpclChartResource resource = new SpclChartResource() { /// fooo };resource.setCacheable(false);Image tmpImage2 = new Image(image2, resource);johanOn 2/28/06, Anders Peterson [EMAIL PROTECTED] wrote: Hi,On one page I'm displaying

Re: [Wicket-user] relative resources(css/images...) in HTML

2006-02-28 Thread Johan Compagner
i have to say that i don't find that the prefered (wicket) way.Ofcourse it is possible, but the best thing would be to package all resources in the classes dir or jar.(jar is a requirement ofcourse if you make a component that you want to reuse) johanOn 2/28/06, Thomas Singer [EMAIL PROTECTED]

Re: [Wicket-user] relative resources(css/images...) in HTML

2006-02-28 Thread Johan Compagner
what problem?it works fine if you have all youre resources in the classes dirin a html file you can do this:htmlheadscript wicket:id=test src="" /headand in the page you add that component to youre page:page(){ add(new _javascript_Reference(test, getClass(), ./../../../test.js));} On 2/28/06,

Re: [Wicket-user] Re: Refreshing dynamic images

2006-03-01 Thread Johan Compagner
if you set cacheable to false then it should work for you out of the boxbecause then no caching is set and the lastmodified time is set to -1The most browsers shouldn't cache it at all.The problem you had is that when it is enabled then we are setting some default caching headers and we set the

Re: [Wicket-user] Wicket and HTTP headers

2006-03-01 Thread Johan Compagner
no that was a pretty big change that affects quite a lot.Please use 1.2 for thisjohanOn 3/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote:wicket 1.2 properly handles headers ( it remembers which ones youve set and when the buffer renders after a redirect it issues them) i dont know if this is going

Re: [Wicket-user] is IValidatorResourceKeyFactory being used

2006-03-01 Thread Johan Compagner
I made the exception a bit more helpfull (component path is appended)I think we need to document and look how it exactly should work. johanOn 3/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: While you're at it, perhaps we could improve the error message on missing resources for validators?

Re: [Wicket-user] Re: Refreshing dynamic images

2006-03-01 Thread Johan Compagner
headers are set when the resource IS cacheable when not cacheable we don't set any headers and the lastmodified time will be -1johanOn 3/1/06, Anders Peterson [EMAIL PROTECTED] wrote: I was just about to suggest that some of Gwyn Evans' headers were set bywicket.I found the setHeaders(...) method

Re: [Wicket-user] Setting link text

2006-03-01 Thread Johan Compagner
yeah.. i still like to have such a link inside the core (called LabelLink or something)I still think that most beginnners always look at this and ask Why do i need to add an extra labelThe link text, if it is pushed by the javacode is in my eyes many times just something of that link. johanOn

Re: [Wicket-user] PageLink called request two times

2006-03-01 Thread Johan Compagner
don't know why that is called twicethe onBeginRequest should be called once, from the page.doRender()can you debug and see where the 2 calls come from?johanOn 3/1/06, R.A [EMAIL PROTECTED] wrote: Hi,I create PageLink in the FirstPage class's constructor.ex. Link nextLink = new

<    2   3   4   5   6   7   8   9   10   11   >