Re: [Wicket-user] CeBIT

2007-03-05 Thread Johannes Fahrenkrug
Johan, I know and I'd love to go to ApacheCon this year but I will most likely not make it. I just thought that some people from the list might HAPPEN to also attend CeBit, and if that were the case it would have been nice to meet up. - Johannes Johan Compagner wrote: > CeBit is not really a p

Re: [Wicket-user] Unexplained behavior...

2007-03-05 Thread Corey Puffalt
Ok... That does appear to match my situation (my page is mounted). Thanks, Corey On 3/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: if the page is mounted that will do it lets say you have a mount /foo and in that html you have the full path is /foo/gif/image.gif which will match your pa

Re: [Wicket-user] I want to know how to output a string in viewer.

2007-03-05 Thread Eelco Hillenius
> I use freemarker to generate something, so i wanto put the generated html > string into html viewer. so i think i need write a markcontainer to implement > it, is there anyone can give me some advice or code? Best thing you can do is look at the Wicket-stuff Freemarker integration project. E

Re: [Wicket-user] Unexplained behavior...

2007-03-05 Thread Igor Vaynberg
if the page is mounted that will do it lets say you have a mount /foo and in that html you have the full path is /foo/gif/image.gif which will match your page mounted at /foo -igor On 3/5/07, Corey Puffalt <[EMAIL PROTECTED]> wrote: The URLs that seem to be triggering the extra page cons

Re: [Wicket-user] Unexplained behavior...

2007-03-05 Thread Corey Puffalt
The URLs that seem to be triggering the extra page constructions look like . (I only know this because the PageParameters seem to be gif = "image.gif".) Corey On 3/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: do the urls in those img tags point back to the page? :) eg will do it -igor -

Re: [Wicket-user] how to integretes freemarker in wicket 2.0

2007-03-05 Thread Eelco Hillenius
You can download snapshots here http://wicketstuff.org/maven/repository/wicket/ and we'll hopefully put the first beta out before the end of April. Eelco On 3/5/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote: > ps, when can we get the wicket 2.0 beta? >

Re: [Wicket-user] CeBIT

2007-03-05 Thread Johan Compagner
CeBit is not really a place for software development / web frameworks If you want to meat up, ApacheCon in amsterdam beginning of may would be a good choice. johan On 3/5/07, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote: Hi, I was wondering if any of you guys are going to be at the CeBIT t

Re: [Wicket-user] Unexplained behavior...

2007-03-05 Thread Igor Vaynberg
do the urls in those img tags point back to the page? :) eg will do it -igor On 3/5/07, Corey Puffalt <[EMAIL PROTECTED]> wrote: Hi... I'm new to Wicket so hopefully this will be obvious to someone else. I'm seeing what seems (to me) to be strange behavior. I've got a page into which I'm

[Wicket-user] Unexplained behavior...

