Re: [Wicket-user] Wicket YUI

2007-06-01 Thread Maurice Marrink
Hi James, There is a little project coming up for me that will require heavy use of the yui drag and drop functions, so I'll do some checking some time soon and will let you know if i have any questions. Since this is gonna be my first encounter with yui i have no doubt i will come come up with

Re: [Wicket-user] Is it possible to remove something from a page?

2007-06-01 Thread Eelco Hillenius
Lowell, Sorry for my bad answers today, I was doing too many things at the same time, and now that I re-read your use case I think I understand better what you want. If I'm correct, you want to decorate a label with a star, and use some css class or id with that star and have the ability to turn

Re: [Wicket-user] Wicket YUI

2007-06-01 Thread Eelco Hillenius
There is a little project coming up for me that will require heavy use of the yui drag and drop functions, so I'll do some checking some time soon Good, more contributions! :) Eelco - This SF.net email is sponsored by

[Wicket-user] How to Enable debug messages for wicket.util.resource

2007-06-01 Thread Stefan Lindner
I have a Page class that extends an abstrct class. Do I need a markup for the abstract class too? And if so: ho can I manage to override the markup of the abstract class by the markup of the page class? And: How can I Enable debug messages for wicket.util.resource in Jboss? Stefan Lindner

Re: [Wicket-user] extension.Palette class

2007-06-01 Thread Nino Saturnino Martinez Vazquez Wael
sound very wrong. Are you getting this displayed in the listboxes? Ken Leung wrote: Does anyone know why there is a XX displayed initially in the selected or available pane if that pane happens to contain an empty list. The XX will disappear once you start to add/remove selections You

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

2007-06-01 Thread Daniel Stoch
Hi, I want to inject a spring bean with scope=session into my page using @SpringBean annotation. I have added into my web.xml declaration: listener listener-class org.springframework.web.context.request.RequestContextListener

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

2007-06-01 Thread Nino Saturnino Martinez Vazquez Wael
use a attribute modifier and a behavior for this.. Huergo Perez wrote: Hi All, I need to implement a functionality that in certain cases displays a JavaScript alert dialog after a click on a link. For example, a table of records may contain a [Delete] link against each record. When a

[Wicket-user] extension.Palette class

2007-06-01 Thread Ken Leung
Does anyone know why there is a XX displayed initially in the selected or available pane if that pane happens to contain an empty list. The XX will disappear once you start to add/remove selections You can see this if you just run the example... Anyone knows how to get rid of it ? thx

Re: [Wicket-user] Escaping German Umlauts

2007-06-01 Thread Johannes Schneider
Hi, Jean-Baptiste Quenot wrote: Have a look at Strings#escapeMarkup(String, boolean, boolean) The last argument is called convertToHtmlUnicodeEscapes and by reading the Javadoc I think it does what you want. But now, that doesn't mean you can use it from the Component or

Re: [Wicket-user] Is it possible to remove something from a page?

2007-06-01 Thread severian
You need to use the css pseudo-elements before and after: http://www.w3schools.com/css/css_pseudo_elements.asp http://www.w3schools.com/css/css_pseudo_elements.asp . They're not supported by all browsers tho (in particular, not by IE I think). -- View this message in context:

Re: [Wicket-user] Wicket Acegi ?

2007-06-01 Thread Johan Compagner
i haven't looked much at the wicket security solution there are now i would say talk to the security master: Maurice :) johan On 6/1/07, Jan Kriesten [EMAIL PROTECTED] wrote: hi johan, hmm then i have to stopp working on it right now... because i am already passed the hour again good

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

2007-06-01 Thread Huergo Perez
Hi All, I need to implement a functionality that in certain cases displays a JavaScript alert dialog after a click on a link. For example, a table of records may contain a [Delete] link against each record. When a user clicks on the link, the onClick handler attempts to delete the record, and

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

2007-06-01 Thread RĂ¼diger Schulz
Hello, I can't say anything about request or session scoped beans. But I am interested in how you use prototype-scoped beans. Do you use them to store the state of your Wicket-components? I have some problems with that (which I posted earlier)... 2007/6/1, Daniel Stoch [EMAIL PROTECTED]: Hi,

[Wicket-user] javascript version of setVisible()

2007-06-01 Thread Matthieu Casanova
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 ? Matthieu - This SF.net email is sponsored by DB2

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

2007-06-01 Thread Huergo Perez
What attribute of the Link should I modify with an attribute modifier? I could not find any examples of this functionality. Also, I found the IAjaxCallDecorator interface. Could it be used to display an alert after receiving an AJAX response? Thanks! Huergo Nino Saturnino Martinez Vazquez Wael

