How to parameterize initialization of controllers

Say we have a controller <i>A_ctrl</i> and a model <i>A_model</i>. When initializing <i>A_ctrl</i> we would like to create/register the model and initialize it, something like:
A_model ?= create_model( class_name = '/path/toclass' model_id = me->model_id ).
A_model->set_something( me->some_parameter ).
Now, as one can see the initialization is parameterized with <i>me->model_id</i> and <i>me->some_parameter</i> ; since <i>do_init()</i>'s signature is empty, instance variables of <i>A_ctrl</i> are used.
However, how do we get the initialization parameters into <i>A_ctrl</i> (in non-BSP ABAP-OO the normal constructor would do the job)? In the view via <bsp:call>, <bsp:parameter> it is to late, because initialization has already taken place. If we don't initialize the model and leave this job (i.e. calling the methods <i>set_something()</i> etc.) to the creator of <i>A_ctrl</i> (probabely the super controller) itself, we would actually hold the creator of an object responsible for its correct/complete initialization - a job that objects typically are supposed do themselves (in 'normal' OO this is the one right to exist for constructors (right?)).
How is this dilemma solved?
Regards,
Sebastian

Now we're talking Hello Max, hello Rainer, let me check whether I got the last paragraph of Max's reply right. In (super-)controller A you create and initialize (sub-)controller B's model (using the model's constructor or dedicated init-methods) and only then you let B register its (now initialized) model:
A, do_init():
b  = create_controller( name = 'B.do' id = 'b' ).
bm = create object b_model
       exporting
         someInitParameter  = ..
         someOtherParameter = ..
         owner = me .
b->set_model( bm ).
Hmm.. works and looks better. One has to be careful though that the code of the constructor contains a line if_bsp_model~init( id, owner ) where owner would be controller A.
In the meantime I found a solution that extends this:
Let me generalize the situation, say we want to create a generic component (~ controllermodelview) called 'tree' - and of course we want this component to be save, i.e. - topic of this thread - controller/model initialize themselves in a proper (OO-)way.
Now every user (other controller) of this component has to implement an interface 'tree_user' which contains a set of setter-methods. These setter-methods each get a reference to the tree-controller (and function as call-backs on the actual setter-methods on the tree-controller). Example:
do_init() of tree-ctrl:
DATA:
  parent     TYPE REF TO /namespace/if_tree_user,
  tree_model TYPE REF TO /namespace/cl_tree_model.
  parent ?= me->m_parent.
  parent->set_tree_title( me ).
  parent->set_tree_id( me ).
  parent->set..
  CREATE OBJECT tree_model
    EXPORTING
      im_tree_id   = me->tree_id
  set_model( model_id = me->model_id model_instance = tree_model ).
The controller that uses the tree component and that implements the interface now implements the setter-methods like
im_tree_ctrl->set_tree_title( 'OrgStructure' ).
etc.
E voilà, the do_init() of this controller now only contains something like
create_controller( controller_name = 'tree_ctrl.do' controller_id = 'org_struct_ctrl' ).
the actual initialization of tree controller/model is where it belongs (in the do_init()/constructor of tree_ctrl or tree_model respectively, not outside) and it is a compile-time error if a user of the component does not implement the tree_user interface!
Of course the user controller still has to implement the setters in a sensible way (here call back the setters of tree_ctrl itself), but this much one can expect.
Whatya think, from an OO point of view I am very satisfied now , would it be worth it writing a weblog about this?
Regards,
Sebastian

