Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はすでにロジックフックを使用してそれを行っていますビューを介してそれを行うにはどうすればよいですか
ビューにデフォルト値を設定するだけですか? 値の保存は、フックを使用して事後にのみ行うことができます。編集 (または詳細ビュー) でデフォルト値を設定するようなことをしたい場合は、$this->bean にフィールドを設定するだけです:
class AccountsViewDetail extends ViewDetail { function display(){ $this->bean->mycustomfield_c = 'Default'; ......