Re: [Wicket-user] alternative for onrender() for extended Panel?

2005-11-15 Thread Marco van de Haar
This would not work. My IFRAME is used to fix MSIE's anyoying behaviour to ignore a DOM node's z-index when it is over windowed controls (i.e. SELECT box), which is pretty crucial for a Tooltip. A good fix for this is to place an IFRAME exactly behind the Tooltip. We have rewritten the

Re: [Wicket-user] alternative for onrender() for extended Panel?

2005-11-15 Thread Martijn Dashorst
And nest it inside your panel, so you can add the IFRAME yourself? Something like: wicket:panel div div tooltip magic/div iframe magic/iframe /div /wicket:panel Martijn On 11/15/05, Marco van de Haar [EMAIL PROTECTED] wrote: This would not work. My IFRAME is used to fix MSIE's anyoying

Re: [Wicket-user] Locale problems

2005-11-15 Thread Martijn Dashorst
FYI: The dutch language exists for two dialects: nl_NL ('the Netherlands') and nl_BE ('Belgium'). Even though I can understand Belgium programs broadcasted on belgium tv completely (the intonation is different, but other than that, nothing too different), when the same program is transmitted on a

Re: [Wicket-user] Re: FormFeedbackIndicator

2005-11-15 Thread Martijn Dashorst
Yes, but the problem was in internationalization: they changed the foo.html page, but Wicket rendered the foo_nl_NL.html page. Martijn On 11/14/05, Phil Kulak [EMAIL PROTECTED] wrote: Are you adding the text field?On 11/10/05, Marco van de Haar [EMAIL PROTECTED] wrote: Typo, sorry, ofcourse I

Re: [Wicket-user] alternative for onrender() for extended Panel?

2005-11-15 Thread Marco van de Haar
okay we will try this sollution and restructure our Tooltip's design. It looks liek it will work. Martijn Dashorst wrote: And nest it inside your panel, so you can add the IFRAME yourself? Something like: wicket:panel div div tooltip magic/div iframe magic/iframe /div /wicket:panel

Re: [Wicket-user] alternative for onrender() for extended Panel?

2005-11-15 Thread Ruud Booltink
Thanks for your reply, but the problem is that the Iframe can't be located inside the tooltip. To clarify this problem, we have pasted screenshots on our blog: http://jroller.com/page/ruudmarco?entry=we_want_to_include_an Ruud Martijn Dashorst wrote: And nest it inside your panel, so you

Re: [Wicket-user] Wait Screen

2005-11-15 Thread Dipu
I think, i will go the ajax way, i tested it by attaching simple _javascript_ at body onLoad and form onSubmit and toggling between the main screen and the wait screen. Now i am adding the body onLoad function statically like body onload="jsFunc()" Ideally i would like to do it dynamically,

[Wicket-user] Re: Re: Re: My take on Spring integration

2005-11-15 Thread Maik Dobryn
Hi Phil and Igor, thank You for the quick answers, the great overview and the phonebook-patch. It is exactly what I was looking for! Again, many thanks. Maik Igor Vaynberg wrote: While I agree with Phil, a lot of other people do not. the spring integration package is still very much a work

[Wicket-user] ComponentFeedbackMessageFilter

