How to display value based on LOV selection
Hi,
I have an editable table. On create operation one of the field is LOV, based on LOV selection the next field should be auto populated, please help me how to achive this.
Thanks,
Thanks for your reply........
I did all these to get value based on LOV selection, but my problem is when i am trying to create a new record then everthing is working fine but normal search i am not getting the value of that attribute.
below is my code
Page:
<af:column sortProperty="ProcessType" filterable="true"
sortable="true"
headerText="#{bindings.CmWeeklyProcesses.hints.ProcessType.label}"
id="c36" width="340px;">
<af:inputComboboxListOfValues id="processTypeId"
popupTitle="Search and Select: #{bindings.CmWeeklyProcesses.hints.ProcessType.label}"
value="#{row.bindings.ProcessType.inputValue}"
model="#{row.bindings.ProcessType.listOfValuesModel}"
required="#{bindings.CmWeeklyProcesses.hints.ProcessType.mandatory}"
columns="#{bindings.CmWeeklyProcesses.hints.ProcessType.displayWidth}"
shortDesc="#{bindings.CmWeeklyProcesses.hints.ProcessType.tooltip}" inlineStyle="width:800px;"
valueChangeListener="#{backingBeanScope.backing_app_CalcSchedules.weeklyDescription}"
autoSubmit="true" >
<!-- <f:validator binding="#{row.bindings.ProcessType.validator}"/>-->
</af:inputComboboxListOfValues>
</af:column>
<!--value="#{row.bindings.Description.inputValue}" backingBeanScope.backing_app_CalcSchedules.description-->//If i use this value in the below property line then i am not getting value while creating time but if i done blind search then i am not getting any value in this field.
<af:column sortProperty="Description" filterable="true"
sortable="true"
headerText="#{bindings.CmWeeklyProcesses.hints.Description.label}"
id="c35" width="390px;">
<af:inputComboboxListOfValues id="descriptionId"
popupTitle="Search and Select: #{bindings.CmWeeklyProcesses.hints.Description.label}"
value="#{row.bindings.Description.inputValue}"
model="#{row.bindings.Description.listOfValuesModel}"
required="#{bindings.CmWeeklyProcesses.hints.Description.mandatory}"
columns="#{bindings.CmWeeklyProcesses.hints.Description.displayWidth}"
shortDesc="#{bindings.CmWeeklyProcesses.hints.Description.tooltip}" inlineStyle="width:1000px;"
readOnly="true" partialTriggers="processTypeId">
<f:validator binding="#{row.bindings.Description.validator}"/>
</af:inputComboboxListOfValues>
</af:column>
Similar Messages
-
Setting column values based on LOV selection
Hi All,
I am using JDeveloper 11.1.2.2.0. I have a table eg: Department table, in Dept Id, I have defined LOV for that field. My requirement is, based on the LOV selection, I want to set the other column values. I am using InputTextwithLOV in list type. How to achieve this?
I tried mentioning that in the List return values. But it is not setting the values.
Regards,
InfyHi,
if you use a model driven LOV then when configuring the LOV you can map additional attributes. When you build a model driven LOV you at least once tell it which LOV attribute should be used to update the DeptId field. You can do the same for additional attributes
Frank -
How to display graphs based on user selection
Hi
I need to acquire data for 8 channels or may be more than that, i know how to acquire data but when i display data on graphs
how can i make the code in such a way that if i select 4 channles i should get only four displays of graphs,if i select 8 then it should be able to display 8 graphs..Hi abhisek,
current versions of LabVIEW show a "visible" button in the plot palette of a graph...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Dynamic bar chart based on LOV selected
Apex 2.1 with XE : running on windows xp.
I am trying to create charts based on selected criteria such as level 1, level 2 and level 3. If the user selects level 1 chart is expected to group level 2 and level 3 parameters else if the user selects level 2 criteria on top of level 1 then it should filter to the next category and so on. To make it simple I created three different queries which would generate the required graphs.
To achieve this I decided to use PL/SQL function that would return three different chart queries based on the LOV selection. Although the function works well for each of the queries they dont work with a if else condition based on LOV selection. So what is the problem with creating such as dynamic query. Can I use the "%" values of LOV in my if else condition if not why ?
Any alternatives ?Well. The queries for the charts run independently well. I guess I might be using the if else condition in an improper fashion.
If the second LOV filter is not used.. I am matching the :LOV2 value with "%" and execute appropriate chart query based on single selection criteria and for the else case I use the other query and so on.
I wish to show the code but since I upgraded to 3.0.1 today my application page views don't render properly. The images are missing ..and whole page is missing for editing. -
NPE error when navigating to next page based on lov selection
hi there am having problem whn navigating to next page based on lov selection,when i select value and click the button to navigate am geting NPE ERROR
{code}
<DCUtil> <findSpelObject> [598] DCUtil, returning:oracle.jbo.uicli.binding.JUFormBinding, for uam_view_pageDefs_SelectOrgPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition
<DCIteratorBinding> <releaseDataInternal> [599] Releasing iterator binding:variables
<DCIteratorBinding> <releaseDataInternal> [600] Releasing iterator binding:UpdUamOrganisationLovIterator
<DCIteratorBinding> <releaseDataInternal> [601] Releasing iterator binding:UpdUamOrganisation1Iterator
<DCIteratorBinding> <releaseDataInternal> [602] Releasing iterator binding:UamUserdetailsViewVo1Iterator
<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
javax.servlet.ServletException: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 38 more
Caused by: java.lang.NullPointerException
at showSelectedOrg(OrgDetails.java:2455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
... 45 more
THIS IS THE LINE AM GETING THE ERROR
method.getParamsMap().put("rowKey", newVal);
<af:selectOneChoice value="#{bindings.Orgid1.inputValue}"
required="true"
id="soc1" autoSubmit="true" valuePassThru="true"
contentStyle="width:145px">
<f:selectItems value="#{bindings.Organisationid.items}" id="si1"/>
</af:selectOneChoice>
<af:commandButton text="UpdateOrganisation"
id="cb1"
action="#{pageFlowScope.addMember.showSelectedOrg}"/>
public String showSelectedOrg() {
/* if(getorgids() == null ||getorgids().equals(null)){
JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
JSFUtils.showFacesErrorMessage("Select Atleast One Organisation");
BindingContext lBindingContext = BindingContext.getCurrent();
BindingContainer bindings = lBindingContext.getCurrentBindingsEntry();
// get the list binding for the Organisation lov
JUCtrlListBinding list = (JUCtrlListBinding)bindings.get("Organisationid");
// get the selected index from the list which is stored in the Orgidd1 attribute
AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Orgid1");
Integer selid = (Integer)attr.getInputValue();
// load the listdata
Object row = list.getDisplayData();
// get the selected row from the list
Row lFromList = (Row)list.getValueFromList(selid);
// from the row we get the PK the orgnasationId
Object lAttribute = lFromList.getAttribute("Organisationid");
Object orgname = lFromList.getAttribute("Organisationname");
Number newVal = (Number)lAttribute;
String neworg = (String)orgname;
_logger.info("Information: selected Organisation = " + newVal);
System.out.println("neworg " + newVal);
System.out.println("testorg " + neworg);
selectedState = neworg;
// get the MethodAction for setCurrentRowWithKeyValue
OperationBinding method = bindings.getOperationBinding("setCurrentRowWithKeyValue");
// set hte needed parameter as the organisation id
method.getParamsMap().put("rowKey", newVal);
method.execute();
// after execution check for errors
List errors = method.getErrors();
Exception ex = (Exception)errors.get(0);
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, ex.getMessage(), "Select Atleast One Organisationtest");
FacesContext.getCurrentInstance().addMessage(null, msg);
// keep on page in case of an error
// navigate to the next page
return "show";
{code}
am in jdeveloper 11.1.1.6.0adf009, please read the post I posted the link to in my previous replay. The old code format tag don't work in the new forum!
Still the same error. The stack trace still points to it, you only need to read it carefulle
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
Caused by: java.lang.NullPointerException
OrgDetails.showSelectedOrg(OrgDetails.java:2456)
The origin is
method.execute();
and the real reason is
MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51);
What does it tell you?
Timo -
hi i have a situation where i what a popup based on lov selection,for example i have lov which got list of user role when i change user role i what popup which will have inputtext where i can type the reason what the user role has change,am in jdeveloper 11.1.1.6.0
my lov is
i did this but i don't see any popup when i make selection in my lov
<af:selectOneChoice label="#{bindings.Roleaccesscode.label}"
required="#{bindings.Roleaccesscode.hints.mandatory}"
shortDesc="#{bindings.Roleaccesscode.hints.tooltip}"
id="soc5" simple="true"
contentStyle="width:140px;"
partialTriggers="soc3"
valueChangeListener="#{pageFlowScope.InternalUserBean.InternalTypeupd}"
visible="true"
value="#{pageFlowScope.InternalBean.selectType}"
autoSubmit="true">
<af:forEach var="item"
items="#{pageFlowScope.InternalBean.childRolesupd}">
<af:selectItem value="#{item}" label="#{item}" id="tu7g"/>
<af:showPopupBehavior popupId="popupMessage"
triggerType="action"/>
</af:forEach>
</af:selectOneChoice>
<af:popup id="popupMessage" contentDelivery="lazyUncached">
<af:dialog id="d109" type="ok">
<af:inputText value="#{bindings.RoleReason.inputValue}"
label="#{bindings.RoleReason.hints.label}"
required="#{bindings.RoleReason.hints.mandatory}"
columns="50"
maximumLength="#{bindings.RoleReason.hints.precision}"
shortDesc="#{bindings.RoleReason.hints.tooltip}"
id="it49" rows="15">
<f:validator binding="#{bindings.RoleReason.validator}"/>
</af:inputText>
</af:dialog>
</af:popup>ok thanks,but now am geting this error
<af:panelGroupLayout id="pgl4">
<af:popup id="popupMessage" contentDelivery="lazyUncached"
binding="#{pageFlowScope.InternalBean.radioPopupLov}">
<af:dialog id="d109">
<af:inputText value="#{bindings.RoleReason.inputValue}"
label="#{bindings.RoleReason.hints.label}"
required="#{bindings.RoleReason.hints.mandatory}"
columns="50"
maximumLength="#{bindings.RoleReason.hints.precision}"
shortDesc="#{bindings.RoleReason.hints.tooltip}"
id="it49" rows="15">
<f:validator binding="#{bindings.RoleReason.validator}"/>
</af:inputText>
</af:dialog>
</af:popup>
<af:selectOneChoice label="#{bindings.Roleaccesscode.label}"
required="#{bindings.Roleaccesscode.hints.mandatory}"
shortDesc="#{bindings.Roleaccesscode.hints.tooltip}"
id="soc5" simple="true"
contentStyle="width:140px;"
partialTriggers="soc3"
valueChangeListener="#{pageFlowScope.InternalUserBean.activationChangedListenerLov}"
visible="true"
value="#{pageFlowScope.InternalBean.selectType}"
autoSubmit="true">
<af:forEach var="item"
items="#{pageFlowScope.InternalBean.childRolesupd}">
<af:selectItem value="#{item}" label="#{item}" id="tu7g"/>
</af:forEach>
</af:selectOneChoice>
<af:outputText value="Role Changed: #{pageFlowScope.InternalBean.selectType}" id="ot31"
partialTriggers="d109"/>
</af:panelGroupLayout>
<af:popup id="popupMessage" contentDelivery="lazyUncached"
binding="#{pageFlowScope.InternalBean.radioPopupLov}">
<af:dialog id="d109">
<af:inputText value="#{bindings.RoleReason.inputValue}"
label="#{bindings.RoleReason.hints.label}"
required="#{bindings.RoleReason.hints.mandatory}"
columns="50"
maximumLength="#{bindings.RoleReason.hints.precision}"
shortDesc="#{bindings.RoleReason.hints.tooltip}"
id="it49" rows="15">
<f:validator binding="#{bindings.RoleReason.validator}"/>
</af:inputText>
</af:dialog>
</af:popup>
private ComponentReference radioPopupLov;
public void activationChangedListenerLov(ValueChangeEvent valueChangeEvent) {
// process updates to get the selected value inside the popup
FacesContext contxt = FacesContext.getCurrentInstance();
valueChangeEvent.getComponent().processUpdates(contxt);
//show the popup
RichPopup.PopupHints hint = new RichPopup.PopupHints();
getRadioPopupLov().show(hint);
public void setRadioPopupLov(RichPopup radioPopupLov) {
this.radioPopupLov = ComponentReference.newUIComponentReference(radioPopupLov);
public RichPopup getRadioPopupLov() {
if (radioPopupLov != null)
return (RichPopup)radioPopupLov.getComponent();
return null;
but am geting this error
javax.servlet.ServletException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NullPointerException
at view.InternalBean.activationChangedListenerLov(InternalBean.java:1918)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:214)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:430)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 48 more
in this line getRadioPopupLov().show(hint); -
How To Display Value In inputText When List Is Used
Hello,
I have a question regarding how to display value from List in a jsf page?
From a Map, i could display like
<ice:inputText id="plantno" value="#{bean.detailedRowData['plantno']}"So if I am using a List instead of Map, how can I refer value in List so that I could display my plantno?
<ice:inputText id="plantno" value="#{bean.?????}"ThanksCreate a backing bean method that fetches the value from the list for you.
<ice:inputText id="plantno" value="#{bean.plantNo}"/>
public class MyFunkyBean {
private List<String> rowdata;
public String getPlantNo(){
return rowdata.get(INDEX_AT_WHICH_THE_PLANTNO_IS_STORED);
}It really isn't possible to turn the list into a regular bean/entity? -
How to display value in memory
How to display value in memory, except call function 'LIST_FROM_MEMORY' .
Thanks.Hi
See this
may be useful
SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens
SAP global memory retains field value through out session.
set parameter id 'MAT' field v_matnr.
get parameter id 'MAT' field v_matnr.
They are stored in table TPARA.
ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data
to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
ABAP memory is temporary and values are retained in same LUW.
export itab to memory id 'TEST'.
import itab from memory Id 'TEST'.
Here itab should be declared of same type and length.
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
ABAP Memmory & SAP Memmory
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
Reward points for useful Answers
Regards
Anji -
How to display values and new char line (blank line)
Hi,
In database, one field contains values followed by new character lines (blank lines) after blank lines there is no values. Finally, I would say the field contains values and blank lines. Every thing is fine in database.
In Crystal Reports the field is displaying only values. Need to display values and blank line.
User is asking after values new character lines (blank line) to be shown. They enter like that in an application. The user doubt is why report is not showing what they enter in the application.
In detail explanation, front end tool is ASP.NET and backend is SQL Server.
User enter some values in note field, after that they hit enter button in the same field, cursor will go next line...user may hit u2018enter buttonu2019 more than 5 times. So note field contain values and some blank lines which are created by after hitting enter button.
If user opens the application, they could see values plus blank lines in the note field.
They are fine with the application.
In Crystal Reports, the note field shows only values.
User is questioning that why we could not see in report we enter.
I checked in .Net application and SQL server database it is fine. It is displaying values and blank line.
Please help me out how to display values followed by blank lines in Crystal Reports - the way they enter in the application.
Thanks and Regards,
Manjunath N. JoginHi,
Sharonmat,
I tried as you suggested. It is still displaying only values.
I would like to explain again.
it is not exactly null values.
In .Net application it is called 'new char line'.
it shows those many lines look like null.
it is working fine in database.
Why it is not working in Crystal Reports? I am wondering...
Thanks for your suggestion.
Debi,
User may enter any number of blank lines or they may not enter blank lines.
That is the reason I can not always give more height or blank text object.
Thanks for your suggestion.
Please suggest me some more suggestions,
Thanks and Regards,
Manjunath N. Jogin -
Display af:outputLabel based on lov selection
hi i have a situation where i have lov which got two option GOVT,PRIV when the lov selection is GOVT,i what to display Responsible person(s)” in
af:outputLabel and when lov selection is PRIV i what to display Ownership in af:outputLabel am in jdeveloper 11.1.1.6.0yes i figure it out
<af:selectOneChoice value="#{bindings.Organisationtypecode.inputValue}"
label="#{bindings.Organisationtypecode.label}"
shortDesc="#{bindings.Organisationtypecode.hints.tooltip}"
id="soc1" simple="true"
autoSubmit="true" required="true"
valueChangeListener="#{pageFlowScope.orgDetailsBean.valueChangedorgtype}"
contentStyle="width:145px;">
<f:selectItems value="#{bindings.Organisationtypecode.items}"
id="si1"/>
</af:selectOneChoice>
<af:outputLabel value="Responsible person(s)" id="ol19"
inlineStyle="color:Black; font-weight:bolder;"
partialTriggers="soc1"
visible="#{bindings.Organisationtypecode.inputValue eq '1'}"/>
<af:outputLabel value="Ownership" id="ol20"
inlineStyle="color:Black; font-weight:bold;"
partialTriggers="soc1"
visible="#{bindings.Organisationtypecode.inputValue eq '2'}"/> -
How to disable field based on the selected value
Hi everyone,
I have "employee" table,
it contains the following field,
emp_name
emp_designation
Category
YearsHere the "category" is the select list value which has the following values in select list,
Fresher
Experienced,
when the value :Fresher" is selected for "category" then the "Years" field should be disabled.
I tried the following dynamic action ,
Name:Disable_year
sequence:20
Event:Change
Selection Type:Item
Item(s):Category
Condition:equal to
value:Fresher
Fire When Event Result Is:TRUE
selection type:P1_YEARBut it doesnt work.
can anyone give alternate solution?
Thank you.
Regards,
gurujothiName:Disable_year
sequence:20
Event:Change
Selection Type:Item
Item(s):Category
Condition:equal to
value:FresherTry return value instead of this display value(Fresher) of select list
Fire When Event Result Is:TRUE
selection type:P1_YEARIn your above dynamic action, where is the disable action? -
Multiple values based on LOV in report
Hi,
I have a checkbox on a form where I can select values like e-mail, fax, post.
And then I have report that has a column for confirmation type that is based on same LOV as the checkbox.
The problem is that wen there is one value selected it shows correctly in report that e-mail for example. But when I have multiple values there it shows P:E only not Post, E-mail as it should. So when there are multiple values it shows only LOV return values not display values.
How can I get it to show display values instead of return values when there are multiple values (Post, E-mail instead of P:E)?
Thank you a lot.anyone?
-
Report "Display Text (Based on LOV)" columns don't like colons - Bug?
This is a bit hard to explain in text, so I've built a sample app: http://apex.oracle.com/pls/otn/f?p=9608:1
The app has two pages, which demonstrate two related bugs in the handling of Report "Display as Text (based on LOV)" columns.
Basically, if the LOV query returns a string that contains colon characters (":") in the display column, the values are matched up correctly, but the colons are stripped from the display.
If the LOV query returns a string that contains colon characters in the return value column, then the matching fails entirely.
Removing the colon characters eliminates the problem.
We actually ran into this in a production environment, after an upgrade from Apex 3.0.0 to 3.2.1. The behavior definitely did not occur in Apex 3.0, but was added at some point between the two versions.The colon is actually part of our data (the field in question is a URN namespace).
And yes, I understand the function of the colon in Apex URL parameter passing. However, I wouldn't expect that sort of parsing to be used against the results returned from an LOV query.
Also, the LOV is fine in of itself -- a select list based on the LOV displays & returns the expected values. It's only when I use a report column based on an LOV that this behavior creeps in.
We've found a (fairly painful) workaround -- altering both the report query and the LOV query to to do something like replace(column, ':', '_') -- but that's a manual change to a large number of pages for us.
This behavior is new to version 3.2.1. It didn't happen in version 3.0. -
Display value in custom field selection of standard field
Hi,
I want to display the country value based on the Account selection, that is the country associated with the selected Account.
I created Contact extension BO and added country field with data type CountryCode. Account is a standard field.
I am able to fetch country value but assigning the value to Country field can be done in only BeforeSave.absl
I have also provided validation for this country field.
Issue here is:
First Validation-OnSave.absl gets called and then BeforeSave.absl.
I want the country value to be displayed once the user selects Account.
Regards,
Vijaya ChavanHi Vinod,
I got the issue.
AfterModify.absl gets called when the Contact Quick Create screen gets loaded and not after selecting the Account field value.
So I tried geting the value directly from the following path without firing a query in BeforeSave.absl.
this.CurrentDefaultIsContactPersonFor.BusinessPartnerRelationship.FirstBusinessPartner.AddressInformation.GetFirst().AddressSnapshot.PostalAddress.GetFirst().CountryCode;
But BeforeSave.absl gets called when I click on "Save". I wanted the value to be displayed soon after the Account Value is selected.
Regards,
Vijaya Chavan -
Combining Multiple Display Values in a LOV
Using Application Express 3.1.0.00.32
I am attempting to create a dynamic LOV that will select an employees name from a table. The first, last and middle initial are in separate columns in the table. Since I am new to this I tried the following code when attempting to create the LOV:
select
last_name d, first_name d, middle_initial d, emple_no r
from
schema.table
order by
last_name
Doing so created the following error:
+1 error has occurred+
* LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.
I was unable to find a solution to this specific problem while searching.
What I am wishing to create is to have the LOV display the employees last name, first name and middle init sorting by last name by saving the employee's id in the table.select
last_name || ', ' ||first_name || ' ' || middle_initial d, emple_no r
from
schema.table
Maybe you are looking for
-
Last Purchase Price wasn't updated after GR with 0 price
I created Goods Receipt for the item with total 0. When I check last purchase price I see still a price from the previous document and not zero. How can I make last purchase price as zero? Thanks, Olga
-
Cannot load visual basic for applications
I cannot load visual basic for applications on word doc
-
Sony a77 raw files look noisy/grainy when opened on cs6?
HI i'm having problems with my images looking quite harsh when opening the raw files, this didn't happen on the trial version, i've only just got the cs6 from adobe so is there a setting i need to change? thanks Andy
-
Is it possible to get java on a hp ipaq hx7400? I downloaded IBM's WebSphere Everyplace Micro Environment 5.7.1 but it dosent seem to work.
-
I am having a problem opening a PDF file. I downloaded a 3MB PDF file from Smartsheet and saved it onto my hard drive. When I open the saved downloaded PDF file it is blank and states in a box "the selected document cannot be opened". Why is the cont