Similar Messages

  • How to refresh/initialize sy-tabix in a loop?????

    Dear all,
    Please do let me know how to refresh/initialize 'sy-tabix' for every new document in a loop statement.
    Thanx in advance.
    Alok.

    Never try to refresh or initialize system variable. It shall always lead to errors in the programs. For this I have an alternative way below.
    Please declare a variable for e.g
    data: <b>l_count</b> type sy-tabix.
    Inside loop you can write the code like this:
    say for eg. you need to refresh l_count for every new material.
    Loop at itab.
    on change of itab-material.
    clear : l_count.
    endon.
    l_count = l_count + 1.
    endloop.
    Hope this clarifies your issue.
    Lakshminarayanan

  • How do you initialize audio player on iPhone 5s iOS8?

    I am trying to use Scan & Translate and Translate Photo but the error message that says "Unable to initialize audio player" comes up and cannot use those apps.
    How do you initialize audio player on iPhone 5s iOS 8?

    Ddeveloper has not updated their app since July.
    THey need to update to be ios 8 compatible.
    the popup you are getting is the app failing to work, not a direction for you to follow.

  • I have an external hard drive that was formatted by a PC and has files and directories etc. I want to format it and use it on my IMAC for backup but I can't seem to write to it nor can I delete current content. How do I initialize it for use with the MAC?

    I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc.  But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • How to parameterize the schema name in APEX

    Hi,
    How to parameterize the schema name in APEX , in order to access different tables from the respective schema.
    For example:-
    select NAME display_value, CODE return_value
    from paramSchema.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1
    in the above code, paramSchema will be replaced with the actual schema name duing runtime. I tried doing so by some hidden fields on page, but it didn't worked out.
    I took the schema name from the respective server as per the IPof the server.
    stored in a hidden field named as schema.
    And replaced the same in place of schema name. But no luck.
    select NAME display_value, CODE return_value
    from :schema.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1
    Please help me in shorting it out.
    Thanks,
    Anuradha

    Hi
    In order to do that, you would need to use dynamic SQL by changing the report type to PL/SQL Function Body Returning SQL Query and have code along the lines of
    DECLARE
    l_sql VARCHAR2(32767);
    BEGIN
    l_sql := 'select NAME display_value, CODE return_value
    from '||:schema||'.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1';
    RETURN l_sql;
    END;However, by doing this, you lose alot of flexibility. The other options would be...
    To have seperate report regions that are conditional on the value of the variable.
    To use a WITH clause at the tope of the query like...
    WITH src_data AS
    (SELECT * FROM schema1.my_table
    WHERE :schema = 'schema1'
    UNION ALL
    SELECT * FROM schema2.my_table
    WHERE :schema = 'schema2')
    SELECT *
    FROM src_dataOther than that you could look at using synonyms and doing something similar.
    Hope this helps.
    Cheers
    Ben

  • How to re-initialize a Unity Connection 8.5 DataBase for Lab testing

    I have built an Active/Active Unity Connection 8.5 Cluster on UCS for lab testing and I am wondering how to re-initialize the database (Clean out the database like a new install) without having to reinstall the application. I forgot to take a DRS of the newly installed server to revert back to.
    I have tried using Bulk Administration but subscribers and Callhandlers with Dependencies will not be touched by the Bulk Administration job. I need a quick way of getting the database back to fresh install status.

    Hi,
    Unlike Unity, there isn't a way to do this with UC without re-installing the entire application.
    Brad

  • How do I initialize a DVD to prepare for recording data?

    Using an S5150t pavilion, LightScribe drive.  How do I initialize a DVD to prepare for recording data?  The HP Digital Media program only addresses pictures and video.

    Bill, here is a guide to using CyberLink DVD Suite 6.  This is the program that the Product Specifications page states is on your computer.
    Please let us know if this solves your problem or not.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • How can i initialize variables and append variable in bpelx:exec

    I want to know how to initialize variables in bpelx:exec.
    I try to use java embedded activities for dynamic sql query. But I meet some problems that cannot assign the data to tempVariable. because I don't initialize tempVariable. but I can't initial variables in java embedded actitvities. How can i initialize variables in bpelx:exec ?
    and I want to know to extend child Elment of tempVariables dynamically in bpelx:exec ?
    here is my source.
    <bpelx:exec name="callEmpDB" language="java" version="1.5">
    <![CDATA[
    String url = "jdbc:oracle:thin:@127.0.0.1:1521:wonchoi";
    String user = "scott";
    String passwd = "tiger";
    int index = 1;
    Connection conn = null;
    Statement stmt = null;
    ResultSet rs = null;
    Node node = null;
    try{                             
    conn = DriverManager.getConnection (url, user, passwd);
    stmt = conn.createStatement();
    String wherescript = "";
    Element empno = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:empno");
    Element ename = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:ename");
    Element job = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:job");
    Element deptno = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:deptno");
    String sql = "select empno, ename, job, mgr, hiredate, sal, comm, deptno from emp where 1 = 1 ";
    if(empno != null && empno.getTextContent() != null && !empno.getTextContent().equals("") )
    wherescript = wherescript + " and empno = " + empno.getTextContent() ;
    if(ename != null && ename.getTextContent() != null && !ename.getTextContent().equals("") )
    wherescript = wherescript + " and ename like '" + ename.getTextContent() +"' " ;
    if(job != null && job.getTextContent() != null && !job.getTextContent().equals("") )
    wherescript = wherescript + " and job = '" + job.getTextContent() +"' ";
    if(deptno != null && deptno.getTextContent() != null && !deptno.getTextContent().equals("") )
    wherescript = wherescript + " and deptno = " + deptno.getTextContent() ;
    sql = sql + wherescript;
    System.out.println("sql : "+sql);
    rs = stmt.executeQuery(sql) ;
    while (rs.next())
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:EMPNO", rs.getString("empno"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:ENAME", rs.getString("ename"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:JOB", rs.getString("job"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:MGR", (rs.getString("mgr")==null? "": rs.getString("mgr")));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:HIREDATE", rs.getString("hiredate"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:SAL", rs.getString("sal"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:COMM", rs.getString("comm"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:DEPTNO", rs.getString("deptno"));
    index++;
    }catch(SQLException sex){                          
    System.out.println("sql error");
    }catch(Exception ex){                             
    System.out.println("error");
    }finally{                             
    try{                      
    rs.close();
    stmt.close();
    conn.close();
    }catch(Exception ex){}
    }]]>
    </bpelx:exec>
    and here is tempVariable examples and schema.
    <tempVariable>
         <part name="payload">
              <selEmpOutputCollection>
                   <selEmpOutput>
                   <EMPNO/>
                   <ENAME/>
                   <JOB/>
                   <MGR/>
                   <HIREDATE/>
                   <SAL/>
                   <COMM/>
                   <DEPTNO/>
              </selEmpOutput>
              <selEmpOutputCollection>
         </part>
    </tempVariable>     
    <xsd:element name="selEmpOutputCollection" type="selEmpOutputCollection"/>
    <xsd:element name="selEmpOutput" type="selEmpOutput"/>
    <xsd:complexType name="selEmpOutputCollection">
    <xsd:sequence>
    <xsd:element name="selEmpOutput" type="selEmpOutput" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="selEmpOutput">
    <xsd:sequence>
    <xsd:element name="EMPNO" type="xsd:decimal" nillable="true"/>
    <xsd:element name="ENAME" type="xsd:string" nillable="true"/>
    <xsd:element name="JOB" type="xsd:string" nillable="true"/>
    <xsd:element name="MGR" type="xsd:decimal" nillable="true"/>
    <xsd:element name="HIREDATE" type="xsd:dateTime" nillable="true"/>
    <xsd:element name="SAL" type="xsd:decimal" nillable="true"/>
    <xsd:element name="COMM" type="xsd:decimal" nillable="true"/>
    <xsd:element name="DEPTNO" type="xsd:decimal" nillable="true"/>
    </xsd:sequence>
    </xsd:complexType>
    thanks

    My bpel project flow is as follows.
    First, I initalize the temp varialbe like this.
    <assign name="setInitialVar">
    <copy>
    <from>
    <ns1:selEmpOutput xmlns:ns1="http://lgesoa.lge.com/EmpSpec/types">
    <ns1:EMPNO/>
    <ns1:ENAME/>
    <ns1:JOB/>
    <ns1:MGR/>
    <ns1:HIREDATE/>
    <ns1:SAL/>
    <ns1:COMM/>
    <ns1:DEPTNO/>
    </ns1:selEmpOutput>
    </from>
    <to variable="tempVariable" part="payload"
    query="/ns1:selEmpOutputCollection/ns1:selEmpOutput"/>
    </copy>
    </assign>
    Second, get Data(ex. 10 Employee Information List) from DB for useing Java embedded activity.
    Third, assing employee info to tempVariable, then BPEL assign just only one Employee Information. and next data can't assign and the BPEL make an error.
    here is my error message..
    <2007-03-02 11:23:26,125> <ERROR> <default.collaxa.cube.engine> <BPELXExecLet::setVariableData>
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {null}
    parts: {{summary=oracle.xml.parser.v2.XMLElement@15f80b}}
         at com.collaxa.cube.xml.dom.DOMUtil.copy(DOMUtil.java:536)
         at com.collaxa.cube.engine.ext.BPELXExecLet.setVariableData(BPELXExecLet.java:721)
         at com.collaxa.cube.engine.ext.BPELXExecLet.setVariableData(BPELXExecLet.java:700)
         at bpel.selconnectdb.ExecLetBxExe4.execute(ExecLetBxExe4.java:160)
         at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:49)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    I analyzed the problem. and I find the reason that is I just assing one XML flag to the temp variable. If i don't initalize the varaible like first step, BPEL make an error above error message.
    thanks
    Won.

  • How do I initialize my video camera

    how do I initialize my video camera canon XH A1S. It says it doesn't recognize it but it worked the first time I tried it. I haven't changed anything. Could my firewire cord be bad?

    Not necessarily.
    As long as the Easy Setup and footage from the camera match you should not have to swap and change.
    Al

  • How can i initialize a button (Switch when pressed) to be always disabled when i start the programm.

    Hello
    How can i initialize a button (Switch when pressed) to be always disabled when i start the programm. My problem is that the state of the button is always the state in which it finihed last time.
    Thanks
    Lukas

    A button is either true or false. "Disabled" is a property that determines if the button can be operated or not.
    It seems from the rest of your question that you actually want to ensure that it is set to false, but remain enabled. This is easiest done with a local variable as already mentioned by becktho.
    If you want to disable the button, use a property node.
    LabVIEW Champion . Do more with less code and in less time .

  • XCode: How can I use dictionary controllers for 2 dict's with a common key?

    I have two dictionaries, both with the same key. Using Interface Builder I can build for each dictionary a two-column table, but I did not find out how to connect their keys so that selecting a line in one table automatically selects the corresponding line in the other table.
    Does there exist a binding between the two controllers that solves the problem? If so, how can it be established?
    (First I tried to use only ONE table - with 3 columns. This appeared to me the best way. But again I could not establish the appropriate binding.)

    Hans,
    You may want to post your question in the following group.
    http://discussions.apple.com/forum.jspa?forumID=727

  • How can I initialize an external hard drive when disk utility won't work?

    Have a Seagate 300 GB external firewire drive. Formatted it for Mac. Had worked great and then one day it would not mount, got message box with choices of "initialize", "ignore" and 'eject". Clicking initialize, disk utility comes up with only the "first aid" button showing active. When I click on it nothing happens. As far as I can tgell there are no other options
    Any suggestions on how I can repair this drive or recover data would be much appreciated.
    Thanks, Jim

    OK, I suspect First Aid may be blank since Disk Utility "sees" the device but does not think there's anything on it.
    1. How about if you select the drive and then click the Erase tab?
    2. Also, what happens if you connect the drive, select Ignore, then open Disk Utility? Does the drive show up?
    3. What's your objective here? Do you want to try to recover data from the drive, or simply erase it? If you're looking to recover data from the drive, see my "Data Recovery" FAQ.
    4. Do you know what happened before the problem arose? For example, was there a power outage or was the cable or drive suddenly disconnected before the drive was Ejected? Any of these events can result in the drive's partition map being corrupted, leading to the kind of problems you're seeing.
    5. Did you build this FireWire drive? That is, buy and enclosure, buy a drive, and install the latter in the former? If so, have you checked the connections?
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • How to use multiple midi controllers with Mac book pro (2 usb)?

    I have a newer macbook pro that has 2 USB ports, and a lightning port and a firewireport.
    On stage I will be using the firewire port connected to a Presonus Firestudio mobile to use as the interface to the house mixer.
    I will use 1 USB for my M-audio Axiom 61
    I will use the other for my Yamaha WX-5 Wind synth
    I'd like to be able to get the apogee midi foot controller to control the playback audio. For example I'll be using it to stay in a solo section, then step on it to move it forward ot the next section when I am done soloing
    I'd also like to use some sort of midi switch to turn on vocal effects of the mic.
    Anyway since I only have 2 USB ports, how should I connect the 3rd, or 4th USB midi controller?
    Will a USB hub work to do this? If so, will I always have to remember to use the same controler in the same exact hub input to make sure everything maps the same?
    I guess I'll also have to learn how to setup multiple controllers in Mainstage as well.
    Thanks
    Dan

    Hi there,
    is a question which many of us have spent ...
    I think the obvious answer is that yes you can use a hub and connect everything. however ....
    sincerely advise you to buy a good hub that is well feasible, the last thing you want on stage / rehearsal is one of midi controllers stop responding, or stay with hanged notes... etc., do not buy just because it is cheap it has to be stable and viable, some bring cable for connecting wall power just to not drain power from the USB port.
    Other things to try is to distribute as much equipment for USB / Midi.
    For example one of midi controllers connect via USB but not by Midi outside the Presonus Firestudio. Connecting Presonus Firestudio to a single USB port as it is a main equipment.
    but it really is an issue that greatly limits the use of USB devices.
    Try it and tell me how it went. Good luck
    (sorry for my english i´m Portuguese)

  • How can I initialize a web application in a cluster

    Our current test environment is a single node but we have to move to a clustered environment. We have some database initialization which we do using a 'startup servlet' with the load-on-startup marker.
    Now how does this behave in a clustered environment? Will the servlet be called once or once per node?
    Should we redesign the startup initialization? Are there best practices for Weblogic clusters regarding startup initialization?
    btw: Weblogic 10.3
    cheers,
    Rob
    Edited by: [email protected] on Oct 20, 2009 6:48 AM

    Servlet init() will be called by each JVM the application is in, regardless if it is in a cluster or not.
    If you want once per cluster behavior, you'd need to consider something like a Singleton Service, which is outside of your application OR use something like Oracle Coherence in your application that would allow you to easily check if the initialization has already occurred in another cluster member.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/e13709/service_migration.htm#i1051668

  • How to do initialization for new system setup?

    Hi, Experts:
    I need your help! Can you tell me your suggestion please?
    This is a new system setup. We are about to test on the Initialization/Delta process.
    The data source is 2LIS_13_VDITM 7.0 version. The test is on the PSA.
    I have done an EARLY Initialization. On R3 system, if a billing record is canceled, we are able to capture it in the RSA7. Then, we did a delta load which were successfully tranferred to BW system.
    However, if I created a new order and push it to Billing, I am NOT able to find it on RSA7 of the Delta queue.
    That would mean, the delta queue could not capture any new billing records.
    Then, besides the early init, we tried to do an Initialization without Data Transfer in the hope that this could resolve the new records issue, it doesn't allow to do it, saying "no 2 initialization".
    What is the right way to do initialization??
    Thanks guys!!

    Hello Sylvia,
    Changing it to new delta mode need not clean out everything in BW.
    its a change in R/3 side on how delta records will be pushed.
    Delta queue will remain the same in R/3.
    But since you have already missed some records and you are not sure which one.
    Also the existing records in the delta queue are not the correct one as these are not bringing new records according to you.
    So I will suggest you after you have done the changes to queued delta....do a fresh start.
    Delete the data from the DSO.
    1)delete the existing and do a new init without data transfer so that a new delta queue is created.
    2)Fill the set up tables first and start the full repair loads to DSO.
    3)once all the history is loaded then you can schedule the delta.
    Thanks
    Ajeet