Re: [Wicket-user] How to Enable debug messages for wicket.util.resource

2007-06-01 Thread Martijn Dashorst
Answers: * No * just don't use wicket:extend in the subclass markup * add wicket.util.resource and the desired logging level in the log4j configuration of jboss (read jboss documentation and log4j documentation). Note that if you are using 1.3, the package name has been altered to

Re: [Wicket-user] extension.Palette class

2007-06-01 Thread Martijn Dashorst
I don't see it here: http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.PalettePage How do you populate your lists? Martijn On 6/1/07, Ken Leung [EMAIL PROTECTED] wrote: Does anyone know why there is a XX displayed initially in the selected

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 any

Re: [Wicket-user] Have to click 2 times to get my search results

2007-06-01 Thread Francisco Diaz Trepat - gmail
I was trying to show that in fact you where right, but what can I do? Here is the code for the panel only, the page only has the code adding the panel (I've bolded the ajax part): package ch.logismata.wicket.panels.ajax; import ch.logismata.serverwrapper.DossierSearch; import

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

2007-06-01 Thread ChuckDeal
Huergo Perez wrote: What attribute of the Link should I modify with an attribute modifier? I could not find any examples of this functionality. Also, I found the IAjaxCallDecorator interface. Could it be used to display an alert after receiving an AJAX response? Thanks! Huergo

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

2007-06-01 Thread Thomas R. Corbin
I have a line like this in my css. the css is in the package com.samsix.wicket.style. But I expected, presumably falsely that the gif file would be found at the root of my application, not relative to that package's path. background:url(images/tabs/left.gif) no-repeat left top; Yet it

Re: [Wicket-user] Wicket YUI

2007-06-01 Thread James McLaughlin
Turns out the project needed a little touch up -- somehow it missed the onAtach refactor and the pom was missing wicket-velocity. My apologies to anyone who checked the project out only to be greeted by some nice stack traces. It will work now. jbq, I put them up temporarily at

Re: [Wicket-user] extension.Palette class

2007-06-01 Thread Ken Leung
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. Try this if you have time. 1. use firefox, goto http://wicket.sourceforge.net/ 2. click on Examples on the left 3. click on Live action (Examples in live action) 4. click

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

2007-06-01 Thread Matej Knopp
Look at what url is your stylesheet. The images withing stylesheet are always located relatively to the stylesheet itself. -Matej On 6/1/07, Thomas R. Corbin [EMAIL PROTECTED] wrote: I have a line like this in my css. the css is in the package com.samsix.wicket.style. But I expected,

Re: [Wicket-user] Is it possible to remove something from a page?

2007-06-01 Thread Lowell Kirsh
Cool, that looks sensical to me. I like how I don't have to actually have the stars in my html file. But one thing - the isEnabled() method does not exist in the AbstractBehavior class. But I think the following will work: label.add(new AbstractBehavior() { @Override

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

2007-06-01 Thread Thomas R. Corbin
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? I'm going ahead and moving them to

Re: [Wicket-user] Is it possible to remove something from a page?

2007-06-01 Thread Eelco Hillenius
But one thing - the isEnabled() method does not exist in the AbstractBehavior class. public boolean isEnabled(Component component) is defined in both the IBehavior interface and implemented (default) in AbstractBehavior. It's in 1.3 though. But I think the following will work:

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-06-01 Thread GS-ikiini
So i used this method ( check group and check) once then tried to use it again and when and checks won't come up where the objects are already present in the list. for example. you have a list of all colors and i have a list of blue and green. when i look at the check box, blue and green should

[Wicket-user] Is there a way to redirect to a page from inside a resource?

2007-06-01 Thread cram
I'd like to be able to redirect from inside of a (File)ResourceStream to a specific url or page instead of throwing an exception under certain circumstances (ie, if data does not load, etc). Is this possible? I haven't had much luck setting the responsePage via

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

2007-06-01 Thread Daniel Stoch
Hi, Unfortunately I'm using this functionality only in my test application to check how does these all spring things work in Wicket. So probably I can't help you much. One thing about a prototype-scoped beans, which is interesting. I have a very simple bean class to test injection: package

[Wicket-user] AuthenticatedWebApplication - Component Level Authentication

2007-06-01 Thread mchack
I am using the AuthenticatedWebApplication package. I would like to do component level authorization. The framework generates an exception for this that I can't see how I can override. Basic behavior is to be redirected back to Home Page. My reason for doing this at the component level is to make

[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

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 code people can