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