How to get the metadata for the selected tables of a schema

Hello

I need the metadata for the tables selected for an activity. The list of the table continues to change now. I get the list of tables just before the activity.

What I need is to know how to put the list of tables in the sub query dynamicallly

+++++++++++
exec dbms_metadata.set_transform_param (DBMS_METADATA. False SESSION_TRANSFORM, 'SEGMENT_ATTRIBUTES',);
exec dbms_metadata.set_transform_param (DBMS_METADATA. False SESSION_TRANSFORM, 'STORAGE',);
exec dbms_metadata.set_transform_param (DBMS_METADATA. SESSION_TRANSFORM, 'TABLESPACE', TRUE);

Select DBMS_METADATA. GET_DDL ('TABLE', '&') from user_tables where rownum < 2;
+++++++++++

What I need is something of the form where table_name in (< table1 >, < table2 >, < table3 >,..., etc.) in the query above, so that i access all the metadata
He doesn't hit me how I can write this query to single line. Can someone help here?

Regds,
Malika

Hello

try using the name of the column to user_tables and owner of the table in the "DBMS_METADATA. GET_DDL' and the reel to reel for some files and run this file in turn exit.

coil
Select ' select DBMS_METADATA. GET_DDL ("' TABLE," ' | table_name |', "' ) double;' from user_tables
where ;
spool off;

@some_file - trying to spool output too.

-Pavan Kumar N

Tags: Database

