Re: [Wicket-user] Loading ...

2006-07-07 Thread Igor Vaynberg
ok the patch is in so feel free to play around with it if you checkout from svn or wait until 1.2.1what you can now do is define one or both of the following functionsfunction wicketGlobalPreCallHandler() {...} and function wicketGlobalPostCallHandler() {...}-IgorOn 7/7/06, Igor Vaynberg <[EMAIL PR

Re: [Wicket-user] Panel visibility

2006-07-07 Thread Frank Silbermann
I did not modify the client header, but I don't think it's a caching issue, because other widgets are changing as expected on postback. I modified my program in a way that should not have made a difference, and it seems to work now. Perhaps I had some sort of programming error that's now gone. O

Re: [Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Eelco Hillenius
I'm about to leave for the weekend. If you could attach this to a bug report please, someone can take a look at why it doesn't work. Just curious... did you try MyForm.this.error("blah") yet? Eelco On 7/7/06, Jerry Smith <[EMAIL PROTECTED]> wrote: > Still the same thing, no message displayed: >

Re: [Wicket-user] quickstart

2006-07-07 Thread Igor Vaynberg
supposedly that doesnt work for idea 5+ -Igor On 7/7/06, Gwyn Evans <[EMAIL PROTECTED]> wrote: > Actually, "mvn idea:idea" did pretty well, the last time I tried. > > /Gwyn > > On 07/07/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > We need someone to maintain that. Anyone volunteering? Same

Re: [Wicket-user] Panel visibility

2006-07-07 Thread Juergen Donnerstag
Are you sure it not a caching issue? Your browser caching the page? Did you modify the response header to disable client caching? Juergen On 7/7/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: > > > I'm using Wicket 1.2, and I've included on my page a subclass of Panel. In > response to an event

[Wicket-user] Panel visibility

2006-07-07 Thread Frank Silbermann
I'm using Wicket 1.2, and I've included on my page a subclass of Panel.  In response to an event, I called "myPanel.setVisible(false)" but the panel remains visible.  Is this a known bug, or do I need to do something to implement "void setVisible(boolean)" in my subclass? Using Tomcat but ne

Re: [Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Jerry Smith
Still the same thing, no message displayed: TestPage.java public class TestPage extends WebPage { public TestPage() { add(new FeedbackPanel("feedback")); add(new MyForm("myForm")); } class MyForm extends Form { MyForm(String id) { super(id);

Re: [Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Jerry Smith
I've added the FeedbackPanel, but still no message. I know it's throwing an error. I'll try a test project and see if it still happens. > -Original Message- > From: [EMAIL PROTECTED] [mailto:wicket-user- > [EMAIL PROTECTED] On Behalf Of Eelco Hillenius > Sent: Friday, July 07, 2006 1:54 P

Re: [Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Eelco Hillenius
Feedback panel typically should display any messages. You added a feedback panel to your page, and you are rendering the same page? Personally, I wouldn't catch exceptions in my models though. If a service fails and it is not designed to fail quietly, I would rather display some error page. But th

Re: [Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Vincent Jenks
I use info() On 7/7/06, Jerry Smith <[EMAIL PROTECTED]> wrote: > > > > > Using a typical situation like: > > > > IModel myListModel = new LoadableDetachableModel() { > > protected Object load() { > > Object result = null; > > try { > >result = someServiceOrDao.findSomeListOfObjec

Re: [Wicket-user] quickstart

2006-07-07 Thread Gwyn Evans
Actually, "mvn idea:idea" did pretty well, the last time I tried. /Gwyn On 07/07/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > We need someone to maintain that. Anyone volunteering? Same goes for > netbeans of course. > > Eelco > > > On 7/7/06, James Cook <[EMAIL PROTECTED]> wrote: > > And whe

[Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Jerry Smith
Using a typical situation like:   IModel myListModel = new LoadableDetachableModel() {   protected Object load() {     Object result = null;     try {    result = someServiceOrDao.findSomeListOfObjects();     } catch(Throwable t) {     ???     }     return  result; } };

Re: [Wicket-user] quickstart

2006-07-07 Thread Eelco Hillenius
We need someone to maintain that. Anyone volunteering? Same goes for netbeans of course. Eelco On 7/7/06, James Cook <[EMAIL PROTECTED]> wrote: > And where is the *.ipr file for IntelliJ developers? It was in 1.1.1. > > > On 7/7/06, Scott Swank <[EMAIL PROTECTED] > wrote: > > Thanks. I thought

Re: [Wicket-user] quickstart

2006-07-07 Thread James Cook
And where is the *.ipr file for IntelliJ developers? It was in 1.1.1.On 7/7/06, Scott Swank <[EMAIL PROTECTED] > wrote:Thanks.  I thought I remembered something about OGNL no longer being needed -- but it seemed far easier to just throw it in the libdirectory.Why not manually add the jars to the zi

[Wicket-user] Page expired problem

2006-07-07 Thread Adam Smyczek
Hi All, A am experiencing some wired behavior, every few pages wicket (1.2 and 1.2.1rc1) redirects to expired page. During this the session stays active and I can go to the home page without having to login again. This behavior is not deterministic (it happens when I go do different pages

Re: [Wicket-user] quickstart

2006-07-07 Thread Scott Swank
Thanks. I thought I remembered something about OGNL no longer being needed -- but it seemed far easier to just throw it in the lib directory. Why not manually add the jars to the zip? It seems like a nicer introduction to Wicket that way. None the less, thanks for everything. On 7/7/06, Eelco

Re: [Wicket-user] quickstart

2006-07-07 Thread Eelco Hillenius
Also, the dependency on OGNL was removed a long time ago. Eelco On 7/7/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > we are working on a fix, the problem was screwed up maven's dist > plugin, should be fixed in 1.2.1 and subsequent releases. > > -Igor > > > On 7/7/06, Scott Swank <[EMAIL PROTEC

Re: [Wicket-user] quickstart

2006-07-07 Thread Nick Heudecker
Yeah, I think the devs know about that problem.On 7/7/06, Scott Swank <[EMAIL PROTECTED]> wrote: I nabbed the wicket 1.2 quickstart for a quick prototype at work andnoticed that it was missing the jetty jar.  I then copied the following jars from the 1.1.1 quickstart into the 1.2 quickstart libdire

Re: [Wicket-user] quickstart

2006-07-07 Thread Igor Vaynberg
we are working on a fix, the problem was screwed up maven's dist plugin, should be fixed in 1.2.1 and subsequent releases. -Igor On 7/7/06, Scott Swank <[EMAIL PROTECTED]> wrote: > I nabbed the wicket 1.2 quickstart for a quick prototype at work and > noticed that it was missing the jetty jar.

[Wicket-user] quickstart

2006-07-07 Thread Scott Swank
I nabbed the wicket 1.2 quickstart for a quick prototype at work and noticed that it was missing the jetty jar. I then copied the following jars from the 1.1.1 quickstart into the 1.2 quickstart lib directory and everything is up and running. jasper-compiler-4.1.30.jar jasper-runtime-4.1.30.jar o

Re: [Wicket-user] I require Ajax TextArea

2006-07-07 Thread Eelco Hillenius
> Thanks for your reply. That would solve my problem partially but create > another problem that is it would go to the server for every letter, and I > want to send it on a click without submitting the form (forgot to mention it > in the previous mail). It doesn't go back for every change, but on

Re: [Wicket-user] AbstractConverter and ParsePosition

2006-07-07 Thread Eelco Hillenius
Yeah, that sounds like something we should like. Eelco On 7/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Ok, Wicket probably wants to prevent that a bogus value '07.07.2006trail' is > parsed. > > But shouldn't is be possible to convert '07.07.2006 '? How about adding a > trim()? > >

Re: [Wicket-user] Wicket and Swing API

2006-07-07 Thread Eelco Hillenius
A similar discussion came up shortly about the Tree component. What I said there was that it was a nice extra that the tree model can be used in both Swing and Wicket. If there are other concrete cases we can do that, it's something to consider. Remains a fact that desktop widgets and web widgets h

Re: [Wicket-user] I require Ajax TextArea

2006-07-07 Thread Eelco Hillenius
> Thanks for your reply. That would solve my problem partially but create > another problem that is it would go to the server for every letter, and I > want to send it on a click without submitting the form (forgot to mention it > in the previous mail). It doesn't go back for every change, but on

Re: [Wicket-user] Stateful AjaxTabbedPane?

2006-07-07 Thread Jan Willem Janssen
Hi, > look at the source code for AjaxTabbedPanel, what you will > have to do is override newLink just like it does, but instead > of returning AjaxFallbackLink return a AjaxSubmitLink, and > then switch the tab or not based on presense of form errors That works! Great! Thanks a lot, --

Re: [Wicket-user] Stateful AjaxTabbedPane?

2006-07-07 Thread Igor Vaynberg
look at the source code for AjaxTabbedPanel, what you will have to do is override newLink just like it does, but instead of returning AjaxFallbackLink return a AjaxSubmitLink, and then switch the tab or not based on presense of form errors -IgorOn 7/7/06, Jan Willem Janssen <[EMAIL PROTECTED]> wrot

Re: [Wicket-user] Loading ...

2006-07-07 Thread Igor Vaynberg
i wrote a patch that defines wicketGlobalPreCallHandler/wicketGlobalPostCallHandler and you should be able to do what you want. it is being tested right now so stay tuned...-Igor On 7/7/06, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: If so, I should add an WicketAjaxIndicatorAppender instance to ev

[Wicket-user] Stateful AjaxTabbedPane?

2006-07-07 Thread Jan Willem Janssen
Hi, I'm looking into the possiblities of creating a sort of stateful AjaxTabbedPane in which each tab-panel contains FormComponents. The behaviour I want to achieve is to keep all changed form-values upon switching tabs. How would I achieve this? TiA, -- Jan Willem Janssen, M.Sc. software en

Re: [Wicket-user] setRenderBodyOnly() not work on ListView ?

2006-07-07 Thread Ingram Chen
Ouch! My bad... I think this had become a FAQ... may be let ListView.setRenderBodyOnly() throw UnsupportedOperationException("Please use ListItem instead") forbetter clarity ? On 7/7/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: item.setRenderBodyOnly(true)A listview doesn't have markup of it

Re: [Wicket-user] Loading ...

2006-07-07 Thread Paolo Di Tommaso
If so, I should add an WicketAjaxIndicatorAppender instance to every components for each I want an Ajax notification message. Is it possible to add AjaxIndicatorAppend to page and get notifications for every ajax call on that page? Thanks.PaoloOn 7/7/06, Frank Bille Jensen <[EMAIL PROTECTED]> wrot

Re: [Wicket-user] I require Ajax TextArea

2006-07-07 Thread Imran M Yousuf
Dear Eelco and all other users Thanks for your reply. That would solve my problem partially but create another problem that is it would go to the server for every letter, and I want to send it on a click without submitting the form (forgot to mention it in the previous mail). However I solved both

Re: [Wicket-user] Wicket and Swing API

2006-07-07 Thread Martijn Dashorst
This is the link to the sprocket announcement: http://weblogs.java.net/blog/timboudreau/archive/2006/02/wicket_swing_hm.html On 7/7/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Ah... A coworker mentioned the Sprockets addition made by Jonathan Locke... > > This is an extension that allows y

Re: [Wicket-user] setRenderBodyOnly() not work on ListView ?

2006-07-07 Thread Martijn Dashorst
item.setRenderBodyOnly(true) A listview doesn't have markup of its own. Martijn On 7/7/06, Ingram Chen <[EMAIL PROTECTED]> wrote: > I search old mailing list and found that setRenderBodyOnly(true) on > ListView can turning off produced repeat wrapper tag. But after trying, it > doesn't wor

Re: [Wicket-user] Wicket and Swing API

2006-07-07 Thread Martijn Dashorst
Ah... A coworker mentioned the Sprockets addition made by Jonathan Locke... This is an extension that allows you to generate applets automatically, where the sprocket will send all necessary classes to the client. The idea is to make this Java code work with your wicket code seamlessly. The last

[Wicket-user] setRenderBodyOnly() not work on ListView ?

2006-07-07 Thread Ingram Chen
I search old mailing list and found that setRenderBodyOnly(true) on ListView can turning off  produced repeat wrapper tag. But after trying, it doesn't work.Is this intended ? or I just miss something ? Thanks in advance.-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia

Re: [Wicket-user] Wicket and Swing API

2006-07-07 Thread Martijn Dashorst
I haven't heard of any plans to do an automatic (magic?) conversion from Swing to wicket. In my opinion, Swing applications don't work well in a direct translation to the web. That is why WingS, WebOnSwing and related frameworks never got as large userbase as other web specific frameworks. That sa

[Wicket-user] Wicket and Swing API

2006-07-07 Thread Peter Neubauer
Hi there, I read somewhere about some plans to make Wicket play nicely with the Swing APIs, being able to even convert Swing apps to Wicket. Just wanted to check if there is any progress in that matter, since we have quite a good usecase for it, regarding the conversion of a legacy Swing based

Re: [Wicket-user] Loading ...

2006-07-07 Thread Frank Bille Jensen
Yes, try taking a look at IAjaxIndicatorAware API and the example implementation in Wicket extensions. Regards Frank On Fri, 2006-07-07 at 14:21 +0200, Paolo Di Tommaso wrote: > Is there a way in Wicket to display something like a "Loading ..." > Google red label on Ajax call? > > Thank you. >

[Wicket-user] Loading ...

2006-07-07 Thread Paolo Di Tommaso
Is there a way in Wicket to display something like a "Loading ..." Google red label on Ajax call? Thank you.Paolo Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Applicati

Re: [Wicket-user] Master-details form

2006-07-07 Thread Paolo Di Tommaso
Thank you for suggestion, I never think about it. -- PaoloOn 7/6/06, Martijn Dashorst <[EMAIL PROTECTED] > wrote:This should give you a headstart...add(new ListView("items") { protected void populateItem(Item item) {item.add(new TextField("description"));}protected IModel getLis

Re: [Wicket-user] AbstractConverter and ParsePosition

2006-07-07 Thread sven
Ok, Wicket probably wants to prevent that a bogus value '07.07.2006trail' is parsed. But shouldn't is be possible to convert '07.07.2006 '? How about adding a trim()? Sven >AbstractConverter checks the ParsePosition to ensure that the complete value >is parsed: > >>if (position.getIndex()

[Wicket-user] AbstractConverter and ParsePosition

2006-07-07 Thread sven
AbstractConverter checks the ParsePosition to ensure that the complete value is parsed: >if (position.getIndex() != stringValue.length()) >{ > throw newConversionException("Cannot parse '" + value + "' using format " + > format, >value, null).setFormat(format); >} Thus trailing whitesp

Re: [Wicket-user] Cached list object?

2006-07-07 Thread Michael K
Bugger me, I 've came across with setReuseItem when I had a different issue with ListView but forgot all about it. Shouldn't spend too much on soccer channel :)Appreciate for your quick response, it works!Cheers,MichaelEelco Hillenius <[EMAIL PROTECTED]> wrote: If you did listView.setReuseItems(tru

Re: [Wicket-user] Creating a component / dynamic casting / implicitcasting

2006-07-07 Thread Nino Wael
Yay, nice examples. Fits what I need.  Seems really easy to apply AJAX to wicket..     Regards Nino From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg Sent: 6. juli 2006 18:51 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Creating a c

Re: [Wicket-user] Cached list object?

2006-07-07 Thread Eelco Hillenius
If you did listView.setReuseItems(true), which is a good choice when you embed a ListView in a form, you should manually 'update' the list view by calling listView.removeAll, which will trigger the list view to get all the fresh results again and build the list items from scratch. If you use ListV