Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

af:selectBooleanCheckbox unchecked in true condition

Vladimir ZhilyaevMar 14 2017 — edited Mar 15 2017

Hi gurus,

My jdev is 12.2.1.2.

I have VO based on EO with Attribute ConfirmFlag with default value "Y" - means yes

<ViewAttribute

Name="ConfirmFlag"

IsNotNull="true"

PrecisionRule="true"

EntityAttrName="ConfirmFlag"

EntityUsage="P13PrivateMotivation"

AliasName="CONFIRM\_FLAG"

DefaultValue="Y"/>

and on the page it presented as selectBooleanCheckbox in table row

pastedImage_9.png

<af:selectBooleanCheckbox value="#{row.bindings.ConfirmFlag.inputValue}"

                                          label="#{row.bindings.ConfirmFlag.label}"

                                          shortDesc="#{bindings.P13PrivateMotivationView1.hints.ConfirmFlag.tooltip}"

                                          id="sbc1" autoSubmit="true"/>

My pageDef

<button IterBinding="P13PrivateMotivationView1Iterator" id="ConfirmFlag" DTSupportsMRU="false" StaticList="true">

  \<AttrNames>

    \<Item Value="ConfirmFlag"/>

  \</AttrNames>

  \<ValueList>

    \<Item Value="Y"/>

    \<Item Value="N"/>

  \</ValueList>

\</button>

When I create new row on the page selectBooleanCheckbox unchecked but ConfirmFlag = "Y".

pastedImage_13.png

If I will redeploy my app I will see selectBooleanCheckbox checked.

pastedImage_14.png

Why after creating new row with ConfirmFlag = "Y" selectBooleanCheckbox is unchecked?

Thanks

This post has been answered by Vladimir Zhilyaev on Mar 15 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2017
Added on Mar 14 2017
9 comments
586 views