Setting Value of Static Const

Hi,
I want to set the value of a static const to a localised string...
public static const DEFAULT_PROPERTY_NAME:String =
      ResourceManager.getInstance().getString(
        'strings', 'myVar');
But it is always null...

If this compiles, then the problem is that the ResourceManager is loaded with resources AFTER the static initializatino of this class occurs. You'll probalby have the same problem if you make it a static var and initialize it in the declaration of the var. However, you could make it a static var (or maybe even a static const) and initialize in the constructor of the first instance, with code like
public MyClass()
    if (DEFAULT_PROPERTY_NAME == null)
        DEFAULT_PROPERTY_NAME = ResourceManager.getInstance().getString('strings', 'myVar');
By the time you are constructing instances, the ResourceManager should be loaded with resources.
Gordon Smith, Adobe

Similar Messages

  • X-axis values - Set values based upon constant date

    I am creating a line graph.   I am plotting based upon date/time.   I'd like to use a constant date across the x-axis.  IE 8:00, 8:15, 8:30.   Within the constant value there could be many points or no points.   For example there could be a point at 8:01, 8:02, 8:05 and then a point at 8:35.   Along the x-axis the label should remain constant at 8:00, 8:15...
    Any ideas?

    Hi,
    use the chart engine for creating your graph. When requiring a horizontal time axis you have to use the chart type TimeScatter.
    Download the SAP Chart Designer (SDN - Downloads - WebAS) and see the included pdf document that describes how to structure your data XML.
    Demo reports are GRAPHICS_GUI_CE_DEMO and GRAPHICS_IGS_CE_TEST.
    Regards, Kai

  • Default values for static report parameters are not visible when scheduling

    Hello
    Crystal Reports 2008 Dev
    Crystal Reports Server 2008
    When I publish a report to the repository and then try to schedule that report, the default value that I have set for a static parameter in the report is not visible.
    In the Parameters section of the Scheduling wizard this parameter is marked as [EMPTY]
    However, when I View the report (right click and select View) from within Infoview, the parameter default value is visible
    I have published in the following 3 ways:
    Publishing Wizard
    File > Save As > Enterprise from withing Crystal Reports Dev
    CMC > Folders > Add > Crystal Reports
    The results are the same for each method of publishing.
    To try to eliminate any DB issues etc i have created a report that is not attached to a datasource. 
    This test report has one Static parameter. 
    I have set 3 values for its list: Entry A, Entry B, Entry C
    Entry X is set as the parameter Default Value
    The parameter is placed in the details section of the report
    When the report is Viewed it will prompt for parameter entry, with the default value present
    When I try to schedule the report is will not have an entry for its parameter
    It seems to me that the default values for parameters should be retained from report design through to report schedule, especially when the default values are retained from report design to report View
    Is this a config problem that i have ?
    Can anyone help me with this ?
    Best regards
    Patrick Coote
    Edited by: PATRICK COOTE on Oct 2, 2008 2:08 PM
    Edited by: PATRICK COOTE on Oct 3, 2008 9:23 AM

    Hi Robert
    Thanks for the reply and apologies for not responding sooner.
    What i have found is that if i use Publishing Wizard to upload reports it is then possible to set values for prompts during the last step of this process.
    Although this is a bit clumsy, it is sufficient for now
    Best regards
    Patrick

  • How to set values to unniverse prompts through java

    Hi
    I am using JAVA -BOSDK to access reports from infoview. I have a problem when any universe level prompt is present in the report. I am able to retrieve it through java when i say documentInstance.getPrompts() and when i set values to this prompt by Prompt.enterValues(String[] parameters) and then either save the report or saveAs another report , my new values dont get applied to the prompt. Only previous values get applied to the prompt. I checked doing prompt.getPreviousValues and prompt.getCurrentValues but when i save the doc then new values are not set.
    here is a part of code iam using: the filterlist contains the ConditionFilterDataItems objects which contain the operands,operator and queryObjectName .I have added multiple prompt.getPrevious and current values for debug purpose.
    private static void applyValuesToUniversePrompt( final DocumentInstance doc, final List filterList )
            final DataProviders dps = doc.getDataProviders() ;
            final DataProvider dataProvider = dps.getItem( 0 ) ;
            final Query query = dataProvider.getQuery() ;
            Prompts newPrompts = doc.getPrompts();
            Prompt newprompt = newPrompts.getItem( 0 );
            newprompt.getPreviousValues();
            newprompt.getCurrentValues();
            final ConditionContainer conditioncont = (OMConditionContainer) query.getCondition() ;
            ConditionFilterDataItem conditionFilterDataItem = null ;
            final Map promptMap = generateInstanceMap( doc ) ;
            //Prompt [] promptArr ;
            for( int i = 0 ; i < filterList.size() ; i++ )
                conditionFilterDataItem = (ConditionFilterDataItem) filterList.get( i ) ;
                final String [] operands = conditionFilterDataItem.getFilterOperand() ;
                PromptsImpl univPrompts = (PromptsImpl)doc.getPrompts();
                Prompt [] promptArr = new Prompt[univPrompts.getCount()];
                for(int k= 0;k< univPrompts.getCount();k++)
                     promptArr[k] =(Prompt) univPrompts.getItem( k );
                if(univPrompts.getCount()==0)
                    promptArr=null;
              if(promptArr!=null)
                for( int j = 0 ; j < promptArr.length ; j++ )
                    final Prompt prompt = promptArr [j] ;
                    final String promptName = prompt.getName() ;
                    final Prompt currentPrompt = (Prompt) promptMap.get( promptName ) ;
                    if( operands [j] != null )
                        currentPrompt.getPreviousValues();
                        currentPrompt.getCurrentValues();
                        currentPrompt.removeValues( currentPrompt.getPreviousValues() );
                        currentPrompt.enterValues( convertStringToArray( operands [j] ) ) ;
                        currentPrompt.getPreviousValues();
                        currentPrompt.getCurrentValues();
                        doc.setPrompts();
                        newPrompts = doc.getPrompts();
                        newprompt = newPrompts.getItem( 0 );
                        newprompt.getPreviousValues();
                        newprompt.getCurrentValues();
            //doc.setPrompts() ;
            doc.refresh();
            doc.save();
            newPrompts = doc.getPrompts();
            newprompt = newPrompts.getItem( 0 );
            newprompt.getPreviousValues();
            newprompt.getCurrentValues();
           // dataProvider.runQuery() ;
            doc.refresh();
            doc.saveAs( "universePrompt2",7148,null,null ) ;
             doc.closeDocument() ;
    private static Map generateInstanceMap( final DocumentInstance document )
            final Map promptMap = new HashMap() ;
            final Prompts prompts = document.getPrompts() ;
            int count ;
            if( prompts != null )
                count = prompts.getCount() ;
                for( int i = 0 ; i < count ; i++ )
                    final Prompt prompt = prompts.getItem( i ) ;
                    promptMap.put( prompt.getName(), prompt ) ;
            return promptMap ;

    Hi Shruti,
    Can U kindly refer this [thread|BusinessObjects Enterprise Java Software Development Kit (SDK) ??; and reply back.
    Would appreciate your efforts !!!

  • Oracle proc Pro*C, g++/c++ compile error due to static const unsigned int sqlctx

    I'm using Oracle 8.1.6 for Linux, and 7.3.4 on HP-UX. Compiler is gcc/g++ 2.95.2
    In working with the Oracle precompiler on both HPUX and Linux, I've found a problem with the way that the Linux precompiler generates the sqlctx variable.
    On linux, the following is generated when you run the precompiler:
    static const unsigned int sqlctx = 1;
    However, on HPUX, this is the corresponding code:
    static unsigned long sqlctx = 10673468;
    When you compile the Linux version with g++/c++ or aCC, you get fatal errors of this nature:
    SQLSubsystem.cpp:562: passing `const unsigned int *' as argument 2 of `sqlcxt(void **, unsigned int *, sqlexd *, const sqlcxp *)' discards qualifiers
    Is there a way to force the output of proc to leave off the const?
    If you view the binary file proc, you can find the static unsigned int string listed. So I think it may be an option. However, I can't seem to turn it on.
    Thanks-
    Matt Wright

    As for sqlctx:
    sqlctx is a module identifier variable. i.e. if your project consists of multiple modules, each sqlctx should have different value.
    I have seen this error only on Linux Pro*C starting of 8.1.5 version (have not tested 8.0.5 nor 8.1.6).
    Anyway, I really can not understand why this error is not patched already.
    As for constness:
    I can not tell if there is an option which would solve such issue. I can only advise not to use -Werror option of gcc. It generates about 4-5 warnings per module, but it works ;-))

  • PreparedStatement Can't set value at index 1 null

    I've never had this situation before, but I am unable to set a value at the first position of the PreparedStatement.
    System.out.println("The value = " + this.valueId);  // Prints -- The value = 479
    statement.setInt(1, valueId);
    statement.setInt(2, valueId);
    System.out.println(statement.toString());
    // Prints - "INSERT INTO table SET value = null, value_two = 479"wtf? Why am I losing the value at the first index.. Note that I am using prepared statements without error in other places of my program and I am able to set the first index with the proper value. But this, I'm stumped. I don't know how to debug this. If anyone could shed some light, let me know under what circumstances I might not be able to set a value to the first index of a prepared statement.. I'd be grateful. Thanks.

    Thank you for your response. Yes that was myoversight when I posted. Indeed I have tried it both
    ways, with and without the "this" in the System print
    and the set statement. Currently my code appears as
    System.out.println("The value = " + this.valueId);
    statement.setInt(1, this.valueId);
    statement.setInt(2, this.valueId);Thanks again.
    is the parameter the wrong type?
    if possible can you call getParameterMetaData();
    ParameterMetaData pmd = statement.getParameterMetaData();
    for(int i=1;i<=pmd.getParameterCount();i++){
      System.out.println("Meta Data for Parameter "+i);
      System.out.println("Parameter Type Name "+pmd.getParameterTypeName(i));
      System.out.println("Parameter SQL TYPE "+pmd.getParameterType(i));
       This should return the same for both. Otherwise we have a problem.
        You can look up the constants here http://java.sun.com/j2se/1.4.2/docs/api/constant-values.html#java.sql.Types.ARRAY
    }

  • Use reflection to access static constant

    I have a class with a static constant value. Can somebody show me to access the constant value using reflection.
    Thanks
    Regards,
    Stephen

    I have class
    public class one{
    public static final String TABLE_KEY = "something";
    to access the class
    one.class.getField(">>what to put here<<") it's static method don't hv any getter method???

  • Again and Again. Set Value to node of XML document

    I've read many topics about how to set value in XML, but nothing works. Please, help
    My xml file:
    <TempEditData>
         <parameter userId="testUserId">
              <connectUrl>http://cognoslink</connectUrl>
              <connectUser>cognosTestUser</connectUser>
              <connectPwd>cognosPassword</connectPwd>
              <connectNamespace>cognosNamespace</connectNamespace>
              <reportStorePath>reportStorePath</reportStorePath>
              <reportUrlPath>reportUrlPath</reportUrlPath>
              <reportLifeLength>reportLifeLength</reportLifeLength>
         </parameter>
    </TempEditData>My code:
    private static void storeChartDataBeanParameters( String inputUserId) throws Exception{
              boolean isUserIdInFile = false;
              //create object
              DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
            DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
            Document doc = docBuilder.parse (new File("src/tempCognosEditData.xml"));
            //normalize
            doc.getDocumentElement().normalize ();
            //get all Nodes
            NodeList listOfParameters = doc.getElementsByTagName("parameter");
            for(int i=0; i< listOfParameters.getLength(); i++){
                 Node firstParameterNode = listOfParameters.item(i);
                 //if first element is NODE
                if(firstParameterNode.getNodeType() == Node.ELEMENT_NODE){
                    Element firstParameterElement = (Element)firstParameterNode;
                    String userId = firstParameterElement.getAttribute("userId");
                    //if !inputUserId
                    if(!inputUserId.equals(userId)){
                         continue;
                    //if userId was found in file
                    else{
                         isUserIdInFile = true;
                         System.out.println("((Element)firstParameterElement).getElementsByTagName('connectUrl').item(0).getNodeName = " + ((Element)firstParameterElement).getElementsByTagName("connectUrl").item(0).getNodeName());
                         System.out.println("((Element)firstParameterElement).getElementsByTagName('connectUrl').item(0).getNodeValue = " + ((Element)firstParameterElement).getElementsByTagName("connectUrl").item(0).getNodeValue());
                         ((Element)firstParameterElement).getElementsByTagName("connectUrl").item(0).appendChild(doc.createTextNode("dzfgsdfgsdgf"));
                         /*NodeList insideList = firstParameterElement.getElementsByTagName("connectUrl");
                         Element element = (Element)insideList.item(0);
                         System.out.println ( "element.getNodeName() = " + element.getNodeName() );
                         element.setNodeValue("new TT");
                         System.out.println ("element.getNodeValue() = " + element.getNodeValue() );
                         //element.appendChild(doc.createTextNode("rrr"));
                         NodeList nl = element.getChildNodes();
                         System.out.println ("nl.item(0).getFirstChild().getNodeValue() = " + nl.item(0).getFirstChild().getNodeValue());
                         nl.item(0).getFirstChild().appendChild(doc.createTextNode("rrr"));*/
                                    break;
                }//if ELEMENT_NODE
            }//for go through all nodes
         }Edited by: Holod on 03.03.2008 8:58

    So, the solution is pretty easy:
    storeChartDataBeanParameters( String inputUserId) searches for nodes named "+parameter+" in xml file with attribute "+userDd+".
    If method parameter equals to xml data, I perform some operations and save new data.
    The only thing, that saveFile(Document doc) must be syncronized.
    Two users can't write to fie at the same time.
    [This link|http://www.aviransplace.com/2005/03/20/working-with-xml-files-in-java-using-dom/5/] helped me alot.
    Also Dr. Clap posts in different topics brought evidence to my mind.
    private static void storeChartDataBeanParameters( String inputUserId) throws Exception{
              //create object
              boolean isUserIdWasFound = false;
              DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
            DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
            Document doc = docBuilder.parse (new File("src/tempCognosEditData.xml"));
            //normalize
            doc.getDocumentElement().normalize ();
            //get all Nodes
            NodeList listOfParameters = doc.getElementsByTagName("parameter");
            for(int i=0; i< listOfParameters.getLength(); i++){
                 Node firstParameterNode = listOfParameters.item(i);
                 //if first element is NODE
                if(firstParameterNode.getNodeType() == Node.ELEMENT_NODE){
                    Element firstParameterElement = (Element)firstParameterNode;
                    String userId = firstParameterElement.getAttribute("userId");
                    //if !inputUserId
                    if(!inputUserId.equals(userId)){
                         continue;
                    //if userId was found in file
                    else{
                         isUserIdWasFound = true;
                         NodeList parameterNode = firstParameterElement.getElementsByTagName("connectUrl");
                         Element connectUrlElement = (Element)parameterNode.item(0);
                         System.out.println("connectUrlElement name = " + connectUrlElement.getNodeName());
                         System.out.println("connectUrlElement value = " + connectUrlElement.getNodeValue());
                         System.out.println("((Node)connectUrlElement) value = "+((Node)connectUrlElement).getNodeValue());
                         ((Node)connectUrlElement.getFirstChild()).setNodeValue("normalized");
                         saveFile(doc);
                         break;
                }//if ELEMENT_NODE
            }//for go through all nodes
         public static void main(String[] args) throws Exception{
              storeChartDataBeanParameters("testUserId");
         public static void saveFile(Document doc) throws Exception{
              Transformer transformer;
              transformer = TransformerFactory.newInstance().newTransformer();
              transformer.transform(new DOMSource(doc), new StreamResult(new File("src/tempCognosEditData.xml")));
         }Edited by: Holod on 03.03.2008 15:52

  • Enter a value using set value dynamic action

    Hi,
    I'm using Oracle 11g XE with apex 4.0.2.
    I've been trying to use a dynamic action on a text field 'item_group'. Button doesn't have this facility. I created an advanced action using 'set value' with no condition the value being 'RAM.' The event is "change", selection type 'event source', set type is 'static assignment' and value is RAM. It is supposed to trigger when the create button is pressed but nothing happens and the field is still null. I've tried variations on this but nothing works. Can anyone help.
    Thanks
    Tim

    are you looking dynamic sql ?
    Refer this
    http://docs.oracle.com/cd/B10500_01/appdev.920/a96590/adg09dyn.htm

  • Lost value of a constant

    In the spec part of a package I define
    c_GTCON50_S CONSTANT VARCHAR2(1):='S';
    In a procedure in the body part I do:
    INSERT INTO IGIC_DECE_400_11_INCIDENCIAS
    ( ID_DECE_INCI, ID_DECE_400, COD_DECE_INCI,
    COD_DECE_NIVI, ACTIVA_INCIDENCIA,
    FECHA_INICIO_SIT_TRIB, FECHA_FIN_SIT_TRIB )
    VALUES
    ( GTSEQU_INCI.nextval, p_id_DECE400, p_incidencia,
    p_codDeceNivi, c_GTCON50_S, NULL, NULL );
    Do you see? I INSERT that constant... But when I inspect what I have in the table, I can see that record but the field corresponding to the constant IS NULL ??????
    Why?
    What's the reason for that "lost value" of a constant?
    This procedure of the package with that INSERT is executed by another package..
    I don't know if it is a clue...
    Edited by: pacoKAS on 31-mar-2010 14:13

    pacoKAS wrote:
    Thank you for your interest...
    But my CONSTANT is ONLY defined in the specification section of the package.... The "invoking" package has not defined a CONSTANT with the same name....A constant cannot be changed.
    SQL> create or replace package MyLibrary is
      2
      3          MY_CONSTANT     constant varchar2(5) := 'fixed';
      4
      5  end;
      6  /
    Package created.
    SQL>
    SQL>
    SQL> -- cannot change its value
    SQL> exec MyLibrary.MY_CONSTANT := 'gotya';
    BEGIN MyLibrary.MY_CONSTANT := 'gotya'; END;
    ERROR at line 1:
    ORA-06550: line 1, column 17:
    PLS-00363: expression 'MYLIBRARY.MY_CONSTANT' cannot be used as an assignment target
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    SQL>
    There is a reason for the "loss of value" of the constant...
    But I don't know that reason....It cannot loose the value. Not possible. As shown above, you cannot change the variable's value - the reserve word "+constant+" does not allow it.
    The only other explanation is scope - you think you are referring to that constant, but within the current code unit's scope, the reference is to another variable. And that's the value that you see.
    This is of course assuming that you are diagnosing the problem correctly. A trigger could be responsible for changing the row's column value set by that constant via the INSERT statement. There could be an error (constraint violation for example) that is suppressed - so it seems that a row with that constant value is inserted, when it is not the case. Etc.

  • Static const int attributes and template functions

    The following does not link with CC on Solaris9. From what I can glean from the standards committee's notes it looks like it should and it compiles and links fine with g++. If I use a cast in the function call: ("foo((int)B::X)") then it links. If I move the static initialization out of the class definition then it works as well. Should we expect this to work or not?
    #include <iostream>
    class B
    public:
    static const int X = 42;
    template< typename T > void foo( const T& t ) { std::cout << t << std::endl;}
    int main()
    foo(B::X);
    }

    The C++ rule (C++ Standard, section 9.4.2 paragraph 4) is that a static const data member of integral type can have an in-class initializer, and the value can be used in integral constant expressions. But if the data member is used, it must be defined outside the class without an initializer. If gcc allows the code, it is by accident. Some other compilers (apart from Sun C++) do not.
    Add the line
    const int B::X;
    somewhere at global scope (or at namespace scope if B is in a namespace) after the declaration of class B. But you can't put this definition in a header file. The entire program must have exactly one definition of the static member.

  • Dynamic action with set value on date field

    Hi,
    I'm using APEX 4.02
    I'm trying to calculate the age based on the date of birth dynamically on a form. I'm trying to do this with a (advanced)dynamic action with set value.
    I'm able to get this kind of action working based on a number field etc, but NEVER on a date field.
    I've read all posts on this subject but so far no solution. Even if I try to simply copy the value over to another date field or typecast it to a string ( to_char function ) it does not work. So for me the problem seems to be in the source field being a date field.
    I've tried using the source value as is in a select statement :
    select :P33_GEBOORTEDATUM from dual;
    and also type casted based on the date format :
    select TO_DATE(:P33_GEBOORTEDATUM,'DD-MON-YYYY') from dual
    but still no luck.
    On the same form I don't have any issues as long as the calculation is based on number fields, but as soon as I start using dates all goes wrong.
    Any suggestions would be greatly appreciated. If you need any extra info just let me know.
    Cheers
    Bas
    b.t.w My application default date format is DD-MON-YYYY, maybe this has something to do with the issue .... ?
    Edited by: user3338841 on 3-apr-2011 7:33

    Hi,
    Create a dynamic action named "set age" with following values.
    Event: Change
    Selection Type: Item(s)
    Item(s): P1_DATE_OF_BIRTH
    Action: Set value
    Fire on page load: TRUE
    Set Type: PL/SQL Expression
    PL/SQL Expression: ROUND( (SYSDATE - :P1_DATE_OF_BIRTH)/365.24,0)
    Page items to submit: P1_DATE_OF_BIRTH
    Selection Type: Item(s)
    Item(s): P1_AGE
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • SQL Query (updateable report) Region - Conditionally Hide and Set Values

    SQL Query (updateable report) Region - Conditionally Hide and Set Values
    Outline of requirement :-
    Master / Detail page with Detail updated on same page using SQL Query (updateable report).
    The detail region has the following source
    SELECT item_id,
           contract_id,
           CASE WHEN hardware_id IS NOT NULL THEN
                   'HA'
                WHEN backup_dev_id IS NOT NULL THEN
                   'BD'
                WHEN hardware_os_id IS NOT NULL THEN
                   'HS'
           END item_type,
           hardware_id,
           backup_dev_id,
           hardware_os_id
    FROM   "#OWNER#".support_items
    WHERE  contract_id = :P26_CONTRACT_IDThe table support_items implements arced relationships and has the following columns
    CREATE TABLE SUPPORT_ITEMS
      ITEM_ID         NUMBER                        NOT NULL,
      CONTRACT_ID     NUMBER                        NOT NULL,
      HARDWARE_ID     NUMBER,
      BACKUP_DEV_ID   NUMBER,
      HARDWARE_OS_ID  NUMBER
    )A check type constaint on support_items ensures that only one of the fk's is present.
          (    hardware_id    IS NOT NULL
           AND backup_dev_id  IS NULL
           AND hardware_os_id IS NULL
    OR    (    hardware_id    IS NULL
           AND backup_dev_id  IS NOT NULL
           AND hardware_os_id IS NULL
    OR    (    hardware_id    IS NULL
           AND backup_dev_id  IS NULL
           AND hardware_os_id IS NOT NULL
          )    Hardware_Id is a FK to Hardware_Assets
    Backup_dev_id is a FK to Backup_Devices
    Hardware_os_id is a FK to Hardware_op_systems
    The Tabular Form Element based on item_type column of SQL query is Displayed As Select List (based on LOV) referencing a named list of values which have the following properties
    Display Value     Return Value
    Hardware Asset    HA
    Backup Device     BD
    Computer System   HSThe Tabular Form Elements for the report attributes for hardware_id, backup_dev_id and hardware_os_id are all Displayed As Select List (Based on LOV).
    What I want to do is only display the Select List for the FK depending on the value of the Select List on Item Type, e.g.
    Item_Type is 'HA' then display Select List for hardware_id, do not display and set to NULL the Select Lists for backup_dev_id and hardware_os_id.
    Item_Type is 'BB' then display Select List for backup_dev_id, do not display and set to NULL the Select Lists for hardware_id and hardware_os_id.
    Item_Type is 'HS' then display Select List for hardware_os_id, do not display and set to NULL the Select Lists backup_dev_id and hardware_id.
    There are properties on elements to conditionally display it but how do we reference the values of the SQL query Updateable region? they are not given a page item name?
    Also on the Tabular For Elements there is an Edit tick against a report item - however when you go to the Column Attributes there is not a property with which you can control the Edit setting.
    What's the best way of implementing this requirement in APEX 3.1?
    Thanks.

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "user13515136".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I have a multi-row region that displays values and allows entries in a number of fields.Provide exact details of how this has been implemented. (An example on apex.oracle.com is always a good way to do this.)
    I should like the fields to be conditional in that they do not permit entry, but still display, if certain conditions apply (e.g. older rows greyed out). Can this be done? Almost anything can be done, often in multiple ways. Which are appropriate may be dependent on a particular implementation, the skills available to implement it, and the effort you're willing to expend on it. Hence it's necessary to provide full details of what you've done so far...

  • How to set value from one view to other view's context node attr b4 save

    HI all,
    My requirement is as below:
    There are two views in component BP_CONT.
    BP_CONT/ContactDetails    IMPL class
    BP_CONT/SalesEmployee   SALESEMPLOYEE    STRUCT.SALESEMPLOYEE
    I want to set value from first view to second view's context node's attribute.
    i get Sales Employee BP number in ContactDetails view, from here i want to set that value in to STRUCT.SALESEMPLOYEE
    of second view in the same component.
    please send me code snippet for doing the same.
    Thanks in advance.
    seema

    Hi Seema
    You can access the fields from different views by either using custom controllers or by using component controllers, in your case you can access the Sales employee BP number from the Component controller.
    first access the component controller  as below in BP_CONT/SalesEmployee  (in do_prepare_output method) or in (specific setter method)
    lv_compcontroller type ref to CL_BP_CONT_BSPWDCOMPONENT_IMPL,
    lv_partner type ref to cl_crm_bol_entity,
    lv_role type string,
    lv_partner_no type string.
    lv_employee TYPE REF TO if_bol_bo_property_access,
    lv_compcontroller  = me->COMP_CONTROLLER.
    lv_partner ?= lv_compcontroller  ->typed_context->-partner->collection_wrapper->get_current( ).
    lv_role = lv_partner->get_property( iv_attr_name = 'BP_ROLE' )
    IF LV_ROLE = 'SALESEMPLOYEE'
      lv_partner_no ?= lv_current->get_property( iv_attr_name = 'BP_NUMBER' ).
    endif.
    now set the value
    lv_employee ?= me->typed_context->salesemployee->collection_wrapper->get_current( )
    CHECK lv_employee IS BOUND.
        lv_employee->set_property( iv_attr_name = 'SALESEMPLOYEE' iv_value =  lv_partner_no  )
    Thanks & Regards
    Raj

  • How do I set up a static IP on Airport Express so I can activate the Connet my Mac App from outside my network?

    How do I set up a static IP on Airport Express so I can activate and use the Connect My Mac app from outside my home network?

    You will need to enable file sharing in System Preferences
    as well as setting up sharing and permissions for the
    directories that you want shared.  You may also want to
    setup a non-administrative user or allow limited guest
    access.  The user would require entering a user name and
    password to make the connection, but would allow remotes
    to change files, if set up tat way.
    As for serving iTunes media, better to post in the iTunes forum.

Maybe you are looking for

  • How to use manifest file to indicate the entry class?

    I am trying to package all my class files together and let the users to run my file using the following command line: java -jar program.jar For this purpose, I need to specify the main class in the manifest file. I create the manifest file as below:

  • Sharing photos to iPhoto without a third party service

    Both my mother and I have iPhoto '08. She wants to be able to get to full-sized copies of my photos. I want to achieve this without using a third-party service (Dot Mac, Flickr, etc.) My Mac is configured as a server. For awhile, I've tried posting f

  • Basics of SD,Finance,SCM,Operations required in SAP BI implementation

    Hi, Can some one help me in getting some basic material to understand the following modules: SD,Finance,SCM,Operations Many Thanks, Sravani

  • SDK Installation

    hello all i downloaded SDK, i need a step by step instalation procedure for it and how can i apply these services on my system. i am using callmanager v.4.1 and cisco unity connection version 1.1 your reply will be appreciated regards

  • HT5552 Using PayPal for iTunes/App Store

    I try to select PayPal as my payment option for iTunes/App Store, but when I select the PayPal icon and click the "continue" button, as directed, nothing happens.  Why can I not select PayPal?  All of my payment information is stored in PayPal, and I