Hi experts,
I'm using jdev 12.2.1.2 and my use case is to pass attribute value from VO1 (user select value from LOV and after click OK selected value will map to attribute from VO1) to bind variable from VO2 (on the page it table).
I have followed groovy approach Andrejus Baranovskis Blog: Groovy with View Link Accessor but getting error
What I did:
- Create view link between VO1 (DataEntryDummyView) and VO2 (LegalAdressView)

- Generate Accessor

- For bind var in VO2 (LegalAdressView) using Groovy Expression where call created accessor:
bind var xml defenition
<Variable
Name="p\_idPoluchSheta"
Kind="where"
Type="java.lang.String">
\<TransientExpression
trustMode="trusted"
Name="VariableScript"
CodeSourceName="LegalAdressView"/>
</Variable>
Groovy code:
@VariableExpression(path="p_idPoluchSheta")
def p_idPoluchSheta_VariableScript_Variable()
{
return EntryDataDummyView.IdPoluchScheta
}
But jdev throw error. What I did wrong?
Error(10,8): [Static type checking] - Unknown attribute name: EntryDataDummyView for type: LegalAdressView
@ line 10, column 8. P6_Sales_CommercialTermsUI.jws D:\SOA\12C\BPM\SRC\work\ui\P6_Sales_CommercialTermsUI