Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Juergen Donnerstag
On 11/18/05, Arto Arffman [EMAIL PROTECTED] wrote: It might be the intention, but if it is, there is an error with this solution. When the template is parsed each link-tag inside wicket:link is assigned id named _autolink_. Later this tag is handled by AutoLinkResolver. AutoLinkResolver:

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Juergen Donnerstag
BTW: when I did the 'custom form processing' I also wanted to call Form.persistFormComponentData() but this is private. Should this be called when Button.defaultFormProcessing = false. use formComponent.setPersistent(true) instead. Wicket will do the rest. Juergen

Re: [Wicket-user] PasswordField special getModelValue() method question

2005-11-19 Thread Juergen Donnerstag
On 11/18/05, Laurent PETIT [EMAIL PROTECTED] wrote: Hello, yet another question concerning PasswordField ? the getModelValue() returns and encrypted version, and the setModelValue() decrypts it, why ? The idea: prevent access to the plain password by accident. An attempt to make wicket

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Laurent PETIT
On 11/19/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: BTW: when I did the 'custom form processing' I also wanted to call Form.persistFormComponentData() but this is private. Should this be called when Button.defaultFormProcessing = false. use formComponent.setPersistent(true) instead. Wicket

Re: [Wicket-user] PasswordField special getModelValue() method question

2005-11-19 Thread Laurent PETIT
Ok, I still don't really understand the the answer, but that's not a problem. Indeed, if it is a feature, it's *good*, because I initially saw it as a bug for the new implementation of FormComponent Form I sent to the list yesterday (early) morning ( see Preserve form state thread). By the

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Christian Essl
On Sat, 19 Nov 2005 10:50:39 +0100, Juergen Donnerstag [EMAIL PROTECTED] wrote: BTW: when I did the 'custom form processing' I also wanted to call Form.persistFormComponentData() but this is private. Should this be called when Button.defaultFormProcessing = false. use

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Christian Essl
I don't think this is what setPersistent() is intended for, and more than that, using it for re-displaying old values doesn't work, at least with wicket-1.1 (I tried it). I just wanted to use setPersistend() for setting a cookie which remembers ie the username for the next login. if you

[Wicket-user] 代开发票

2005-11-19 Thread 林生
您好: 我公司(代理公司)现有广告,运输,建筑,服务等发票可以代开,税点数优惠,我司开具的发票均可待验证 后付款,如有需要请与我公司联系。欢迎广大客户来电咨询! 广州宏昌贸易有限公司 联系人:林生 电话:13632335245

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Laurent PETIT
Please take a look at the patches / new versions of Form FormComponent that I sent to the list early this week ( see the Preserve form state thread). It is what I consider a pretty well formed hack that shows how I supposed form handling could work by default. It could maybe be done

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Juergen Donnerstag
Of course not. Quote: BTW: when I did the 'custom form processing' I also wanted to call Form.persistFormComponentData() but this is private. Should this be called when Button.defaultFormProcessing = false. I understood it to be a side note to your question (because of BTW). You can not call

Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Arto Arffman
Never done bug reports with bugzilla but I think I can do it. But why links are generated in every render??? 2005/11/19, Juergen Donnerstag [EMAIL PROTECTED]: On 11/18/05, Arto Arffman [EMAIL PROTECTED] wrote: It might be the intention, but if it is, there is an error with this solution. When

Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Juergen Donnerstag
That is the question. I haven't checked the code yet but I assume the component tag does not get updated with the autolink id which is why it is not found and why a new one is generated. Juergen On 11/19/05, Arto Arffman [EMAIL PROTECTED] wrote: Never done bug reports with bugzilla but I think

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Christian Essl
Of course not. Quote: BTW: when I did the 'custom form processing' I also wanted to call Form.persistFormComponentData() but this is private. Should this be called when Button.defaultFormProcessing = false. I understood it to be a side note to your question (because of BTW). You can not call

Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Juergen Donnerstag
autoAdd components like AutoLink are removed from the component hierachie at the end of the render cycle. Hence, they can not be found during the second render. Which makes me wonder, how/why you get the exception. But may be I misunderstand you comment. When this is done second time id will

Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Arto Arffman
Me neither :) But it is very easy to repeat with navomatic example. Here's diff: Index: NavomaticBorder.html===RCS file: /cvsroot/wicket/wicket-examples/src/java/wicket/examples/navomatic/NavomaticBorder.html,vretrieving revision

Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Juergen Donnerstag
Ok, found it. Will fix it in cvs now. Juergen On 11/19/05, Arto Arffman [EMAIL PROTECTED] wrote: Me neither :) But it is very easy to repeat with navomatic example. Here's diff: Index: NavomaticBorder.html === RCS file:

[Wicket-user] Reference library on wiki

2005-11-19 Thread Nathan Hamblen
I started a new page on the wiki where I hope to organize links out to all of the reference documentation. Right now things are split between how tos on their own page and some other stuff on the main page. I'm proposing that the main page describe what the wiki is for and have links (only) to

Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Arto Arffman
Great! It was not too serious problem, because it was possible to split links into several blocks. I already made the bug report as you probably noticed. 2005/11/19, Juergen Donnerstag [EMAIL PROTECTED]: Ok, found it. Will fix it in cvs now.JuergenOn 11/19/05, Arto Arffman [EMAIL PROTECTED]

Re: [Wicket-user] Best use of Links

2005-11-19 Thread Andrew Lombardi
So, I see all this talk of using static factory methods to generate a Page, but what would be wrong with just using add(new Link(myLink) { public void onClick() { setResponsePage(new MyPage(param1, param2, param3)); } }; this looks like it ensures that the page