Maybe you are looking for

  • HP Laserjet 1200 and HP PSC 1200 - Laserjet not printing

    Hello, my laserjet 1200 is not printing, stating: "Generic class - waiting for the device". The reason seems to be the installer of the HP PSC 1200, which put some files on my harddisk the laserjet doesn't like. There is a process called "HP Communic

  • Unable to add a hyperlink to an ID

    I'm unable to add a hyperlink to an ID on the page. Inserting in an ID into the hyperlink menu prepends the "http:///" to it. At the very least, it would be helpful to be able to link to "#top" as most browsers handle that by default these days. But,

  • How to dynamically disable interactive report filed in master detail page

    I am using APEX 4.0 & very new to APEX. I am not able to make disable a filed in detail region (which is a interactive report) of a master detail Page. I.e. want to disable field of a row based on value of another field for same record, just like set

  • Handle Custom Exception messages in EJB 3.x

    Hi I would like to know the process to follow in order to handle CustomException as in example the following code used within the Satteless / statefull /Message EJB's may be *if(user.account.value <= 100){* throw new EJBHanldleException("1001") where

  • Database Mirroring Encryption

    Hi,  Our security team, scanned database server (SQL 2005) and mentioned that there are two connections (ref: below screenshot) which are not being encrypted. When we looked at the connections, they were database mirroring related. (Engine level: we