Jdev ver:11.1.17.1
I Have a one table,in that table i want to drag as a adf table on to the page.in that one column i wants to convert to boolean check box,that is "string" type with size is "1 " varchar2(1).i want to save the data in that table check and uncheck.
Check means:Y
Un Check means:N
i want to store the data like above mentioned,if am adding record in table default it will take as a "check mode".if suppose if i want to update that record it showing error.."Invalid precision scale with true/false",but i didnot set true / false anywhere in EO or VO.but it showing True / False when am updating record,i have deleted that VO and EO so many times,still it showing same error,i tried lot but i could not find the solution.please help me on this issue,how to achieve this...i dont know where it is taking true or false.
the code for boolean check box column is below...
<af:column sortProperty="#{bindings.XxrevChannelSlsVO2.hints.EnabledFlag.name}"
sortable="false"
headerText="#{bindings.XxrevChannelSlsVO2.hints.EnabledFlag.label}"
id="c7">
<af:selectBooleanCheckbox value="#{row.bindings.EnabledFlag.inputValue}"
readOnly="#{row.bindings.ChannelSlsCode.inputValue ne pageFlowScope.salesBean.bindValue}"
label="#{row.bindings.EnabledFlag.label}"
shortDesc="#{bindings.XxrevChannelSlsVO2.hints.EnabledFlag.tooltip}"
id="sbc2"/>
-----------------------------
Suppose if i drag and drop that VO as a table that Column is Like Input text with label like below....
<af:inputText value="#{row.bindings.EnabledFlag.inputValue}"
label="#{bindings.XxrevChannelSlsVO2.hints.EnabledFlag.label}"
required="#{bindings.XxrevChannelSlsVO2.hints.EnabledFlag.mandatory}"
columns="#{bindings.XxrevChannelSlsVO2.hints.EnabledFlag.displayWidth}"
maximumLength="#{bindings.XxrevChannelSlsVO2.hints.EnabledFlag.precision}"
shortDesc="#{bindings.XxrevChannelSlsVO2.hints.EnabledFlag.tooltip}"
id="it4"
readOnly="#{row.bindings.ChannelSlsCode.inputValue ne pageFlowScope.salesBean.bindValue}"
rendered="false">
<f:validator binding="#{row.bindings.EnabledFlag.validator}"/>
</af:inputText>
</af:column>