私は 2 種類の POC を作成しました。1 つは UI ジェネレーターを使用するもの、もう 1 つは使用しないものです。
UIジェネレーターを呼び出し#{bindings.CreateEmployee.execute}
て使用しているときはプレーンフォームが表示されます.UIジェネレーターなしで同じものを使用すると、DBからの最初のデータで常に塗りつぶされたフォームが表示されます.
これは初回のみ発生し、再度同じ画面に戻った場合は問題ありません。この問題を解決するにはどうすればよいですか。誰でもアイデアがありますか?
編集:EmployeeList.amx
タスクフロー
を使用しています。フローから移動しEmployee.amx
ます(ここでは従業員フォームがあります)
従業員リスト.amx:
<amx:commandLink actionListener="#{bindings.CreateEmployee.execute}" action="goToEmployee"
id="cb4" text="Create Employee">
従業員ページ定義.xml:
<executables>
<variableIterator id="variables">
<variable Name="find_searchValue" Type="java.lang.String"/>
</variableIterator>
<iterator id="EmployeeServiceDCIterator" Binds="root" DataControl="EmployeeServiceDC"
RangeSize="25"/>
<accessorIterator id="EmployeeIterator" MasterBinding="EmployeeServiceDCIterator"
Binds="Employee" BeanClass="package.Employee"
DataControl="EmployeeServiceDC" RangeSize="25"/>
</executables>
<bindings>
<action id="CreateEmployee" RequiresUpdateModel="true" Action="createRow"
IterBinding="EmployeeIterator"/>
</bindings>