[Wicket-user] RadioGroup and DataView

2006-06-19 Thread R.A
Hi. I create Form and RadioGroup. MyPage class Form form = new Form(form); add(form); final RadioGroup radioGroup = new RadioGroup(radioGroup, new Model()); form.add(radioGroup); radioGroup.add(new MyDataView(new MyDataProvider())); form.add(new Button(button) { protected void

Re: [Wicket-user] link in head contribution

2006-06-19 Thread Ittay Dror
Hi Juergen, the class that adds the '/' is wicket.markup.parser.filter.PrependContextPathHandler. it adds the application's context path to all href attributes. the thing is, it doesn't work with relative paths, as the one we're using. if my application is at /foo, and i have a page in

[Wicket-user] Inheritance and wicket:child / inside a tag with wicket:id

2006-06-19 Thread Frank Bille Jensen
Hi I'm having a problem with the following html markup (example): Parent.html: ... div wicket:id=weConfigureTheStyleAttributeOnThis wicket:child / /div ... Parent.java ... public class Parent extends Panel { public Parent() { WebMarkupContainer styleFrame = new

Re: [Wicket-user] Inheritance and wicket:child / inside a tag with wicket:id

2006-06-19 Thread Martijn Dashorst
Frank, you have to add the child components to the weConfigureTheStyleAtributeOnThis container. Now you add them directly to the page. Martijn On 6/19/06, Frank Bille Jensen [EMAIL PROTECTED] wrote: Hi I'm having a problem with the following html markup (example): Parent.html: ... div

Re: [Wicket-user] Spring 2.0 Domain object dependency injection

2006-06-19 Thread Ramnivas Laddad
Re deserialization: You can use getter-based dependency injection to solve this problem. Every time, a dependency-injected field is accessed (or corresponding getter method is executed -- your choice), an advise can re-inject the dependencies. See

[Wicket-user] Auto-reloading template files

2006-06-19 Thread Stefan Arentz
The Wiki contains this: Sidenote: To see changes to template files immediatelly, overload the init() method of the WebApplication class by specifying that you are in development mode - remember to comment out in production: // the second parameter is the path to your template files //

Re: [Wicket-user] RadioGroup and DataView

2006-06-19 Thread Igor Vaynberg
look at this here:Book book = (Book) item.getModelObject();item.add(new Radio(radio, item.getModel()));notice you are giving the radiochoice a model of the item not the model object [[book]]. is your model detachable, can it reload itself? because at the end of the request it will be detached

Re: [Wicket-user] link in head contribution

2006-06-19 Thread Igor Vaynberg
let me just pipe in for a sec and explain why we do it that way. the problem with relative paths in wicket is that a page can be mounted at any point, so the relative's path point can vary - making relative paths useless somewhat. this is why we built the prepender - it turns all relative paths

Re: [Wicket-user] Auto-reloading template files

2006-06-19 Thread Igor Vaynberg
public void init(){ configure(development, /); }-IgorOn 6/19/06, Stefan Arentz [EMAIL PROTECTED] wrote: The Wiki contains this:Sidenote: To see changes to template files immediatelly, overload theinit() method of the WebApplication class by specifying that you arein development mode - remember to

Re: [Wicket-user] link in head contribution

2006-06-19 Thread Ittay Dror
if i understand correctly, this is how it goes: i have a directory named 'web' with a tree of directories containing html and css files. the html files link to the css files by relative paths (../include/some.css) the servlet is on the url pattern /pages/* the directory is mounted under

Re: [Wicket-user] Inheritance and wicket:child / inside a tag with wicket:id

2006-06-19 Thread Igor Vaynberg
or make weConfigureTheStyleAttributeOnThis a border and call setTransparentResolver(true) on it.-IgorOn 6/19/06, Martijn Dashorst [EMAIL PROTECTED] wrote:Frank,you have to add the child components to the weConfigureTheStyleAtributeOnThis container. Now you add them directlyto the page.MartijnOn

Re: [Wicket-user] link in head contribution

2006-06-19 Thread Igor Vaynberg
yeah, that would be nice to have, but - the prepender knows nothing about mounted pages or runtime urls. it only knows about markup and your context path. furthermore the big advantage of the way it works now is that the replacement only happens once when the markup is loaded and before it is

Re: [Wicket-user] link in head contribution

2006-06-19 Thread Ittay Dror
ok, at least an easy fix is for the prepender to check if the path is relative, and if so not modify it. ittay Igor Vaynberg wrote: yeah, that would be nice to have, but - the prepender knows nothing about mounted pages or runtime urls. it only knows about markup and your context path.

[Wicket-user] Cache control for shared resources

2006-06-19 Thread jan_bar
Hi, how can I add response.setHeader(Pragma, no-cache) to some shared resources? I have upload area/folder and when resource is uploaded I want to see the new resource instead of cached old resource. Thanks, Jan ___ Wicket-user mailing list

[Wicket-user] AuthenticatedWebApplication only working when deployed in real server

2006-06-19 Thread Stefan Arentz
I have a really odd problem here. I'm working on a simple application that is based on the authentication sample from wicket-auth-roles-examples. It works fine when I deploy in JBoss, but when I either start Jetty by hand from main() (like in the examples) or run it from the command line with mvn

Re: [Wicket-user] Ajax Error

2006-06-19 Thread Aaron Hiniker
My users have noted that there are still issues with the AJAX implementation using IE. Specifically, the problem doesn't occur all the time, but still does occur on occasion. To quote the users, AJAX is not working on the first try a lot of times. I think it's the same problem Object expected.

[Wicket-user] How to use effects.js from wicket-examples?

2006-06-19 Thread Potje rode kool
Hi in wicket-examples there is an js called effects.js but wicket-examples doesn't contain an example how to use this js.These effects like Element.setOpacity and Effect.Scale look interestion but how do I use they, can someone can give some example? Thanks,Evert

[Wicket-user] Embedding video links

2006-06-19 Thread Ross Mark
I've just written my first wicket app and I'm having a small problem. The web app is a simple survey form where the user will navigate a series of video clips and answer questions about each clip. The video link and the questions all come from a database as the order may change. What I can't

[Wicket-user] Its confirmed - Another !!Wicket Book!!

2006-06-19 Thread karthik Guru
Hi All, I'm writing a book on Wicket for Apress. Finally - finally I'm allowed to say this! I wasn't too sure about the announcement until Igor and David agreed to review it. Thanks David and Igor!!. Igor seems reasonably happy with the initial chapter content and so here it is ! :). thanks,

Re: [Wicket-user] Its confirmed - Another !!Wicket Book!!

2006-06-19 Thread Nick Heudecker
Congrats on the book. It's hard work, but rewarding.On 6/19/06, karthik Guru [EMAIL PROTECTED] wrote:Hi All, I'm writing a book on Wicket for Apress. Finally - finally I'm allowed to say this! I wasn't too sure about the announcement until Igor and David agreed to review it. Thanks David and

[Wicket-user] Mounted page and redirect problem

2006-06-19 Thread Aaron Hiniker
This started to happen when I change my application to be the root context ( mounted at / instead of /app ). My web.xml mounts the servlet at /* like always. Here is the problem: I mounted a page to /signupref that points to a capture page that gets a signup reference (generated and sent to

Re: [Wicket-user] Its confirmed - Another !!Wicket Book!!

2006-06-19 Thread VGJ
You've got yourself a sure customer right here! On Mon, 2006-06-19 at 18:46 -0500, Nick Heudecker wrote: Congrats on the book. It's hard work, but rewarding. On 6/19/06, karthik Guru [EMAIL PROTECTED] wrote: Hi All, I'm writing a book on

Re: [Wicket-user] How to use effects.js from wicket-examples?

2006-06-19 Thread Martijn Dashorst
According to me, these effects are taken from either scriptaculous or moo.fx. I advise you to take a look at those two libraries when wanting to use effects, as they are specialized in that. Scriptaculous is the most versatile and complete library of the two, but moo.fx is about 3kb and limited

Re: [Wicket-user] Its confirmed - Another !!Wicket Book!!

2006-06-19 Thread Wilson MacGyver
congrats, looking forward to reading it.MacOn 6/19/06, karthik Guru [EMAIL PROTECTED] wrote:Hi All, I'm writing a book on Wicket for Apress. Finally - finally I'm allowed to say this! I wasn't too sure about the announcement until Igor and David agreed to review it. Thanks David and Igor!!. Igor

Re: [Wicket-user] RadioGroup and DataView

2006-06-19 Thread R.A
Hi Igor. I see it now. I use AbstractReadOnlyModel instead of AbstractReadOnlyDetachableModel in MyDataProvider class, and work fine. Thank you very much!! Regards, R.A -- View this message in context: http://www.nabble.com/RadioGroup-and-DataView-t1810187.html#a4947720 Sent from the Wicket -

Re: [Wicket-user] Its confirmed - Another !!Wicket Book!!

2006-06-19 Thread Eelco Hillenius
Hey, competition :) Kuddos, I think it's only good for Wicket and it's users to have a competing book. When do you think you'll be ready with it? Cheers, Eelco On 6/19/06, karthik Guru [EMAIL PROTECTED] wrote: Hi All, I'm writing a book on Wicket for Apress. Finally - finally I'm allowed