PJC for FORMS 6i using a ScrollPane

Hi,
I'm making my first step with pjc for forms 6i application.
I would like to create a graphical component using a scrollpane where i draw single primitive like line, circle, rect into scrollpane double-buffered.
Where can i found a piece of code of a pjc using scollpane ?
Thanks

This is what I did:
- Downloaded the timeout.jar from the OTN Forms sample code page
- Copied the timeout.jar to my /forms/java folder
- Updated the formsweb.cfg file (added timeout.jat toe the archive and archive_jini tags)
- Opened the timeout.fmb sample (from the Demos)
- Added set_custom_property('PJC.TIMEOUT',1,'ENABLE_DEBUGGING','true'); at the end of the When-New-Form-Instnace trigger
- Run the sample dialog
- Clicked the start timer button
obtained the following in the Java console:
DEBUG MESSAGE TimeoutPJC0: Starting timer ... with1 minute(s) max. inactivity
DEBUG MESSAGE TimeoutPJC0: Start time = 24-oct.-2008, 07:27:55 AM
DEBUG MESSAGE TimeoutPJC0: Current time = 24-oct.-2008, 07:27:55 AM
DEBUG MESSAGE TimeoutPJC0: Last user action = 24-oct.-2008, 07:27:55 AM
DEBUG MESSAGE TimeoutPJC0: Last user action time = 24-oct.-2008, 07:27:55 AM
DEBUG MESSAGE TimeoutPJC0: Max allowed inactivity in Seconds = 60
DEBUG MESSAGE TimeoutPJC0: Timer not expired ...
Francois

