Dependant Message Choice List
Hi Gurus,
Can anyone please suggest How to create dependant message choice list in OAF.
Basically I am having two message choice list MC1 and MC2 where MC2 values depends on the MC1 value.
Thanks
Piyush
Hi Piyush,
I assume you have two different view object/instances created for the MC1 and MC2 attached as PickListViewObject with return value and display value. Now you can achieve your requirement like:
1) Set partial action on MC1.
2) In PorcessFormRequest handled event of MC1 and set where clause on MC2's PickListViewObject with value selected by MC1 --> Execute view object.
Note:: On page load you may need to write where clause for MC2's PickListViewObject with the value which returns no rows.!
Regards,
Swati
Similar Messages
-
Dependent Message Choice Issue, Please Help.
Hi All,
I am new to OAF.
I am desiging dependent message choice where there are 4 message choice boxes
I have written the code but the issue i Am facing is when i select a value from the first Mesage Choice , processFormRequest Method is not called.If I click on any lob in the page , then only processFormRequest() is called and value is populated in the second drop down.
So I need to call processFormRequest() after a value is selected in Message Choice..
Pleas helpHi,
Follow the steps in this link. In this they have used MessageTextInput. You do the firePartialAction in MessageChoice.
https://blogs.oracle.com/prajkumar/entry/partial_page_rendering_in_oaf
Then write the following code in processFormRequest and modify as per your requirement.
if ("update".equals(pageContext.getParameter(EVENT_PARAM))) //update is the event name of the MessageChoice item
if (pageContext.getParameter("ApplicationChoice") != null)
ownerName1 = pageContext.getParameter("ApplicationChoice");
System.out.println("Application value :" + ownerName1);
Serializable ownernameParam[] = { ownerName1 };
am1.invokeMethod("setQueueName", ownernameParam);
System.out.println("After calling the queueName function");
//Code in AM
public void setQueueName(String queuename)
SeaSoaQMsgidNameVOImpl vo1 = getSeaSoaQMsgidNameVO1();
vo1.setWhereClause("OWNER = :1");
vo1.setWhereClauseParam(0,queuename);
vo1.executeQuery();
I hope this will help you..
Thanks and Regards,
Myvizhi -
Populate Actual values in Dependent Choice List
Hi,
I have a scenario wherein 3 metadata fields are dependent on each other.
Department -- > EmpNames --> EmpID
On implementing the dependent choice list, if i select the department, empnames of that department gets displayed.
But by default it loads up with No Selection option followed by empnames.
My client has a requirement wherein on selecting the empname, empid should get auto poulated. In our case it is,
by default No Selection option is present and empid comes after that.
Please let us me how to remove that No Selection type and make the value to get populate.
Regards,
BhaskarHi Bhaskar,
This can be achieved in ODC. Which GUI you are talking about?
Regards,
Vikrant Korde. -
Dependent Choice List Not working in ECapture as Expected
Hi Martin_A,
In ECapture i am trying to create a dependent Chocie list which will show City name based on Country name.
But in ECapture that configuration is not working since during the creation of Depedent list from Parent
Source,configuration is taking only one value of Parent source for eg. Country- US
Hence child choice list is showing cities related to only US.
Which should not be the case since in actual scenarios depended list means filter on the basis of selected parent value.
Please let me know if i configured it wrongly.
Please send me the steps if you did it perfectly last time
@Martin_ALooking at the documentation 3.7 of Managing Oracle Webcenter Capture, that's how it is, you have to have a separate child list of cities for every country in the country list, only 196 parent items and 196 lists to configure then
In a choice list dependency, a parent field is linked to two or more child choice lists,
one of which is displayed after the user makes a selection in the parent field.
Important Points About Choice List Dependencies
■ You can create choice list dependencies between Capture user defined choice lists,
database choice lists, or between choice list types.
■ Create all choice lists you plan to link before creating a choice list dependency. At
a minimum, you need a parent choice list, and two or more child choice lists.
■ Each item in a child list can be related to multiple parent items. For example,
Supplies could be a child item to Household and Automotive subproducts.
■ You can create multi-level dependencies (for example, great grandparent,
grandparent, parent, and child choice lists).
■ Only one choice list dependency may be assigned to a client profile. Multiple
parent/child dependencies must be defined within a single choice list dependency.
Martin -
How to make dependent choice lists grow dynamically?
Is it possible to have dependent choice list which grow as the new content is added for choice list item?
E.g If we have countries, states, cities as dependent choice lists. If contributor adds a new country the value should appear in the drop down next time. That value of country can be in turn be used to add states for it. The id of state in trun should be used to add cities. Is this possible?
Regards,
PratapHello All,
by the way, it is very simple to let opltion lists grow dynamically, and moreover to have a predefined structure before.
First you create a table and fill the view for this table with you start values, as it has been described before in this thread.
Then you make the option list for the field Edit and Select.
And then, as you know, your predefined values are stored in your custom schTable (whatever the name is), but all the values entered by the user are stored in DOCMETA table!
All you need to do is to create a trigger with SQL Developer, so that on update and insert in table DOCMETA for your custom metadata field it is checked whether this value is already in your predefined option list stored in your schTable.
And if the value is not there, make the trigger add a new record to custom table with this value and related values as well.
Simple.
This is true for any option list with predefined value and updated by the end-user.
If it is dependent option list, then you need to add both values for parent and child fields in your custom table.
There is another problem for which I can not find a solution --> if the field depends on two fields...
Regards,
Guli -
Dependent choice list with Idoc Script
Hi,
I'm developing a customized component and I have made my own template.
This is made in *.hcst* extension.
I use 3 variables dependent (they are choice lists),
If I put these variables in a checkin profile everything is O.K.,
but the problem I have using these fields in my template,
if I select the first variable it shows a javascript error:"setOption is not defined", maybe that is problem because
I must include the script that contains the function but I don't know where it is located.
I do exactly what Bex's book says (as follows):
<$include std_doc_page_definitions$>
<$include std_html_head_declarations>
<$fieldName="xCountry", fieldCaption="<b>Country:</b>",
fieldIsOptionList=1, isInfoOnly=#active.isHcsp$>
<$include std_display_field>
<$fieldName="xState", fieldCaption="<b>State:</b>",
fieldIsOptionList=1, isInfoOnly=#active.isHcsp$>
<$include std_display_field-->
<$fieldName="xCity", fieldCaption="<b>City:</b>",
fieldIsOptionList=1, isInfoOnly=#active.isHcsp$>
<$include std_display_field>
<$include std_page_end$>
the result is the first field with its list options properly filled in, but the second and third choice list do not have values, even if I select any in the first list
I think the problem could be in some include
(I do not know if there includes missing, or I forgot something)
Please help me
Best regards,
JuaneleThe setOption function is defined in this dynamic html include:
query_form_std_script
There's also a different version defined in this include:
expired_form_std_script -
Implementing dependent choice list with internal columns as varchar
Hi,
While implementing dependent choice list I created two tables & their views with internal column as varchar(for example: countryName for country table & stateName for states table) instead of int. I couldn't get the DCL working: selecting a value from the dropdown of parent field won't show up only the dependent values of the child field; it will display the dropdown with all values (it will show all values of the States irrespective of the countryname selection). However when I select the internal column as int & visible column as varchar the DCL works fine.
Our requirement is to use the internal columns as varchar instead of int. Please suggest/help.
Thanks,
MadhurHi Shashwat,
I have done that. The problem is: dependent choice list doesn't seem work is you choose primarykey/foreign key as varchar. It works if I choose the primarykey/foreign key as int. And this key will be the internal column in the views. My requirement is to have them as varchar so that while checking-in content using RIDC API I don't have to provide the int value.
Thanks & Regards,
Madhur -
Hi,
I would like to be able to present the user with two dropdown lists, with the data from the second one dependant on the first. I understand with 10g this is somewhat simpler due to the introduction of primaryClientAction. I thought of using the query type facility within JHeadstart to read a value from the session Data to populate the second list. My question ? Is this possible without having to submit the form (assuming that the value is only going to get set on the sessionData once the form has been submitted). Is there a way that I could store the value on the sessiondata using a javascript function on my first choice list ??
Thanks,
Brent HarlowHi Peter,
Thanks for the reply ! Seemed somewhat daunting at first but not bad once I tried it out. Not 100% successful yet though. I thought that I would first try it out populating a table on a separate page to make sure I had the basics right. First problem is that "'<%=sessionData.getAttribute("controller")%>" does not seem to be getting resolved - the alert(xmlHTTP.responseText) returns "404 Error : Resource /Choicedemo/<%9cessionData.getAttribute("controller")xtarget......"do I need to include something else in my javascript or struts-config ? Secondly, when I replace the code above and hard-code in the web url, the action returns success but the forward table page is not displayed ?? Here is my code
struts-config
<action path="ModuleRouter" type="oracle.jheadstart.controller.struts.action.DynamicActionRouter">
<set-property property="forwardParameterName" value="targetGroup"/>
<set-property property="attributeNameParameter" value="targetCondition"/>
<set-property property="attributeValueParameter" value="targetConditionValue"/>
<set-property property="defaultForward" value="Studies"/>
<set-property property="defaultPreviousForward" value="false"/>
<forward name="Studies" path="StudiesRouter"/>
<forward name="Kits" path="KitsRouter"/>
</action>
<action path="StudiesRouter" type="oracle.jheadstart.controller.struts.action.ActionRouter">
<set-property property="defaultForward" value="initial"/>
<forward name="initial" path="GetStudiesSet"/>
<forward name="browse" path="BrowseStudiesSet"/>
<forward name="insert" path="GetDefaultStudies"/>
<forward name="save" path="SaveStudies"/>
<forward name="delete" path="DeleteStudies"/>
<forward name="firstPoplistChanged" path="getSecondPoplist"/>
<forward name="groupPage" path="/WEB-INF/page/StudiesPage.uix"/>
</action>
<action path="getSecondPoplist" type="oracle.jheadstart.controller.struts.action.GetDataObjectSet">
<set-property property="dataObjectInterface" value="hmdclinical.choicedemo.model.invkitdetail"/>
<set-property property="dataObjectSetName" value="KitsSet"/>
<set-property property="isUpdatable" value="true"/>
<set-property property="rangeSize" value="30"/>
<set-property property="queryType" value="SecondPoplistQuery"/>
<set-property property="attributeNames" value="firstPoplistValue"/>
<set-property property="useAttributeNameAsKey" value="false"/>
<forward name="success" path="/WEB-INF/page/KitsTablePage.uix"/>
<forward name="userError" path="/WEB-INF/page/KitsTablePage.uix"/>
<forward name="dataObjectNotFound" path="/WEB-INF/page/KitsTablePage.uix"/>
</action>my javascript that is being called from the onChange handler
function firstPoplistChanged(item)
if (item.selectedIndex >0)
// This is a url that will invoke a specific forward on
// a specific actionRouter in your Struts config file.
// var url = '<%=sessionData.getAttribute("controller")%>?targetGroup=Studies&targetCondition=firstPoplistChanged&targetConditionValue=true';
var url = 'http://192.168.0.39:8989/Choicedemo/StartChoicedemo.do?targetGroup=Studies&targetCondition=firstPoplistChanged&targetConditionValue=true';
// Add a parameter to the URL that holds the selected
// value in the first poplist
url += '&firstPoplistValue='+item.options[item.selectedIndex].value;
alert(url)
// Invoke this URL
var xmlHTTP = new ActiveXObject("Microsoft.XMLHTTP");
xmlHTTP.open("GET",url, false);
xmlHTTP.send();
// Decomment this alert to see what you actually got back
// from the server.
alert(xmlHTTP.responseText);
// Find the second poplist (you'll need to set its id),
// and overwrite its content
// document.getElementById("secondPoplist").outerHTML = xmlHTTP.responseText;
else
// If the first poplist is not selected, clear the
// second one.
// document.getElementById("secondPoplist").innerHTML = "";
alert("Item selected index <= 0")
}and finally the oc4j debug showing me that the getSecondPoplist action was successful
22:42:17 DEBUG (DynamicActionRouter) -Forward returned: Studies
22:42:17 DEBUG (JhsRequestProcessor) -Execute StudiesRouter
22:42:17 DEBUG (ActionRouter) -Forward returned: firstPoplistChanged
22:42:17 DEBUG (JhsRequestProcessor) -Execute getSecondPoplist
22:42:17 DEBUG (GetDataObjectSet) -Forward returned: successHow come /WEB-INF/page/KitsTablePage.uix is not being shown then ?
Also..I appreciate you are giving me lots of info here but the last paragraph in your email "Finally, you need to write the simple secondPoplist.jsp that renders the second poplist with the new contents" has got me stumped - Sorry, I dont know where to begin ! How are the normal poplists rendered ? I was trying to find an example.......Im guessing that the JSP just provides the html that creates the poplist - dont understand how to hook it up to the dataObjectSetName. Also, the second list is going to be rather large so I wanted to use a LOV instead of a poplist ? Any pointers ? Do I just need to call the same lovFrame.jsp and pass in the new dataObjectName from the getSecondPoplist action ??
Thanks a million Peter,
Cheers
Brent -
ADF Dependent select one choice list
hi all
i have two lists in my page, and the second one takes value from the first, but it is not working, the second list is empty always whatever i select in the first one.
i have searched many threads and it is not working. i also did the steps in the page http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html#t2
this what i have did in details:
first list : LevelComboVO
select distinct group_level from mrcps_group_link
second list: GroupComboVO
select large_group_seq, group_level, symbol
from mrcps_group_link
where group_level = :selectedLevel
then i made a bind variable for the second list GroupComboVO named selectedLevel
for the first list LevelComboVO i made the following:
press plus on the ListOfValues:GroupLevel and for the list data source i have made new one for GroupComboVO and choosen the list attribute groupLevel and for ui hent i chosed groupLevel
then i have tested the AM but no data returned for GroupComboVO
please helpfirst i have done the 2 view objects and the corresponding two select one choice list
for the first list i have made a managed bean for valueChangedListener -- > #{GrouplLevelBean.passLevel}
and i have put code as you told me :
package mrcps.view;
import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import oracle.adf.model.binding.DCBindingContainer;
import oracle.adf.model.binding.DCIteratorBinding;
import oracle.jbo.ViewObject;
public class GrouplLevelBean {
public GrouplLevelBean() {
public void passLevel(ValueChangeEvent valueChangeEvent) {
// Add event code here...
DCIteratorBinding testListIter1 = getItrtBindings("GroupComboVOObj1Iterator");
ViewObject vo1 = testListIter1.getViewObject();
vo1.setNamedWhereClauseParam("selectedLevel", valueChangeEvent);
vo1.executeQuery();
getItrtBindings( is giving me a red underline indication that method not found
Edited by: user604057 on Apr 3, 2009 3:27 PM -
Using JDeveloper 10.1.3.4.0. BC4J+ADF Faces
I have a page with an edit form that shows one record at a time for a view object ("VO one") and also has buttons to navigate to other records in the view object (first, prev, next, last).
I use a selectOneChoice component to edit one of the attributes on the edit form. The choices for the selectOneChoice are driven by another view object ("VO two").
The query for "VO two" so that it has a bind variable which is populated with one of the attributes of the current record of "VO one". Therefore, as the user navigates through records the choice list on the page shows different choices.
What is the best way set up the selectOneChoice and to update the bind variable for "VO two" and re-execute its query when the form is navigated to different records in 10.1.3.4.0?
(Yeah, I know its easy in 11g but I can't update the project yet...)
Thank you for reading my question.Hello -
I found a solution and am documenting it here in case someone else finds this while trying to solve a similar problem.
1. I added the bind variable to my list choices view object and added a method in the app module that would set the bind variable and execute the query of the view object. The method was then added to the app module's public interface.
2. In the page definition for the edit form page, I created a method binding for the method in the app module and set as parameter values data from attribute bindings already in the page definition.
3. I created a backing bean to act as a page phase listener as detailed here:
http://download.oracle.com/docs/html/B25947_01/bcdcpal005.htm#sm0271
4. In the "onPagePreRender" method I get a hold of the method binding and execute it. -
Adding Message Choice Item in a Table Region
Hi,
In the Oracle Sales Dashborad page there is a Table Region which shows the list of all the opportunities details like Name,Close Date etc.Now my requirement is to create a new Message Choice item in the table region as a new column(Opportunity Status).I have created that using the personalize feature of that table and have provided the following details
Picklist View Instance:oracle.apps.asn.opportunity.poplist.server.OpportunityOpenStatusesVO
Picklist Value Attribute:StatusCode
Picklist Display Attribute:Meaning
View Instance:OpptySearchVO1
View Attribute:OpptyStatusName
When the dashboard page loads it shows all other fields as fetched from the Database apart from this newly added Message Choice item.For all the rows this field shows blanc values.
Is it because the Display value(Meaning) and the value gets stored in the DB(StatusCode) are Different for this message choice item?Please help me out to resolve this issue.
If i need to populate each row for this message item explicitly how can i get handle of this message choice item(in the Table region) for each row and then set the value dynamically?
Thanks
Subhajava.sql.SQLException: Missing IN or OUT parameter at index:: 1
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1752)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3444)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3493)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.createListDataObject(OAWebBeanPickListHelper.java:992)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getListDataObject(OAWebBeanPickListHelper.java:837)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:465)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:404)
at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getList(OAMessageChoiceBean.java:762)
at oracle.apps.fnd.framework.webui.OADataBoundValuePickListData.getValue(OADataBoundValuePickListData.java:86)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1809)
at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.apps.fnd.framework.webui.OADataBoundValuePickListSelectionIndex.getValue(OADataBoundValuePickListSelectionIndex.java:61)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1809)
at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalAttribute(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.getSelectedIndex(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.populateOptionInfo(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.createOptionInfo(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.prerender(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.ChoiceRenderer.prerender(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.FormElementRenderer.render(Unknown Source)
at oracle.apps.fnd.framework.webui.OARendererProxy.render(OARendererProxy.java:76)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListRendererProxy.render(OAWebBeanPickListRendererProxy.java:66)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
at oracle.cabo.ui.laf.base.SwitcherRenderer._renderCase(Unknown Source)
at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.apps.fnd.framework.webui.OARendererProxy.render(OARendererProxy.java:76)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListRendererProxy.render(OAWebBeanPickListRendererProxy.java:66)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render(Unknown Source)
at oracle.apps.fnd.framework.webui.OARendererProxy.render(OARendererProxy.java:76)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListRendererProxy.render(OAWebBeanPickListRendererProxy.java:66)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.table.NormalTableCell.render(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.table.NormalTableCell.render(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderSingleRow(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderTableRows(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableRows(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.apps.fnd.framework.webui.OARendererProxy.render(OARendererProxy.java:76)
at oracle.apps.fnd.framework.webui.OAWebBeanTableRendererProxy.render(OAWebBeanTableRendererProxy.java:67)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:640)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.portal.ui.renderer.FlexibleContentRenderer.renderContentOfFlexibleContent(Unknown Source)
at oracle.portal.ui.renderer.FlexibleContentRenderer.renderExpandedState(Unknown Source)
at oracle.portal.ui.renderer.FlexibleContentRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.portal.ui.renderer.FlexibleCellLayoutRenderer.renderVerticalLayout(Unknown Source)
at oracle.portal.ui.renderer.FlexibleCellLayoutRenderer.renderExpandedState(Unknown Source)
at oracle.portal.ui.renderer.FlexibleCellLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.portal.ui.renderer.FlexibleRowLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.portal.ui.renderer.FlexibleLayoutRenderer.renderContentOfFlexibleLayout(Unknown Source)
at oracle.portal.ui.renderer.FlexibleLayoutRenderer.renderExpandedState(Unknown Source)
at oracle.portal.ui.renderer.FlexibleLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
at oracle.cabo.ui.laf.swan.desktop.ContentRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:403)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3591)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3237)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3042)
at OA.jspService(_OA.java:228)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619) -
[b]Problem with message choice[/b]
Hi, all, I have a problem with message choice because when I get the value it returns the value of index row.
For example I have this message choice:
<messageChoice model="${bindings.Dept}" readOnly="false" required="no" name="dpt">
<contents childData="${bindings.Dept.displayData}">
<option model="${uix.current}"/>
</contents>
</messageChoice>
If I select the first data of message choice it returns 0, if I select the second data it returns 1 and so on. But I want to return the value of field dept and in message choice I show the dept_name field.
Can anyone tell me how do this? It's urgent because I haven't much time to do this work.
Thanks, Matteo.Matteo,
Maybe this works for you as well:
<messageChoice model="${bindings.DeptLOV}" name="dpt">
<contents childData="${bindings.DeptList.rangeSet}">
<option value="${uix.current.dept}" text="${uix.current.dept_name}"/>
</contents>
</messageChoice>
where DeptLOV is a LOV List type binding, and DeptList is a Range type binding that is based upon the Dept iterator. If one of these three does not exist in your project yet, you should create them manually via the Structure palette. -
I'm sure there was a discussion about this before(I could not find the exact thread) but let me describe my requirements .
I have two messageChoice UI elements that is both populated by view objects. One is independently queried the other is dependent on the value of the first message choice.
I want to accomplish two things
1. When I select an item on the first messagechoice element the second messagechoice element should be refreshed. (AJAX like action)
Anybody kind enough to point me to the right direction? Was it something discussed before? Thanks.u609740 ,
See this article on my blog :
http://mukx.blogspot.com/2007/09/dependent-dynamic-message-choicelists.html
--Mukul -
UIX Message Choice (LOV)
Hi, I'm trying to create an LOV in a UIX form. I'm using the message choice component, but it is not displaying all available values for my list (the LOV is bound to a table). How do I modify the lOV to include a scroll bar or, is there a different component that I should be using?
Thanks!Hi Robyn
Try looking at the range-size property of the associated iterator you have created for the UIX page under "UI model" structure window. This is typically set to 10. You can change this value to change the # of values shown in the poplist.
I'm not sure how you can force to poplist to show a scroll bar.
Hope this helps.
CM. -
Hi All
I want to restrict Choice List values depending on data coming from previous page.
I am using following code :
OAMessageChoiceBean contactList = (OAMessageChoiceBean)webBean.findChildRecursive("<Chioce List Name>");
contactList.setPickListCacheEnabled(false);
After this i am building VO Query depending on ceratin values.
Still choice list is taking initial query only.
I will appreciate if someone can help me on this.
Thanks
SamirMukul
Even after using clearCache i am getting initial query only.
The details are give below:
View Object Details
VO Name: ContactNameVO
Query: select distinct LTRIM(RTRIM(rc.first_name || ' ' || rc.last_name)) meaning
from ra_customer_trx_all rctl, ra_contacts rc
where rctl.bill_to_contact_id = rc.contact_id
AND ROWNUM = 1
XML Page Details
Choice List Item Details
ID : ContactName
Item Style: messageChoice
PickLList View Instance: ContactNameVO1
Picklist Display Attribute: Meaning
Picklist Value Attribute: Meaning
Controller Code
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAMessageChoiceBean contactList = (OAMessageChoiceBean)webBean.findChildRecursive
("ContactName");
contactList.setPickListCacheEnabled(false);
String trxId = (String)pageContext.getParameter("trxId1");
String whereclause3 = " ";
whereclause3 += " AND rctl.customer_trx_id IN ("+trxId+") ";
System.out.println("whereClause3****************"+whereclause3);
Serializable [] param1 ={whereclause3};
am.invokeMethod("DynQueryForContName",param1);
AM Code
public void DynQueryForContName(String q)
ContactNameVOImpl vo = getContactNameVO1();
vo.clearCache();
if(vo == null)
MessageToken [] errToken ={new MessageToken("OBJECT_NAME","ContactNameVO1")};
throw new OAException("AK","FWK_TBX_OBJECT_NOT_FOUND",errToken);
else
vo.initQuery(q);
VO Impl Code
public void initQuery(String s)
if((s != null) && (!("".equals(s.trim()))))
String query = getQuery();
StringBuffer sb = new StringBuffer(query);
if(final_query == null)
sb.append(s);
final_query = sb.toString();
setWhereClauseParams(null);
setQuery(final_query);
System.out.println(final_query);
final_query = null;
executeQuery();
setQuery(query);
Let me know if something is wrong in the code.
Thanks
Maybe you are looking for
-
Error while installing shared technologies
I just purchased Photoshop 11 from download services at Amazon. In the middle of installation, I get error "error while installing shared technologies. Please restart your system and try again" in Windows 7 professional, 64 bit. I tried this. 1. rest
-
OIM 11G R2 Provisioning User to Oracle DB
Hello Experts, I'm working on OIM 11gr2 and I installed DBAT 9.1.0.5.0 User-->Accounts-->RequestAccounts--> catalog-->add to cart --> checkout ... When i was executed Checkout in catalog why no content for details ? User can't Provisioning to DB. Hav
-
Automatic clearing of vendor line after MR8M
Hi When we reverse vendor invoice (MIRO invoice) using MR8M, SAP does not automatically clear vendor lines. It gives a message as "Invoice successfully reversed, Manually clear FI documents". Automatic clearing happens successfully when we reverse FI
-
Flash video reports unavailable in some browsers
Hi, I was trying out some browsers like uzbl, surf, dwb etc. but found some sites with flash where the video reported "Sorry, this episode is temporarily unavailable". When viewed with Firefox or Chromium it works fine. Here's an example: http://thep
-
hi friends I have a JCombobox having 3 items and a JList. Now suppose some one selects the first item from the combobox say Item1 then according to that item the contents of list should be displayed and if he selects Item2 then according to that item