The PR of my CO runs 2 times

Hi Gurus,
I gotta a problem here, my processRequest runs twice, everytime, how can I fix this problem? because I many validations fails due to this problem.
oops, I almoust forgot, the PR runs once after I invoke a method of the PFR and then runs another two times, and I don't know what can I do to fix this.
Best Regards,
Mentor
PS.
Please let me know if you want me to post the code
Edited by: mentor on Nov 2, 2010 9:15 PM

Hi guys, here's my CO code.
Regards,
Mentor
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.webui.OABoundValueEmbedURL;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OADataBoundValueFireActionURL;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.webui.beans.OAImageBean;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.layout.OABulletedListBean;
import oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean;
import oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
import oracle.apps.fnd.framework.webui.beans.nav.OALinkBean;
import oracle.apps.fnd.framework.webui.beans.nav.OASideNavBean;
import oracle.cabo.style.CSSStyle;
import oracle.jbo.Row;
import client.oracle.apps.ap.activo.administracion.activos.server.ActivoAtributoVORowImpl;
import client.oracle.apps.ap.activo.administracion.activos.server.ActivosAMImpl;
import client.oracle.apps.ap.activo.administracion.activos.server.AtributoGenericoVORowImpl;
import client.oracle.apps.ap.activo.administracion.activos.server.ComparaActivoAtributoVORowImpl;
import client.oracle.apps.ap.activo.administracion.activos.server.FullActivoAtributoVORowImpl;
import client.oracle.apps.ap.activo.administracion.activos.server.FullAtributosFamiliaVORowImpl;
import client.oracle.apps.ap.activo.administracion.activos.server.GenericoFamiliaVORowImpl;
* Controller for ...
public class addCampoActivoCO extends OAControllerImpl
public static final String RCS_ID="$Header: /ActivoFijo/OAActivoFijo/client/oracle/apps/ap/activo/administracion/activos/webui/addCampoActivoCO.java,v 1.2 2010/09/01 15:04:41 mtijerina Exp $";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
private List<String> lstFam = null;
private List<String> lstIdFam = null;
private String oldName = null;
private String newName = null;
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
ActivosAMImpl am = (ActivosAMImpl)pageContext.getApplicationModule(webBean);
if(am.getUsuarioLog() != 0)
am.setUsuarioLog(pageContext.getUserId());
am.invokeMethod("cargarFamilias");
/* Inicio insertar estilo al texto con el nombre de la familia seleccionada */
OAMessageStyledTextBean msg = (OAMessageStyledTextBean)webBean.findChildRecursive("tituloFamTX");
CSSStyle style = new CSSStyle();
style.setProperty("font-weight", "bold");
msg.setInlineStyle(style);
msg.setText(am.getNombFamilia());
/* Fin insertar estilo al texto con el nombre de la familia seleccionada */
/* Inicio insertar estilo al texto 'Activos' */
OAMessageStyledTextBean lbl = (OAMessageStyledTextBean)webBean.findChildRecursive("lblActivo");
lbl.setText("Activos");
CSSStyle style2 = new CSSStyle();
style2.setProperty("font", "13");
style2.setProperty("font-weight", "bold");
lbl.setInlineStyle(style2);
/* Fin insertar estilo al texto 'Activos' */
if(am.getEdoPantalla() != 1){
webBean.findChildRecursive("footerRG").setRendered(true);
OAMessageTextInputBean atrEdit = (OAMessageTextInputBean)webBean.findChildRecursive("modCampoTX");
if(am.nomAtr != ""){
atrEdit.setPrompt("Modificar Campo "+am.getNomAtr());
atrEdit.setText(am.getNomAtr());
this.setOldName(am.getNomAtr());
}else{
atrEdit.setPrompt("Modificar Campo "+am.getDescOracle());
atrEdit.setText(am.getDescOracle());
pageContext.putTransactionValue("descOra","true");
this.setOldName(am.getNomAtr());
webBean.findChildRecursive("saveChangesLNK").setRendered(false);
webBean.findChildRecursive("guardarLNK").setRendered(false);
}else if(am.transAt != false){
webBean.findChildRecursive("footerRG").setRendered(false);
am.invokeMethod("cargarCampos", new Serializable[]{am.activo});
webBean.findChildRecursive("saveChangesLNK").setRendered(true);
webBean.findChildRecursive("guardarLNK").setRendered(true);
throw new OAException("Se ha modificado el nombre del campo '" + oldName + "' a '" + newName + "'.", OAException.INFORMATION);
}else{
webBean.findChildRecursive("footerRG").setRendered(false);
webBean.findChildRecursive("saveChangesLNK").setRendered(true);
webBean.findChildRecursive("guardarLNK").setRendered(true);
/** SECCION LINK PARA POPUP CREAR NUEVO CAMPO */
OALinkBean linkCampo = (OALinkBean) webBean.findChildRecursive("nvoCampoLNK");
OAImageBean imgCampo = (OAImageBean)webBean.findChildRecursive("item9");
//url de la pagina
String url = "/client/oracle/apps/ap/activo/administracion/activos/webui/popupCampo";
//confirmando AM
String amMode ="true";
//campo para agregar parametros (opcional)
//String params="";
//procesando URL de pagina
String page =
url + "&retainAM=" + amMode + "&fndOAJSPinEmbeddedMode=y"; // + "&" + params;
//procesando el URL final
String destURL = OAWebBeanConstants.APPS_HTML_DIRECTORY +
OAWebBeanConstants.APPLICATION_JSP + "?" +
OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT +
"=" + page;
//Asegurando funcion JS de la validacion llave MAC
OABoundValueEmbedURL jsBound = new OABoundValueEmbedURL(linkCampo, "openWindow(self, '",
destURL, "' , 'longTipWin', {width:680, height:280, " +
"left:370, top:200}, true); return false;");
//attachando bound en la funcionalidad on_click del boton.
linkCampo.setAttributeValue(OAWebBeanConstants.ON_CLICK_ATTR, jsBound);
imgCampo.setAttributeValue(OAWebBeanConstants.ON_CLICK_ATTR, jsBound);
/**METODO PARA LLENAR POP-LIST (Dropdown select)
if(am.getFamilia() != null && am.isTrans() != false){
OAMessageStyledTextBean mje = (OAMessageStyledTextBean)webBean.findChildRecursive("tituloFamTX");
String m = pageContext.getParameter("NombreDeFamilia").toString();
am.setNombFamilia(m);
mje.setText(am.getNombFamilia());
am.invokeMethod("cargarActivos", new Serializable[]{am.getFamilia()});
//crearRowTodos(pageContext, webBean);
OAMessageChoiceBean choice = (OAMessageChoiceBean)webBean.findChildRecursive("popList");
choice.setPickListCacheEnabled(false);
choice.setPickListViewUsageName("ActivosPopListVO1");
choice.setListDisplayAttribute("Descripcion");
choice.setListValueAttribute("ClaveActivo");
choice.setAllowBlankValue(false);
// Tabla menu de busqueda y lista de familias.
OASideNavBean sideNav = (OASideNavBean)createWebBean(pageContext,
OAWebBeanConstants.SIDE_NAV_BEAN, null, "hpSideNav");
OAHeaderBean search = (OAHeaderBean)createWebBean(pageContext,
"client/oracle/apps/ap/activo/administracion/familia/webui/sideNavRN",
"SearchRN", true);
sideNav.addIndexedChild(search);
search.setSize(2);
// Creacion de contenedor de la lista
OABulletedListBean bullets = (OABulletedListBean)createWebBean(pageContext,
OAWebBeanConstants.BULLETED_LIST_BEAN, null, "bulletList");
bullets.setRows(100);
lstFam = new ArrayList<String>();
lstFam = am.lstFamilias;
lstIdFam = new ArrayList<String>();
lstIdFam = am.lstIdFamilias;
String pageName = pageContext.getRootRegionCode();
Hashtable params = new Hashtable (1);
Hashtable paramsWithBinds = new Hashtable(1);
for(int i = 0; i < lstFam.size(); i++){  
// Crear Link de cada elemento de la lista
try{
OALinkBean link = (OALinkBean)createWebBean(pageContext,
OAWebBeanConstants.LINK_BEAN, null, "linkEx");
link.setText(lstFam.get(i).toString());
String param = lstIdFam.get(i);
String paramN = lstFam.get(i);
params.put ("param1", pageName);
paramsWithBinds.put ("IdCatalogoFamilias",new OADataBoundValueFireActionURL(link, param));
paramsWithBinds.put ("NombreDeFamilia",new OADataBoundValueFireActionURL(link, paramN));
link.setFireActionForSubmit("familia", params, paramsWithBinds, true, false);
bullets.addIndexedChild(link);
}catch(Exception e){
System.out.println(e);
System.out.println("mensaje: " + e.getMessage());
//Adjuntar elementos en barra de navegacion
sideNav.addIndexedChild(bullets);
OAPageLayoutBean pageLayout = pageContext.getPageLayoutBean();
pageLayout.prepareForRendering(pageContext);
pageLayout.setStart(sideNav);
/**INSTRUCCIONES DE LLENADO DE ViewObject
* PARA MOSTRAR INFORMACION EN LA TABLA DE CAMPOS
if(pageContext.getTransactionValue("cargarCampos") == "true"){
if(pageContext.getTransactionValue("todos1") == "true"){
tablaTodos(pageContext, webBean);
pageContext.removeTransactionValue("todos1");
}else{
modificarTabla(pageContext, webBean);
pageContext.removeTransactionValue("cargarCampos");
//LLENADO DE PANTALLA DESPUES DE VENTANA POP-UP
if(am.getRefresh() != null && am.getFamilia() != null){
tablaTodos(pageContext, webBean);
am.setTodos("1");
am.setRefresh(null);
am.setIteracion(false);
am.setPopup(false);
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
ActivosAMImpl am = (ActivosAMImpl)pageContext.getApplicationModule(webBean);
//EVENTO DE LINK MENU PARA CARGAR ACTIVOS DE FAMILIA EN POPLIST
if(pageContext.getParameter(EVENT_PARAM).equals("familia")){
String cveFam = pageContext.getParameter("IdCatalogoFamilias").toString().trim();
am.setTrans(true);
am.setFamilia(cveFam);
tablaTodos(pageContext, webBean);
am.setTodos("1");
am.setEdoPantalla(1);
//EVENTO CAMBIO OnChange DE POPLIST PARA CARGAR ATRIBUTOS EN TABLA
if(pageContext.getParameter(EVENT_PARAM).equals("onChange")){
String cveAct = pageContext.getParameter("popList").toString().trim();
if(!cveAct.equals("")){
if(!cveAct.equals("000")){
am.setTodos("0");
am.invokeMethod("cargarCampos", new Serializable[]{cveAct});
}else{
am.setActivo("");
am.setTodos("1");
am.invokeMethod("atributoTodos");
pageContext.putTransactionValue("todos","true");
pageContext.putTransactionValue("todos1","true");
pageContext.putTransactionValue("cargarCampos","true");
//EVENTO PARA EDITAR NOMBRE ATRIBUTO Y DESPLEGAR REGION footerRG
if(pageContext.getParameter(EVENT_PARAM).equals("editarAtributo")){
String atributo = pageContext.getParameter("editarIdAtributo").toString().trim();
String nomAtr = pageContext.getParameter("editarNomAtr").toString().trim();
String descOracle = pageContext.getParameter("editarDescOracle").toString().trim();
am.setAtributo(atributo);
am.setNomAtr(nomAtr);
am.setDescOracle(descOracle);
am.setEdoPantalla(2);
if(nomAtr != "")
am.setRelacion(1);
pageContext.putTransactionValue("cargarCampos","true");
//EVENTO PARA GUARDAR NUEVO NOMBRE ATRIBUTO Y OCULTAR REGION footerRG
if(pageContext.getParameter(EVENT_PARAM).equals("guardarNomAtr")){
String nvoNom = pageContext.getParameter("modCampoTX");
int idAtri = Integer.parseInt(am.getAtributo());
if(!nvoNom.equals("") && !nvoNom.equals(this.oldName)){
this.setNewName(nvoNom);
if(pageContext.getTransactionValue("todos") == "true"){
am.setTodos("1");
//VALIDACION DE IDs PARA ATRIBUTOS GENERICOS
if(idAtri >= 24 && idAtri <= 33){
am.setAccion(2);
am.setSeqIdAtributo(idAtri);
am.invokeMethod("guardarNvoAtributo", new Serializable[]{nvoNom});
}else{
am.invokeMethod("nuevoNombreAtributo", new Serializable[]{nvoNom, String.valueOf(idAtri)});
pageContext.removeTransactionValue("todos");
}else{
am.setTodos("0");
if(pageContext.getTransactionValue("descOra") == "true"){
//VALIDAR SI EXISTE NOMBRE
boolean existe = am.validaAtributoGenerico(nvoNom);
if(am.validaAtributoGenerico(nvoNom)){
//INSERTA NUEVO ATRIBUTO PARA ATRIBUTO GENERICO
am.setAccion(1);
}else{
//ACTUALIZA RELACION ATRIBUTO PARA ATRIBUTO GENERICO
am.setAccion(2);
am.setSeqIdAtributo(idAtri);
am.invokeMethod("guardarNvoAtributo", new Serializable[]{nvoNom});
}else{
am.invokeMethod("nuevoNombreAtributo", new Serializable[]{nvoNom, String.valueOf(idAtri)});
}else{
throw new OAException("Ingresar nombre de Atributo.", OAException.INFORMATION);
pageContext.putTransactionValue("cargarCampos","true");
pageContext.removeTransactionValue("descOra");
am.setEdoPantalla(1);
//LINK "GUARDAR CAMBIOS" PARA ACTUALIZAR/MODIFICAR NOMBRE DE ATRIBUTO
if(pageContext.getParameter(EVENT_PARAM).equals("guardarCambios")){
am.invokeMethod("guardarCambios");
pageContext.putTransactionValue("cargarCampos","true");
if(am.getTodos().equals("1"))
pageContext.putTransactionValue("todos1","true");
//BOTON BORRAR ATRIBUTO
if(pageContext.getParameter(EVENT_PARAM).equals("borrarIMG")){
String id = pageContext.getParameter("borrarIdAtributo").toString().trim();
am.invokeMethod("borrarAtributo", new Serializable[]{id});
pageContext.setForwardURLToCurrentPage(null, true, ADD_BREAD_CRUMB_NO, IGNORE_MESSAGES);
/**METODO PARA MODIFICAR LA TABLA QUE SE MOSTRARA EN PANTALLA
* @param pageContext
* @param webBean
private void modificarTabla(OAPageContext pageContext, OAWebBean webBean) {
//Aplication Module
ActivosAMImpl am = (ActivosAMImpl)pageContext.getApplicationModule(webBean);
OAViewObject v = (OAViewObject)am.findViewObject("ActivoAtributoVO1");
am.setNullVO();
//int global = 0;
Row[] fullVO = am.getVOFull();
Row[] compVO = am.getVOCompara();
int full = fullVO.length;
for(int i = 0; i < full; i++){
FullActivoAtributoVORowImpl f = (FullActivoAtributoVORowImpl)fullVO;
ActivoAtributoVORowImpl row = (ActivoAtributoVORowImpl)v.last();
v.setCurrentRow(row);
v.next();
ComparaActivoAtributoVORowImpl c = (ComparaActivoAtributoVORowImpl)compVO[i];
ActivoAtributoVORowImpl o = (ActivoAtributoVORowImpl)v.createRow();
int bdaf = Integer.parseInt(f.getBdaf().toString());
int id = Integer.parseInt(f.getIdCatalogoAtributos().toString());
if(bdaf == 0){
//VALIDACION DE IDs PARA ATRIBUTOS GENERICOS
if(id >= 24 && id <= 33){
o.setEditar(true);
}else{
o.setEditar(false);
o.setFlag(false);
o.setIdCatalogoAtributos(f.getIdCatalogoAtributos());
o.setDescOracle(f.getAtributo());
o.setAtributo(f.getDescHandheld());
o.setHandheld(f.getHandheld().toString());
o.setMandatorio(f.getMandatorio());
//COMPARA VO
c.setIdCatalogoAtributos(f.getIdCatalogoAtributos());
c.setDescOracle(f.getAtributo());
c.setAtributo(f.getDescHandheld());
c.setHandheld(f.getHandheld());
c.setMandatorio(f.getMandatorio());
}else{
o.setFlag(true);
o.setEditar(true);
o.setDescOracle("");
o.setAtributo(f.getAtributo());
o.setIdCatalogoAtributos(f.getIdCatalogoAtributos());
o.setHandheld(f.getHandheld().toString());
o.setMandatorio(f.getMandatorio());
//COMPARA VO
c.setDescOracle("");
c.setAtributo(f.getAtributo());
c.setIdCatalogoAtributos(f.getIdCatalogoAtributos());
c.setHandheld(f.getHandheld());
c.setMandatorio(f.getMandatorio());
v.insertRow(o);
/**METODO PARA EDITAR LA TABLA QUE SE MOSTRARA EN PANTALLA PARA
* CUANDO EL USUARIO SELECCIONA LA OPCION 'TODOS'
* @param pageContext
* @param webBean
private void tablaTodos(OAPageContext pageContext, OAWebBean webBean) {
ActivosAMImpl am = (ActivosAMImpl)pageContext.getApplicationModule(webBean);
am.setNullVO();
OAViewObject v = (OAViewObject)am.findViewObject("ActivoAtributoVO1");
OAViewObject v1 = (OAViewObject)am.findViewObject("ComparaActivoAtributoVO1");
ActivoAtributoVORowImpl row = (ActivoAtributoVORowImpl)v.last();
v.setCurrentRow(row);
v.next();
ComparaActivoAtributoVORowImpl row1 = (ComparaActivoAtributoVORowImpl)v1.last();
v1.setCurrentRow(row1);
v1.next();
Row[] todos = am.getVOTodos();
int tod = todos.length;
for(int i = 0; i < tod; i++){
FullAtributosFamiliaVORowImpl f = (FullAtributosFamiliaVORowImpl)todos[i];
int bdaf = Integer.parseInt(f.getBdaf().toString());
int id = Integer.parseInt(f.getIdCatalogoAtributos().toString());
if(bdaf == 0){
ActivoAtributoVORowImpl o = (ActivoAtributoVORowImpl)v.createRow();
ComparaActivoAtributoVORowImpl o1 = (ComparaActivoAtributoVORowImpl)v1.createRow();
//VALIDACION DE IDs PARA ATRIBUTOS GENERICOS
if(id >= 24 && id <= 33){
o.setEditar(true);
}else{
o.setEditar(false);
o.setFlag(false);
o.setIdCatalogoAtributos(f.getIdCatalogoAtributos());
o.setDescOracle(f.getAtributo());
o.setAtributo(f.getDescHandheld());
o.setHandheld(f.getHandheld().toString());
o.setMandatorio(f.getMandatorio());
o1.setIdCatalogoAtributos(f.getIdCatalogoAtributos());
o1.setDescOracle(f.getAtributo());
o1.setAtributo(f.getDescHandheld());
o1.setHandheld(f.getHandheld());
o1.setMandatorio(f.getMandatorio());
v.insertRow(o);
v1.insertRow(o1);
}else{
ActivoAtributoVORowImpl o = (ActivoAtributoVORowImpl)v.createRow();
ComparaActivoAtributoVORowImpl o1 = (ComparaActivoAtributoVORowImpl)v1.createRow();
o.setFlag(true);
o.setEditar(true);
o.setDescOracle("");
o.setAtributo(f.getAtributo());
o.setIdCatalogoAtributos(f.getIdCatalogoAtributos());
o.setHandheld(f.getHandheld().toString());
o.setMandatorio(f.getMandatorio());
o1.setDescOracle("");
o1.setAtributo(f.getAtributo());
o1.setIdCatalogoAtributos(f.getIdCatalogoAtributos());
o1.setHandheld(f.getHandheld());
o1.setMandatorio(f.getMandatorio());
v.insertRow(o);
v1.insertRow(o1);
public void setOldName(String oldName) {
this.oldName = oldName;
public String getOldName() {
return oldName;
public void setNewName(String newName) {
this.newName = newName;
public String getNewName() {
return newName;
Edited by: mentor on Nov 3, 2010 8:54 AM
Edited by: mentor on Nov 3, 2010 8:55 AM

Similar Messages

  • I have a problem with the touchsmart 420pc, after a running time (2 hour approx) is turned off,

    good afternoon, I have a problem with the touchsmart 420pc, after a running time (2 hour approx) is turned off, probably warming, but this rare, is suddenly going slow parapadear and image.
    also sounds like when damaged ballasts for lamps,
    ANYONE know what could be the cuasa and / or what is causing this.
    greetings and thanks in advance

    Hi,
    Please write your TouchSmart model number, which system are you using and country of purchase.
    Resource:
    How Do I Find My Model Number?
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • Loading the final static variables at run time.. Please help

    Hello, fellow developers & Gurus,
    Please help me figure out the best way to do this:
    I need to load all my constants at run time. These are the public static final instance variables. The variables values are in the DataBase. How do I go about loading them.

    Your original question was diffeent, but your further posts show what you really want to do:
    1) all constants in 1 class
    2) available readonly for other classes
    3) updatable during runtime by changing in the database
    Did I understand you right?
    Then smiths' approach solves point 2):
    Instead, make the variables available through a method
    call - that way you avoid the whole final variable
    versus read-only attributes problem.
    //GLOBAL VARIABLES EXPOSED AS PUBLIC PROPERTIES
    public final class GlobalProperties
    public static int getTableSize();
    public static int getRowSize();
    Each "constant" should be a private static variable, and these methods simply return their values.
    The variables are initialized in a static initializer by accessing the db. Ok.
    You habe a table with one row containing as columns all the constants.
    A method readConstants() does a "select constant1, constant2, ... from const_table" and sets all the variables.
    The static initializer calls this method.
    Right?
    Ok, then you simply call readConstants() everytime you want to synchronize with the actual content of const_table.
    Was it this?

  • Why does my LabVIEW 2010 Program ask for the LabVIEW 8.5.1 run-time engine every time it is launched after being installed?

    It is a simple timer program that shows the elapsed time (see attached pics). I can't think of a single thing that should be causing this ... It started happening right after I selected scale objects with front panel resizes and recompiled, and re-installed the app. It was not happening before that when installed without the selection of resizing, but then I removed the selection and it still happens. Any Ideas would be appreciated.
    Solved!
    Go to Solution.
    Attachments:
    Timer Block Diagram.JPG ‏100 KB
    Timer Front Panel.JPG ‏34 KB

    A bit more info:
    If I cancel through all of the dialog boxes (see attached) when trying to launch my little app, it runs normally. Looks like it really doesn't need the 8.5.1 engine after all.
    Attachments:
    Run-time Engine 8.5.1 dialog box.JPG ‏25 KB
    Run-time Engine 8.5.1 dialog box - 1.JPG ‏15 KB

  • Passing the queue name to the sender JMS adapter at run time..

    Hello Experts,
    I have a scenario where PI is to pick data from MQ queues. The message type coming from queues is same and the procession needs to be done with PI is also the same.That's the reason why we want to have only one interface processing the data for all the queues.
    My question here is that is there any way where I do not put the queue name in the sender adapter at design time and based on the data availability in the queue let the sender adapter know the queue name to be processed at run time.
    Any suggestions will be greatly appreciated.
    - Rajan

    > My question here is that is there any way where I do not put the queue name in the sender adapter at design time and based on the data availability in the queue let the sender adapter know the queue name to be processed at run time.
    Unfortunately for JMS Sender CC it is not possible, but other way around is possible. I.e. you can dynamically choose the receving queue names by using ASMA "JMSReplyTo" in JMS Sender CC.
    Regards,
    Sarvesh

  • Read Data's from the Form step type at run time

    Hi Experts,
    I have the 'Form' step type in my workflow and it will displays some values at the Run time. In this form I have one IO field called 'Comments'. So at the runtime manager can Enter the comments on it.
    Now my need is I need to get the 'Comments' data from that form. How can I get this value?
    Thanks in Advance,
    Helps will be Appreciated..

    I got the solution.
    Thanks All..

  • Trying to upgrade my i-phone 3 operating system to ios-5.  The program seems to download fine, but at the end it says network run time error and then I have to cancel it out and try again.  Tried 5 times and I can't upgrade the system.  help?

    I am trying to upgrade the operating system on my i-phone 3 to ios-5.  I download the program and it runs and downloads.  When almost finished, an error occurs that says Network run time error.  This cancels out the download.  I have tried 5 times with the sdame result.  Can anyone help?  Thanks

    This is asked and answered frequently... a simple search of the forums would have revealed that disabling any Anti-Virus and Firewall software on the computer prior to downloading will rectify the issue.

  • How to suppress the  Forms special message on run time (forms 6i)

    Hi,
    I am using forms 6i and got the following message on run time. How do I suppress this message on run time? I don�t know the message code of this message, may be it is the prompt or some other type of message.
    However I also used the system variable MESSAGE_LEVEL to suppress this message but it did not suppress.
    For Example:
    :SYSTEM.MESSAGE_LEVEL := '25';
    Please send the code to suppress this message.
    FORM MESSAGE:
    Oracle Forms 6.0
    Use the Windows Program Manager to execute operating system commands.
    Thanks
    Amit

    Dear Frank,
    Thanks for reply.As you said I keep the value <NULL> in the Form Module properties palette.But that forms message did not suppress and it still display.The message is:
    Oracle Forms 6.0
    Use the Windows Program Manager to execute operating system commands
    Could you please give me its solution how to avoid that message?
    Thanks
    AMIT

  • Upgraded from LabVIEW 8 to 2013 and now VI asks to find the installati​on package for Run-Time Engine 7.0

    I recently installed LabVIEW 2013 on a computer (running Windows XP 32-bit).  The machine also has LabVIEW 8 installed, which is what I was using prior to upgrading.  I opened a VI that was created in LV8 and then saved it and all its subVIs in LV2013.  Now when I open the VI in LV2013 and try to run it, a window pops up asking me to find the "lvruntimeeng.msi" installation package for LabVIEW Run-Time Engine 7.0.  If I cancel that dialog box and the subsequent message stating that the installion files were not found, the VI appears (at least from intial inspection) to run normally.
    I closed LabVIEW, downloaded Run-Time Engine 7.0 from the NI website, and tried to install it, but I received a message saying that it is already installed (as I had suspected).  How can I determine what part of the VI and/or its subVIs is trying to make use of Run-Time Engine 7.0?  Alternatively, how can I get LabVIEW to instead use the Run-Time Engine 2013 that was installed when I upgraded to LabVIEW 2013?
    Solved!
    Go to Solution.

    Bob_Schor wrote:
    Are you running your VI from a Project?  If so, you can look at Dependencies and get an idea what "dependent" VIs you might have.  There may be "something old" in your LabVIEW 8 code that has been superceded in 2013, but still "hangs around" -- if you can identify it, you can probably replace it with its "more modern" equivalent.
    If you do not have the VI in a Project, you can simply open LabVIEW, create a new blank project, and add your top level VI to it.  If all of your relevant VIs are in a single folder, add the entire folder.  Now look in Dependencies.
    BS
    Yes I am running the VI from within a LV Project.  After some more searching in the NI Knowledgebase I was able to fix the problem by using the following procedure:
    1.  Use the Measurement and Automation Explorer to uninstall Run-Time Engine 7.0
    2.  Restart the PC
    3.  Open the project, close the project choosing to "save all"
    4.  Restart the PC
    5.  Re-install Run-Time Engine 7.0 using a file downloaded from ni.com
    6.  Restart the PC
    7.  Open the project, close the project choosing to "save all"
    8.  Open the project and run the VI.  No more messages about LabVIEW trying to find Run-Time Engine 7.0.

  • How can I debug the Call Library Function at run-time

    I've written a VI using the CLF to call a DLL which was compiled off-site by another engineer using MSVC. Even though the VI runs without flagging any errors, the VI is not doing what I expect. Is there any way of finding out if the DLL is been called correctly? The first function that is called doesn't return any value, but I think that it should. Does this mean that the DLL is not being called correctly? Note also that the DLL works fine with a JAVA GUI.

    Make sure that you are specifying the proper function prototype in the call library function. If you are slightly off the call will not work properly. Ask the offsite engineer to provide you with this data. Another tip is to build the dll with the option to show front panel when called. You can actually popup the dll like you would a subvi. If you design it with test indicators showing on the front panel that is a great way to determine if it is working. Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • Invoking a web service with the WSDL URL given at run time

    I have created a very Simple Web Service using Netbeans 6.0 as an EJB Module. I have successfully created clients to access the web service, both through a Composite Application and through a simple Java Desktop Application, using the create "New Web Service Client" option, either by pointing to the EJB project either by providing the WSDL URL.
    What I want now, is for the Java Desktop application to be able to consume the service after it has discovered the WSDL URL at runtime (e.g. through UDDI).
    From what I have been able to find on the web, I should use the javax.xml.ws.Service class. But when I attempt to use the getPort method I get the exception:
    "com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class mypackagename.jaxws.MyWebServiceName is not found. Have you run APT to generate them?"
    Since I know that this class is not needed for the Web Service to be accessed, when the two procedures I describe above are used, I wonder what I can do to get this to work.
    I have tried using apt from the command line but it can't find Java EE classes, so it doesn't work.
    Nikos

    Hi Yarecki,
    I'm afraid I'm also a newbie, and I'm feeling my way around things.
    I have written some code. However, you should be warned that... it doesn't work!
            String wsdlLocation;//=...some URL...
            String input;//=...XML...either SOAP message either SOAP payload
         try{
             java.net.URL wsdlURL = new java.net.URL(wsdlLocation);
                //these should be extracted from the service WSDL document
                java.lang.String serviceName = "CalculationServiceService";
                java.lang.String portName = "CalculationServicePort";
                String namespace = "http://localhost:8080/CalculationServiceService";
                javax.xml.transform.Source inputSource = new javax.xml.transform.stream.StreamSource(new java.io.StringReader(input));
                javax.xml.namespace.QName serviceQName = new javax.xml.namespace.QName(namespace, serviceName);
                javax.xml.namespace.QName portQName = new javax.xml.namespace.QName(namespace, portName);
                javax.xml.ws.Service service = javax.xml.ws.Service.create(wsdlURL, serviceQName);           
                javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
                      service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.MESSAGE);
           //javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
               //service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.PAYLOAD);
    //alternative method, with different input
                javax.xml.transform.Source replySource = dispatch.invoke(inputSource);
                javax.xml.bind.JAXBContext jc = javax.xml.bind.JAXBContext.newInstance(nikos.test.CalculationResult.class);
                javax.xml.bind.Unmarshaller unm = jc.createUnmarshaller();
                nikos.test.CalculationResult result = (nikos.test.CalculationResult)unm.unmarshal(replySource);
                System.out.println(result.getResult());
            } catch (JAXBException ex) {
                JOptionPane.showMessageDialog(this, ex);
                ex.printStackTrace();
            } catch (MalformedURLException ex) {
                ex.printStackTrace();//this should not happen.
            }In fact I'm getting a weird error
    javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException
            at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187)
            at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108)
            at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187)
            at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)
         //lines from my source code are here
    Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException
            at com.sun.enterprise.security.jmac.config.PipeHelper.makeFaultResponse(PipeHelper.java:328)
            at com.sun.enterprise.security.jmac.config.PipeHelper.getFaultResponse(PipeHelper.java:366)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:223)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:129)
            at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
            at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
            at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
            at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
            at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
            at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
            at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
            at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
            at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:113)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:129)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
            at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:114)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:87)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.NullPointerException
            at com.sun.xml.ws.tx.service.TxServerPipe.process(TxServerPipe.java:163)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:218)
            ... 39 moreAs I've said before I've called this web service successfully using three different methods.
    It appears it has something to do with security issues, but I've no security at all...

  • How to make the prompt to pick the system date automatically at run time?

    Hi,
    I trying to create a publication for a report that has date prompt, When I try to schedule this publication  the query should automatically select system date for date prompt and and send out the report. Is there a way to do this in CMC?
    Thanks in advance
    Hema

    Hi Hema,
    You need to create this Exit Variable with the condition that it should be generated ias a optional variable in the universe.
    The reason for being is that when the prompt screen is appeared there is no default value which will be shown in the prompt. But when you press the run query button (will be enabled only after you make the prompt as optional) the BO query will fetch the data applying the restriction of the sysdate.
    I hope I have made myself clear.
    Regards,
    Rohit

  • HT201413 When i try to use search in the itunes store , it says run time error R6025?

     

    Change your store.
    Open iTunes app - scroll to bottom - click on your Apple ID - View Account - enter password - change country/region

  • How do i change the image path at run time in wpf ?

    I have a button and i need to show image two different image based on condition. 
    <Button x:Name="btn" MouseEnter="btn_MouseEnter_1">
    <Button.Template>
    <ControlTemplate TargetType="Button">
    <StackPanel Width="43">
    <Image Name="btnS" Source="Resources/main.png" />
    </StackPanel>
    <ControlTemplate.Triggers>
    <MultiTrigger>
    <MultiTrigger.Conditions>
    <Condition Property="IsMouseOver" Value="True" />
    <Condition Property="IsEnabled" Value="True" />
    </MultiTrigger.Conditions>
    <MultiTrigger.Setters>
    <Setter TargetName="btnS" Property="Source" Value="Resources/hover.png"></Setter>
    </MultiTrigger.Setters>
    </MultiTrigger>
    <MultiTrigger>
    <MultiTrigger.Conditions>
    <Condition Property="IsPressed" Value="True" />
    <Condition Property="IsEnabled" Value="True" />
    </MultiTrigger.Conditions>
    <MultiTrigger.Setters>
    <Setter TargetName="btnS" Property="Source" Value="Resources/audio-push.png" />
    </MultiTrigger.Setters>
    </MultiTrigger>
    <Trigger Property="IsEnabled" Value="false">
    <Setter TargetName="btnS" Property="Source" Value="/Resources/disabled.png" />
    </Trigger>
    </ControlTemplate.Triggers>
    </ControlTemplate>
    </Button.Template>
    </Button>
    I want to change the source of btnS at run time bases on condition.
    Suppose that if a = 1 then 
    btnS source is "Resources/main.png" this
    else btnS source should be "Resources/main1.png"
    same for mouse hover and enable disable triggers.
    Thanks,

    Hi Sumit,
    We can use
    VisualTreeHelper class to find Image control in visual tree.
    UIHelper.cs:
    public class UIHelper
    public static T FindChild<T>(DependencyObject parent, string childName)
    where T : DependencyObject
    // Confirm parent and childName are valid.
    if (parent == null) return null;
    T foundChild = null;
    int childrenCount = VisualTreeHelper.GetChildrenCount(parent);
    for (int i = 0; i < childrenCount; i++)
    var child = VisualTreeHelper.GetChild(parent, i);
    // If the child is not of the request child type child
    T childType = child as T;
    if (childType == null)
    // recursively drill down the tree
    foundChild = FindChild<T>(child, childName);
    // If the child is found, break so we do not overwrite the found child.
    if (foundChild != null) break;
    else if (!string.IsNullOrEmpty(childName))
    var frameworkElement = child as FrameworkElement;
    // If the child's name is set for search
    if (frameworkElement != null && frameworkElement.Name == childName)
    // if the child's name is of the request name
    foundChild = (T)child;
    break;
    else
    // child element found.
    foundChild = (T)child;
    break;
    return foundChild;
    Code Behind:
    private void Button_Click(object sender, RoutedEventArgs e)
    Image image1 = UIHelper.FindChild<Image>(btn, "btnS");
    if(image1!=null)
    image1.Source = new BitmapImage(
    new Uri("Resources/main1.png", UriKind.Relative)
    Screenshot:
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Run time error while activating the Transfer Rules

    Hi,
    Error when activating Transfer rules for Infosource :
    0FI_GL_1 -
    (General ledger: Transaction figures)
    Run time error : ASSERTION FAILED
    Transfer rules traffic light is in Green. But when i am trying to activate the Transfer rules, its giving Run time error.
    Thanks,
    Kishore

    Hi,
    As mentioned in the note 939383 , either Import Support Package 08 for SAP NetWeaver 2004s BI (BI Patch08 or SAPKW70008) into your BI system or do correction instructions given in the note.
    It is always better to import the latest patches avialble in service market to avoid this type of problems.
    Also see tha note 1010672 amd check whether it is applicable to your problem.
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by:
            Anil Kumar Sharma

  • Run time binding of textfields and the like

    Hi,
    I am working on a dynamic form,which will instantiate questions based on some instructions specified in XML when the form loads up, much like John Brinkman's example
    http://blogs.adobe.com/formfeed/2009/03/a_form_to_design_a_form.html
    At design time, it is not know which node in the data dom the field should be bound to, so I would like to be able to simulate a match="dataRef" ref="$.myNode" statement at run-time.
    However, my recollection is that the binding reference can't be changed at run time. Does anyone know if it can be done, and how to do it?
    John

    Hi Jason,
    Good to hear from you. In our case : "Validate Product data from SAP Enterprise Buyer " has been selected , but Cross -catalog Search is not selected. Though in our case we are dealing with Description Based Item (text item not product item)
    We are communicating to catalog company  about the validity method to support run time validation of price and items from catalog during creation of SC from template.
    So correct my understanding if catalog support validity
    1. Existing item new price in catalog:it will bring new price from catalog while creation of SC from template
    2. Item has blcked for new purchase in catalog: it will shows error in SC like "incomplete items in catalog   or   item doesnt valid"
    3.My default region is X but template for SC region is Y: While creation of SC from template with region Y it will show error that your default region is X  or    create SC w.r.t region Y with validation of Y region based catalogs item and price.
    Regards
    Dayal

Maybe you are looking for

  • IPHONE 5s Battery Draining Really Fast

    Hi, I have a Iphone 5s. The phone charges really slow, and dies really fast. I am barely on it now since this happen. I tried restoring at home, and also resetting. I took a trip to Apple two days ago, and they ran the diagnostic. He said the battery

  • My computer crashed. How do I authorize the new one for my iPod nano?

    My old computer crashed and I restored the music off the iPod back onto this new computer and into iTunes. But, it keeps saying I don't have priveleges to do something. I think it's because the iPod is only registered for the old computer?? I don't k

  • Help with an audio file - vows from a wedding.

    Evening all, My wife and I filmed a wedding yesterday and our wireless mic which was hooked up to the groom's lapel decided to cut out literally seconds before he spoke his vows. When I got the mic back from him, everything was soaked, literally drip

  • How to rename files that appear in multiple .book files?

    I have about 50 .fm files, and 4 .book files, each of which includes about 20 of the .fm files. I want to rename some of the files. If I open all four .book files at once, and I go to First.book and rename file Q, I want it to be renamed in all the o

  • I've got Photoshop Elements 11 on my mac-book Now I want to copy thepro

    I've got Photoshop Elements 11 on my mac-book Now I want to copy the programm to my Mac Pro too. Is it possible or do I have to buy another license?