Similar Messages

  • PJC for Forms Timeout

    Any body has used the Pluggable Java component for Forms Timeout feature.
    I have customised the form to include a Java bean and set it its implementation class.
    I have copied the jar file to the OAS java path and added an entry for the jar file to the formsweb.cfg file.
    Neither the pluggable java bean functions properly nor it throws an exception.
    I did the setup as per the readme document. Please let me know any other settings has to be done.
    ====
    Oracle Forms 9.0.4.2.0
    Oracle 9i Database 9.2.0.7.0
    Jinit - 1.3.1.18
    Plugable Java Component - 9.0.4.2
    ====
    Thanks in advance

    This is what I did:
    - Downloaded the timeout.jar from the OTN Forms sample code page
    - Copied the timeout.jar to my /forms/java folder
    - Updated the formsweb.cfg file (added timeout.jat toe the archive and archive_jini tags)
    - Opened the timeout.fmb sample (from the Demos)
    - Added set_custom_property('PJC.TIMEOUT',1,'ENABLE_DEBUGGING','true'); at the end of the When-New-Form-Instnace trigger
    - Run the sample dialog
    - Clicked the start timer button
    obtained the following in the Java console:
    DEBUG MESSAGE TimeoutPJC0: Starting timer ... with1 minute(s) max. inactivity
    DEBUG MESSAGE TimeoutPJC0: Start time = 24-oct.-2008, 07:27:55 AM
    DEBUG MESSAGE TimeoutPJC0: Current time = 24-oct.-2008, 07:27:55 AM
    DEBUG MESSAGE TimeoutPJC0: Last user action = 24-oct.-2008, 07:27:55 AM
    DEBUG MESSAGE TimeoutPJC0: Last user action time = 24-oct.-2008, 07:27:55 AM
    DEBUG MESSAGE TimeoutPJC0: Max allowed inactivity in Seconds = 60
    DEBUG MESSAGE TimeoutPJC0: Timer not expired ...
    Francois

  • Adobe id email versus a created email for forms central use

    so I have my main adobe id (email address) and purchased my own forms central subscription using it.  I then had my customer purchase their own forms central account with thier own user id (email address).  THEN I actually created a unique email address on my own computer for my customer so that their form confirmations would go there instead of mixing into my personal email.  HOWEVER -- the forms are not functioning properly when using that created email address as a form creator id.  The forms can be built and saved and all the settings are set correctly.  Responses are functioning and going through to the forms central database, and I GET THE EMAIL CONFIRMATIONS onthe created email, BUT the collaborator is not getting them at her address, despite the settings showing they are showing to be routed there.  What is up?  The ONLY thing that has changed from my first test forms (in which all notifications went properly where they needed to go) to my now malfunctioning notifications is the author email (not my "real" adobe id, but the email address I created for the author purpose).  Can y ou help?

    Can you please share the form with me ([email protected]) so we can investigate the issue.
    Thank you,
    Roman

  • ClassCastException using PJC in Forms 9.0.4.1.0

    I'm trying to setup a simple PJC in a Forms using Oracle Forms 9.0.4.1.0 but I get a FRM-92100 with a java.lang.ClassCastException: nl.eurotransplant.pjc
    I've create a Form with a simple Java bean and set the implementation class to "nl.eurotransplant.pjc"
    I've also created the class nl.eurotransplant.pjc implementing the IView interface. I've implemented all the abstract methods from IView but none of them are doing anything (yet) other the system.out.println to the console.
    Packaged the nl.eurotransplant.pjc in a JAR file and included that in the archive parameter for Forms.
    From the console I can see the constructor of the PJC is being called and the init method is being called and completes. No more messages after that.
    Does anyone of you have a suggestion as to what I'm doing wrong?

    I searched some more on the Forum and eventually found a whitepaper on PJC's in Forms 6i. That gave me the tip not to implement the IView interface, but just extend the VBean class.
    That's what I just tried and no more classCastException. That seems to fix my issue. No to develop the bean itself...

  • Image not displayed in pdf generated using Java API for Forms service

    Hi,
    I am creating a pdf document using Java API for Forms Service.
    I am able to generate the pdf but the images are not visible in the generated pdf.
    The image relative path is coming in the xml as defined below. The images are stored dynamically in the Livecycle repository each time a request is fired with unique name before the xml is generated.
    <imageURI xfa:contentType="image/png" href="../Images/logo.png"></imageURI>
    Not sure if I need to specify specify specific URI values that are required to render a form with image.
    The same thing is working when I generate pdf document using Java API for Output Service.
    As, I need to generate interactive form, I have to use Forms service to generate pdfs.
    Any help will be highly appreciated.
    Thanks.

    Below is the code snippet:
                //Create a FormsServiceClient object
                FormsServiceClient formsClient = new FormsServiceClient(myFactory);
                //Specify URI values that are required to render a form
                URLSpec uriValues = new URLSpec();
                                  // Template location contains the whole rpository path for the form
                uriValues.setContentRootURI(templateLocation);
               // The base URL where form resources such as images and scripts are located.  Whole Image path is passed in BaseUrl in the http format.
                      String baseLocation = repositoryPath.concat(serviceName).concat(imagesPath);   
                                  uriValues.setBaseURL(baseLocation);                                        
                // Set run-time options using a PDFFormRenderSpec instance
                PDFFormRenderSpec pdfFormRenderSpec = new PDFFormRenderSpec();
                pdfFormRenderSpec.setCacheEnabled(new Boolean(true));           
                pdfFormRenderSpec.setAcrobatVersion(com.adobe.livecycle.formsservice.client.AcrobatVersio n.Acrobat_8);
                                  //Invoke the renderPDFForm method and write the
                //results to a client web browser
                String tempTemplateName =templateName;
                FormsResult formOut = formsClient.renderPDFForm(tempTemplateName,
                                              inXMDataTransformed,pdfFormRenderSpec,uriValues,null);
                //Create a Document object that stores form data
                Document outputDocument = formOut.getOutputContent();
                InputStream inputStream = outputDocument.getInputStream();

  • How to save the session states for a tabular form WITHOUT using check boxs?

    Greeting guys,
    As you know that we can use collections to save the session states of a tabular forms, described in the how-to doc of manual tabular forms. However, what I am trying to do ( or have to do) is to provide a manual tabular form, and save the session states for validation, without using the check boxes. Because a user can put contents into some columns in a row without checking the corresponding checkbox, according to the requirements. So basically what I tried is to loop over all the rows and save Every entry into a collection. However, sometimes I got "no data found" error with unknown reasons.
    My current solution is to use the "dirty" Retry button that gets back the history, which IMO is not a good workabout. So, I'd appreciate if somebody can shed some light on a better solution, especially if it is close to the one in that how-to doc.
    Thanks in advance.
    Luc

    The following is the first collection solutin I've tried:
    htmldb_collection.create_or_truncate_collection('TEMP_TABLE');
    for i in 1..p_row_num loop -- Loop on the whole form rows
    if (htmldb_application.g_f01(i) is not null) or (htmldb_application.g_f05(i) <> 0)
    --If either of them has some input values, the row should be saved into the colleciton.
    then
    htmldb_collection.add_member(
    p_collection_name => 'TEMP_TABLE',
    p_c001 => htmldb_application.g_f01(i),
    p_c002 => htmldb_application.g_f03(i),
    p_c003 => htmldb_application.g_f04(i),
    p_c004 => htmldb_application.g_f05(i),
    p_c005 => htmldb_application.g_f06(i),
    p_c006 => htmldb_application.g_f08(i)
    end if;
    end loop;
    Some of columns have null values, but I don't think that's the reason. Because once I clicked all the check boxes, there would be no error no matter what values were in other columns.
    Another issue would be extract the values FROM the collection, which has been tried because I had problem to store the data into the collection. I used "decode" functions inside the SQL to build the tabular form. I am not sure whether it will be the same as a regular SQL for a tabular form, like the example in the How-to doc.
    Also I didn't use the checksum, for it is not an issue at the current stage. I am not sure whether that's the reason which caused the NO DATA FOUND error.

  • How to enable forms extenstion for adobe reader using Acrobat SDK?

    Adobe acrobat GUI tool  enables PDF forms designers to extend the use of Adobe Reader and allow the end user to save the PDF form locally using the Reader.
    Is it possible to do the same kind of fuctionality at run time on the server using Acrobat SDK?.
    We are creating several PDF Form on the server, is there any way we can use Acrobat SDK to enable form's extenstions programatically on the server after the PDF is created.
    If Yes How? any code example?

    Not using the Acrobat SDK, no.
    However, Adobe sells the LiveCycle Reader Extensions Server that can be
    used on a server for exactly this purpose.

  • I was online earlier this week and liked the forms with submit buttons and the Adobe site directed me to upgrade to Adobe PRO XI in order to use forms so I bought five licenses. Just had it installed today and it is now asking me to sign up for forms Cent

    I was online earlier this week and liked the forms with submit buttons and the Adobe site directed me to upgrade to Adobe PRO XI in order to use forms so I bought five licenses. Just had it installed today and it is now asking me to sign up for forms Central in order to use this feature. What gives? The Adobe site gave me the impression that I would have this feature after purchasing the new upgrade. I would not have purchased the upgrade, let alone five of them had I know this. Am I missing something?

    Acrobat XI comes with the Fromscentral AIR application and the ability to create PDF forms authored in Formscentral. To have more than the free (1 form with 50 responses) level account you need to sign up for a Formscentral subscription.
    Andrew

  • Create a new rule for printing form to use in time statement form

    Hello,
    we need to print an information on time statement form in dependence of a special substitution. Is there any possibility to create a new rule for printing form to use in time statement form? I can't find any information about this.
    Thanks for your help.
    Regards,
    Daniela

    Yes, I've tried this, but I get the error message:
    Form class TEDT can only be displayed with this editor.
    What am I doing wrong? Do I have to create a customer form class and assign a customer time statement form?
    Thanks for your information.
    Regards,
    Daniela

  • Using coldfusion for forms

    Hello, i want to use coldfusion for forms, but i have no clue
    to use it!!! would be someone to help me outo? the thing that i
    want to do is to include a form on my web-page and then when
    sombody fill the info like name, adress, email and so on and on,
    then they submit the form and it goes to my email adress,
    so if there is some one that could tel me would be great,
    greetings

    quote:
    i thought the forum would be to get some help
    It is.... just not ALL of your help. Those
    developers that tend to be successful are usually self motivated
    enough to acquire sufficient knowledge through their own initiative
    so that they can make the best use of resources such as these
    forums. To come to a forum like this and basically say "I don't
    know anything. Tell me what to do." is a lazy person's attitude and
    is not going to elicit much sympathy.
    As for your suggestion that "
    maybe you should get your self also a book and then when you
    have knowledge you could reply to people asking for some help",
    you might notice that virtually all of the 3772+ posts that I have
    submitted over the years is to help someone with a problem, not to
    ask a question. In fact, I can't remember the last time that I
    submitted a request for help, although I do learn quite a lot
    myself from participating here.
    Phil

  • Re: Configuring Jinitiator for Oracle Forms 10g Using IE 8.0

    Hi team,
    iam facing difficulty in running the Oracle Forms 10g , using IE 8.0.
    What are the settings i need to perform while running the forms, please help me.
    While Running : http://localhost:8889/forms/frmservlet
    the tab is not getting crashed and it is displaying "We were unable to return you to the page you were viewing."
    What are the settings i need to modify before running.. Please help..
    thanks

    Hello,
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/techlisting10gr2-093389.html
         How to use Sun's plug-in with Forms 21-Aug-2008
         This whitepaper describes how to use Sun's plug-in 1.4 or later with Forms version 10.1.2.
    Client Platform Statement of Direction 14-Feb-2007
         Describes Oracle Corporation's statement of direction to support Oracle Forms 10g applications on multiple Java client platforms
    Denis

  • PJC for Spell Checking

    Dear Experts,
    My forms & database version is
    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    I need a PJC for Spell Checking.
    I tried to download it from
    http://forms.pjc.bean.over-blog.com/article-a-spell-checker-java-bean-38414462.html
    but the link is not working.
    Help me out, please...
    Thanks in advance..

    Hello,
    The Bean's material was uploaded on MegaUpload, that is closed, now. Unfortunately, I cannot managed to contact the Bean creator, so that it seems that this code is lost :(
    <p>
    As an alternative, here is the way I use (see at the very end of the article), using the MSWord internal spell check option.</p>
    Francois

  • Pjc for client-server mode

    hi,
    i have been using pjc for customized text field and text area and have successfully implemented it on windows and sun solaris. we have used pjc for working in non english character set so that the user can directly type in the required character set without any supporting application to enable new keyboard mapping. but i have a serious problem.
    these customized components work only on the webforms mode.i.e. on browser or applet. they dont work in the normal client server mode. is it possible that i can have them running in the normal runtime also. if yes then how and if not what is the work around for achieving the same without much effort.
    awaiting a prompt reply.
    thanks in advance,
    regards,
    Yousuf.
    Delhi.

    Dear Yousof,
    I want to do the same thing that u'vve already acheived, I want to customize oracle forms texfields and instead of EXTENDING VTextfield I want to extend JTextfield and ofcourse implementing IView interface.
    But I get problems, would u mind be kind enough to instruct me in doing that?
    Best regrds,
    Sasan

  • STRUTS - Cannot retrieve definition for form bean null -aaaarrrrgh

    Hi Folks,
    my head hurts and i become crazy... i know that a lot of people asked this question before, but i did not found any suitable solution.
    I have simple a jsp page, containing a form which should be handled by struts. I tried everything, but i did not found my mistake.
    Can anyone help me please?
    JSP:
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html:html locale="true">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Anmeldung f?r GOLEM Quickplayout</title>
    </head>
    <body>
    <html:errors/>
    <html:form action="checkLogin.do">
      <table cellspacing="3" cellpadding="2" border="0" width="100%" align="left">
        <tr>
          <td>
            <bean:message key="prompt.username"/>
          </td>
          <td>
            <html:text property="username"/>
          </td>
        </tr>
        <tr>
          <td>
            <bean:message key="prompt.password"/>
          </td>
          <td>
            <html:text property="password"/>
          </td>
        </tr>
      </table>
    </html:form>i tryed a lot for the FORM -Tag, for instance:
    <html:form action="checkLogin.do"> or
    <html:form action="/checkLogin.do"> or
    <html:form action="/checkLogin"> but all throws the same exception. :(
    struts-config.xml
      <form-beans>
        <form-bean name="loginForm" type="de.orb.quick.view.LoginForm"/>
      </form-beans>
      <action-mappings>
      <action path="/login" type="de.orb.quick.view.LoginAction" name="loginForm" input="/login.jsp" scope="session" unknown="true">
        <forward name="success" path="/showData.jsp"/>
      </action>
        <action path="/checkLogin" type="de.orb.quick.view.CheckLogonAction" unknown="false" input="/login.jsp">
          <forward name="success" path="/storeRequestData.do"/>
          <forward name="failure" path="/login.do"/>
        </action>
    Exception:
    javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null
         at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831)
         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
         at _login._jspService(login.jsp:11)     [/login.jsp]
    LoginAction:
      public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
        return mapping.findForward("success");
    LoginForm:
    public class LoginForm extends ActionForm  {
      private String password = "";
      private String username = "";
      public void reset(ActionMapping mapping, HttpServletRequest request) {
        super.reset(mapping, request);
      public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        return super.validate(mapping, request);
      public String getPassword() {
        return password;
      public void setPassword(String password) {
        this.password = password;
      public String getUsername() {
        return username;
      public void setUsername(String username) {
        this.username = username;
      }Sorry for this stupid question, but how can i avoid this exception while using struts TagLibs?
    I tried to face the jsp with another action, but this does not change anything.
    Thank you in advance
    Mirko

    javax.servlet.jsp.JspException: Cannot retrieve definition for form bean myfrom
         at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831)
         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
         at jsp_servlet.__index._jspService(__index.java:155)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

  • Cannot retrieve definition for form bean null

    Hi,
              I have a page jsp which contains a form. This form contains an action
              towards (page.do ).
              I configured struts-config.xml file in whom I put a configuration of
              action ( type=xxx.pageAction ) but not form because I have not need of
              it.
              During the execution it show that it tries to instantiate a bean of form
              corresponding to a configuration of action and post this error message
              " Root causes of ServletException javax.servlet.jsp. JspException:
              Cannot retrieve definition for form bean null "
              Could you indicate to me where is the problem ?
              Here is my configuration :
              < html:form action = " page.do " method = " post " >
              </html:form >
              <action path="/page"
              type="xxx.pageAction">
              <forward name="show" path="/page.jsp"/>
              </action>
              Thanks in advance
              Rachid.
              

    There's little reason to use Struts infrastructure to set this up since you have no model, and the controller aspect is well-defined (just go to "NewProject"!). You're basically providing a link from one page to another, akin to doing an <a href>, and you wouldn't use Struts to do a simple link :).
    I would just just use standard HTML.
    If you're okay with using Javascript, this is the simplest:
    <input type="button" onClick="document.location='NewProject'">
    Or you can use a standard HTML form, as you've basically done already:
    <form action="NewProject" method="get">
    <input type="submit" value="Create">
    </form>

Maybe you are looking for

  • Iphone 5 issues with wifi connection

    Hope someone can help.  in the past few days my iphone 5 cannot or will not connect to the wifi network in my home.  It will connect if in close proximity to the home hub. Hub security been checked and all ok My phon has worked fine with wifi until t

  • Mail no longer syncs, MobileMe was fine, iCloud won't let iPod Touch sign in

    4.2.1  , it's a 4 year old iPod Touch, mail synced using Mobile Me until recently. Now can't even get it to sign in in settings.

  • BAPI for sales order creation with Reference

    Hello Experts, I have a order, with its reference I have to create a new sales order. Am looking for BAPi, with which I can create a sales order with a Reference order (which is in my hand), so I checked SE37 with wild cards, but I did not find any!!

  • MIRO User - Exit to Change the Profit Centre..?

    I need to change the Profit Centre in the Accounting document(for Vendor Line Item) and Profit Centre Accounting Document(For Payable Line Item) Created by MIRO Transaction.Can any one let me know if there is anyuser-exit or badi to achieve the same

  • Rotating and Translating Objects with Collision Modifiers

    Hello Im trying to build a simple 3d scene. The idea being that a footballer walks up to a football and on detection of that collision, the football is translated or 'kicked.' Got the Collision Detection working using Collision Modifiers. Got it work