Question for Steve re: Setting Up Discussions & ADF

I hope this is a simple thing I am just overlooking. I am new to ADF and trying to understand all of its features quickly. I need to create a component that will be used in many web apps - it will support a discussion threading heirarchy with a main topic and responses (plus responses to responses) typical of this forum format. I have a table TOPIC with the PK topic_id and also a recursive FK topic_resp_id which I want to use to link topics together as responses. I have a DBSequence in the db (oracle 10g) and a trigger to fill it in for the TOPIC table, but don't know how to enforce population of the topic_resp_id FK column when a Topic is a response to another Topic. Can you advise on this? Am I getting too complicated with this design?
Thanks!!!!
Ginni

Hello there! Welcome to the forums @Bynki ,
I read about the issues you're facing with installing your Deskjet 3050A to your Mac on your network and I wanted to share some of my own suggestions that might help!
In order, try these steps:
Mac OS X: How to reset the printing system
Repair disk permissions
Restart the Mac
Follow these instructions on OS X v10.9 Mavericks: Installing and Using the Printer on a Mac
Have a great weekend
R a i n b o w 7000I work on behalf of HP
Click the “Kudos Thumbs Up" at the bottom of this post to say
“Thanks” for helping!
Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

Similar Messages

  • Question for Steve Muench - ADF/EJB & Applets?

    Steve or anyone who can help - Do you have any sample demo that can demonstrate how to take advantage of ADF caching technology on the server, or an EJB solution integrated with an applet in a web application?
    It is kind of late in the game, because we are about to roll out an application in our company, nevertheless we are still researching a better way for handling tremendous amount of data by our applet. We are using F1 Formula engine (spreadsheet like tech) in our applet. But, we have severe performance problems, especially in our remote locations trying to load thousands of rows in the applet and on top of that do all kinds of formatting and Excel like functionality in the applet grid at run time.
    We are looking for a way to integrate ADF or EJB caching solution with our applet, so that we can cache the client data on the app server if possible, in order to improve performance.
    Any guidance, suggestion and help is very much appreciated.
    Thanks,
    [email protected]

    Hi,
    my recommendation would be to use JavaWeb Start with BC deployed as EJB to the Application Server. This way you have a real client installation and don't need to download the Applet classes all the time (and JClient, assuming you use JClient, comes with a couple of libraries slowing down the initial application startup). Using EJB on the middle tier allows you to use batch mode, which reduces the number of roundtrips between the client and the server. Note that the default implementation is synchronous, which is more chatty.
    Frank

  • 1 Question for Steve

    Hi, Steve!
    I'm trying to run the XMLLoader Utility from your book, with a SAXParser and using the MultiTableInsertHandler class, to store a large xml file in several database tables.
    When I run the XMLLoader I always get 'Deadlock breakpoint occurred at line 474 in file [C:\Program Files\Oracle\JDeveloper 3.1.1.2\jdbc\lib\oracle8.1.6\classes12.zip]\oracle\jdbc\driver\OracleConnection.class.' after some inserts into the tables.
    These inserts are made correctly...
    I think this is a problem related with JDBC Thin Driver or it's configuration, but i'm not sure and i just don't know how to solve it.
    Can you please help me out with this?
    Good work.
    Bye.
    null

    Hi again, Steve!
    In fact, I've tried also with the OCI8 jdbc driver and it still doesn't work... the difference is that the number of inserts is a little bit higher before the deadlock appears...
    Meanwhile, I found that Chris Cooper has faced this same problem, and posted it in this same forum by the 6th of November 2000... I quote him here:
    "I'm using XSU to load a large amount of data into an 8.1.6.1.0 Solaris instance of Oracle from XML files preformatted into the usual ROWSET/ROW DTD.
    I take the files and break them down into smaller files (80Mb being a bit big for DOM to handle I'm sure you'll agree).
    Once this stage is complete, I iterate through all these small files and use OracleXMLSave to insert the values into truncated tables.
    The problem is that I get an intermittent error where the application just locks up.
    I am developing using JDeveloper 3.1.1.2, and when I have debugging enabled, the message that comes up is that a deadlock breakpoint has been hit!
    The problem here is that, the application is the only connection to the schema, and there is only one connection. I don't see how I can get into a deadlock situation unless this is a deadlock within the development env.
    When I examine the data, all the rows in the file that caused the lockup have been successfully inserted, so the implication is that it is the cleanup that is causing the problem.
    Has anyone got any ideas? Or has anyone come upon this one before and found a work around?
    I have written a thread manager to spin each load off to a separate thread, which gets terminated if the load takes too long, but this still leaves a connection with a lock that I am unable to clean up. (Well it appears to be a lock but there is no entry in v$locks!)
    Thanks for your time and attention,
    Chris Cooper"
    The only difference that I detect between Chris' case and mine is that I'm running Oracle in a Windows NT Server...
    Since the problem doesn't seem to be dealt with thin or oci8 driver, do have you any suggestion of what may be happening here?
    Thanks again for your time!
    My best regards.
    Rui Pinto

  • HT201303 I never set up any security questions for my Apple ID and I was asked on the app store to sign in and answer my security questions. I never made security questions in the first case. I can't purchase anything without them. What should I do?

    I never set up any security questions for my apple ID and I was asked on the app store to sign in and answer my security questions, I never made any in the first place and it came up with questions that I didn't know. I've already been in support and tried to reset them, but I have to answer the security questions in order to change them. Is there any way to find out what they are?

    From a Kappy  post
    The Best Alternatives for Security Questions and Rescue Mail
    1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
    2.  Call Apple Support in your country: Customer Service: Contact Apple support.
    3.  Rescue email address and how to reset Apple ID security questions.
    An alternative to using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Simple/silly question: how do I set/change default font/color for outgoing mail messages?

    Simple/silly question: how do I set/change default font/color for outgoing mail messages?

    Just a suggestion..........
    Download Thunderbird.  Easier to use when it comes to what you want to do w/your emails. 

  • Apple asking me security questions that ive never set up and i can't purchase anything, and ive tried resetting them but i can't remember the password for my rescue email address, please help?

    Apple asking me security questions that ive never set up and i can't purchase anything, and ive tried resetting them but i can't remember the password for my rescue email address, please help?

    You need to either reset the rescue email address's password(check the site's help for instructions) or ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (99674)

  • Important question to Steve about passivateState() method

    <br> <font size="2">Hello Steve, <br><br>I want to store information about application user in oracle.jbo.Session hastable. It's stored as pair KEY --&gt; VALUE. To be sure that these informations will be accessible after passivation AM I have overreaded passivateState() method as below: <br><br></font><font style="color: rgb(0, 0, 255);" size="2"><span style="font-family: Courier New;">public void passivateState(Document doc, Element parent){  <br>    Node nodeUserData = doc.createElement("USERDATA");<br>    Hashtable hs = getDBTransaction().getSession().getUserData();<br><br>    if(hs != null){ <br><br>        Set mapKeys = hs.keySet(); <br>        Iterator hsKeysIter = mapKeys.iterator(); <br>        while(hsKeysIter.hasNext()){<br>     <br>            String key = (String)hsKeysIter.next(); <br>            Node keyNode = doc.createElement(key);<br>            <span style="color: rgb(255, 0, 0);">keyNode.setTextContent(hs.get(key));</span><br>            <span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 255);">nodeUserData.appendChild(keyNode);</span> </span><br>        } <br>    } <br>    parent.appendChild(nodeUserData); <br>} <br><br></span></font><font size="3"><font size="2">I can't compile this because i get an following error in red line: <span style="color: rgb(255, 0, 0);">Error(122,25): method setTextContent(java.lang.Object) not found in interface org.w3c.dom.Node.</span> It's very strange because <span style="font-weight: bold;">org.w3c.dom.Node</span> implements <span style="font-weight: bold;">setTextContent()</span> method. I have tried this solutions creating standalone xml file and everything works. <span style="font-weight: bold;">It doesn't work inside passivateState() method.</span> Is this another way to save to ADF xml document pair KEY --&gt; VALUE. It's important because I could retrieve user data after activation AM overreading activateState() method and set it into hashtable also as pair KEY --&gt; VALUE. </font><br><br><font size="2">Regards <br>Kuba</font></font>

    Please see section "28.5 Managing Custom User Specific Information" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html for more information on this.
    Rather than trying to set the text content of a DOM element, you create an element, create a text node, then append the text node as a child of the element.

  • Operation hasNext is invalid for a working set view object

    Can someone point me to soem documentation to why I'm getting this error? I'm obviously misunderstanding something fundamental.
    Thanks

    I have an application module with a client method as follows:
    public void setUserCredentials(String username, String password)
    UserAccountViewImpl vo = getUserAccountView1();
    vo.setWhereClauseParam(0, username);
    vo.setWhereClauseParam(1, password);
    vo.executeQuery();
    if (vo.hasNext()) (BREAK POINT TWO)
    vo.next();
    I have a struts action that is based on the BasicADFAction class in the tech paper "Oracle ADF Data Binding Primer and ADF/Struts Overview"
    by Steve Muench.
    public class IsLoginValidAction extends BasicADFAction
    protected ActionForward performActionLogic(ActionMapping mapping,
    ActionForm form, HttpServletRequest request, HttpServletResponse response)
    throws Exception
    .... other code that gets username and password from form
    DatamartModule am = (DatamartModule)getApplicationModule("DatamartModuleDataControl", request);
    am.setUserCredentials(username, password);
    ViewObject vo = am.findViewObject("UserAccountView1");
    if (vo.getCurrentRow() == null) -- BREAK POINT ONE
    ae.add("InvalidDetails", new ActionError("error.IsLoginValidAction.InvalidDetails"));
    return mapping.findForward("LoginError");
    UserAccountViewRowClient vr = (UserAccountViewRowClient)vo.getCurrentRow();
    .... do some other checks with the user account
    As you can see the above Action calls setUserCredentials(). What is driving me mad is the following. If I enter a valid username and password in the login page and reach break point one the method vo.getCurrentRow() returns null which is not what I expect!
    If I re-submit my login details again, when I reach break point one for the second time vo.getCurrentRow() is not null??
    I have also set a break point two just to make sure setUserCredentials is working and it always brings back a row when I enter the correct details. So why in the action when I select the same view object the current row is not available to me but is available the second time round?? I'm I missing something fundamental??
    I had some feedback on metalink where oracle support set check that the vo.isExecuted() == true and if it isn't then re-execute the query. I couldn't see why I should do this but I did. I found that vo.isExecuted is false the first time round but true the second time. It appears the first time round I am implicitly getting the query to execute for the first time even though I believe I have already done this in the setUserCredentials method.
    After adding a vo.executeQuery() I obviously needed to add code that obtained the row. As soon as vo.hasNext() is called I get:
    oracle.jbo.InvalidOperException: JBO-25048: Operation hasNext is invalid for a working set view object.
         at oracle.jbo.common.ws.WSObject.invalidOperation(WSObject.java:44)
         at oracle.jbo.common.ws.WSRowSetIteratorBase.hasNext(WSRowSetIteratorBase.java:381)
         at view.IsLoginValidAction.performActionLogic(IsLoginValidAction.java:66)
         at view.BasicADFAction.handleLifecycle(BasicADFAction.java:64)
         at view.BasicADFAction.execute(BasicADFAction.java:46)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:228)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I must misunderstand something fundamental. Any help would be really appreciated. Basically in my client code (The struts action) I want to access a single record that is based on a view. I prepare the view object by calling a custom service level method to set the username and password and execute the query.

  • How do we change/recover the answers to security questions for AppleID?

    My grandsons forgot the answers to their security questions for their AppleID and can't download from the iBookstore. How can we reset them? I went into Manage my Apple ID but it is asking us for the answers. Thanks.

    If they have a rescue email address (which is not the same thing as an alternate email address) set up on their account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into the account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If they don't have a rescue email address then see if the instructions on this user tip helps : https://discussions.apple.com/docs/DOC-4551

  • How can you change your security question for I tunes?

    How can you change your security question for I tunes?

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then the steps half-way down this page give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 link above to add a rescue email address for potential future use

  • I forgot all of the answers to my security questions and when I set up my apple id I did not add a rescue email, I recently got a new iphone and I cannot purchase anything on it because it asks me to answer my security questions which i can't reset, help!

    I forgot all of the answers to my security questions and when I set up my apple id I did not add a rescue email, I recently got a new iphone and I cannot purchase anything on it because it asks me to answer my security questions which i can't reset because I do not have a rescue email. what do I do?

    this does not help. I have forgotten ALL of the answers to my security questions. I can NOT reset the answers to my security questions without answering two of the three security questions. The other way to reset the answers to these questions is for apple to send me an email on my rescue email addres which I DO NOT HAVE.

  • I have a new email address and my old email keeps coming up on icloud when trying to update apps and i don't know the password or security questions for the old email. I can sign in with my apple id which is tied to another email but not itunes how to fix

    I have an apple id and it has my current email attached to it. however when i go to update apps it's asking for the password for an old email. I no longer have the old email and can't use it. when I go to icloud on my ipad it asks for the password for old email. it doesn't allow me to change the old email to current. when i go to reset it i can't remember the password or security questions for the old email so it doesn't let me go any further. How do I fix this? Do i need to call apple support?

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

  • I am having trouble answering my old security questions for my itunes account and it is creating a problem because I am not able to purchase apps/songs on my new IPAD. What phone number/email adress should I call to get a quick response to my issue?

    I have recently bought an IPAD 2 for my girlfriend and have encountered a problem with purchasing apps through my itunes account. It is requesting that I not only enter my pasword (which I know) but answer my old account questions, which I have forgotten the answers to. It had since locked me out of changing my questions for eight hours. Is there any number I can call to prove that I am the real owner of my itunes account so my girlfriend will be able to use her ipad to purchase new apps without having to go through the trouble of using one of my other apple devices? Random information: I believe my questions were set back in 2007 when I purchased my first ipod nano, since then I have used this same itunes account for my own ipod touch and ipad 2 and my girlfriends iphone 1st generation. I have never run into a problem regarding my questions before on any of these devices

    http://www.apple.com/support/itunes/contact/

  • Can somebody give some real time questions for alv report

    hi guru
    can somebody give some real time questions for alv report.
    answers also.
    regards
    subhasis.

    hi,
    The ALV is a set of function modules and classes and their methods which are added to program code. Developers can use the functionality of the ALV in creating new reports,  saving time which might otherwise have been spent on report enhancement
    The common features of report are column    alignment, sorting, filtering, subtotals, totals etc. <b>To implement these, a lot of coding and logic is to be put. To avoid that we can use a concept called ABAP List Viewer (ALV).</b>
    Using ALV, we can have three types of reports:
       1. Simple Report
       2. Block Report
       3. Hierarchical Sequential Report
    <b>Reward useful points</b>
    Siva

  • Magic Mouse  question. I have set this in Preferences by ticking Swipe between pages with  one finger and also Swipe between full-screen apps with two fingers,  however when I try to do the latter, the 2 finger swipe will take me only to the dashboard and

    It's a Magic Mouse question. I have set this up in Preferences by ticking Swipe between pages with one finger and also Swipe between full-screen apps with two fingers,  however when I try to do the latter, the 2 finger swipe will take me from the app that I am on to the dashboard only and not to my other open apps.
    I also find that Smart zoom only works with some apps, for instance not with Word docs or email.
    How can I correct this please?

    Just figured out it also does not work with the Mail app.

Maybe you are looking for