2007-03-05 Thread Corey Puffalt
Hi... I'm new to Wicket so hopefully this will be obvious to someone else. I'm seeing what seems (to me) to be strange behavior. I've got a page into which I'm rendering some Labels with models that contain some HTML. These Labels are being rendered inside a DataView (though I doubt that makes

[Wicket-user] I want to know how to output a string in viewer.

2007-03-05 Thread tooy li(Gmail)
I use freemarker to generate something, so i wanto put the generated html string into html viewer. so i think i need write a markcontainer to implement it, is there anyone can give me some advice or code? - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, March 06, 2007

[Wicket-user] how to integretes freemarker in wicket 2.0

2007-03-05 Thread tooy li(Gmail)
ps, when can we get the wicket 2.0 beta? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-

Re: [Wicket-user] 2.x - renderHead() changes?

2007-03-05 Thread Ryan Sonnek
My apologies, I pulled down the latest codebase and was able to change the scriptaculous code to use HeaderContributor.forCss() instead. Now that bamboo is setup to build correctly, i should catch these issues right away! On 3/5/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > I just updated the wick

[Wicket-user] 2.x - renderHead() changes?

2007-03-05 Thread Ryan Sonnek
I just updated the wicket-contrib-scriptaculous bamboo build to automatically kick off whenever the core wicket build occurs, and I'm getting a wierd error. Did some core API change somewhere? http://wicketstuff.org/bamboo/build/viewBuildLog.action?buildKey=WICKETSCRIPTACULOUS-TRUNK&buildNumber=3

Re: [Wicket-user] Components final add() method a flaw by design?

2007-03-05 Thread Igor Vaynberg
why? whats the point? you would generate a runtime exception in both cases. in some variant of add you would fail earlier then in onattach, but the error message makes it very clear what is wrong. its just bloat imho. you will never have a design that pleases everyone, in this case i dont think w

Re: [Wicket-user] URL problem in phonebook app

2007-03-05 Thread John Patterson
OK, but the phone-book app is still broken in 2.0 due to this bug in WicketFilter.isWicketRequest () - at least it was a week ago when I wrote the initial email. Can anyone get the current phonebook app to work? I think when that bug is fixed my app would have worked. But now I have reve

Re: [Wicket-user] Components final add() method a flaw by design?

2007-03-05 Thread Eelco Hillenius
On 3/5/07, Chris Lintz <[EMAIL PROTECTED]> wrote: > > I was hoping to prevent any one implementing the component from ever being > able to add more than one at development time by wrapping add() with > something like setComponent(). I guess I will have to lean on the method > below and fall back o

Re: [Wicket-user] Components final add() method a flaw by design?

2007-03-05 Thread Chris Lintz
I was hoping to prevent any one implementing the component from ever being able to add more than one at development time by wrapping add() with something like setComponent(). I guess I will have to lean on the method below and fall back on run-time exceptions. Thanks. That is helpful although

Re: [Wicket-user] Components final add() method a flaw by design?

2007-03-05 Thread Igor Vaynberg
onattach() { if (size()>1) throw new IllagelStateException("more then one child added to component that must only have one child"); } -igor On 3/5/07, Chris Lintz <[EMAIL PROTECTED]> wrote: Hi all, I have just found an annoying design flaw that prevents me from creating components that need

[Wicket-user] Components final add() method a flaw by design?

2007-03-05 Thread Chris Lintz
Hi all, I have just found an annoying design flaw that prevents me from creating components that need exactly say 2 child components (no more no less). I understand why the Components add() method is final, but the framework gives me no other option of enforcing exact number of children componen

Re: [Wicket-user] building wicket-stuff snapshots

2007-03-05 Thread Ryan Sonnek
Rock on! It can't get much more simple than that! On 3/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: nothing special, just mvn install the webserver links to the local maven repository :) -igor On 3/5/07, Ryan Sonnek < [EMAIL PROTECTED]> wrote: > > I'm working on setting up the wicket-con

Re: [Wicket-user] How do I make CheckBoxMultipleChoice show horizontal instead of vertical?

2007-03-05 Thread Igor Vaynberg
well if you want it to be horizontal then you can do something like this: setprefix(""); setsuffix(""); -igor On 3/5/07, Thomas R. Corbin <[EMAIL PROTECTED]> wrote: On Monday, 05 March 2007 04:22 pm, Igor Vaynberg escreveu: > override getprefix/getsuffix to return whatever html you want

Re: [Wicket-user] How do I make CheckBoxMultipleChoice show horizontal instead of vertical?

2007-03-05 Thread Thomas R. Corbin
On Monday, 05 March 2007 04:22 pm, Igor Vaynberg escreveu: > override getprefix/getsuffix to return whatever html you want Ok, sorry - but I'm not sure what html I want there. I'm more of a swing programmer than a web programmer. > > -igor > > On 3/5/07, Thomas R. Corbin <[EMAIL

Re: [Wicket-user] NPE in Page#componentStateChanging

2007-03-05 Thread Aaron Hiniker
I ran this through my debugger, and my assumptions where correct. The FLAG_NEW_VERSION flag is set while versionManager is null. I'm, looking around and can't figure out the exact conditions that would cause this. Any thoughts? Aaron Aaron Hiniker wrote: > Yeah, I know. But I'm not messing wi

Re: [Wicket-user] building wicket-stuff snapshots

2007-03-05 Thread Igor Vaynberg
nothing special, just mvn install the webserver links to the local maven repository :) -igor On 3/5/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote: I'm working on setting up the wicket-contrib-scriptaculous project on the wicket-stuff bamboo server, and would like to know if it's possible to have

[Wicket-user] building wicket-stuff snapshots

2007-03-05 Thread Ryan Sonnek
I'm working on setting up the wicket-contrib-scriptaculous project on the wicket-stuff bamboo server, and would like to know if it's possible to have it automatically publish snapshots to the wicket-stuff maven repo? anything special needed to set this up?

Re: [Wicket-user] NPE in Page#componentStateChanging

2007-03-05 Thread Aaron Hiniker
Yeah, I know. But I'm not messing with any versioning settings (this is just out-of-the-box ajax components and the like), so really there shouldn't be any of these issues, correct? Here's mayTrackChangesFor() method, I've added a comment regarding my thoughts as to what is causing this: pri

Re: [Wicket-user] How do I make CheckBoxMultipleChoice show horizontal instead of vertical?

2007-03-05 Thread Igor Vaynberg
override getprefix/getsuffix to return whatever html you want -igor On 3/5/07, Thomas R. Corbin <[EMAIL PROTECTED]> wrote: I know that must be a dumb question, but I just can't quite get it. - Take Surveys. Earn Cash. I

Re: [Wicket-user] Error with 1.2.5 and Spring

2007-03-05 Thread Igor Vaynberg
i think the released wicket-spring jar is foobared. can you try building from source? -igor On 3/5/07, Matt Welch <[EMAIL PROTECTED]> wrote: I'm only just now upgrading to Wicket 1.2.5 and I've run into an issue. I'm certain this is an problem on my side and not a bug because other people woul

[Wicket-user] How do I make CheckBoxMultipleChoice show horizontal instead of vertical?

2007-03-05 Thread Thomas R. Corbin
I know that must be a dumb question, but I just can't quite get it. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business

[Wicket-user] Error with 1.2.5 and Spring

2007-03-05 Thread Matt Welch
I'm only just now upgrading to Wicket 1.2.5 and I've run into an issue. I'm certain this is an problem on my side and not a bug because other people would have run into this and reported by now and I can't find any reports like this on the mailing list. I'm using Maven. I switched my three wicket

Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax

2007-03-05 Thread Igor Vaynberg
i was able to create it here: http://cwiki.apache.org/confluence/display/WICKET/Creating+a+FormComponentAjaxBehavior -igor On 3/5/07, Manuel Alejandro de Brito Fontes <[EMAIL PROTECTED]> wrote: Hi, if you try to add a new page you can see "A new page you were adding on Mar 02, 2007 12:15 cal

Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax

2007-03-05 Thread Manuel Alejandro de Brito Fontes
Hi, if you try to add a new page you can see "A new page you were adding on Mar 02, 2007 12:15 called “Creating a FormComponent AjaxBehavior” was not saved. Do you want to resume editing or discard it?" that my page, but a can't resume or discard it. On 05-03-2007, at 15:22, Igor Vaynberg w

[Wicket-user] Zeekanaal plannen

2007-03-05 Thread plannen
Gezond fuiven, kan gaat door, vrijdag. Reste percy buffalo bill, ik frank. Een aantal kleine aan sluizen ruisbroek lot, lembeek. Met meer, nieuws gt halse senioren, film le. Temps qui reste percy buffalo bill. Carnaval plezierig veilig proper volksfeest? Gezond fuiven kan gaat door vrijdag mei to

Re: [Wicket-user] Fwd: removeComponent?

2007-03-05 Thread Igor Vaynberg
that should be ifne provided that HibernateListModel is detaching properly. i dont use databinder so i couldnt tell you. maybe you should post this on the databinder mailing list. if it is indeed detaching properly then the wicket-side of things looks fine. maybe you are caching the query in hibe

Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax

2007-03-05 Thread Igor Vaynberg
where is the link to the page? or are you not able to create it at all? wiki is open to anyone to edit as long as you create a login. -igor On 3/5/07, Manuel Alejandro de Brito Fontes <[EMAIL PROTECTED]> wrote: Hi, I'm trying to post in the wiki but in the middle of the process I try to save

Re: [Wicket-user] Fwd: removeComponent?

2007-03-05 Thread Jason Roelofs
Crap, Gmail keybindings screwed me up. Posting the rest... Well, I am using a detachable model. Here's basically what I've got (using Databinder, HibernateListModel implements IDetachable): IModel rules = new HibernateListModel(...); add(new PropertyListView("rules", rules) { void populateItem

Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax

2007-03-05 Thread Manuel Alejandro de Brito Fontes
Hi, I'm trying to post in the wiki but in the middle of the process I try to save and appears a message telling me that I don't have permissions. The page is "Creating a FormComponent AjaxBehavior". Anyone can help me? On 28-02-2007, at 15:17, Eelco Hillenius wrote: >> would be cool if you

Re: [Wicket-user] Fwd: removeComponent?

2007-03-05 Thread Jason Roelofs
Well, I am using a detachable model. Here's basically what I've got (using Databinder, HibernateListModel implements IDetachable): IModel rules = new HibernateListModel(...); add(new PropertyListView("rules", rules) { }); On 3/5/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: Make sure that

Re: [Wicket-user] Wicket exemples down

2007-03-05 Thread Igor Vaynberg
yes, thats the idea -igor On 3/5/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: Thanks. Will it be the new "standard" example server. I use it often just to get simple idea most of the time! :) On 3/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > wicketstuff.org/wicket13 > > -igor > >

Re: [Wicket-user] Wicket exemples down

2007-03-05 Thread Marc-Andre Houle
Thanks. Will it be the new "standard" example server. I use it often just to get simple idea most of the time! :) On 3/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: wicketstuff.org/wicket13 -igor On 3/5/07, Marc-Andre Houle < [EMAIL PROTECTED]> wrote: > Wicket exemple is down : > http://

Re: [Wicket-user] RequestCycle ThreadLocal

2007-03-05 Thread Eelco Hillenius
> > Let the application object create the web request,set the application > > thread local, get the session, create a custom response object (this > > is where you probably want to capture your output, see for instance > > BufferedWebResponse) and then let the session create a request cycle > > (wh

Re: [Wicket-user] Wicket exemples down

2007-03-05 Thread Igor Vaynberg
wicketstuff.org/wicket13 -igor On 3/5/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: Wicket exemple is down : http://www.wicket-library.com/wicket-examples I got a proxy error. - Take Surveys. Earn Cash. Influence the

[Wicket-user] Wicket exemples down

2007-03-05 Thread Marc-Andre Houle
Wicket exemple is down : http://www.wicket-library.com/wicket-examples I got a proxy error. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your op

Re: [Wicket-user] Access to WebRequest during Session creation

2007-03-05 Thread Rüdiger Schulz
Thanks. I'm really looking forward to the first releases of the new versions :) Martijn Dashorst schrieb: > No, not in 1.2.x. This would mean an API break. Wicket 1.3 and 2.0 > have this default: > > http://svn.apache.org/repos/asf/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/

[Wicket-user] Fwd: removeComponent?

2007-03-05 Thread Marc-Andre Houle
Make sure that you populate your list in the onAttach instead of the constructor. Most of the time, that was my error. Or, make sure your model is updated at the redraw -- Forwarded message -- From: Jason Roelofs <[EMAIL PROTECTED]> Date: Mar 5, 2007 11:25 AM Subject: [Wicke

Re: [Wicket-user] removeComponent?

2007-03-05 Thread Igor Vaynberg
maybe you are not using a detachable model for your listview? -igor On 3/5/07, Jason Roelofs <[EMAIL PROTECTED]> wrote: How do I tell Wicket to clear out an object who's underlying implementation (db record, in this case) was just deleted? Current flow: - Delete link clicked, sends Ajax req

Re: [Wicket-user] URL problem in phonebook app

2007-03-05 Thread Igor Vaynberg
in latest 1.3 the wicket path param should not be necessary because wicket will scan your web.xml to find it for you -igor On 3/5/07, John Patterson <[EMAIL PROTECTED]> wrote: I have reverted to Wicket 1.3 now because of this and the NPE problem being thrown due to a null version manager. So

Re: [Wicket-user] StatelessForm and setRedirect(true) in the onSubmit method

2007-03-05 Thread Igor Vaynberg
dont know if there is a problem with stateless pages and redirects, but wicket's default redirect-to-buffer render strategy should already eliminate that popup by performing a redirect -igor On 3/5/07, Matthew Kwong <[EMAIL PROTECTED]> wrote: Hi guys, I encountered a problem in the stateles

Re: [Wicket-user] Questions about non-wicket ajax call to wicket component

2007-03-05 Thread Igor Vaynberg
see ComponentRequestTarget which will render a markup of a certain component only and RequestCycle.urlFor(Component,RequestInterface) which will create a url to any callback method on any component -igor On 3/5/07, Michael K <[EMAIL PROTECTED]> wrote: Hi, I got a problem when i tried to u

[Wicket-user] removeComponent?

2007-03-05 Thread Jason Roelofs
How do I tell Wicket to clear out an object who's underlying implementation (db record, in this case) was just deleted? Current flow: - Delete link clicked, sends Ajax request - onClick deletes the object from DB, tells to redraw entire list of objects - my now deleted object still gets rendered

Re: [Wicket-user] Access to WebRequest during Session creation

2007-03-05 Thread Martijn Dashorst
No, not in 1.2.x. This would mean an API break. Wicket 1.3 and 2.0 have this default: http://svn.apache.org/repos/asf/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/Session.java Martijn On 3/5/07, Rüdiger Schulz <[EMAIL PROTECTED]> wrote: > Hello all, > > is it possible to acce

Re: [Wicket-user] RequestCycle ThreadLocal

2007-03-05 Thread Robert .
On 3/2/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: I think your best bet is to take a close look at Wicket servlet and see how it prepares and executes request. Let the application object create the web request,set the application thread local, get the session, create a custom response obje

Re: [Wicket-user] Absolute minimal Hello World sample not working

2007-03-05 Thread Jean-Baptiste Quenot
* Eelco Hillenius: > > I worked around this by extending the WicketFilter with the > > override: so that my new WicketFilter would keep the > > default context class loader. Mow I can stick all my wicket > > jars in the servers lib directory instead of having to put > > them in the we

Re: [Wicket-user] URL problem in phonebook app

2007-03-05 Thread John Patterson
I have reverted to Wicket 1.3 now because of this and the NPE problem being thrown due to a null version manager. So from what I remember... I initially had no filterPath parameter in my web.xml because the filter was mapped to the webroot /* Then I copied the configuration from the phoneboo

[Wicket-user] CeBIT

2007-03-05 Thread Johannes Fahrenkrug
Hi, I was wondering if any of you guys are going to be at the CeBIT this year. It might be nice to meet up... - Johannes - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll

[Wicket-user] Access to WebRequest during Session creation

2007-03-05 Thread Rüdiger Schulz
Hello all, is it possible to access the current WebRequest during Session creation (or attach() )? The usual way via RequestCycle.get() is not working, as the RequestCycle is not yet initialized at that time. I'm using Wicket 1.2.5, and I want to read a Cookie, which I need to init my session obj

[Wicket-user] StatelessForm and setRedirect(true) in the onSubmit method

2007-03-05 Thread Matthew Kwong
Hi guys, I encountered a problem in the stateless form, which is in my login page. The form code is as below: public final void onSubmit() { // Get session info DataStoreSession session = (DataStoreSession)getSession(); // Sign the user in if (session.authenticate(username, pas

[Wicket-user] Questions about non-wicket ajax call to wicket component

2007-03-05 Thread Michael K
Hi, I got a problem when i tried to use yui-ext updateManager script to load wicket component via XHR. Here is what I 've done so far: I created a js script that contain a Yui-ext's Dialog panel and embedded into the header page. Next, I override Wicket.link's getOnClickScript(url) so that the