The search filter - how to get the value of the metadata entered by the user

Hello

I wrote a fixUpAndValidateQuery filter where I want to modify search QueryText.

I tried to update some of the metadata values entered by the user and then let the fire search query.
But I'm unable to get the values of metadata user has entered in my java code filter.
I'm getting like below

DocType string = binder.getLocal ("dDocType");

It returns the value "no" even if the user gives the value of the Doctype in the search engine.

Am I missing something here?

Kind regards
Rajendra

Search filters tend to manipulate the query that ends up being called by the search service. If this isn't what you're trying to accomplish there are probably better filters for you before the actual query is run or after the query is executed.

If you really need a connection of database at the moment and you can't find a better filter for what you're trying to do that has a database connection, you can always create one like:

final Provider dbProvider = Providers.getProvider("SystemDatabase");
final Workspace myWorkspace = (Workspace) dbProvider.getProvider();

Warning: If configure you your own db connection for a filter where no database connection is available, you will need TO release the connection too.

myWorkspace.releaseConnection();

Published by: fscherpe on February 16, 2011 06:07

Tags: Fusion Middleware

Similar Questions

  • How to get local values using the API of Java OLAP?

    http://download.Oracle.com/docs/CD/E14072_01/OLAP.112/e10794/overview-summary.html#Vals

    The third part of a unique value is the local value. In the previous example, the local value is CY2001, which is the identifier for the year 2001 in the overall scheme. Java Oracle OLAP API has the classes and methods that you can use to get the local values of dimension members. See the descriptions of the classes MdmPrimaryDimension and MdmDimensionMemberInfo for more information on the unique values and the.

    How to get local values for a dimension or hierarchy or a level using Java OLAP API?

    I can not find how...

    For example, I would like to get the list of members for each level (in my application: countries, States, cities)

    Thanks in advance,
    JP

    The following code assumes that you have an object MdmPrimaryDimension, dimension and a sense of routine, dumpCursor(), that takes an oracle.olapi.data.Source object.

    Find the objects of metadata
    Hierarchy of MdmLevelHierarchy = dimension.getDefaultHierarchy ((MdmLevelHierarchy));
    MdmAttribute localValue = dimension.getLocalValueAttribute ();
    The list of levels of = hierarchy.getLevels ();

    Print the members of each level
    for (MdmHierarchyLevel level: levels)
    {
    System.out.println ("Level" + level.getName ());
    System.out.println ();
    Source querySource = localValue.getSource () .joinHidden (level.getSource ());
    dumpCursor (querySource);
    }

    In general, it is more common to want to print descriptions of members. For this, you can replace

    MdmAttribute localValue = dimension.getLocalValueAttribute ();

    with

    MdmAttribute valueDesc = dimension.getValueDescriptionAttribute ();

    How would you say

    Source querySource = valueDesc.getSource () .joinHidden (level.getSource ());

    For the "description" and "local value".

    Source querySource = localValue.getSource () .join (valueDesc.getSource ()) .joinHidden (level.getSource ());

  • How to get previous value of an attribute in the VOImpl file?

    Hi all
    I want to compare if the current value of the attribute VO A1 is equal to the previous value of the A1 when the value of this attribute A1 gets changed, how to get the previous value of the A1?
    I know that in the VORowImpl file I can use this.getA1 () which returns me the current value of the A1, but I don't know how me may return the previous value?

    Appreciate your help in advance!
    Thank you
    Yvette

    getPostedAttribute the value of the attribute as it was queried from the database.
    Here is an example written in EmployeesImpl

        /**
         * Sets value as the attribute value for Salary.
         * @param value value to set the Salary
         */
        public void setSalary(BigDecimal value) {
            Object attribute = getPostedAttribute((EmployeesImpl.SALARY));
            if(attribute!=null)
                System.out.println("Attribite value " + attribute); //this will give you the value as it was in the data base before you modified it.
            else
                System.out.println("attribute value is null");
            setAttributeInternal(SALARY, value);
        }
    
  • How to get exact values.

    Hi Forum,

    I'm trying to get the page Width and Height of margin as a text in the slug area.

    When I have less pagewidh with pagemargin, I am getting the values in fractions like that.

    for example. 177.43999999.

    When I draw a rectangle box to check the width and height, the spectacle of palette measures exactly like that... 177,44

    How can I get the exact values I see in the measurement palette...

    var myTextFrame = myDocument.textFrames.add ();

    with (myDocument.pages.item (0) .marginPreferences) {}

    Save the current default value of the margin preferences application.

    var myY1 = top;

    var left = myX1;

    var low = myY2;

    var right = myX2;

    Set the default value of the margin preferences application.

    var mWidth = parseFloat (myPageWidth - myX1 - myX2);

    var mHeight = parseFloat (myPageHeight - myY2 - myY1);

    myTextFrame.contents = "Ratio: y = 1.75 x - final size work = (H)" + myPageHeight + "mm (W) x" + myPageWidth + "mm work set at 25% of the final format = (H) 2410mm (W) x 1370mm Live area = (H)" mHeight + "mm (W) x" + mWidth + 'mm'; "

    }

    Thanks in advance for the help...

    Thank you.

    Math.Round () always round to the nearest whole number (integer).  So suggestion of Jarek use Math.round in a particular way... it is not rounded mWidth directly - it is multiplying mWidth by 100, rounded to the nearest integer and then dividing by 100. This gives you exactly 2 decimal places of accuracy.  If you want 1 decimal place, use 10 instead of 100.  If you want 3 decimals, use 1000.

    Point number to a general routine to round off a float to an individual is the number of decimal places:

    rounding to a number of decimal places (tomaxxi)

    Number.prototype.doRound = {function (roundDec)}

    var roundMulit = Math.pow(10,roundDec);

    return Math.round(this*roundMulit) /roundMulit;

    };

    If you put the above code snippet at the beginning of your script, and then in the main part of your script you can just do this:

    mWidth = mWidth.doRound (3);

    If you want to round up more than 3 decimal places.

    As a general rule, you want to only do this in the user interface code, because there is a good chance that the will (in this case mWidth) number of rounding precision, not LOSE GAIN accuracy, when you round to a number of digits after the decimal point. (Explain exactly why this is true, it's a discussion more).

  • As a dynamic form on the form? And how to get their value

    Hi all

    I want to make a form that would be a granular user to choose from a specific list of values to be passed as a parameter. Here is a script, it creates what I need, but the names of radio buttons are not unique. Can you please how to make, at the end of this form (window), I get the value of the selected radiobutton list item?

    #target photoshop
    app.bringToFront();
    var par = Array("Select your choise","test 1","test 2", "test 3");
    
    var rez = ask(par);
    alert(rez)
    
    function ask(par){
    wask = new Window('dialog', '');
    wask.orientation = "column";
    wask.alignment="top";
    wask.spacing=0;
        grs0 =wask.add('group');
        grs0.spacing=0;
        grs0.add('statictext', undefined, par[0]);
        grs0.alignment="top";
        grs0.preferredSize.height = 40;
            grs1 =wask.add('group');
            grs1.spacing=0;
            grs1.alignment="left";
            grs1.preferredSize.height = 20*par.length;
            grs1.orientation = "column";
        for(var i=1;i<par.length;i++){
            var g = grs0 +i;
            r= "rb"+i;
            r = grs1.add("radiobutton", undefined, par[i]);
            r.alignment="left";
            }
    bt1 = wask.add ("button", undefined, "Select");
    bt2 = wask.add ("button", undefined, "Close");
    
    bt1.onClick = function(){
    
    }
    
    wask.show();
    }
    
    
    
    

    I think that there are at least two ways to do something like that. One way would be to give the names of controls. You can find and then by name.

    var par = Array("Select your choise","test 1","test 2", "test 3");
    
    var rez = ask(par);
    if( rez == 1) alert(wask.findElement('rb1').value);
    
    function ask(par){
        wask = new Window('dialog', '');
        wask.orientation = "column";
        wask.alignment="top";
        wask.spacing=0;
        grs0 =wask.add('group');
        grs0.spacing=0;
        grs0.add('statictext', undefined, par[0]);
        grs0.alignment="top";
        grs0.preferredSize.height = 40;
            grs1 =wask.add('group');
            grs1.spacing=0;
            grs1.alignment="left";
            grs1.preferredSize.height = 20*par.length;
            grs1.orientation = "column";
        for(var i=1;i
    

    Another way would be to use an eval statement in the loop that creates the controls. Something like

    var par = Array("Select your choise","test 1","test 2", "test 3");
    
    var rez = ask(par);
    if( rez == 1) alert(wask.rb1.value);
    
    function ask(par){
        wask = new Window('dialog', '');
        wask.orientation = "column";
        wask.alignment="top";
        wask.spacing=0;
        grs0 =wask.add('group');
        grs0.spacing=0;
        grs0.add('statictext', undefined, par[0]);
        grs0.alignment="top";
        grs0.preferredSize.height = 40;
            grs1 =wask.add('group');
            grs1.spacing=0;
            grs1.alignment="left";
            grs1.preferredSize.height = 20*par.length;
            grs1.orientation = "column";
        for(var i=1;i		   
  • How to get 2 values of occurrence of the string?

    Hello

    I have given as below, so I need to get only 2nd value (between - value) and also give me simple ways

    Select 112181-3769-3687 double

    Select 11495-3677-3653 double

    Select 1128-7608-7328 double

    Select 114-3477-3953 double

    Need the output of a

    3769

    3677

    7608

    3477


    So I tried with the query below

    SELECT Substr (Substr ('11495-3677-3653', Instr ('11495-3677-3653', '-') + 1),

                  (Substr ('11495-3677-3653', Instr ('11495-3677-3653', '-') + 1))

    DE    dual

    Getting ORA-00907: missing a closing parenthesis error


    Thank you

    994122 wrote:

    Thank you Kiss,

    the regular expression is not simple code? as below

    regexp_substr (str, ' [^-] +', 1, 2) second_value_regexp_substr

    Anyway thanks Kiss...

    Yes its simple and looks elegant. But when it comes to Normal performance of SQL functions are much better than the regular expression.

  • How to get custom values of the vCenter

    Hi guys

    I need an idea!

    I have for my follow-up to get personalized information about vCenter environment, but are of this info are not in the default CR.

    If my client is a server linux with vSphereCLI installed and the server a W2k8 installed vCenter 4.1.

    My idea was to define a custom on the server vCenter Server attribute and fill it with my technical information.

    Y at - it an option to query this custom value of vCenter, via the CLI from the linux server?

    lusts

    stony007_de

    NP.

    If you find this information useful, please give points to "correct" or "useful".

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware VCP3, 4

    VMware VCAP4-DCA

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • How to get property values to build a specification?

    Hello

    My Build 2013 LabVIEW specification automatically includes some HTML help to target data folder files. This is so because the HTML Help files are configured in the VI Documentation of some of my voluntary initiatives.

    But I would not not for this reason in my application built HTML Help files. To do this, I'll run a VI in the generation of Post process that removes HTML files. So I have to get the destination of my Build specification programmaticaly path.

    Does anyone know, if this is possible? Thank you in advance.

    Kind regards

    Christian

    When you create a VI after generation you have all the information entering the VI. What is the problem with this information?

    If you don't know how to create a post-build VI, look at the page actions of generation after in the configuration settings.

  • How to get all values when using IN paragraph?

    Hi all

    create the table test_case

    as

    Select ' AB-101' ord_no, to_date('06/17/2015','mm/dd/yyyy') dr_date, dr_type 'AB', 'ABC' double dr_name.

    Union of all the

    Select ' AB-100', to_date (' 17/04/2015 ',' mm/dd/yyyy'), 'AB', ' ABC' of the double

    Union of all the

    Select '124', to_date (' 06 / 07/2015 ', ' dd/mm/yyyy'), 'BB', 'BBA' from dual

    Union of all the

    Select '123', to_date (' 06 / 07/2015 ', ' dd/mm/yyyy'), 'BB', 'BBA' from dual

    Union of all the

    Select '145', to_date (' 06 / 07/2015 ', ' dd/mm/yyyy'), 'CC', "CCA" to double

    Union of all the

    Select '144', to_date (' 06 / 07/2015 ', ' dd/mm/yyyy'), 'CC', "CCA" to double

    Getting output

    AB-10117/06/2015ABABC
    AB-10017/04/2015ABABC
    12406/07/2015BBBBA
    12306/07/2015BBBBA
    14506/07/2015CCCOMMON COUNTRY ASSESSMENT
    14406/07/2015CCCOMMON COUNTRY ASSESSMENT

    Expected O/p

    Select max (ord_no), max (dr_date), max (dr_type), max (dr_name) of

    where test_case

    and dr_type in('AB','BB','CC')

    I have to use dr_type in ('AB', 'BB', 'CC')

    AB-10117/06/2015ABABC
    12406/07/2015BBBBA
    14506/07/2015CCCOMMON COUNTRY ASSESSMENT

    Are there opportunities to use CASE?

    Hello

    Rajesh123 wrote:

    Hi all

    create the table test_case

    as

    Select ' AB-101' ord_no, to_date('06/17/2015','mm/dd/yyyy') dr_date, dr_type 'AB', 'ABC' double dr_name.

    Union of all the

    Select ' AB-100', to_date (' 17/04/2015 ',' mm/dd/yyyy'), 'AB', ' ABC' of the double

    Union of all the

    Select '124', to_date (' 06 / 07/2015 ', ' dd/mm/yyyy'), 'BB', 'BBA' from dual

    Union of all the

    Select '123', to_date (' 06 / 07/2015 ', ' dd/mm/yyyy'), 'BB', 'BBA' from dual

    Union of all the

    Select '145', to_date (' 06 / 07/2015 ', ' dd/mm/yyyy'), 'CC', "CCA" to double

    Union of all the

    Select '144', to_date (' 06 / 07/2015 ', ' dd/mm/yyyy'), 'CC', "CCA" to double

    Getting output

    AB-101 17/06/2015 AB ABC
    AB-100 17/04/2015 AB ABC
    124 06/07/2015 BB BBA
    123 06/07/2015 BB BBA
    145 06/07/2015 CC COMMON COUNTRY ASSESSMENT
    144 06/07/2015 CC COMMON COUNTRY ASSESSMENT

    Expected O/p

    Select max (ord_no), max (dr_date), max (dr_type), max (dr_name) of

    where test_case

    and dr_type in('AB','BB','CC')

    I have to use dr_type in ('AB', 'BB', 'CC')

    AB-101 17/06/2015 AB ABC
    124 06/07/2015 BB BBA
    145 06/07/2015 CC COMMON COUNTRY ASSESSMENT

    Are there opportunities to use CASE?

    If you want a separate line of output for each distinct value of dr_type, then use GROUP BY dr_type.

    For example:

    SELECT MAX (ord_no) AS max_ord_no

    MAX (dr_date) AS max_dr_date

    , dr_type - no need to MAX here

    MAX (dr_name) AS max_dr_name

    FROM test_case

    WHERE dr_type IN ('AB', 'BB', 'CC')

    GROUP BY dr_type

    ;

  • How to get no value zero to a data set

    Here is my SQL statements:

    WITH T1
         AS (SELECT 'i1' ITEM,
                    'L1' LOC,
                    SYSDATE - 7 DAT,
                    0 QTY
               FROM DUAL
             UNION ALL
             SELECT 'i1' ITEM,
                    'L1' LOC,
                    SYSDATE DAT,
                    100 QTY
               FROM DUAL
             UNION ALL
             SELECT 'i1' ITEM,
                    'L1' LOC,
                    SYSDATE + 7 DAT,
                    0 QTY
               FROM DUAL
             UNION ALL
             SELECT 'i1' ITEM,
                    'L1' LOC,
                    SYSDATE + 14 DAT,
                    20 QTY
               FROM DUAL
             UNION ALL
             SELECT 'i1' ITEM,
                    'L1' LOC,
                    SYSDATE + 21 DAT,
                    10 QTY
               FROM DUAL
             UNION ALL
             SELECT 'i1' ITEM,
                    'L1' LOC,
                    SYSDATE + 28 DAT,
                    0 QTY
               FROM DUAL
             UNION ALL
             SELECT 'i2' ITEM,
                    'L2' LOC,
                    SYSDATE DAT,
                    0 QTY
               FROM DUAL
             UNION ALL
             SELECT 'i2' ITEM,
                    'L2' LOC,
                    SYSDATE + 28 DAT,
                    0 QTY
               FROM DUAL
             UNION ALL
             SELECT 'i3' ITEM,
                    'L3' LOC,
                    SYSDATE DAT,
                    10 QTY
               FROM DUAL
             UNION ALL
             SELECT 'i3' ITEM,
                    'L3' LOC,
                    SYSDATE + 28 DAT,
                    0 QTY
               FROM DUAL
             UNION ALL
             SELECT 'i3' ITEM,
                    'L3' LOC,
                    SYSDATE DAT,
                    230 QTY
               FROM DUAL)
    SELECT *
      FROM t1;
    

    Current output

    Capture.PNG

    Expected results:

    Capture1.PNG

    Logic:

    For a point order and the particular location by date (ascending order) first non - zero qty column should be filled with zero qty column

    for example,.

    For i1 and Loc l1 point, we have 6 entries and Jan 07, Jan 21st and Feb 11 we have zero quantities and Jan 14th, 28 Jan and Feb 04 have non - zero quantities, when all of this is stopped by date, amount of 14 Jan must stem from Jan 07, Jan 28 should be established on 21st January and Feb 11 is to have zero quantity but there is no record found after that if she should remain such what.

    Similar logic for all other combinations

    What I tried: I tried to realize using first_value analytic function that is not just my output

    Thank you for your help in advance

    It is a bit of a hack, but how about...

    -case when qty = 0 then nvl (lead (decode (qty, 0, to_number (null), qty) ignore nulls) over (partition by element, loc in order of dat), 0) other end qty

  • How to get a value hexvalue or RGB to a location?

    HY

    I would like to organize my works with colored dots in the same place in all the images that I have to work with.

    But I need a method for indentificate the color of the points at a specific location to get things happened.

    It's the method I've tried, without success...

     for (var i=0; i<doc.colorSamplers.length; i++) {
            doc.colorSamplers[i].remove();
        }
        var sampler = doc.colorSamplers.add([x, y]);
       }
     if (sampler.color.rgb.hexValue === "ff0000") {
    
      //prescripted actions 
        }
    

    Thank you

    #target photoshop;
    
    app.activeDocument.colorSamplers.removeAll();
    var doc = activeDocument;
    var x =10;
    var y = 10;
    var sampler = doc.colorSamplers.add([x, y]);
    if (sampler.color.rgb.hexValue == "ff0000") {
          //prescripted actions
            } else{
            alert("Colour is " + sampler.color.rgb.hexValue);
            }
    
  • Sam S300 - how to get full Supervisor Password Prompt to enter BIOS?

    Have a Satellite PRO S300 (PSSB0A - 06500T), who is with Stop 7B BSOD-ing and I go into the solid part of the BIOS so I can reset the boot order to allow me to re - install Win XP.

    ESC - F1 puts me right in the small part of Page 1 of the ACPI BIOS configuration. I know the supervisor password! So, how do to a password prompt that will allow me in the two pages of the configuration of the BIOS.

    I tried F12 at startup to enter the boot options on the Toshiba splash screen, but it does not work.

    I think you hold a key in the market. Try holding the "INS" key to get the supervisor password to appear prompt.

  • How to get the checkbox value when value list changed in the classic report

    Hello
    I worked with apex 4.2 and I create normal classic report with a checkbox column and a single column change to select list (named loved) now, when I want change to user list
    take the value of the checkbox element and display it in the message.

    SQL for the report

    {
    SELECT
    "" "< INPUT TYPE ="checkbox"NAME ="f01"VALUE =" "
    || SEQ
    |'">"SEQ, "
    ID,
    DEPT_NO,
    EMP_NAME} I change the column attributes of Dept_NO to display as the selection of the name of the Department (named lov) list.

    now, I want when change of user name of the Department, the value of the MESSAGE ALERT SHOW IN SEQ

    I create JavaScript on the page

    function test (pThis) {}
    var f01_value = $('select[name="f01"]').value;

    Alert ("#SEQ:" + f01_value);

    }
    < /script >
    I call this javascript function when the change in the list, but the value undefined...

    My Question:

    How can get this value or any value of the point in reports

    concerning
    Ahmed

    Hello
    Check your page now.

    As mentioned earlier, you must use APEX_ITEM. CHECKBOX2.

    APEX_ITEM.CHECKBOX2(2,EMP.EMPNO,null,null,null,'f02_'||lpad(ROWNUM,4,'0')) NO,
    

    And the javascript function will be

    
    

    You cannot use $v to get the value of the checkbox element such that it works differently for the boxes, see http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/javascript_api.htm #BGBGDGIH.
    Therefore, you use the jQuery val().

    See you soon,.

  • How to get the internal values of Photoshop one ID assigned

    I have difficulties to obtain values for the internal settings.  It's less hard to set, you can use the Listener Script to get the code to use.  Presumably, you use executeActionGet() with an ActionReference.  The problem is to know how to build the ActionReference.  It doesn't seem to be a lot of documentation on that.

    My immediate problem is how to get the parameters of the 3D camera. I know this requires Photoshop Extended, but the principle must be the same.  This code sucessfully defines these parameters:

    < code >

    function setPhotoshopCamera (angleX, angleY, angleZ, posX, posY, posZ) {}
    Camera
    var idGet3DCamera = stringIDToTypeID ("get3DCamera");
    var idSet3DCamera = stringIDToTypeID ("set3DCamera");
    var descCamera = new ActionDescriptor();

    Camera position
    var idKey3DCurrentCameraPosition =
    stringIDToTypeID ("key3DCurrentCameraPosition");
    var descCameraPosition = new ActionDescriptor();

    var idkeythreeDXPos = stringIDToTypeID ("key3DXPos");
    descCameraPosition.putDouble (idkeythreeDXPos, posX);
    var idkeythreeDYPos = stringIDToTypeID ("key3DYPos");
    descCameraPosition.putDouble (idkeythreeDYPos, posY);
    var idkeythreeDZPos = stringIDToTypeID ("key3DZPos");
    descCameraPosition.putDouble (idkeythreeDZPos, posZ);
    var idkeythreeDXAngle = stringIDToTypeID ("key3DXAngle");
    descCameraPosition.putDouble (idkeythreeDXAngle, angleX);
    var idkeythreeDYAngle = stringIDToTypeID ("key3DYAngle");
    descCameraPosition.putDouble (idkeythreeDYAngle, angleY);
    var idkeythreeDZAngle = stringIDToTypeID ("key3DZAngle");
    descCameraPosition.putDouble (idkeythreeDZAngle, angleZ);
    descCamera.putObject (idKey3DCurrentCameraPosition,
    (idKey3DCurrentCameraPosition, descCameraPosition);

    These must be defined in the ActionDescriptor to make it work,

    // , but we do not have them
    var idkeythreeDCurrentFStop = stringIDToTypeID ("key3DCurrentFStop");
    descCamera.putDouble (idkeythreeDCurrentFStop, 0.000000);
    var idkeythreeDCurrentFDist = stringIDToTypeID ("key3DCurrentFDist");
    descCamera.putDouble (idkeythreeDCurrentFDist, 0.500000);
    var idkeythreeDCurrentFocalPointX = stringIDToTypeID ("key3DCurrentFocalPointX");
    descCamera.putDouble (idkeythreeDCurrentFocalPointX, 0.500000);
    var idkeythreeDCurrentFocalPointY = stringIDToTypeID ("key3DCurrentFocalPointY");
    descCamera.putDouble (idkeythreeDCurrentFocalPointY, 0.500000);
    var idkeythreeDCurrentFOV = stringIDToTypeID ("key3DCurrentFOV");
    descCamera.putDouble (idkeythreeDCurrentFOV, 30.000000);
    var idkeythreeDOrthographic = stringIDToTypeID ("key3DOrthographic");
    descCamera.putBoolean (idkeythreeDOrthographic, false);
    var idkeythreeDOrthographicScale = stringIDToTypeID ("key3DOrthographicScale");
    descCamera.putDouble (idkeythreeDOrthographicScale, 6.928203);
    var idkeythreeDViewIndexString = stringIDToTypeID ("key3DViewIndexString");
    descCamera.putString (idkeythreeDViewIndexString, "");
      


    var / / desc = executeAction (idSet3DCamera, descCamera, DialogModes.ALL);
    return of ESCR;
    }

    < code >

    The problem is that it does not work unless you also set the lower elements.  I want to leave what they are currently defined, but I don't know how to get these values.  Apart from that, I'll get the values of position of camera beforehand.  9 ID, string or otherwise, this should be necessary are known from the top.

    I assume you are using something like:

    < code >

    Var ref = new ActionReference();
    ref.putIndex (idkeythreeDCurrentFStop, idkeythreeDCurrentFStop);
    var / / desc = executeActionGet (ref);
    < code >

    However, I was unable to get something to work.  I am not sure

    1. That of the putXXX method to use.
    2. What to use for the desiredClass, which is the first argument.

    Any help would be appreciated.

    That you will get the 3DCurrentCameraPositon

    var ref = new ActionReference();
    ref.putEnumerated( zTID("Lyr "), zTID("Ordn"), zTID("Trgt") );
    var desc = executeActionGet(ref).getObjectValue(stringIDToTypeID('layer3D')).getObjectValue(stringIDToTypeID('key3DState')).getObjectValue(stringIDToTypeID('key3DCurrentCameraPosition'));
    

    Which returns a descriptor with the following keys.

    Key 0 = key3DXPos: DescValueType.DOUBLETYPE
    1 key = key3DYPos: DescValueType.DOUBLETYPE
    2 = key3DZPos key: DescValueType.DOUBLETYPE
    3 = key3DXAngle key: DescValueType.DOUBLETYPE
    Key 4 = key3DYAngle: DescValueType.DOUBLETYPE
    5 = key3DZAngle key: DescValueType.DOUBLETYPE

    At least with my sample 3D layer. I don't really do a lot with the 3D, so there may be other keys.

  • How to get the value of the point messagetextInput with attr 'secret' to the value 'true '.

    Hi all
    I create a messagetextInput item and set its 'secrets' attribute to "true".
    When I want to get its value to help
    OAMessageTextInputBean = newPwdBean1
    (OAMessageTextInputBean) webBean.findChildRecursive ("NewPwd1");
    newPwd1 = (String) newPwdBean1.getValue (pageContext);

    It returns null.

    Could someone tell me please how to get its value?

    I did the same to help
    Password String = (String) pageContext.getParameter ("");

    Thank you

Maybe you are looking for

  • Satellite A200 - white screen and gel

    Hi Experts, I have this machine for 2 years. It was no problem. Last month, he began to display a white screen, and at the same time, it has been frozen after 3-4 hours running. Push the power button to restart, it fozen soon. I replaced a new fan an

  • code for a battery 9 cells

    Hi all! Sorry for my English.I am looking for the product code for a battery 9 cells for Lenovo T420 4236-W8Y. Can someone help me?Thank you

  • Install Vista disk and removing an OEM version

    Hello I have a Dell Windows laptop that was purchased as an element used by a PC conservator who has installed an OEM version. This has been great so far, the laptop is on its last breath and I bought a disc of Windows Vista complete with its PK. I b

  • make contacts on my Z3 experia during a call

    I don't seem to be able to enter in my contacts any more while making a call somehow do?

  • Vista is not using my default monitor.

    I have VISTA 32 and I use an Acer H series LCD monitor, all software and drivers installed. When I go to customization under display settings, for the monitor, it shows "1. Generic PNP monitor on ATI Radeon HD 4300/4500 Series.  On the drop-down menu