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
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
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
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 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
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
//
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
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
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
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
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
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
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.
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
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
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.
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
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
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,
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
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
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
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
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
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 -
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
26 matches
Mail list logo