ADF inputdate component
Whenever I select a af:inputdate in a form,all of my other components get blank automatically can you suggest me how I can come across this problem?
The version is JDEV 11.1.2..4.0
and code is
<af:panelSplitter id="ps1" splitterPosition="777">
<f:facet name="first">
<af:panelCollection id="pc1">
<f:facet name="menus"/>
<f:facet name="toolbar">
<af:toolbar id="t2">
<af:commandToolbarButton text="goBack" id="ctb1" action="welcome"/>
<af:commandButton actionListener="#{bindings.Delete.execute}" text="Delete"
disabled="#{!bindings.Delete.enabled}" id="cb7"/>
<af:commandButton actionListener="#{bindings.Commit.execute}" text="Commit"
disabled="#{!bindings.Commit.enabled}" id="cb8"/>
<af:commandButton actionListener="#{bindings.CreateInsert.execute}"
text="CreateInsert" disabled="#{!bindings.CreateInsert.enabled}"
id="cb6"/>
</af:toolbar>
</f:facet>
<f:facet name="statusbar"/>
<af:table value="#{bindings.AddressVO.collectionModel}" var="row"
rows="#{bindings.AddressVO.rangeSize}"
emptyText="#{bindings.AddressVO.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.AddressVO.rangeSize}" rowBandingInterval="0"
filterModel="#{bindings.AddressVOQuery.queryDescriptor}"
queryListener="#{bindings.AddressVOQuery.processQuery}" filterVisible="true"
varStatus="vs" selectedRowKeys="#{bindings.AddressVO.collectionModel.selectedRow}"
selectionListener="#{bindings.AddressVO.collectionModel.makeCurrent}"
rowSelection="single" id="t1"
partialTriggers=":::cb1 :::cb2 :::cb3 :::cb4 ::cb6 ::cb7">
<af:column sortProperty="#{bindings.AddressVO.hints.Id.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Id.label}" id="c1">
<af:outputText value="#{row.Id}" shortDesc="#{bindings.AddressVO.hints.Id.tooltip}"
id="ot1">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.AddressVO.hints.Id.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Acname.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Acname.label}"
id="c2">
<af:outputText value="#{row.Acname}"
shortDesc="#{bindings.AddressVO.hints.Acname.tooltip}" id="ot2"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Title.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Title.label}" id="c3">
<af:selectOneChoice value="#{row.bindings.Title.inputValue}"
label="#{row.bindings.Title.label}"
required="#{bindings.AddressVO.hints.Title.mandatory}"
shortDesc="#{bindings.AddressVO.hints.Title.tooltip}"
readOnly="true" id="soc1">
<f:selectItems value="#{row.bindings.Title.items}" id="si1"/>
</af:selectOneChoice>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Grpname.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Grpname.label}"
id="c4">
<af:selectOneChoice value="#{row.bindings.Grpname.inputValue}"
label="#{row.bindings.Grpname.label}"
required="#{bindings.AddressVO.hints.Grpname.mandatory}"
shortDesc="#{bindings.AddressVO.hints.Grpname.tooltip}"
readOnly="true" id="soc2">
<f:selectItems value="#{row.bindings.Grpname.items}" id="si2"/>
</af:selectOneChoice>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Add1.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Add1.label}" id="c5">
<af:outputText value="#{row.Add1}"
shortDesc="#{bindings.AddressVO.hints.Add1.tooltip}" id="ot3"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Add2.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Add2.label}" id="c6">
<af:outputText value="#{row.Add2}"
shortDesc="#{bindings.AddressVO.hints.Add2.tooltip}" id="ot4"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Add3.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Add3.label}" id="c7">
<af:outputText value="#{row.Add3}"
shortDesc="#{bindings.AddressVO.hints.Add3.tooltip}" id="ot5"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.City.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.City.label}" id="c8">
<af:outputText value="#{row.City}"
shortDesc="#{bindings.AddressVO.hints.City.tooltip}" id="ot6"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Pincode.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Pincode.label}"
id="c9">
<af:outputText value="#{row.Pincode}"
shortDesc="#{bindings.AddressVO.hints.Pincode.tooltip}" id="ot7"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Cname.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Cname.label}"
id="c10">
<af:outputText value="#{row.Cname}"
shortDesc="#{bindings.AddressVO.hints.Cname.tooltip}" id="ot8"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Phone.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Phone.label}"
id="c11">
<af:outputText value="#{row.Phone}"
shortDesc="#{bindings.AddressVO.hints.Phone.tooltip}" id="ot9"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Mobile.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Mobile.label}"
id="c12">
<af:outputText value="#{row.Mobile}"
shortDesc="#{bindings.AddressVO.hints.Mobile.tooltip}" id="ot10"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Faxno.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Faxno.label}"
id="c13">
<af:outputText value="#{row.Faxno}"
shortDesc="#{bindings.AddressVO.hints.Faxno.tooltip}" id="ot11"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Email.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Email.label}"
id="c14">
<af:outputText value="#{row.Email}"
shortDesc="#{bindings.AddressVO.hints.Email.tooltip}" id="ot12"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Panno.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Panno.label}"
id="c15">
<af:outputText value="#{row.Panno}"
shortDesc="#{bindings.AddressVO.hints.Panno.tooltip}" id="ot13"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Tinno.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Tinno.label}"
id="c16">
<af:outputText value="#{row.Tinno}"
shortDesc="#{bindings.AddressVO.hints.Tinno.tooltip}" id="ot14"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.AddUser.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.AddUser.label}"
id="c17">
<af:outputText value="#{row.AddUser}"
shortDesc="#{bindings.AddressVO.hints.AddUser.tooltip}" id="ot15"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.AddDate.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.AddDate.label}"
id="c18">
<f:facet name="filter">
<af:inputDate value="#{vs.filterCriteria.AddDate}" id="id1">
<af:convertDateTime pattern="#{bindings.AddressVO.hints.AddDate.format}"/>
</af:inputDate>
</f:facet>
<af:outputText value="#{row.AddDate}"
shortDesc="#{bindings.AddressVO.hints.AddDate.tooltip}" id="ot16">
<af:convertDateTime pattern="#{bindings.AddressVO.hints.AddDate.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.EditUser.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.EditUser.label}"
id="c19">
<af:outputText value="#{row.EditUser}"
shortDesc="#{bindings.AddressVO.hints.EditUser.tooltip}" id="ot17"/>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.EditDate.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.EditDate.label}"
id="c20">
<f:facet name="filter">
<af:inputDate value="#{vs.filterCriteria.EditDate}" id="id2">
<af:convertDateTime pattern="#{bindings.AddressVO.hints.EditDate.format}"/>
</af:inputDate>
</f:facet>
<af:outputText value="#{row.EditDate}"
shortDesc="#{bindings.AddressVO.hints.EditDate.tooltip}" id="ot18">
<af:convertDateTime pattern="#{bindings.AddressVO.hints.EditDate.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Anniversary.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Anniversary.label}"
id="c21">
<f:facet name="filter">
<af:inputDate value="#{vs.filterCriteria.Anniversary}" id="id3">
<af:convertDateTime pattern="#{bindings.AddressVO.hints.Anniversary.format}"/>
</af:inputDate>
</f:facet>
<af:outputText value="#{row.Anniversary}"
shortDesc="#{bindings.AddressVO.hints.Anniversary.tooltip}"
id="ot19">
<af:convertDateTime pattern="#{bindings.AddressVO.hints.Anniversary.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="#{bindings.AddressVO.hints.Birthday.name}" filterable="true"
sortable="true" headerText="#{bindings.AddressVO.hints.Birthday.label}"
id="c22">
<f:facet name="filter">
<af:inputDate value="#{vs.filterCriteria.Birthday}" id="id4">
<af:convertDateTime pattern="#{bindings.AddressVO.hints.Birthday.format}"/>
</af:inputDate>
</f:facet>
<af:outputText value="#{row.Birthday}"
shortDesc="#{bindings.AddressVO.hints.Birthday.tooltip}" id="ot20">
<af:convertDateTime pattern="#{bindings.AddressVO.hints.Birthday.format}"/>
</af:outputText>
</af:column>
</af:table>
</af:panelCollection>
</f:facet>
<f:facet name="second">
<af:panelFormLayout id="pfl1">
<af:inputText value="#{bindings.Id.inputValue}" label="#{bindings.Id.hints.label}"
required="#{bindings.Id.hints.mandatory}"
columns="#{bindings.Id.hints.displayWidth}"
maximumLength="#{bindings.Id.hints.precision}"
shortDesc="#{bindings.Id.hints.tooltip}" id="it1">
<f:validator binding="#{bindings.Id.validator}"/>
<af:convertNumber groupingUsed="false" pattern="#{bindings.Id.format}"/>
</af:inputText>
<af:inputText value="#{bindings.Acname.inputValue}" label="#{bindings.Acname.hints.label}"
required="#{bindings.Acname.hints.mandatory}"
columns="#{bindings.Acname.hints.displayWidth}"
maximumLength="#{bindings.Acname.hints.precision}"
shortDesc="#{bindings.Acname.hints.tooltip}" id="it2">
<f:validator binding="#{bindings.Acname.validator}"/>
</af:inputText>
<af:selectOneChoice value="#{bindings.Title.inputValue}" label="#{bindings.Title.label}"
required="#{bindings.Title.hints.mandatory}"
shortDesc="#{bindings.Title.hints.tooltip}" id="soc3">
<f:selectItems value="#{bindings.Title.items}" id="si3"/>
</af:selectOneChoice>
<af:selectOneChoice value="#{bindings.Grpname.inputValue}" label="#{bindings.Grpname.label}"
required="#{bindings.Grpname.hints.mandatory}"
shortDesc="#{bindings.Grpname.hints.tooltip}" id="soc4">
<f:selectItems value="#{bindings.Grpname.items}" id="si4"/>
</af:selectOneChoice>
<af:inputText value="#{bindings.Add1.inputValue}" label="#{bindings.Add1.hints.label}"
required="#{bindings.Add1.hints.mandatory}"
columns="#{bindings.Add1.hints.displayWidth}"
maximumLength="#{bindings.Add1.hints.precision}"
shortDesc="#{bindings.Add1.hints.tooltip}" id="it3">
<f:validator binding="#{bindings.Add1.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Add2.inputValue}" label="#{bindings.Add2.hints.label}"
required="#{bindings.Add2.hints.mandatory}"
columns="#{bindings.Add2.hints.displayWidth}"
maximumLength="#{bindings.Add2.hints.precision}"
shortDesc="#{bindings.Add2.hints.tooltip}" id="it4">
<f:validator binding="#{bindings.Add2.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Add3.inputValue}" label="#{bindings.Add3.hints.label}"
required="#{bindings.Add3.hints.mandatory}"
columns="#{bindings.Add3.hints.displayWidth}"
maximumLength="#{bindings.Add3.hints.precision}"
shortDesc="#{bindings.Add3.hints.tooltip}" id="it5">
<f:validator binding="#{bindings.Add3.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.City.inputValue}" label="#{bindings.City.hints.label}"
required="#{bindings.City.hints.mandatory}"
columns="#{bindings.City.hints.displayWidth}"
maximumLength="#{bindings.City.hints.precision}"
shortDesc="#{bindings.City.hints.tooltip}" id="it6">
<f:validator binding="#{bindings.City.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Pincode.inputValue}" label="#{bindings.Pincode.hints.label}"
required="#{bindings.Pincode.hints.mandatory}"
columns="#{bindings.Pincode.hints.displayWidth}"
maximumLength="#{bindings.Pincode.hints.precision}"
shortDesc="#{bindings.Pincode.hints.tooltip}" id="it7">
<f:validator binding="#{bindings.Pincode.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Cname.inputValue}" label="#{bindings.Cname.hints.label}"
required="#{bindings.Cname.hints.mandatory}"
columns="#{bindings.Cname.hints.displayWidth}"
maximumLength="#{bindings.Cname.hints.precision}"
shortDesc="#{bindings.Cname.hints.tooltip}" id="it8">
<f:validator binding="#{bindings.Cname.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Phone.inputValue}" label="#{bindings.Phone.hints.label}"
required="#{bindings.Phone.hints.mandatory}"
columns="#{bindings.Phone.hints.displayWidth}"
maximumLength="#{bindings.Phone.hints.precision}"
shortDesc="#{bindings.Phone.hints.tooltip}" id="it9">
<f:validator binding="#{bindings.Phone.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Mobile.inputValue}" label="#{bindings.Mobile.hints.label}"
required="#{bindings.Mobile.hints.mandatory}"
columns="#{bindings.Mobile.hints.displayWidth}"
maximumLength="#{bindings.Mobile.hints.precision}"
shortDesc="#{bindings.Mobile.hints.tooltip}" id="it10">
<f:validator binding="#{bindings.Mobile.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Faxno.inputValue}" label="#{bindings.Faxno.hints.label}"
required="#{bindings.Faxno.hints.mandatory}"
columns="#{bindings.Faxno.hints.displayWidth}"
maximumLength="#{bindings.Faxno.hints.precision}"
shortDesc="#{bindings.Faxno.hints.tooltip}" id="it11">
<f:validator binding="#{bindings.Faxno.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Email.inputValue}" label="#{bindings.Email.hints.label}"
required="#{bindings.Email.hints.mandatory}"
columns="#{bindings.Email.hints.displayWidth}"
maximumLength="#{bindings.Email.hints.precision}"
shortDesc="#{bindings.Email.hints.tooltip}" id="it12">
<f:validator binding="#{bindings.Email.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Panno.inputValue}" label="#{bindings.Panno.hints.label}"
required="#{bindings.Panno.hints.mandatory}"
columns="#{bindings.Panno.hints.displayWidth}"
maximumLength="#{bindings.Panno.hints.precision}"
shortDesc="#{bindings.Panno.hints.tooltip}" id="it13">
<f:validator binding="#{bindings.Panno.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Tinno.inputValue}" label="#{bindings.Tinno.hints.label}"
required="#{bindings.Tinno.hints.mandatory}"
columns="#{bindings.Tinno.hints.displayWidth}"
maximumLength="#{bindings.Tinno.hints.precision}"
shortDesc="#{bindings.Tinno.hints.tooltip}" id="it14">
<f:validator binding="#{bindings.Tinno.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.AddUser.inputValue}" label="#{bindings.AddUser.hints.label}"
required="#{bindings.AddUser.hints.mandatory}"
columns="#{bindings.AddUser.hints.displayWidth}"
maximumLength="#{bindings.AddUser.hints.precision}"
shortDesc="#{bindings.AddUser.hints.tooltip}" id="it15">
<f:validator binding="#{bindings.AddUser.validator}"/>
</af:inputText>
<af:inputDate value="#{bindings.AddDate.inputValue}" label="#{bindings.AddDate.hints.label}"
required="#{bindings.AddDate.hints.mandatory}"
columns="#{bindings.AddDate.hints.displayWidth}"
shortDesc="#{bindings.AddDate.hints.tooltip}" id="id5">
<f:validator binding="#{bindings.AddDate.validator}"/>
<af:convertDateTime pattern="#{bindings.AddDate.format}"/>
</af:inputDate>
<af:inputText value="#{bindings.EditUser.inputValue}"
label="#{bindings.EditUser.hints.label}"
required="#{bindings.EditUser.hints.mandatory}"
columns="#{bindings.EditUser.hints.displayWidth}"
maximumLength="#{bindings.EditUser.hints.precision}"
shortDesc="#{bindings.EditUser.hints.tooltip}" id="it16">
<f:validator binding="#{bindings.EditUser.validator}"/>
</af:inputText>
<af:inputDate value="#{bindings.EditDate.inputValue}"
label="#{bindings.EditDate.hints.label}"
required="#{bindings.EditDate.hints.mandatory}"
columns="#{bindings.EditDate.hints.displayWidth}"
shortDesc="#{bindings.EditDate.hints.tooltip}" id="id6">
<f:validator binding="#{bindings.EditDate.validator}"/>
<af:convertDateTime pattern="#{bindings.EditDate.format}"/>
</af:inputDate>
<af:inputDate value="#{bindings.Anniversary.inputValue}"
label="#{bindings.Anniversary.hints.label}"
required="#{bindings.Anniversary.hints.mandatory}"
columns="#{bindings.Anniversary.hints.displayWidth}"
shortDesc="#{bindings.Anniversary.hints.tooltip}" id="id7">
<f:validator binding="#{bindings.Anniversary.validator}"/>
<af:convertDateTime pattern="#{bindings.Anniversary.format}"/>
</af:inputDate>
<af:inputDate value="#{bindings.Birthday.inputValue}"
label="#{bindings.Birthday.hints.label}"
required="#{bindings.Birthday.hints.mandatory}"
columns="#{bindings.Birthday.hints.displayWidth}"
shortDesc="#{bindings.Birthday.hints.tooltip}" id="id8">
<f:validator binding="#{bindings.Birthday.validator}"/>
<af:convertDateTime pattern="#{bindings.Birthday.format}"/>
</af:inputDate>
<f:facet name="footer">
<af:panelGroupLayout layout="vertical" id="pgl1">
<af:panelGroupLayout layout="horizontal" id="pgl2">
<f:facet name="separator">
<af:spacer width="10" height="1" id="s1"/>
</f:facet>
<af:commandButton text="CreateInsert"
disabled="#{!bindings.CreateInsert.enabled}" partialSubmit="true"
id="cb1" actionListener="#{bindings.CreateInsert.execute}"/>
<af:commandButton text="Delete"
disabled="#{!bindings.Delete.enabled}" partialSubmit="true"
id="cb2" actionListener="#{bindings.Delete.execute}"/>
<af:commandButton actionListener="#{bindings.Next.execute}" text="Next"
disabled="#{!bindings.Next.enabled}" partialSubmit="true"
id="cb3"/>
<af:commandButton actionListener="#{bindings.Last.execute}" text="Last"
disabled="#{!bindings.Last.enabled}" partialSubmit="true"
id="cb4"/>
</af:panelGroupLayout>
<af:commandButton text="Commit" id="cb5" actionListener="#{bindings.Commit.execute}"
disabled="#{!bindings.Commit.enabled}"/>
</af:panelGroupLayout>
</f:facet>
</af:panelFormLayout>
</f:facet>
</af:panelSplitter>
Similar Messages
-
Validate Date Range in inputDate component
Hi
I am using JDev 11.1.1.2.0
I have an inputDate component which on click i need to give dates from today to future dates not passed dates.
So i have included 'validate date time range' component in the inputDate component and in the minimum property i have declared 'adf.currentDate' using expression builder and set the maximum as Jan 31,2099.
But when i execute my application i am able to select passed dates using the inputDate component, please help how can i check the date using a validator in inputDate component.
Thanks
Sudeepya i had tried with that property too....
i have declared minValue as adf.currentDate and on that it changes the value of maxValue to current date in Jan 3,2012
i have convertDatetime component in my inputDate to display the selected date in certain format.
It gives error as the format doesnot matches with the convertDatetime and inputDate component.
How can i use the minValue and maxValue of inputDate component?
the component:-
<af:inputDate
label="Planned Termination Date"
id="id2"
value="#{modifyuser.pterminationdate}"
valueChangeListener="#{modifyuserfields.plannedTermDate}"
minValue="adf.currentDate" maxValue="2099-12-31">
<af:convertDateTime pattern="dd-MMM-yyyy"/>
</af:inputDate> -
InputDate Component issue in JDeveloper11g Preview3
Hi All,
We have developed an Application in JDeveloper11g Preview1 and Migrated this Application to JDeveloper11g Preview3 . During Migration we have removed the .adf folder from the application.
The InputDate Component is not working Properly. The Problem is when ever we are changing the year of the Date component by clicking on the arrow it is not getting reflected.
If we are changing the year manually then it is working properly.
If we are changing the Months in the Date Component it is working properly.
We are facing a problem with the valueChangeListener of the InputSpin Box it is not working properly. if we are deleting the value from the spin box and changing it manually then the valueChangeListener is working but if we are clicking on the arrow of the spin box then the valueChangeListener is not getting Called. May be this is the same problem of the spin box I am facing in the Date Component.
Please help me out in solving this problem
Thanking You,
Madhavi.Hi Frank,
Thanks for your Suggestion.
I have done the same thing as you have suggested, but I am facing the Same Problem with the SpinBox component.
If I am manually changing the value of the SpinBox then the valueChangeListener is getting called.
If I am changing it with the help of the arrow buttons besides the SpinBox then the valueChangeListener is not getting called.
This is the Code that I have written for SpinBox in JSPX page
<af:inputNumberSpinbox label="Label 1"
binding="#{backing_untitled1.inputNumberSpinbox1}"
id="inputNumberSpinbox1"
valueChangeListener="#{backing_untitled1.fireSpinBoxValueChange}"
minimum="0" autoSubmit="true"/>
This is the Code that I have written in the Backing Bean related to the SpinBox
public void setInputNumberSpinbox1(RichInputNumberSpinbox inputNumberSpinbox1) {
this.inputNumberSpinbox1 = inputNumberSpinbox1;
System.out.println(inputNumberSpinbox1.getValue());
public RichInputNumberSpinbox getInputNumberSpinbox1() {
return inputNumberSpinbox1;
public void fireSpinBoxValueChange(ValueChangeEvent valueChangeEvent) {
// Add event code here...
System.out.println("in Value change event for SpinBox");
I think the same SpinBox is being used for the inputDate Component that is why we are facing the same problem in selecting the Year of the DateComponent.
Thanking You,
Madhavi. -
How to switch af:inputDate component to Thai (Buddhist) Calendar ?
Hi all,
i have the following problem:
I have ADF/ADF Faces application and want to prepare it for THAI support.
One of the issues which i have with this, is to turn the application to support Thai Calendar.
I succeed to change the dates comming from the Business Components by setting locale on the following places:
//Set Binding Ctx Locale
Locale userLocale = new Locale("th", "TH");
bindCtx.setLocaleContext(new DefLocaleContext(userLocale));
//Set JSF Locale
UIViewRoot uiRoot = fctx.getViewRoot();
uiRoot.setLocale(userLocale);
However , this doesn't influence af:inputDate component. It still continue to show me current date as by normal Calendar.
Can somebody help with this ?
Thanks in advance,
Krasimirchk this
Picking month with af:inputDate
<af:inputText id="antecipadaPostergada" value="#{attrs.value}" contentStyle="width:65px">
<f:convertDateTime pattern="MM/yyyy"/>
<af:validateDateTimeRange minimum="2011-01-01" maximum="2011-12-01"/>
</af:inputText> -
Error while adding ADF Business Component
Hi All,
I am using JDev 11.1.1.3 and trying to create a new Application.
Under the Model Project of this Application when I am trying to add Business component I am getting following error:
" *Wizard Open Error*
*Illegal name. It is either a reserved word or an object of a given name already exists within the project.*
*com.java.DemoApp.Model*
*Exception: oracle.jbo.dt.objects.JboException* "
Steps I followed:
New Application --> Fusion Web Application (ADF) --> Gave App name and hit Finish Button.
Model and View Controller Projects got created.
Now when I am trying to add ADF Business Component I am Getting above error.
Please HelpHi John ,
Please find details and steps below:
1. Open Jdev
2. Click New Application
3. Create Fusion Web Application (ADF)
wizard will come up
Details entered:
Application Name: DemoApp
Directory: D:\Jdev\mywork\DemoApp
Application Package Prefix com.java.Demo
4. Hit Next Button
Project 1Name come (Step 2 of 5)
Project Name Model (Default Project Name)
Directory D:\Jdev\mywork\DemoApp\Model (Automatically Populated)
No changes done
5. Hit Next Button
Project 1 Java Settings come (Step 3 of 5)
Below values automatically populated
Default package com.java.Demo.model
Java Source Path D:\Jdev\mywork\DemoApp\Model\src
Output Directory D:\Jdev\mywork\DemoApp\Model\classes
No changes done
6. Hit Next button
Project 1Name come (Step 4 of 5)
Project Name ViewController (Default Project Name)
Directory D:\Jdev\mywork\DemoApp\ViewController (Automatically Populated)
No changes done
7. Hit Next Button
Project 1 Java Settings come (Step 4 of 5)
Below values automatically populated
Default package com.java.Demo.view
Java Source Path D:\Jdev\mywork\DemoApp\ViewController\src
Output Directory D:\Jdev\mywork\DemoApp\ViewController\classes
No changes done
8. Click Finish Button
9. Select Model Project under Application Navigator
10. Right Click and select New --> ADF Business Component --> Application Module --> Ok
Error Thrown..
Please let me know if more details required
Thanks and Regards
Manav Ratra -
Error while using ADF map component
I am facing problem while using ADF map component to display geographical addresses on the map. Steps I have followed are as follows :
1. I have created a simple table with structure.
location_name varchar2(20),
longitude number(10),
latitude(10)
This table is having records for actual values.
2. I have created BC objects for accessing this table.
3. Then I have added this data control to the JSP page as a ADF map and point theme. Here I have specified map viewer URL as http://elocation.oracle.com/mapviewer/. I have binded values for longitude and latitude to the values from EO. I have specified point data value as location_name. No value is specified for category.
With this setup when I try to execute the page, it is throwing following error.
DVT-26007: Theme mapPointTheme1 cannot be displayed because data at row 0(rowId=0001000000055445535431) does not have value.
Can someone guide me on this please.....
Message was edited by:
user609092Hi,
When we add point theme to the map, we specify the data control binding to this theme. This binding is done against the attribute names from the data control. I want to bind this theme input values to some variables. So that it can be changed at runtime. I think this can be done if we are able to use EL. So is it possible to achieve this? Could you please suggest me any other alternative way to achieve this.
Thanks,
Prashant -
Problem with JDev 10g ADF table component and rangeChangeListener
Hi,
I'm populating an ADF table component from a backing bean and would like the range of rows be changed using custom method on the backing bean.
I have declared table on page as shown below and the table is populated correctly. However the onRangeChanged method in the backing bean never fires when
user hits previous or next. Any ideas of what I missed ?.
Thanks,
Kenneth
<af:table emptyText="No items were found"
value="#{companySearchBean.companies}"
var="company" rows="20"
first="#{companySearchBean.firstCompany}"
rendered="#{companySearchBean.queryExecuted}"
rangeChangeListener="#{companySearchBean.onRangeChanged}">
<af:column sortable="false" headerText="Company Name">
<af:outputText value="#{company.partyName}"/>
</af:column>
<af:column sortable="false" headerText="Party Number"
formatType="number">
<af:outputText value="#{company.partyFileNo}"/>
</af:column>
</af:table>Hi,
I'm populating an ADF table component from a backing bean and would like the range of rows be changed using custom method on the backing bean.
I have declared table on page as shown below and the table is populated correctly. However the onRangeChanged method in the backing bean never fires when
user hits previous or next. Any ideas of what I missed ?.
Thanks,
Kenneth
<af:table emptyText="No items were found"
value="#{companySearchBean.companies}"
var="company" rows="20"
first="#{companySearchBean.firstCompany}"
rendered="#{companySearchBean.queryExecuted}"
rangeChangeListener="#{companySearchBean.onRangeChanged}">
<af:column sortable="false" headerText="Company Name">
<af:outputText value="#{company.partyName}"/>
</af:column>
<af:column sortable="false" headerText="Party Number"
formatType="number">
<af:outputText value="#{company.partyFileNo}"/>
</af:column>
</af:table> -
Problem deploying ADF Faces component demo to Glassfish 3.1.2
Hi,
Jdev 11.1.2.3
ADF Essentials
Glassfish 3.1.2
Windows 7 (64-bit)
Following the instructions on https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to I'm able to deploy and run a very simple ADF Faces application.
But when I try to deploy ADF Faces component demo (rfc-dvt-demo.war) I get following error:
[#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
XML-22101: (Fatal Error) DOMSource node as this type not supported.
|#]
[#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
XML-22900: (Fatal Error) An internal error condition occurred.
|#]
[#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
XML-22101: (Fatal Error) DOMSource node as this type not supported.
|#]
[#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
XML-22900: (Fatal Error) An internal error condition occurred.
|#]
[#|2012-10-17T10:06:48.572+0200|SEVERE|glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=27;_ThreadName=Thread-2;|Critical error during deployment:
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:672)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:322)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2018)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:353)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:575)
at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:461)
at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:389)
at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:220)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:670)
... 31 more
Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:920)
at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:865)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:656)
... 31 more
Caused by: javax.xml.transform.TransformerException: XML-22900: (Fatal Error) An internal error condition occurred.
at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:915)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:502)
at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:1013)
at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:911)
... 35 more
Caused by: javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported.
at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:917)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:488)
... 37 moreI have also tried
- to re-create the WAR file with "platform=Glassfish" in the deployment profile but with the same result
- to create an EAR file with "platform=Glassfish" in the deployment profile but with the same result (I have read in the ADF docs that for ADF applications deployment of WAR files only works witin EAR files)
From my knowledge the ADF Faces Component demo should be deployable on the certified and supported version of Glassfish as it consists of ADF Essentials features only.
Anyone already succeeded with deployment of ADF Faces demo application on Glassfish?
regards
PeterOkay, so my problem was that the URL I was using was the OC4J launch url (http://host/applicationname and my welcome-file-list was
<welcome-file-list>
<welcome-file>LoginPage.jsp</welcome-file>
</welcome-file-list>
I tried these two variations
<welcome-file-list>
<welcome-file>LoginPage.faces</welcome-file>
</welcome-file-list>
<welcome-file-list>
<welcome-file>faces/LoginPage.jsp</welcome-file>
</welcome-file-list>
and neither of these worked either. (I did restart the OC4J node between each attempt.)
I finally created an index.html file for the application with an automatic refresh content="0;URL=faces/LoginPage.jsp" and this is working.
Should the welcome-file-list have worked? Am I doing something wrong here?
Thanks for the help. Mark -
Hi Guys,
We are facing some frustration with adf inputDate. We need to change it to show Monday as first day of week (currently is sunday) and also, we want to implement something like clicking on the field instead clicking on the icon to show the datePicker.
We are trying to use JQuery but there is a lot of work in order to process all the custom validations, etc.
What would you recommend? Can we accomplish this requirements by using the original adf inputDate?
Regards,
P.S JDeveloper 11.1.1.6Hi Alejandro,
Check the solution provided in this discussion (last entry): af:inputDate on focus/cursor
(this is only for show the date picker on focus event)
AP
Update:
To change first day of week check this out (I tested it and works like a charm): http://soadev.blogspot.com.es/2010/03/change-global-date-format-of-your.html -
Changing the default icon of a af:inputDate component
Hi,
I want to change the icon of an af:inputDate component.
I discovered two solutions, but they are imcomplete solution.
Solution 1:
af|inputDate::launch-icon-style{
background-image: url("../images/icone_calendario_menor.gif");
af|inputDate::launch-icon-style:hover{
background-image: url("../images/icone_calendario_menor.gif");
af|inputDate::launch-icon-style:active{
background-image: url("../images/icone_calendario_menor.gif");
Problem: When I press the icon whith the mouse button and wait still appear a default icon while mouse button is pressioned.
Solution 2:
af|inputDate::launch-icon{
content: url("../images/icone_calendario_menor.gif");
width: 16 px;
height: 16 px;
af|inputDate::launch-icon:rtl{
content: url("../images/icone_calendario_menor.gif");
width: 16 px;
height: 16 px;
Problem: This solution works on Internet Explorer, but in Mozilla Firefox the new icon cover partially the default image but still possible to see a piece of the defaul icon.
Observation: My new icon is 16 x 16 pixels.
I believe that the solution 1 is better, but i think is missing a piece of code, there is a billion of icon states, core, busy, compact, depressed, selected , etc.
Thanks,
Victor Jabur
Edited by: user4579872 on Apr 26, 2010 5:29 PMCheck this doc http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e15862/toc.htm#StandardPseudoClasses
It shows all pseudo classes available.
Timo -
ADF Shuttle Component - Can we have multiple leading list
Hi,
I have requirement where there are multiple lists of different types on the left hand side and user should be able to shuttle the items from any of the list to the single selected list in right side. I know in ADF shuttle there is one leading and one trailing list. I wan to know how can i make ADF shuttle component support multiple leading lists and single trailing list.
Or should I go for total custom solution mimicking shuttle behavior?
JDev version is 11.1.1.6.0
Thanks,
Sandeep
Edited by: Sandeep Koul on Aug 26, 2012 10:47 PMAfter consulting other ADF experts offline, we have come to conclusion that there is no off-the shelf component which caters to my requirement.
We are now going with complete custom solution to achieve shuttle behavior.
I am marking this query as answered.
Thanks,
Sandeep -
Clicking on 'ADF Calendar Component activity' should navigate to New page
Jdeveloper Version - 11.1.2.0.0
We implemented the ADF calendar component and it displays fine. However, we have a requirement that by clicking on the activity, it should navigate to another new page. For an activity, there are options like contextMenu, acitivtyHover, activityDetail etc.., where all shows the details in popup of the same page. We want to navigate to new page by clicking on the activity. Is it possible?
Thanks in Advance.Hi,
I don't think it is possible.
All the facets you mentioned support only af:popup as child to them.
http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_calendar.html
-Arun -
How to make ADF Business Component Connection which is using XATransaction?
Hi all,
I'm using ORACLE 10.1.3 ADF business component, how to set this component using XA transaction? Is that possible to use xa transaction manually from application module?
thanksI believe you mean to ask whether ADF BC uses XA Transaction.
You can use a JDBC datasource based on XA Transaction for ADF BC. You might find this link useful for an overview: [XA Data Source Interface and Oracle Implementation|http://download-uk.oracle.com/docs/cd/B10501_01/java.920/a96654/xadistra.htm#1058741]
What do you mean by "+Is that possible to use xa transaction manually from application module?+" - Do you mean exposing the transaction of ADF BC outside its AM..? If so, I'm afraid that its not supported.
Thanks,
~Krithika -
Oracle ADF Calendar Component Customization
Hi,
I am starting my journey to learn ADF. I am using Oracle ADF Calendar component as read only calendar. We need to further customize the calender to incorporate CUD operations. I am using ADF BC @ business layer and which in turns talk to DB for Calendar entries.
I am able to implement UI facets (like Hover effect, Detail Calendar Entry, Delete Entry) but I am not clear about how to implement the corresponding events (like delete event, edit event etc).
I am using Dialog and which refers to a managed Bean component for listeners (e.g Delete Dialog refers to dialogListener="#{CustomCalendarBean.deleteListener}").
My Question is,
In the bean, to implement the listener, i would need to make use of Delete operation available in my Data Control (Exposed by ADF BC VO). I am not sure how to do the same. My managed bean is POJO and not sure how it can call Delete operation available in data control.
Appreciate your help.
Thanks, Mihir ParekhI am able to achieve this functionality with Operation Binding.
-
Is sql functions or trigger possible for adf button component
while developing project using ADF BC and JSF, is possible to invoke sql functions or trigger for an adf button component. plz reply
For this you define a method in the application module which you expose to the client. Then you can drag this method onto the button. The method is call when you click the button.
Inside the method you can call pl/sql functions. Read chapter "37.5 Invoking Stored Procedures and Functions" here http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvgen.htm#sm0297
Timo
Maybe you are looking for
-
Upgraded old Mac mini (from 10.4 to 10.6) PowerPC G4 Processor, downloaded latest version of Firefox and ran installer, got a dialogue box that said 'not compatible with this architecture', now I don't have Firefox at all, and it is my preferred brow
-
HT4061 How do I abort an itunes download. my phone is locked on the itunes emblem.
My grandson accidentaly deleted something he had recorded on his phone and he was trying to retrieve it on itunes. It failed and now his phone is locked on the iturnes emblem with a picture of the charger cord pointing toward the itunes emble,. I h
-
After iLife 6 upgrade, iMove & iDVD doesn't recognize my video camera.
Since upgrading to iLife 6, iMovie and iDVD no longer recognizes my video camera. I have tried plugging, unplugging, turn off, turn on - all the usual procedures and I can't get it working. Here's the unusual thing; I have Final Cut Pro 5.0.4 and it
-
Creation of Inbound delivery without Order acknowledgment
Hi, We have a scenario where we raise Purchase order to Vendor. The Vendor sent the confirmation (Delivery date, qty, etc) via IDOC. This updates the Order acknowledgement and also the confirmation information in PO. When the Vendo creates a Outbound
-
Cant open icloud on my pc using safari, it works fine on firefox- any suggestions?
jljfdlds