Re: [Wicket-develop] ajax editable labels and empty models

2006-08-08 Thread Frank Bille
Hehe, stop messing around and just do what you say :PFrankOn 8/8/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:Yeah, it does work fine. I made a mistake myself that caused the ... to be submitted.EelcoOn 8/8/06, Johan Compagner <[EMAIL PROTECTED]> wrote:> ahh the ... doesn't get to the input> it i

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-08 Thread Eelco Hillenius
Yeah, it does work fine. I made a mistake myself that caused the ... to be submitted. Eelco On 8/8/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > ahh the ... doesn't get to the input > it is only displayed a label where you can click on? > then it should work fine i guess. > > johan > > > > On

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-08 Thread Johan Compagner
ahh the ... doesn't get to the inputit is only displayed a label where you can click on?then it should work fine i guess.johanOn 8/8/06, Frank Bille <[EMAIL PROTECTED]> wrote: On 8/8/06, Johan Compagner <[EMAIL PROTECTED]> wrote: if you click on it you get ... in the input yes?And if you then sub

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-08 Thread Frank Bille
On 8/8/06, Johan Compagner <[EMAIL PROTECTED]> wrote: if you click on it you get ... in the input yes?And if you then submit what is suddenly submitted? i take the ... that can't go into the modelNo, When I click on it I get null (empty). When using the replaceComponentBody I'm only rendering somet

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-08 Thread Johan Compagner
if you click on it you get ... in the input yes?And if you then submit what is suddenly submitted? i take the ... that can't go into the modeljohanOn 8/8/06, Frank Bille <[EMAIL PROTECTED]> wrote: On 8/7/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote: > Yes ... from a template method for easy conf

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-08 Thread Frank Bille
On 8/7/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Yes ... from a template method for easy configuration would be fine. I couldWas not such a good idea after all I just found out as - of course -that is used as the next input. Hmm now I have tried to implement it and I'm not sure what you mean

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-07 Thread Frank Bille
On 8/8/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Can't you just check the model in onedit if it's the same as the> templatemethod? and then clear it?onEdit is not responsible for handling the input of the editcomponent, so I would have to decorate the editor component somehow and override u

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-07 Thread Eelco Hillenius
> Can't you just check the model in onedit if it's the same as the > templatemethod? and then clear it? onEdit is not responsible for handling the input of the edit component, so I would have to decorate the editor component somehow and override updateModel. In this case, having a wrapper model is

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-07 Thread Frank Bille
On 8/7/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: padding doesnt work on inline css elements?-IgorAs I said.. I'm no css shark ;)Frank - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-06 Thread Igor Vaynberg
padding doesnt work on inline css elements? -Igor On 8/6/06, Frank Bille <[EMAIL PROTECTED]> wrote: > > > > On 8/7/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > Yes ... from a template method for easy configuration would be fine. I > could > > > > Was not such a good idea after all I just

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-06 Thread Frank Bille
On 8/7/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Yes ... from a template method for easy configuration would be fine. I couldWas not such a good idea after all I just found out as - of course -that is used as the next input.Can't you just check the model in onedit if it's the same as the tem

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-06 Thread Eelco Hillenius
> Yes ... from a template method for easy configuration would be fine. I could Was not such a good idea after all I just found out as - of course - that is used as the next input. > also think of cases when you would prefer "" (empty string) as default value > and then, using css, make the label

Re: [Wicket-develop] ajax editable labels and empty models

2006-08-06 Thread Frank Bille
Yes ... from a template method for easy configuration would be fine. I could also think of cases when you would prefer "" (empty string) as default value and then, using css, make the label fill the content which it is in, like a table cell f.ex.FrankOn 8/6/06, Eelco Hillenius <[EMAIL PROTECTED]>