开发者

In Wicket, what is the difference between the different get input methods?

开发者 https://www.devze.com 2022-12-23 22:07 出处:网络
What is the diff开发者_C百科erence between getRawInput, getValue() and getModelValue() etc...?Method names without what class they\'re in sort of leave us guessing.

What is the diff开发者_C百科erence between getRawInput, getValue() and getModelValue() etc...?


Method names without what class they're in sort of leave us guessing.

I'll assume these are all in org.apache.wicket.markup.html.form.FormComponent, as they do all exist there.

All are related to data entered by a user on a form, but roughly speaking, getRawInput() is data from the user, getModelValue() is the value in the current model for the form component, and getValue() is either of these depending on whether the user actually supplied data.

These methods are all documented in the javadoc for FormComponent

0

精彩评论

暂无评论...
验证码 换一张
取 消