Re: [Wicket-user] FeedbackPanels in ListView

2007-02-17 Thread Aaron HIniker
Ahh, ok. This helped. I changed my implementation to use a subclass of FormComponentFeedbackIndicator and it seems to work great... and I created a wrapper to 3 of these panels to display different panels for Errors, Warnings and Info messages (red, yellow, green boxes), and also filter messages

[Wicket-user] Ferie

2007-02-17 Thread tormod
I will be out of the office starting 15.02.2007 and will not return until 06.03.2007. Jeg har ferie. Ring 67124464 hvis du trenger hjelp med noe. Med vennlig hilsen Tormod Ă˜verlier - Take Surveys. Earn Cash. Influence

Re: [Wicket-user] LoadableDetachableModel in form processing

2007-02-17 Thread Eelco Hillenius
Hi, > Last time I asked how to use chain in CompoundPropertyModel with > LoadableDetachableModel, it worked since my page has no form (no submit). > This time, I make another page and try to use the chain again, and hibernate > throws org.hibernate.NonUniqueObjectException when I submit the form.

Re: [Wicket-user] Relative URL-s on the page - problems persist!!!

2007-02-17 Thread beboris
We are using version 1.2.4 Johan Compagner wrote: > > what wicket version are you exactly using? > > > On 2/17/07, beboris <[EMAIL PROTECTED]> wrote: >> >> >> So, here is an update. >> >> It DID fix the problem for the home page. >> >> Still, we have a bunch of "relative path" resources on ot

Re: [Wicket-user] Relative URL-s on the page - problems persist!!!

2007-02-17 Thread beboris
Sorry! The actual piece containing the relative URL was somehow turned into a link by Nabble, although I didn't check "Message is in HTML Format" box... Oh well... Trying again (Beware! I removed all opening and closing "<"/">" brackets from those lines in the middle starting with "a" and ending

Re: [Wicket-user] Relative URL-s on the page - problems persist!!!

2007-02-17 Thread Johan Compagner
what wicket version are you exactly using? On 2/17/07, beboris <[EMAIL PROTECTED]> wrote: So, here is an update. It DID fix the problem for the home page. Still, we have a bunch of "relative path" resources on other pages, which are not retrieved correctly, including some icons. Here is th

Re: [Wicket-user] Relative URL-s on the page - problems persist!!!

2007-02-17 Thread beboris
So, here is an update. It DID fix the problem for the home page. Still, we have a bunch of "relative path" resources on other pages, which are not retrieved correctly, including some icons. Here is the scenario [data are straight from my debugger] = It all started with

Re: [Wicket-user] Version>1 and "Page expired" despite setVersioned(false) call in a WebPage constructor

2007-02-17 Thread Johan Compagner
are you using different browser window of frames? If so then for every browser window or frame, do use a different pagemap per page. See for example the popupsettings of the bookmarkable page link. johan On 2/17/07, beboris <[EMAIL PROTECTED]> wrote: I am sorry for "stupid" question again.

Re: [Wicket-user] Wicket 1.2.4 bug (?!?) - changing visibility of a button using ajax

2007-02-17 Thread Johan Compagner
can't we make this behaviour somehow default in our ajax request? Then it always works i guess? johan On 2/17/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: Or you could target.appendJavascript("document.getElementById('" + component.getMarkupId() + "').style.display='none';"); Martijn On

Re: [Wicket-user] Version>1 and "Page expired" despite setVersioned(false) call in a WebPage constructor

2007-02-17 Thread beboris
I am sorry for "stupid" question again. But, may be, someone can explain to me what is (or give a pointer to) the "right" strategy for dealing with these problems (or, in johan's words - for "using pagemaps correctly"). Again, we think we have a pretty simple case here, with page versioning turned

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-17 Thread Eelco Hillenius
On 2/17/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > available, and I cannot think of a good end-user reason why this > > couldn't be called. The getMarkupId method can in fact be called in > > if it is possible to make every method work at constructor, of course > this is not necessary. It just

Re: [Wicket-user] FeedbackPanels in ListView

2007-02-17 Thread Jonathan Locke
Maybe I don't understand this quite, but there was an intention to make it possible to add feedback messages at the component level. You ought to be able to add a FormComponentFeedbackBorder to any form component even in a list view, for example. That feedback border normally would contain a l

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-17 Thread Johan Compagner
Do we really need a bit? (haven't we already have a 'bit')? If getmarkupid is called but it isn't set and we want to look it up then we can already see that the markup is not attached right? And if that is not the case throw an exception On 2/17/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: O

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-17 Thread Carfield Yim
> available, and I cannot think of a good end-user reason why this > couldn't be called. The getMarkupId method can in fact be called in if it is possible to make every method work at constructor, of course this is not necessary. It just my personal suggestion if this is not possible

Re: [Wicket-user] Wicket 1.2.4 bug (?!?) - changing visibility of a button using ajax

2007-02-17 Thread Martijn Dashorst
Or you could target.appendJavascript("document.getElementById('" + component.getMarkupId() + "').style.display='none';"); Martijn On 2/16/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you cannot add button directly to the ajax target to change visibility, you > have to add some enclosing compon

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-17 Thread Eelco Hillenius
On 2/15/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > On 2/16/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > you shouldnt be calling setresponsepage inside constructors I think I fixed this for 1.3 and 2.0. Could you please test this and let us know whether that worked for you? It *should* work,

Re: [Wicket-user] FeedbackPanels in ListView

2007-02-17 Thread Igor Vaynberg
there really isnt that much we can do, that is the lifecycle of feedback messages, and it has to be like that because of components exactly like the listview - the ones that change hierarchy in onattach. so if you can describe what you are trying to do and not how maybe we can help -igor On 2/

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-17 Thread Eelco Hillenius
> > > > Could anyone tell me why the above technique did not work for *.htc files? > > > Are you sure .htc files are being copied/included in your build process? Yeah, it could be that those files aren't copied. Also, what does you log say... Wicket logs a warning when it can't serve a package re

Re: [Wicket-user] List

2007-02-17 Thread Eelco Hillenius
What version of Wicket are you using? That's quite an old problem which is fixed in 1.3/ 2.0 for sure, but I thought even in the newer 1.2.x versions. Eelco On 2/16/07, Gangadhar Vibhute <[EMAIL PROTECTED]> wrote: > Hi > when AjaxFormComponentUpdatingBehavior target DatePicker it > is not workin

Re: [Wicket-user] FeedbackPanels in ListView

2007-02-17 Thread Eelco Hillenius
I can imagine those two components together is asking for trouble... The easiest way to solve this is to not use feedbackpanels at all, but instead a custom mechanism (just labels that work on a shared model or even use page.getFeedbackMessages for instance). But that's kind of a lame answer from u