Similar Questions

  • DVT:pivotFilterBar - how to get the selected values of the filter

    Hi all

    I have a question: how to get the selected values from the pivot table filter bar programmatically?

    I tried to use
    pivotTable.getDataModel().getDataAccess().getValueQDR(startRow, startCol, DataAccess.QDR_WITH_PAGE);
    but to the edge of the side DATA INCORRECTESdeclarations page, it seems that it will return the cached values.

    Environment: JDev 11.1.1.3.0 without tasks.

    Thank you
    Miroslaw

    Hello

    You can retrieve the value selected in the PivotFilterBar through the PivotFilterBar model, instead of dataaccess:

    Download the template of the bar pivot filter instance
    QueryDescriptior queryDescriptor = (QueryDescriptor) pivotFilterBar.getValue ();

    retrieve a list of criterion, each of them is used to fill each lov in the pivot filter bar
    ConjunctionCriterion conjunctionCriterion = queryDescriptor.getConjunctionCriterion ();
    List criterionList = conjunctionCriterion.getCriterionList ();
    for (int i = 0; i)<_criterionList.size(); i++)="">
    AttributeCriterion = (AttributeCriterion) criterionList.get (i) criterion.

    _selected is the currently selected value
    Selected object = criterion.getValues () .get (0);

    System.out.println (_selected);
    }

    Hope that helps,
    Chadwick

  • How to get the selected row in a programmatic table of the ADF (table generated from a bean)

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    How to get the selected line in a programmatic (using a SortableModel custom not a display object) ADF table (generated from a bean)?


    We are trying to get the selected row in a bean of a programmatic ADF table to retrieve data based on the selected line.


    Any idea?

    Well, you can use selectionListener to set the selected line to a variable of bean (but this bean must be in extended view or some superiors)

    Something like this: http://www.awasthiashish.com/2015/07/get-selected-row-singlemultiple-from.html

    Dario

  • How to get the selected DataGrid item?

    Hello

    I have a datagrid

    < mx:DataGrid = "10" XY = dataProvider "36" = "{acEmaillist}" width = "319" >
    < mx:columns >
    < mx:DataGridColumn headerText = "Full name" dataField = "cn" width = "150" / >
    < mx:DataGridColumn headerText = "Email" dataField = "mail" width = "150" / >
    < / mx:columns >
    < / mx:DataGrid >

    I want to select a name, click it, get the selected name and save it in a string variable. Please let me know how to get the selected name when I click it. Thank you very much.

    M

    This code can help.


    http://www.Adobe.com/2006/mxml"width ="100% ">

    Import mx.controls.DataGrid;
    Import mx.events.ListEvent;

    [Bindable]
    private var nameStr:String;

    public void getName(event:ListEvent):void {}
    var dg:DataGrid = DataGrid (event.target);
    nameStr = dg.selectedItem.cn;
    }
    ]]>



    Bob Smith
    [email protected]


    Ted Alan
    [email protected]


    Fred Tobs
    [email protected]








  • How to get the underlying tables

    Hi all

    EBS R12.2

    How can I get the underlying tables of the following form?

    Capture.PNG

    Thank you very much

    Jen

    Hello

    Go to help-> review-> properties-> point.

    That's how you get the base table (FND_USER_RESP_GROUPS_INDIRECT):

    Kind regards

    Bashar

  • How to get the selected text in a TextInput

    Hallo. I have a textinput, and when the event doubleclick on a part of the text is sent, I need to get the selected text, and then save it in a string... How can I do?

    THX

    Max

    Hi Maximist,

    Below is the code snippet to get the selected text in TextInput on double click event:

    http://www.Adobe.com/2006/mxml '.

    Layout = "vertical".

    verticalAlign = "middle".

    backgroundColor = "white" >

    Import mx.controls.Alert;

    private void textInput_doubleClick(evt:MouseEvent):void {}

    Alert.Show (String (evt.target.text) .slice (evt.target.selectionBeginIndex, evt.target.select ionEndIndex));

    }

    ]]>

    Text = "the Bullfighter is out the path of the bull charge at the last moment, drawing the cheers of the spectators."

    doubleClickEnabled = "true".

    doubleClick = "textInput_doubleClick (event); "/ >

    Hope this will help you.

    Thanks and greetings

    ------------------------------------------------------------------------------------

    Pooja Kuber | [email protected] | www.infocepts.com

    ------------------------------------------------------------------------------------

  • How to get the 'selection' illuminated

    I have a vista 64. I had a few printing problem which I found out wasa because google chrom. I had one tech outside and the problem has been corrected. However, I have an impression left of problem that I hope someone can help me with. I'm trying to print part of a page. I am the part children and then go to the print page. However, I cannot print print the part because the only 'all' and 'pages' are turned on. "selection is not lit, so I can't click. Can someone tell me how to recover the 'selection '.

    Hey, Dolores,.

    Your computer is configured to display pages in full screen? When this happens press F11 on your keyboard and see if the button reduce reappears.

  • How to get the selected values from the shuttle

    Hello

    Please tell me how to get the values of the option chosen by the shuttle leading the list.

    Thank you

    Check out this link and that this might help you.

    Attack-shuttle leak problem

    Thank you
    -Anil
    http://oracleanil.blogspot.com/

  • How to get the selected layers?

    Hi, how can I use the SDK for a list of the layers that are selected by the user when the plugin is activated?

    Let's talk terminology.

    an "activation" on a layer effect is not really the process of events.

    When an effect is used firstly to æ session, this is the function GlobalSetup()

    is called.

    This is the most 'activated' like thing in the effect by applying the process.

    This function is called only once per session (in general) and data

    allocated to it is shared between all instances.

    then, whenever a new instance is applied, the specific instance

    Function SeqeunceSetup() is called.

    It is the only clue you get tell you that a new instance is created.

    Unfortunately, in the course of this appeal you still cannot check the layer on which

    the effect will be applied, as at that time there AE still because preparations

    and has not done this topic yet. (try to get the effect layer will

    give an error)

    so when you say "on" I'm assuming you mean "applied".

    If an instance of the effect is already present in an economy effect, you get not one

    Call of SequenceSetup(), but a SequenceResetup() call instead. (or Unflatten())

    now, to detect if another instance is present on a layer, you must analyze

    This layer effects and check each because it is installed a key. (and match

    to you, of course)

    you will need to use:

    AEGP_GetLayerNumEffects

    AEGP_GetLayerEffectByIndex

    AEGP_GetInstalledKeyFromLayerEffect

    and now you hit the real problem.

    an effect cannot remove another effect of the same layer, sure it is. It will be

    very probably launch an error message as AE manages all the layer effects

    and suddenly; y an is missing.

    You can solve that by using a CEAP separated with a slow hook and make the

    deletion, or all just throwing your own message to the user by saying

    You cannot have two and set a flag on the second instance of turn it off

    process.

  • How to get the select button event Radio in my co

    Hello

    I want to get the the radio button selection event in my co, how do I get the event?

    Hello

    841475 wrote:
    I want to get the the radio button selection event in my co, how do I get the event?

    -There is no case of option button.
    -you need to explicitily set the event for the option button.

    Action: FirePaatialAction
    Event: RadioEvent

    -Discover the event in co by code below:

    If ("RadioEvent". Equals (PageContext.GetParameter (EVENT_PARAM)))
    {
    -In the case of a radio button. :))
    }

    Concerning
    Meher Irk

  • How to get the selected values of the af:selectManyChoice in the bean support

    Hello

    I have a selectManyChoice with a list of static, as shown below.
    At the click of the button, is called a method in the bean support. I want to get the list of the values selected by the method of the bean.
    How to do the same thing.
    <af:panelFormLayout id="pfl1" fieldWidth="50%" labelWidth="50%">
            <af:selectManyChoice label="Days" id="smc1"
                                 binding="#{Bean.addDaysChoice}">
              <af:selectItem label="Monday" value="MON" id="si17"/>
              <af:selectItem label="Tuesday" value="TUE" id="si13"/>
              <af:selectItem label="Wednesday" value="WED" id="si15"/>
              <af:selectItem label="Thursday" value="THU" id="si14"/>
              <af:selectItem label="Friday" value="FRI" id="si11"/>
              <af:selectItem label="Saturday" value="SAT" id="si16"/>
              <af:selectItem label="Sunday" value="SUN" id="si12"/>
            </af:selectManyChoice>        
              <af:commandButton text="Button"
                                actionListener="#{bean.callSomeMethod}"
                                id="cb1"/>  
    <af:panelFormLayout/>
    Thank you
    Ajay

    Published by: Ajay on January 31, 2011 06:26

    Hello

    What about setting the property "value" of the selectManyChoice, and then point to a method of the managed bean (setter/accessor for a variable of type list)?

    Frank

  • ListField - how to get the selected items

    Hi @all,

    I am running OS5 on a BB bold 9700 and development via eclipse.

    I tried to do a listfield and put it in a display of network manager, which works very well.

    As peter_strange did in a reply to a thread listfield, I tried to catch the click button on navigation through "makemenu.

    It works fine, but after processing the code according to the listfield (getindex), it shows a standard menu, which I don't want. I want just to get the index or the name of the current or selected fields and continue with the transformation by showing a new screen for example.

    In some other threads that I found excerpts concerning 'navigationclick', but I don't understand, what I have to do here and why. Th KB, I searched but I did find something to go further.

    Someone there who can help me with a small example?

    Thank you much in advance.

    CUA

    Michael

    You can create your own class or override her anonymously.

    new ListField (...) {replace the code of the method here}

    (blackberry is perhaps not the best way to start learning java...)

  • How to get the selected row in the table without SelectedRowKeys

    Greetings,

    I use JDeveloper 11.1.2.4.0 ADF application.

    and I have a few table containing only 1 and sometimes 2 rows. When the load table.

    by default, the first line is selected, and I can't call a selection listener (by selecting a line by calling

    a function). What I did (and it worked on the past, I don't know why now it doesn't) is:

    I removed the "SelectedRowKeys" property, so it will not automatically select 1st row loading,

    and on the events of selection, I use the code in this function:

    {} public void selectDisease (SelectionEvent selectionEvent)

    Object _selectedRowData = Disease_Table.getSelectedRowData (); the table select a line

    JUCtrlHierNodeBinding _nodeBinding = (JUCtrlHierNodeBinding) _selectedRowData;

    Line rw = _nodeBinding.getRow (); get the error here

    OperationBinding operation = bindings.getOperationBinding("ExecuteWithParams7");

    operation.getParamsMap () .put ("disease_id", rw.getAttribute("disease_id").toString ());

    Operation.Execute ();

    AdfFacesContext.getCurrentInstance () .addPartialTarget (panelTabbed);

    }

    The error:

    < RichExceptionHandler > < _logUnhandledException > ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase 5 of INVOKE_APPLICATION

    javax.el.ELException: //C:/Users/Philip/AppData/Roaming/JDeveloper/system11.1.2.4.39.64.36.1/o.j2ee/drs/MyApp/ViewControllerWebApp.war/main.jsf @470,113 selectionListener = "#{backingBeanScope.BeanNavigation. selectDisease} ': java.lang.NullPointerException"

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:111)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1589)

    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:276)

    at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)

    at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:486)

    at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)

    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)

    at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)

    at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:482)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:361)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to 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:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to 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)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to 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.navigation.selectArrergy_MED(navigation.java:489)

    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 com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

    ... more than 48

    < RegistrationConfigurator > < handleError > ADF_FACES - 60096:Server Exception during the PPR, #1

    javax.el.ELException: //C:/Users/Philip/AppData/Roaming/JDeveloper/system11.1.2.4.39.64.36.1/o.j2ee/drs/MyApp/ViewControllerWebApp.war/main.jsf @470,113 selectionListener = "#{backingBeanScope.BeanNavigation. selectDisease} ': java.lang.NullPointerException"

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:111)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1589)

    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:276)

    at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)

    at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:486)

    at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)

    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)

    at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)

    at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:482)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:361)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to 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:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to 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)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to 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

    to view.navigation. selectDisease (navigation.java:489)

    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 com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

    ... more than 48

    I use the same method on the past on a different application on the same version of jdeveloper and it worked, I don't understand

    what I'm doing wrong here,

    Thanks for any help.

    I finally found the solution, since I do not use the property to a current line, I add programmatically:

    public static Object invokeEL (el String, class [] paramTypes, Object [] params) {}

    FacesContext facesContext = FacesContext.getCurrentInstance ();

    ELContext elContext = facesContext.getELContext ();

    ExpressionFactory expressionFactory = facesContext.getApplication () .getExpressionFactory ();

    MethodExpression exp = expressionFactory.createMethodExpression (elContext, el, Object.class, paramTypes);

    Return exp.invoke (elContext, params);

    }

    public static Object evaluateEL (String el) {}

    FacesContext facesContext = FacesContext.getCurrentInstance ();

    ELContext elContext = facesContext.getELContext ();

    ExpressionFactory expressionFactory = facesContext.getApplication () .getExpressionFactory ();

    ValueExpression exp = expressionFactory.createValueExpression (elContext, el, Object.class);

    Return exp.getValue (elContext);

    }

    {} public void rowSelected (SelectionEvent selectionEvent)

    invokeEL ("#{bindings.") MyVO.collectionModel.makeCurrent} «»

    new class [] {SelectionEvent.class},

    (New Object() {selectionEvent});

    Line = rw

    (Row), evaluateEL ("#{bindings.") MyVOIterator.currentRow}");

    rw.getAttribute("TheAttribueINeed").toString ()); etc...

    }

  • How to get the selected line of the selecetOneChoise

    Hello

    I use jdeveloper 11.1.2.3.0

    I have a simple vision with 'id' and 'name' attributes
    I dragged the view as selecetOneChoise and has chosen to show only the name.
    When the value of the selecetOneChoise is changed, I need to use the 'id' of the new value selected as a setting for another opinion.
    I tried to get it through the iterator, like this:
     
          public void onValueChangeListener(ValueChangeEvent valueChangeEvent) {
            DCIteratorBinding it = getBindings().findIteratorBinding("firstIterator");
            Row row = it.getCurrentRow();
            
            DCIteratorBinding it2 = getBindings().findIteratorBinding("secondIterator");
            ViewObject vo = it2.getViewObject();
            vo.setNamedWhereClauseParam("p_id", row.getAttribute("id").toString());
            vo.executeQuery();
           }
    but I get the old value instead of the new value.

    no idea why this is happening?
    or y at - it another way to get the 'id' of the selected value?
    It is urgent, thank you very much!

    Use this solution in your method first, and then write the code...

    code................

    for example :-{} public void onValueChangeListener (ValueChangeEvent valueChangeEvent)
    FacesContext will involve = FacesContext.getCurrentInstance ();
    valueChangeEvent.getComponent () .processUpdates (contxt);

    DCIteratorBinding it = getBindings () .findIteratorBinding ("firstIterator");
    Line = it.getCurrentRow ();

    It2 DCIteratorBinding is getBindings () .findIteratorBinding ("secondIterator");.
    ViewObject vo = it2.getViewObject ();
    vo.setNamedWhereClauseParam ("p_id", row.getAttribute("id").toString ());
    vo.executeQuery ();
    }

    Popz

    Published by: Popz on 2 April 2013 05:34

  • How to get the selected line in af:inputComboBoxListOfValues

    Hello

    Am on jdev 11.1.1.2.1.

    Uses af:inputComboBoxListOfValues component, I've done the component based on the id of 'service' and the display value is "name of the Department.

    In the value change listener I want to get the id of the selected service, but now I get only the name of the service. (using valueChangeEvent.getNewValue m:System.NET.SocketAddress.ToString (()))

    So is it possible to get the whole line and get the "department id" using that?

    Help, please.


    Thank you
    Hari

    Sorry for the confusion, necessary to check it out:
    This code should work:

        public void nameValueCangeListener(ValueChangeEvent valueChangeEvent) {
            FacesContext contxt = FacesContext.getCurrentInstance();
            valueChangeEvent.getComponent().processUpdates(contxt); // after this the new row is selected!
            BindingContext lBindingContext = BindingContext.getCurrent();
            BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry();
            JUCtrlListBinding list = (JUCtrlListBinding) lBindingContainer.get("YOUR_LIST_BINDING_NAME");
            Row lFromList = (Row)list.getCurrentRow();
            Object lAttribute = lFromList.getAttribute("YOUR_ATTRIBUTE_YUO_WANT_TO_GET");
        }
    

    Timo

Maybe you are looking for