2005-11-15 Thread Marco van de Haar
I want to make an extended FeedbackPanel which only shows messages for Component fc. See code below. But when I display my panel I see the feedbackmessages for ALL of the components that are invalid. I checked the soString() for FC: [MarkupContainer [Component id = integerProperty, page = No

Re: [Wicket-user] Re: Re: Re: My take on Spring integration

2005-11-15 Thread Igor Vaynberg
yep, a lot of work. we needed something that we can point to and say that is our official way of supporting spring and injection in general, so there it is. -Igor On 11/15/05, Phil Kulak [EMAIL PROTECTED] wrote: Thanks for the writeup, Igor. I had no idea about the progress thathad been made in

[Wicket-user] Markup Inheritance... why does wicket:child have to be empty?

2005-11-15 Thread Scott Sauyet
I'm using Wicket 1.1, and am trying Markup Inheritance for the first time. I'm confused as to why wicket:child must be empty. This: wicket:child/ works fine, but this: wicket:child div id=mainpMain content here/p/div /wicket:child fails with

Re: [Wicket-user] Markup Inheritance... why does wicket:child have to be empty?

2005-11-15 Thread Juergen Donnerstag
No specific reason. Please open an RFE. Thanks Juergen On 11/15/05, Scott Sauyet [EMAIL PROTECTED] wrote: I'm using Wicket 1.1, and am trying Markup Inheritance for the first time. I'm confused as to why wicket:child must be empty. This: wicket:child/ works fine, but this:

[Wicket-user] Re: Keeping images outside of WEB-INF

2005-11-15 Thread James Yong
Johan Compagner jcompagner at gmail.com writes: ok you do write in the webapplication directory.. You do have always complete control over it where youre webapp will be installed on? And what kind of application server is used? Because you do know that writeable access isn't guarenteed?

Re: [Wicket-user] Markup Inheritance... why does wicket:child have to be empty?

2005-11-15 Thread Scott Sauyet
= Juergen Donnerstag [EMAIL PROTECTED] = Scott Sauyet [EMAIL PROTECTED] Is there some good reason that wicket:child can't have a disposable body in the markup to enhance previewability? No specific reason. Please open an RFE. Thanks Okay: 1357511: http://tinyurl.com/exa9o Thanks,

[Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Juergen Donnerstag
Label does not impose any restrictions on the tag it gets attached to. What exactly does the runtime exception say? Juergen -- Forwarded message -- From: SourceForge.net [EMAIL PROTECTED] Date: Nov 15, 2005 6:26 PM Subject: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label

[Wicket-user] Re: Keeping images outside of WEB-INF

2005-11-15 Thread James Yong
Eelco Hillenius eelco.hillenius at gmail.com writes: Or use public class SimpleImage extends WebComponent { public SimpleImage(String id, String imgSrc) { super(id, new Model(imgSrc)); } public SimpleImage(String id, IModel imgSrcModel) {

Re: [Wicket-user] Re: Keeping images outside of WEB-INF

2005-11-15 Thread Scott Sauyet
= James Yong [EMAIL PROTECTED] = Johan Compagner jcompagner at gmail.com If you can do that then i would just have the img tag directly in the html with a wicket id and then you use a label componet which only has a attribute modifier to set the src attribute. That looks to me as the

Re: [Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Phil Kulak
Yea, that's why I figured it was a bug. wicket.markup.MarkupException: Unable to find component with id 'title' in [MarkupContainer [Component id = _extend, page = md.lhm.wicket.page.cart.ViewCart, path =

Re: [Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Phil Kulak
Here we go. Right now you'll get a RuntimeException. Change the ps to divs and it's all good. -Phil On 11/15/05, Phil Kulak [EMAIL PROTECTED] wrote: Yea, that's why I figured it was a bug. wicket.markup.MarkupException: Unable to find component with id 'title' in [MarkupContainer [Component

Re: [Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Scott Sauyet
Phil Kulak wrote: Here we go. Right now you'll get a RuntimeException. Change the ps to divs and it's all good. Confirmed. (Except that the attachment was the one with the DIV not the P.) Running against 1.1, I get the same exception as Phil. Against HEAD, the DIV work fine but the P

Re: [Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Juergen Donnerstag
I'll check it later tonight Juergen On 11/15/05, Scott Sauyet [EMAIL PROTECTED] wrote: Phil Kulak wrote: Here we go. Right now you'll get a RuntimeException. Change the ps to divs and it's all good. Confirmed. (Except that the attachment was the one with the DIV not the P.) Running

Re: [Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Eelco Hillenius
Just an idea Juergen... could that be related to the fact that p is one of those tags we allow to be unbalanced (doesn't need a closing tag)? Eelco On 11/15/05, Scott Sauyet [EMAIL PROTECTED] wrote: Phil Kulak wrote: Here we go. Right now you'll get a RuntimeException. Change the ps to divs

Re: [Wicket-user] Re: Keeping images outside of WEB-INF

2005-11-15 Thread Johan Compagner
jip that is what i meant But ofcourse eelco's method is also fine to use.On 11/15/05, Scott Sauyet [EMAIL PROTECTED] wrote: = James Yong [EMAIL PROTECTED] = Johan Compagner jcompagner at gmail.com If you can do that then i would just have the img tag directly in the html with a wicket id and

Re: [Wicket-user] Re: Keeping images outside of WEB-INF

2005-11-15 Thread Eelco Hillenius
Although that shouldn't be a label as there is no body to replace. Just a WebMarkupContainer, or in this case even better a WebComponent suffices. Eelco On 11/15/05, Scott Sauyet [EMAIL PROTECTED] wrote: = James Yong [EMAIL PROTECTED] = Johan Compagner jcompagner at gmail.com If you

Re: [Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Juergen Donnerstag
Could be. I haven't tested it yet, but I think it is a good guess. Juergen On 11/15/05, Eelco Hillenius [EMAIL PROTECTED] wrote: Just an idea Juergen... could that be related to the fact that p is one of those tags we allow to be unbalanced (doesn't need a closing tag)? Eelco On 11/15/05,

Re: [Wicket-user] If/Else component display

2005-11-15 Thread Igor Vaynberg
there are two basic approaches: 1) add the component anyways and set its visibility tag accordingly 2) create panels that either contain or do not contain the component and add the appropriate panel If either is unclear let me know and i can go further into detail. -Igor On 11/15/05, Nick

Re: [Wicket-user] If/Else component display

2005-11-15 Thread Nick Heudecker
Those are the two approaches I've used. I'm looking for a way to either abstract one or both of those approaches to make them more general purpose. On 11/15/05, Igor Vaynberg [EMAIL PROTECTED] wrote: there are two basic approaches: 1) add the component anyways and set its visibility tag

Re: [Wicket-user] Preserve form state

2005-11-15 Thread Johan Compagner
Just one extra remark. Why can't use just use a model for this? And that model is an in between model for you real model object? Ok you have to do youre validation a bit different (it can't be between Form-Model but it has to be between TmpModel-RealModel This looks to me like a much better way

[Wicket-user] 发票代开

2005-11-15 Thread 吴海清
尊敬的经理: 是否有某批次的货物,因为如何入帐及承担过高的税负而烦忧?或许我司能为您排忧。 我司作为一家综合性企业,可以开具商品销售发票(普通发票);也可通过海关开具海关专用缴款书(包括): 1、海关代征增值税专用缴款书,可按17%全额抵税; 2、海关进口关税专用缴款书,进货价格及关税全部可入成本; 3、进口货物报关单,证明货物为进口货物。 另:我司的合作企业可以开具公路运输发票,可以证明货物的运输方式,此发票可以抵扣7%税款。 若有需要,请与我司联系:吴海清 Tel: 0755-81164787 ,013728998454。

Re: [Wicket-user] If/Else component display

2005-11-15 Thread Eelco Hillenius
Sounds to me you are looking for something more special purpose :) Why don't you create a panel factory or something similar? You could make container components that would allow you to do a if/else like construction in your markup, but I wouldn't be a big fan of that. I think working with panels

[Wicket-user] Buttom model gets nulled on validation

2005-11-15 Thread Andrew Berman
I have a form which has two buttons, one submit and one cancel button. They are constructed like so: form.add(new Button(submit, new Model(getString(label.submit, null; form.add(new Button(cancel, new Model(getString(label.cancel, null; The model of the button is used as the value

Re: [Wicket-user] Buttom model gets nulled on validation

2005-11-15 Thread Igor Vaynberg
it was a bug. fixed in cvs 1.1 and 1.2 -Igor On 11/15/05, Andrew Berman [EMAIL PROTECTED] wrote: I have a form which has two buttons, one submit and one cancel button. They are constructed like so: form.add(new Button(submit, new Model(getString(label.submit, null; form.add(new Button(cancel,