In CQ5 How to retrieve information stored provided via dialog and stored in a node of content folder

Hi,
I have to get few details in dialog of a component and stored it in node of the content package. how can i retrieve the saved information from the jsp.?
any help will be helpful.
Thanks in advance.

Hi Raja,
In a component's jsp, assuming <cq:defineObjects> has been called, you can use the properties scripting variable to get the node's properties.
Have you gone through the tutorial at http://dev.day.com/docs/en/cq/current/developing/components.html#Extending%20the%20Text%20 and%20Image%20Component%20-%20An%20Example ?
Regards,
Justin

Similar Messages

  • How to stop the services provided by net80 and oracle9i

    how to stop the services provided by net80 and oracle9i during the installation of forms6i & reports6i in windows 2003 server

    Go into the control panel and choose services ... stop the services.

  • How do i stop google from tracking me and storing their cookies? Running OSX 10.7.5 & Safari v6.02 on Macbook Air.?

    how do i stop google from tracking me and storing their cookies?
    Running OSX 10.7.5 & Safari v6.02 on Macbook Air.?

    In practicality you can't. You can set the preference in the Privacy pane of the Safari preferences to ask websites not to track you, but I don't believe Google honors that setting, and they most certainly store all sorts of cookies which you probably will get even if you set Safari to block all cookies since web programmers have ways around those blocks. All you can do is delete the cookies and other junk on a regular basis. Many cookies hide, so I use Cookie from SweetP productions which does a good job of deleting most if not all of the cruft web sites leave.
    Regards.
    Disclaimer: any product suggestion and link given is strictly for reference and represents my opinion only. No warranties express or implied. I get no personal benefit from the sale of any product I may recommend in any of my posts in the Discussions. Your mileage may vary. Void where prohibited. You must be this tall to ride. Objects in mirror may be closer than they appear. Preservatives added to improve freshness. Contestants have been briefed on some questions before the show. No animals were harmed in the making of this post.

  • How to retrieve Table of Records output param from stored procedure ?

    Hi,
    I'm trying to retrieve data from a PL/SQL stored proc. It seems I can't modify this procedure (I'm not allowed to and I don't know PL/SQL :)).
    My only documentation is the PL/SQL code and its comments. And that's the first I have to deal with output of a defined complex PL/SQL type
    So the signature of the procedure is :
    FUNCTION FUN_AFF_EVELEG_IHM (
        pEntumTyp       IN          NUMBER,
        pEntnum         IN          VARCHAR2,
        pEveListSize      IN OUT      NUMBER,
        pEveList       IN OUT      pkg_funaff_eveleg.TableRecordEVL,
        pErrCode   IN OUT      VARCHAR2,
        pMessage        IN OUT      VARCHAR2)
      RETURN NUMBER;pkg_funaff_eveleg.TableRecordEVL type is defined as "TABLE of RecordEVL"
    pkg_funaff_eveleg.RecordEVL type is defined as "RECORD" (struct of 12 different fields : NUMBER or VARCHAR2)
    What is the correct syntax to call the stored procedure then ? I don't find how to manage the pEveList output param. Is it a Cursor ? An ARRAY ? And how to register it ?
    My code so far :
    public static void callFunaffEVL(Connection con, String rcs) {
        // CallableStatement procCstmt=null;
        OracleCallableStatement oraCstmt = null;
        try {
          // Identifiy the Stored procedure
          // package synonyme : pkg_aff_EVELEG_IHM
          // stored procedure name : FUN_AFF_EVELEG_IHM
          String command = new StringBuilder("{? = call pkg_aff_EVELEG_IHM.FUN_AFF_EVELEG_IHM(?,?,?,?,?,?");
          // 1 RETURN 
          // 2 pEntumTyp IN NUMBER
          // 3 pEntnum IN VARCHAR2
          // 4 pEveListSize IN OUT NUMBER,
          // 5 pEveList IN OUT pkg_funaff_eveleg.TableauRecordEVL,
          // 6 pErrCpde IN OUT VARCHAR2,
          // 7 pMessage IN OUT VARCHAR2)
          // Create a Callable Statement Object:
          oraCstmt = (OracleCallableStatement) con.prepareCall(command);
          // Assign IN and OUT parameters
          oraCstmt.registerOutParameter(1, OracleTypes.NUMBER); // RET
          oraCstmt.setInt(2, 0); // ENTNUMTYP
          oraCstmt.setString(3, rcs); // ENTNUM
          oraCstmt.registerOutParameter(4, OracleTypes.NUMBER); // pEveListSize
          oraCstmt.registerOutParameter(5, OracleTypes.ARRAY); // pEveList
          oraCstmt.registerOutParameter(6, OracleTypes.VARCHAR); // pErrCode
          oraCstmt.registerOutParameter(7, OracleTypes.VARCHAR); // pMessage
          // Execute the Procedure or Function Call:
          oraCstmt.execute();
          // Process the OUT Placeholders:
          int ret = oraCstmt.getInt(1);
          String errCode = oraCstmt.getString(6);
          String message = oraCstmt.getString(7);
          System.out.println("RCS : " + rcs);
          System.out.println("ret : " + ret);
          System.out.println("errCode : " + errCode );
          System.out.println("message : " + message);
        } catch (SQLException sqle) {
          sqle.printStackTrace();
        } finally {
          // Close the CallableStatement Object:
          try {
            oraCstmt.close();
          } catch (SQLException e) {
            e.printStackTrace();
    Return : java.sql.SQLException: Parameter type Conflict: sqlType=2003
    Any help ? I found several examples that might refer to this case, but everything I tried end by a SQL exception of one type or another...
    (and sorry for my poor english :))
    Cy

    As I said, "pkg_funaff_eveleg.TableRecordEVL" is TABLE of RecordEVL.
    i.e : I can find 2 defined types under the package pkg_funaff_eveleg :
    TYPE TableRecordEVL is TABLE of RecordEVL INDEX BY BINARY_INTEGER;
    TYPE RecordEVL is RECORD (
      EVLENTNUM_PK        EVENEMENTS_LEGAUX.EVLENTNUM_PK%TYPE,
      EVLENTNUMTYP_PK     EVENEMENTS_LEGAUX.EVLENTNUMTYP_PK%TYPE,
      EVLSEQ_PK           EVENEMENTS_LEGAUX.EVLSEQ_PK%TYPE,
      EVLTYPSRC           EVENEMENTS_LEGAUX.EVLTYPSRC%TYPE,
      EVLPK1              EVENEMENTS_LEGAUX.EVLPK1%TYPE,
      EVLPK2              EVENEMENTS_LEGAUX.EVLPK2%TYPE,
      EVLPK3              EVENEMENTS_LEGAUX.EVLPK3%TYPE,
      EVLPK4              EVENEMENTS_LEGAUX.EVLPK4%TYPE,
      EVLPK5              EVENEMENTS_LEGAUX.EVLPK5%TYPE,
      EVLPK6              EVENEMENTS_LEGAUX.EVLPK6%TYPE,
      EVLCODEVTSRC        EVENEMENTS_LEGAUX.EVLCODEVTSRC%TYPE,
      EVLLEGEVECOD        EVENEMENTS_LEGAUX.EVLLEGEVECOD%TYPE,
      EVLSEQREF_FK        EVENEMENTS_LEGAUX.EVLSEQREF_FK%TYPE,
      EVLCOMMENT          EVENEMENTS_LEGAUX.EVLCOMMENT%TYPE,
      EVLETATCOD          EVENEMENTS_LEGAUX.EVLETATCOD%TYPE,
      EVLHISDATPUB        EVENEMENTS_LEGAUX.EVLHISDATPUB%TYPE,
      EVLHISPUBPRE        EVENEMENTS_LEGAUX.EVLHISPUBPRE%TYPE,
      EVLHISDATEFF        EVENEMENTS_LEGAUX.EVLHISDATEFF%TYPE,
      EVLHISEFFPRE        EVENEMENTS_LEGAUX.EVLHISEFFPRE%TYPE,
      EVLHISPOIDATEFF     EVENEMENTS_LEGAUX.EVLHISPOIDATEFF%TYPE,
      EVLHISORICOD        EVENEMENTS_LEGAUX.EVLHISORICOD%TYPE,
      EVLHISSUPPORTCOD    EVENEMENTS_LEGAUX.EVLHISSUPPORTCOD%TYPE,
      EVLHISNUMSUPPORT    EVENEMENTS_LEGAUX.EVLHISNUMSUPPORT%TYPE,
      EVLHISNUMINF        EVENEMENTS_LEGAUX.EVLHISNUMINF%TYPE,
      ANNNUMBODPCL        CBODACCPROD.CODANN2.ANNNUMBOD%TYPE
    );If needed, I can translate each "EVENEMENTS_LEGAUX.EVLENTNUM_PK%TYPE", but they must be VARCHAR2 or NUMBER
    Do I answer your question ?

  • HT4859 How to retrieve Numbers documents stolen by Apple and dumped in iCloud?

    Apple has stolen my documents when i loaded the latest version of Numbers. I can see the documents underr icloud but cannot figure how to retrieve them and remove them. Can't understand why I should have to store my documents on someone else's computer.

    A couple days ago I contacted DriveSavers.com and she quoted me the following;
    -SERVICE OPTIONS AND PRICING
    Our pricing is based on the drive capacity, the operating system and
    turnaround time. The final cost is based on the complexity of the
    recovery and the final recovery results.
    The data recovery estimate for the 120GB Hard Drive you described is:
    • Standard Service (1-2 business days): $900-3900 (successful
    recovery will fall between $2800 - $3900)
    $200 attempt fee if the data is unrecoverable
    • Economy Service (5-7 business days): $500-2700 (successful recovery
    will fall between $1800 - $2700)
    $200 attempt fee if the data is unrecoverable
    • Priority Service (24 hrs. / 7 days a week): $1800-8900 (successful
    recovery will fall between $7900 - $8900)
    $800 attempt fee if the data is unrecoverable
    Please Note: DriveSavers will never exceed the amount quoted.
    That's nuts. Im ganna try my luck with DRD.ae in Dubai and see how much they charge, let me give them a call now and will post a comment in a bit.
    -Joey

  • How to retrieve SOAP Original Header from request and response

    Hi,
    Does anyone know how to retrieve SOAP original header from SOAP request and response? I surfed but I'm able to see only the retrieval of SOAP custom headers via BPM mediator. Can anyone please help me regarding this? Also Please tell me how to check the headers in the Enterprise Manager.

    HI Chandra,
    Thanks for your suggestions.
    But i think in my case we do not want to get the complete list. We still want to get only 100 items initially and then if the user would scroll down he/she would see more items. But we already need to know the total number of items for the purpose of showing a message to the user. For e.g. Total issues (515),  but the table would initially show only 100 and then another 100 after scroll. So setting the size litmit to max would not help.
    And to be able to use the $count you mentioned, we have to still make another oData service call which we do not want.
    But as i mentioned there is already a property named "__count" in the response of the bindItems() method call and i see that it has correct count but not sure how to retrieve it inside the controller. Thanks.
    Regards,
    Ashish

  • How do you burn videos taken with myIphone and stored on my computer to a DVD disc.  I purchased and tried using RealPlayer Plus 16 but got error message saying "unsopported media type"?  I alos tried using Real Players file converter with no success!

    How do you burn videos taken with my Iphone 4S and stored on my computer to a DVD disc.  I purchased and tried using RealPlayer Plus 16 but got error message saying "unsopported media type"?  I also tried using Real Players file converter with no success!  Thanks in advance for any help you can give!

    Probably the OP is no longer paying attention to this unless the OP is subscribed to this discussion.  While not really an iPhone question I guess using an iPhone to produce the movie which then needs taking to the next step makes this as good a starting place as any unless you happen to know enough about what to do to determine in which forum to post.  A suggestion in that direction would help.
    Anyway, Apple is backing off from supporting optical media.  It also depends upon what you mean by "DVD".  A DVD is just an optical disc which can support different file formats, but many people think it means a movie disc you can put in your TV.  Producing a movie disc requires special iDVD authoring software Apple used to sell but stopped several years ago.  I don't know if the old versions work under newer systems.  There's also the free Burn application which authors DVDs but takes a bit of learning and has nowhere near the features of iDVD.
    If the OP means simply burning the transferred movie files to a DVD for archiving in computer format you don't need special software for that; its built into the operating system File > New Burn folder etc.

  • How to retrieve time data from infotypes 2001 and 2002 when we use PNPCE

    Hello Everyone,
       I am new in using PNPCE ldb.In the requirement i have to retrieve time data from infotypes 2001 and 2002 between the begda and endda.I tried using the macro RP-READ-ALL-TIME-ITY to retrieve data.But its not supporting.Can some body help me in doing this.
    THanks in Advance..
    Regards,
    Chinni.

    Hi
       Try the following code:
    REPORT  ZHRTM41.
    nodes peras.
    Tables: PERNR.
    Infotypes: 2001.
    start-of-selection.
    get peras.
    rp_read_all_time_ity pn-begda pn-endda.
    end-of-selection.
    loop at p2001.
    write:/ p2001-abwtg,p2001-stdaz.
    endloop.
        It worked for me when using PNPCE. let me know if you have any problem
    Thanks,
    V.Nagaraju

  • Provider in Dialog and Travel Expenses Control

    Hi,
    My Requirement: I want to have free form manual input to specify the name of the provider or merchant or supplier or vendor as there are expense types whose list cannot be maintained. For eg. If there is a business dinner, I want to type the name of the restaurant where dinner took place.
    This is because the Travel and Expense department can successfully audit not only the amount but where you spend that amount.
    Can you tell me which field to enable in Dialog and Travel Expense Control? From my research, I think "Description" field in SAP could be used for that function. But I am really unsure about that field and what tables are affected by it.
    Thanks,
    AD

    HI,
    You can use description or you can use additional information field for entering the details.
    Hope this helps.
    Regards,
    S.Srikanth

  • How to retrieve information from XML using servlets

    Hi
    I have a scenario like this
    File-->XI-->J2ee application(HTTP Receiver adapter)
    I want to know how XI sends xml file as a query string file name?
    What ever may be the case i just need to retrieve the information from Request object and display the same in browser(JSP).How to do that, I am totally confused, please anyone help me!
    Code help is highly rewarded.
    Thanx

    Hi Rajesh!
    I have tried your code. But some where i went wrong. Please correct me: I am using NWDS2.0.9
    my web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
                             "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <display-name>WEB APP</display-name>
        <description>WEB APP description</description>
        <servlet>
            <servlet-name>DisplayRes</servlet-name>
            <servlet-class>com.quinnox.DisplayRes</servlet-class>
        </servlet>
        <servlet-mapping>
              <servlet-name>DisplayRes</servlet-name>
              <url-pattern>/DisplayRes/*</url-pattern>
         </servlet-mapping>
    </web-app>
    my application.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
                                 "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
        <display-name>ReceiverEntpr</display-name>
        <description>EAR description</description>
        <module>
            <web>
                <web-uri>HttpReceiver.war</web-uri>
                <context-root>/HttpReceiver</context-root>
            </web>
        </module>
    </application>
    and my servlet code:
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.io.Writer;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.xml.sax.EntityResolver;
    import org.xml.sax.SAXException;
    import com.sun.java_cup.internal.parser;
    import com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl;
    public class DisplayRes extends HttpServlet {
         public void doGet(HttpServletRequest requset, HttpServletResponse response) throws ServletException, IOException
              doWork(requset, response);
         public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
              doWork(req, resp);
         private void doWork(HttpServletRequest req, HttpServletResponse resp) throws IOException
              String path = null;
              PrintWriter out = null;
              PrintWriter p2=resp.getWriter();     
              try
                   resp.setContentType("text/xml");
                   out = resp.getWriter();
                   out.println("hi");
                   path = req.getPathInfo();
                   if(req.getContentLength() != -1){
                   outputURI(req.getInputStream(), out);
              } catch (IOException ioe) {     return;     
         //private void outputURI(InputStream resultStream, Writer out) {
              private void outputURI(InputStream resultStream, PrintWriter out) {
              if (resultStream == null) {
    //             no default file
    //            logger.error("No File to return");
              return;
              try {
              DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
    //            Class clazz = loader.loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
    //            DocumentBuilderFactoryImpl factory = (DocumentBuilderFactoryImpl) clazz.newInstance();
    //            DocumentBuilder parser = factory.newDocumentBuilder();
              parser.setEntityResolver(new ClassPathEntityResolver());
              printXML(parser.parse(resultStream), out);
              resultStream.close();
              } catch (Exception e) {
    //            logger.error("Trying to parse the output " , e);
         //private void printXML(Document document, Writer writer) throws Exception {
              private void printXML(Document document, PrintWriter writer) throws Exception {
              Transformer transformer = TransformerFactory.newInstance().newTransformer();
              Source source = new DOMSource(document);
              Result output = new StreamResult(System.out);
              transformer.transform(source, output);
    //             Write as XML so that entity references can be resolved.
              if (writer != null) {
              transformer.transform(source, new StreamResult(writer));
    Please tell me how to display in servlet.
    If it is better to display in a browser. Please send me the code.
    Thanks

  • How to retrieve information get in a sap table

    Hello,
    A sap program in my job chain reads a sap table. How can I retrive information of one of its fields and pass it in parameter in another step of my job chain ?

    Hi,
    The Z program returns informations in the job protocol, the question is how to parse the protocol to retrieve the string and put it in a parameter. I've been told that I can put a script in the "action" tag of the job definition as a post-running action. Where can I find an exemple of that kind of script ?
    FYI : the z program returns the following sentence, "flux sortant : nouveau compteur =0002" and what I need is to get 2 as a parameter for the next step.
    Re.

  • How to retrieve information from server?

    Hi,
    I'm currently working on a project, which is implemented with JSP. The function of the JSP is to connect to different servers within the Intranet(IP address already known) and get database list & file list residing on each server. And then compose all those information into a table, and display them in JSP. I just wonder how can I connect to those server? Can I just set up a socket client? Once the connection between servers has been setup, how can I retreive information from server? Are there any reference I can use? Thank you very much for your considerations.
    Myra

    Actually, I need extract some information from the file, and those files are on the server. In this case, do you think I should use FTP client to visit server? The server is running with Weblogic.

  • How to retrieve information on UNIX Host from oracle Forms

    Hi,
    Has anybody tried to retrieve manipulated information
    on the Unix Server From the oracle forms running on a client ?.
    If it is to be done by user exit and calling the pro*c code
    then where should the pro*c code exist ?. on server or on client.
    1. If on server then can that code return the value to form ?.
    2. If on client then can that code access the unix server and
    return the value ?..
    OR
    any other method or tool to do the above.
    Thnaks and regards
    null

    I can only tell you what we've done for our system. We have
    client applications which need to send/recv information from the
    UNIX server (report submission, etc.)
    We have a deamon (written in PRO*C) which runs on the UNIX
    server. This deamon constantly monitors a pipe (using the
    DBMS_PIPE package available with ORACLE 7.1). The client apps.
    send requests through this pipe and wait for the server deamon to
    process the request and send responses down a "return pipe".
    This approach has served us well.
    With ORACLE 8, you can (according to what I've read) link
    external object modules (similar to ORA_FFI on the client), which
    would make these OS specific functions available to the database
    developer via PL/SQL but we're just now looking at ORACLE 8 so I
    have no first hand experience with this.
    gautam (guest) wrote:
    : Hi,
    : Has anybody tried to retrieve manipulated information
    : on the Unix Server From the oracle forms running on a client ?.
    : If it is to be done by user exit and calling the pro*c code
    : then where should the pro*c code exist ?. on server or on
    client.
    : 1. If on server then can that code return the value to form ?.
    : 2. If on client then can that code access the unix server and
    : return the value ?..
    : OR
    : any other method or tool to do the above.
    : Thnaks and regards
    null

  • How to retrieve information from iCloud (earlier than the 3 most recent backups) ?

    I had to restore my iPod 4th generation to factory settings and I'm trying to get all the information back from iCloud backup. The thing is that I had waited about a week or two(instead of right away) to try to put the information back into the iPod. And when I restored it again(for the second time) it only had the choice of retrieving informaiton from the 3 most recent iCloud backups but those were too recent for the information I wanted to get back. Is there any way, ANY WAY AT ALL that I can get access to earlier iCloud backups? Like maybe all the iCloud backups that have happened so far?
    I've done some research and it doesn't say there is a way but there doesn't seem to be a lot of people with this problem. :(  Please if you know a way, let me know.

    Welcome to the Apple Community.
    Unfortunately, you cannot go back further than the three backups that you already have.

  • How to retrieve information from a database View name

    For a given database View name, is there any way to retrieve what are the columns (also the corresponding table name) associated with that View?
    I am getting the view names by using DatabaseMetaData APIs.
    Now I want to retrieve the info associated with that view.
    Any help will be highly appreciated.

    If all else fails then since you have the view name then "select * from viewname where 1=0" should work.

Maybe you are looking for

  • How do you delete voicemail messages from iphone 5s

    I'm trying to delete voicemail messages from iphone 5s.  Based on visiting previous discussions on this subject, I've tried "resetting network settings" and "turning airport mode ON, deleting messages, then turning airport mode OFF" -- to no avail. I

  • Barcode Not Displaying on Report Run on Server

    Hi, I have created a .rtf template in word which contains a barcode using BC 39 HI (39HI.ttf). I updated the xdo.cfg file on my local machine to include this font and when I preview the report in .pdf format all is well. However when I run the report

  • How to get the colors value of each pixel (ps cs3 ,JS) ?

    hi all, i use something below, and they dont work. var colorvalue=docRef.colorSamplers[0].color.red fileOut.write("value=") fileOut.write(colorvalue) thanks!

  • Customer Org Contact API

    Hi all I'm trying to create customer org contacts using the API (HZ_PARTY_CONTACT_V2PUB.create_org_contact). I've seen it is possible to insert the basic information for the contact, like: Name (last and first names), Title, Possition, etc... But I h

  • 10.4.6 Networking

    I'm posting this as a section to help anyone who may be having problems networking/crashing with 10.4.6. I went back through and read several threads and thought it might help to make a condensed thread. . . The 10.4.6 update seems to be stable. I've