ClickメモThis is a featured page

このページには、Click Frameworkに関するちょっとしたTipsやメモをまとめます。

[Q] Pageクラスで表示するモデルをpublicで定義したくない場合は?

[A] privateで定義した変数をPage#addModelメソッドでモデルとして追加する事で対応可能

public MyPage extends Page {
private String name;

public MyPage() {
addModel("name", name);
}
}


No user avatar
sim_j
Latest page update: made by sim_j , Jan 27 2008, 1:39 AM EST (about this update About This Update sim_j Edited by sim_j

21 words added

view changes

- complete history)
Keyword tags: click
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)