[Wicket-user] A couple of issues while handling bookmarkable pages....

2007-06-04 Thread Swaroop Belur
Problem 1: In my application, I have mounted a couple of urls. Steps: 1 log on using bookmarkable url 2 click on a link in that page which presents me with different panel which replaces an exisiting panel. [ So basically the view that a user gets is different from when he logs in after

Re: [Wicket-user] AuthenticatedWebApplication - Component Level Authentication

2007-06-04 Thread Maurice Marrink
Please do, yesterday i checked in some changes that should redirect you to the login page if you place secure components on a non secure page. All the documentation and examples are still work in progress but you could check out the junit tests and the documentation here

Re: [Wicket-user] Bug in 1.3? HeaderContributor.forCss(String)

2007-06-04 Thread Johan Compagner
But what about this my page is in a package org.wicket. in that page i have this: foo/bar.css where does that css resides then? in /context/org/wicket//foo/bar.css? or /context/foo/bar.css? I must admit that i don't know exactly how the src urls are interpreted at the moment (are the

Re: [Wicket-user] (WICKET-539) QueryStringUrlCodingStrategy does not handle multi-valued parameters

2007-06-04 Thread Jean-Baptiste Quenot
* Ingram Chen (JIRA): Ingram Chen commented on WICKET-539: hmm.. if we can't fix for 1.2.x branch, at least provide some workaround to avoid it. This bug is not just a corner case, it already hurts our production system.

Re: [Wicket-user] javascript version of setVisible()

2007-06-04 Thread Matthieu Casanova
007/6/3, Vincent Demay [EMAIL PROTECTED]: Matthieu Casanova a écrit : Hi, I want to hide a component, and sometimes making it visible using javascript. Is there something like that in wicket api or should I do it myself with some javascript ? Hi, If you want to make your component

Re: [Wicket-user] When my page is onload, can Ajax Modal window be loaded?

2007-06-04 Thread Jean-Baptiste Quenot
* Liu Lin: When my page is onload, can Ajax Modal window be loaded? It's auto loaded. Not click button to load modal window. Have you tried to show() the modal dialog during construction or rendering of your page? Does it work? -- Jean-Baptiste Quenot aka John Banana Qwerty

Re: [Wicket-user] extension.Palette class

2007-06-04 Thread Martijn Dashorst
Just did that with FF 2.0.0.4 / OS X, and I don't see the XX appear. Do you have some firefox extension installed? Martijn On 6/1/07, Ken Leung [EMAIL PROTECTED] wrote: No, other controls work ok. Actually what I have found is that firefox does this, IE7 doesnt. I am using firfox 2.0.0.4.

Re: [Wicket-user] javascript version of setVisible()

2007-06-04 Thread Vincent Demay
Matthieu Casanova a écrit : 007/6/3, Vincent Demay [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Matthieu Casanova a écrit : Hi, I want to hide a component, and sometimes making it visible using javascript. Is there something like that in wicket api or should I do it

Re: [Wicket-user] Confused about relative paths and my css.

2007-06-04 Thread Al Maw
Thomas R. Corbin wrote: On Friday 01 June 2007 1:42 pm, Matej Knopp escreveu: Look at what url is your stylesheet. The images withing stylesheet are always located relatively to the stylesheet itself. so there's no way to make them relative to the context path/root? If you don't care

Re: [Wicket-user] Relative path to image for javascript referral

2007-06-04 Thread Al Maw
Thies Edeling wrote: Hi, This must have been asked a zillion times but I couldn't find the right answer in the list archives. Anyway, I have some javascript which does an image replacement on a mouseover (need a JS version for browser compatibility :( ). AFAIK JavaScriptReference

Re: [Wicket-user] A couple of issues while handling bookmarkable pages....

2007-06-04 Thread Al Maw
Swaroop Belur wrote: This is to do with images . If the page is mounted, images are not shown otherwise images are shown. It appears that images do not get picked up if I mount a page. Otherwise if i click on a link in some other page [ which is not mounted] and which takes me to the

Re: [Wicket-user] DropDownChoice inside ModalWindoe is not displayed in IE

2007-06-04 Thread Frank Bille
Hi Which version do you use. I remember having the same problem but I also remember matej fixing this. This is quite a while ago. Frank On 6/4/07, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, I have a panel containing a DropDownChoice . This panel is displayed inside a ModalWindow. This

Re: [Wicket-user] Injecting session scoped beans with wicket-spring-annot

2007-06-04 Thread Daniel Stoch
It seems that in Wicket 1.3 session and request scoped beans work ok. But I've done only a very simple tests. PS. The problem with prototype scoped beans (multiple instance creation) still exists. Daniel On 6/1/07, Daniel Stoch [EMAIL PROTECTED] wrote: Hi, I want to inject a spring bean with

[Wicket-user] TextTemplateHeaderContributor.forJavaScript and Ajax

2007-06-04 Thread N. Kiellberg
Hi I have panel where I have added a TextTemplateHeaderContributor. When I include this panel directly on a page there is no problems, but when I use Ajax to replace another panel with this panel it dosen´t work. It seems like the browser dosen´t know that js-functions has been included . If I

Re: [Wicket-user] Injecting session scoped beans with wicket-spring-annot

2007-06-04 Thread Rüdiger Schulz
As requested in the other thread, there is now an issue in JIRA: https://issues.apache.org/jira/browse/WICKET-613 I appended a link to this thread as well. Rüdiger 2007/6/4, Daniel Stoch [EMAIL PROTECTED]: It seems that in Wicket 1.3 session and request scoped beans work ok. But I've done

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-06-04 Thread Xavier Hanin
On 3/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if elements are not visible they are not validated so what you have to do is not allow the user to switch between tabs unless everything on that tab has validated. you can do this by overriding the linkfactory on the tabbed panel, using a

[Wicket-user] Tree with add/delete/edit nodes

2007-06-04 Thread NYSophia
I have searched the archive and the last time someone asked about this seems to be 2006. We are new to wicket and were impressed with the Editable tree table example. We wanted to try to create a tree display that lets the users edit the nodes of the tree by adding a button to add a child node

Re: [Wicket-user] Tree with add/delete/edit nodes

2007-06-04 Thread evan2nave
Hi, This sounds great. Would you mind posting the java code and html file (or relevant snippets) for a page that accomplishes this? I'm still very new to wicket, and the example would be very helpful! Thanks, -Evan James McLaughlin-3 wrote: Hello, I've just done this, works like a charm.

Re: [Wicket-user] Hibernate LazyInitializationException on first call

2007-06-04 Thread Al Maw
Tremelune wrote: I have OpenSessionInViewFilter configured for Spring in my web.xml file, but I'm still getting lazy init errors in Wicket. What could I be missing? Make sure you list your OpenSessionInViewFilter filter-mapping element *before* your Wicket one in your web.xml. They're run

[Wicket-user] Getting sent to PageExpiredErrorPage when page is not expired

2007-06-04 Thread jayTSM
Sporadically, I'm seeing form submissions rerouted by wicket internally to the pageExpiredErrorPage, when it seems the requested page is not expired. Does anyone have any ideas why this might be happening? These page-expiration error cases seem to occur when the form's response page is set to the

Re: [Wicket-user] Getting sent to PageExpiredErrorPage when page is not expired

2007-06-04 Thread Eelco Hillenius
We've had a couple of instances where this happened for Ajax requests. Should be fixed now though. Can you tell us more about which version you are using and what kind of pages/ functionality you see this with? Thanks, Eelco On 6/4/07, jayTSM [EMAIL PROTECTED] wrote: Sporadically, I'm seeing

Re: [Wicket-user] Hibernate LazyInitializationException on first call

2007-06-04 Thread Tremelune
Ha! That was it! Glorious, thanks. Al Maw wrote: Make sure you list your OpenSessionInViewFilter filter-mapping element *before* your Wicket one in your web.xml. They're run in order. Al -- Alastair Maw Wicket-biased blog at http://herebebeasties.com

Re: [Wicket-user] Tree with add/delete/edit nodes

2007-06-04 Thread James McLaughlin
I don't really have urls or code I can share. I do have a brain dead simple quickstart I created to determine if a bug was in my code or wicket (mine, obviously :)). Hope this helps: http://bones.homelinux.org/wicket/quicktree.jar You will want to look at SimpleTreePage.java best, jim On

[Wicket-user] Making custom MessageResolver

2007-06-04 Thread Murat Yücel
Hi All I have currently made a custom message resolver using the IComponentResolver interface. The reason i have made this is because it is not possible setEscapeModelString(false) for the wicket:message tag. Well now i have another issue. If someone logon to my application as text

Re: [Wicket-user] Wicket YUI

2007-06-04 Thread Joshua Lim
Hi... I updated the Yui Slider and also the examples on it. It now includes a divisor so that it can return a more customisable range of value instead of pixel values. also the slider thumb will initialise to the starting value based on the model of the textfield attached to it. have fun. Josh

Re: [Wicket-user] Getting sent to PageExpiredErrorPage when page is not expired

2007-06-04 Thread Jonathan Locke
when i was running into this, it turned out that we were losing the session cookie. try checking the jsessionid cookie before and after and see if it changes. jayTSM wrote: This behavior seems to be happening on non-ajax requests. The component being submitted is a basic subclass of the

Re: [Wicket-user] Making custom MessageResolver

2007-06-04 Thread Juergen Donnerstag
The current implementation in 1.3 trunk does setEscapeModelString(false) (see WicketMessageResolver(line 130) I haven't yet understood why you want to add either the Label and/or the Link via the IComponentResolver? Why not make the Link a std component like a wicket:id=myLink href=#