Form inputs generated by HttpPortletRendererUtil.portletParameter contain .

Hi,
I'm creating JSP portlets and have to sumbit values from a HTML form. I'm using
HttpPortletRendererUtil.portletParameter to generate unique form input names.
I'm following the forminput.jsp sample.
All is fine but now I want to build some javascript form validation which presents a problem cause form input names are generated like "_piref33_38678_33_1_1.mSite"
if I test with javascript I tend to use <inputname>.value which results now in "_piref33_38678_33_1_1.mSite.value"
But .... javascript seems to evaluate the name until the '.' and thinks its an object of some sort..
Has anyone had similar problems or how can I easy validate a JSP form which is using the JPDK call.
Regards
Cumquat
Dave Ruzius

I think the code below helps you.
<%
parameter = HttpPortletRendererUtil.portletParameter ("param")
%>
Use this in javascript.
document.form.elements["<%= parameter%>"].value
i hope this solves your problem.

Similar Messages

  • Need to add flex grid in livecycle form to generate dynamic PDF

    Hi,
    not sure this is the right fourm or not, but I require a way to add flex data grid in my livecycle form to generate PDF containing flex grid.
    I tried adding a flex swf in Flash Field in Live cycle but it is giving me
    Error #2032: Stream Error. URL: file://PDFMedia026281/g/framework4.6.0.23201.swf
    I am new to this environement so any help would be great.

    Hi,
    with Designer ES3 (formerly know as ADEP Designer) you can use Flash files within XFA forms.
    Check Niall O'Donovan's article.
    He has prepared a nice example of using flash charts which can be manipulated at runtime.
    http://www.assuredynamics.com/index.php/2011/10/whats-new-in-adep-designer/

  • Heavy performance issues using Adobe Interactive Form PDFs generated by SAP BPM

    Dear experts,
    we use Adobe Interactive Form PDFs (generated with LiveCycle Designer) as Human Tasks within SAP BPM processes. The PDFs are generated and transmitted correctly, but when they are opened at the receivers PC, Windows freezes for 2-3 minutes, then the PDF opens and can be filled out and sent back. The next PDFs can be opened much faster, but when the PC is restarted, we get the same problem again. We use Adobe Reader XI (11.0.2) on our clients; is their any know performance issue?
    Please note, that we have this problem with EVERY Adobe Interactive Form PDF... I created a simple PDF containing just a field and the client PC still freezes. So it can't be in the form or the scripting. Normal static PDFs can be opend without any problems.
    Best regards,
    David

    They haven't really announced it, because there is no product to announce. Rather the opposite.
    There are no conversion tools, so far as I know.
    XFA forms are a non-starter if you want portability.
    AcroForms are a nightmare in themselves, because the functionality is limited in Adobe Reader and varies between absent and weird in other products. No idea about Blackberry support.
    You will not find a simple recommendation. Rather, you need to use Acroforms and carefully test everything (EVERYTHING: no assumptions) on every platform you intend to support.
    Yes, rather unsatisfactory, but until Adobe realise that the future is platform equivalence or irrelevance, this is where we are.

  • Checking an Array with a form input field to return true or false?

    I have an array that when dumped, lists dates for all days of the month. There is a form, where the user specifies the date and when submitted, transfers to a processing.cfm file which is where i want the <cfif> to check if the date specified in form exists in the array (this way, it only limits the user of only being able to select a date from this month for an event). Is it possible to have a cfif where it will check whether or not the array contains the date the user has specified and the return true (if contains the date specified), and transfers the form to email.cfm (where it will email all the form inputs) or will return false (if outside that range) then return back to the eventform.cfm?

    Nevermind. Figured it out.
    Heres my code if it will help anyone:
    <!---CFSET's--->
                    <cfset theDate = Now()>
                    <cfset NextMonth = DateAdd('m', 1, theDate) />
                    <cfset nextMonthNum = daysInMonth(#NextMonth#) />
                    <cfset weekNum = (#weekOfMonth(now())#) />
                    <cfset daysNum = daysInMonth(now()) />
                    <cfset dateToday = Now()>
                    <cfscript>
                                                      function weekOfMonth(thisDate) {
                                                                var thisDay=day(thisDate);
                                                                var thisWeek=0;
                                                                if (thisDay LTE 7)
                                                                thisWeek=1;
                                                                else if (thisDay GT 7 AND thisDay LTE 14)
                                                                thisWeek=2;
                                                                else if (thisDay GT 14 AND thisDay LTE 21)
                                                                thisWeek=3;
                                                                else
                                                                thisWeek=4;
                                                                return thisWeek;
                                            </cfscript>
                    <cfset datearray = ArrayNew(1)>
                    <cfif #DatePart('w', TheDate)# GTE 2 AND #weekNum# GTE 3>
                        <cfloop index="x" from="1" to="#daysNum#">
                                      <cfset datearray[x] = "#DateFormat(now(), "mm")#/#x#/#DateFormat(now(), "yy")#" />
                                <cfset recordnumber = #x#>
                                                      </cfloop>
                        <cfloop index="y" from="1" to="#nextMonthNum#">
                                  <cfset potato = #y# + #recordnumber# >
                                      <cfset datearray[potato] = "#DateFormat(NextMonth, "mm")#/#y#/#DateFormat(NextMonth, "yy")#" >
                        </cfloop>
                                  <cfelse>
                                  <cfloop index="z" from="1" to="#daysNum#">
                                <cfset datearray[z] = "#DateFormat(now(), "mm")#/#z#/#DateFormat(now(), "yy")#">
                                  </cfloop>
                            </cfif>
                    <cfif #arrayContains( datearray, "#form.activitydate#" )#>
                              <cflocation url="monkey.cfm">
                                  <cfelse>
                                      <cfset datetrue = "no">
                                <script>
                                                                                    alert("Date Not Valid. Please Specify Event Date Within Valid Range.<br>(Allow a couple seconds to refresh)")
                                                                                    history.go(-1)
                                                                          </script>
                    </cfif>

  • Forward Form input info

    I am going to create a form that will have about 3 pages of inputs in one form.
    The first and second page will have continue button and the final page (3rd page) will have the submit (into database) button.
    What is the best way to forward the form inputs from each page so all will be submitted?
    I will use MVC architecture but dont have Struts on our Tomcat 4.1.27 container.

    On the first two pages, put a 'next' button to allow the user to navigate to the next page. On the last page ,put a 'save' button.
    When the user clicks one of the next buttons or save button, store data from those pages in session scope.
    Then, for the save button, get the data from session scope and you have all the data you want.
    If you want to get fancy, put a 'prevous' button on the second and third page so if the end user wants to go back and review his data before submitting, he can. Upon clicking the prevous button, get the data out of session scope to repopulate that page.

  • HTML special characters in form input

    In my site I store form input in my database. Before I store
    the data, I parse out smart quotes, en dashes, and other extended
    special characters and convert them into HTHML quivalents such as
    &#8217;
    All is well and good until the user goes to edit their info.
    In my form these characters show up in my <input> tags as
    their long-winded HTML equivalents, such as &#8217; instead of
    a smart apostrophe.
    Is there any way to convert these back to the special
    characters from the HTML on the form input text fields so that
    users can edit them without being confused?
    Thanks.

    Hmmm, well I ran the MX 6.1 updater and installed the two hot
    fixes that had to do with null pointer exceptions and it still does
    not work.
    Here is the detailed error I'm getting, if it helps. Any more
    ideas? Thanks again for the help, I'm really stuck on this one...
    The system has attempted to use an undefined value, which
    usually indicates a programming error, either in your code or some
    system code.
    Null Pointers are another name for undefined values.
    The error occurred in C:\Inetpub\wwwroot\store\index.cfm:
    line 1
    1 : <cfquery name="getBooks" datasource="#dsn#">
    2 : SELECT *
    3 : FROM products
    Please try the following:
    * Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    * Search the Knowledge Base to find a solution to your
    problem.
    Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
    rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
    Remote Address 127.0.0.1
    Referrer
    Date/Time 09-Oct-07 02:20 PM
    Stack Trace
    at
    cfindex2ecfm1770128649.runPage(C:\Inetpub\wwwroot\store\index.cfm:1)
    java.lang.NullPointerException
    at coldfusion.sql.QueryTable.populate(QueryTable.java:260)
    at coldfusion.sql.QueryTable.populate(QueryTable.java:159)
    at coldfusion.sql.Executive.getRowSet(Executive.java:505)
    at coldfusion.sql.Executive.executeQuery(Executive.java:974)
    at coldfusion.sql.Executive.executeQuery(Executive.java:886)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
    at
    coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:447)
    at
    cfindex2ecfm1770128649.runPage(C:\Inetpub\wwwroot\store\index.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
    at
    coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:24)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:105)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • How do link form input and a datatable that are on the same page?

    I am real new to JSF, so I'm having the following issue...
    I created a demo app that will pull records from from a database and display them in a datatable. I hava a backingbean for this process that works great with hardcoded data.
    Now, I want to add a form to this page and use the form input to drive the results in the datatable. I have created my form and used a separate backingbean that is essentially a JavaBean for all the form input.
    My question is how do I integrate the submit button from this new form to feed the call that is used for the datatable?
    Here's is a snippet of the pertinent code from the JSP:
    <TABLE border="0">
                   <TBODY>
                        <TR>
                             <TD>
                             <P>Correlation ID:</P>
                             </TD>
                             <TD><h:inputText styleClass="inputText" id="correlationId"
                                  value="#{LogMessageBean.correlationId}"></h:inputText></TD>
                             <TD width="121"></TD>
                             <TD width="153">
                             <P>Workflow ID:</P>
                             </TD>
                             <TD width="158"><h:inputText styleClass="inputText" id="workItemId"
                                  value="#{LogMessageBean.workItemId}"></h:inputText></TD>
                        </TR>
                   </TBODY>
              </TABLE>
              <BR>
              <div align="center">
              <h:commandButton value="Search" actionListener="#{LogValueListHandler.search}" action="#{LogValueListHandler.result}"/>
              <h:commandButton value="Reset" onclick="reset()"/></div>
              <H5>Application Logging Results</H5>
              <t:dataTable value="#{LogValueListHandler.logList}" var="feed"
                   rowClasses="oddrow, evenrow" headerClass="table">
                   <t:column>
                        <f:facet name="header">
                             <h:outputText value="ClassName" />
                        </f:facet>
                        <h:outputText value="#{feed.className}" />
                   </t:column>
                   <t:column>
                        <f:facet name="header">
                             <h:outputText value="MethodName" />
                        </f:facet>
                        <h:outputText value="#{feed.methodName}" />
                   </t:column>
    ...Thanks!

    Locutus_1,
    I'm working on the same sort of app - A data table where the record selected is displayed in a form below the datatable and may be edited and saved.
    I've included a checkbox in the datatable so that the user can indicate which record is to be displayed and edited. The have everything working, except that I cannot get the checkbox click event passed to the backing bean correctly (critical to the entire operation). When I have this working, I'll post the code.
    This solution does not have a direct link between the datatable model and the data handled by the form. The backing bean code does this. If there was a solution where the two could be linked directly via JSF, I'd be very interested in it.
    Werner

  • The form field arguments.image did not contain a file.

    Hi there,
    I'm getting a strange error with a simple file upload and I
    can't figure it out for the life of me. It's odd, because old code
    I have written before has worked fine in this area, and I really
    honestly can't see where I am going wrong.
    First the error:
    The form field arguments.image did not contain a file.
    The error occurred in
    C:\ColdFusion8\wwwroot\red_roof_rentals\components\query.cfc: line
    37
    35 :
    36 : <!---<cftry>--->
    37 : <cffile action="upload"
    accept="image/jpg,image/jpeg,image/gif" filefield="arguments.image"
    nameconflict="overwrite"
    destination="#getDirectoryFromPath(getBaseTemplatePath())#\properties\">
    38 : <cfset variables.image = "#file.ServerFile#" />
    39 : <cfset variables.thumb = "thumb_#file.ServerFile#"
    />
    I have researched this and found other people have had the
    same problem - although please be aware that I do not beleive this
    to be an issue with whatever version of CF I am running. I have
    still not found an answer.
    I have one template with my form called
    "admin_create_property.cfm". When the form posts it invokes a CFC
    method that uploads the file and inserts stuff into the database.
    However, it dies at the file upload part with that bizzarre error.
    There are only two files working in this:
    admin_create_property.cfm
    query.cfc
    I will write the code out for these so you can see. Please
    see attached code. Please note that I have taken out as much
    irrelevant code as possible (html, doctypes etc etc).
    Any help with this would be greatly appreciated as I am
    absolutley stumped to be quite honest. I've heard people say it
    could be any of the following:
    1 - Need to use enctype="multipart/form-data" - which I DO
    2 - cffile filefield can't contain ## - which it DOESN'T
    3 - Inut type must be file - which it clearly is.
    Please please help, I feel stupid asking about this but I
    need you guys more than ever!
    Kind regards and thanks in advance,
    Mikey.

    I don't get what you mean as this is what I am doing.
    <cfinvokeargument name="image" value="#form.image#" />
    This takes the value of the image file field and passes it to
    the CFC as an argument.
    Am I doing something wrong with this? Sorry for my
    stupidness!
    Thanks for you help, further assistance would be greatly
    appreciated.
    EDIT: Interestingly enough, if I just use the tag on my
    "admin_create_property.cfm" page instead of using the CFC method
    like this...
    <cffile action="upload"
    accept="image/jpg,image/jpeg,image/gif" filefield="form.image"
    nameconflict="overwrite"
    destination="#getDirectoryFromPath(getBaseTemplatePath())#\properties\">
    It seems to upload the image just fine. Why then would this
    not work if all I am doing is simply passing to the CFC the value
    of the "form.image" as an argument so that the file upload can
    happen in my CFC instead of in the calling template??!
    It's really bizzarre.
    Mikey.

  • Dynamic form input name

    Hi,
    My brain is frozen or something because I couldn't think out this issue.  Basically my form input radio name and value are dynamically pulled from a database.  The name of the form is concat with a name and id is from a database.  On the form processing side, how would I get all the dynamic input radio name.  The value of the input will be attach to the name.  Hope that make sense. 
    form.cfm
    <cfquery name="get_form_name" datasource="#ds#">
         SELECT id, name
         FROM records
    </cfquery>
    <cfoutput>
    <form action="form_process.cfm">
    <cfloop query="get_form_name">
    <p>name: <input type="radio" name="test_#get_form_name.id#" value="#get_form_name.name#" /></p>
    </cfloop>
    <input type="submit" value="submit">
    </form>
    </cfoutput>
    form_process.cfm
    somehow get all the input name from the FORM to set cfparam and value.  Once I have this, i have the form values that are passing over.

    Your requirement is that you want the application to remember the name of a query variable across multiple page requests. That is a typical case where you would use the session scope.
    Following your example,
    form.cfm
    <cfquery name="get_form_name" datasource="#ds#">
         SELECT id, name
         FROM records
    </cfquery>
    <cfset session.formRecords = structNew()>
    <form action="form_process.cfm" method="post">
    <cfoutput query="get_form_name">
    <p>name: <input type="radio" name="test_#id#" value="#name#" /></p>
    <cfset session.formRecords["test_#id#"] = name>
    </cfoutput>
    <input type="submit" name="sbmt" value="submit">
    </form>
    form_process.cfm
    <!--- The names and values of the form fields are stored, respectively, as key-value pairs in the structure session.formRecords--->
    <cfdump var="#session.formRecords#">
    Remarks
    1) I simplified the code somewhat. I also added post method to the form, as I assume that is what you are aiming for. Otherwise the form fields will be submitted via the URL.
    2) It seems to me the database table holds rows having distinct values of ID . Therefore, my guess is that the functionality you should be going for is <input type="checkbox"> instead of <input type="radio">.

  • How to make form input value a dataset value?

    Have a form and one hidden field, i want the value to come from
    a dataset.
        <input name="buyerbid" type="hidden" id="buyerbid" value="<?php  { ?> echo '<div spry:region="ds3" class="StackedContainers">
    <div spry:repeat="ds3" class="RowContainer">
    <div class="RowColumn">{column0}</div>
    </div>
    </div>' ;
    <?php } ?>" /> 
    The Spry is the
    <div spry:region="ds3" class="StackedContainers">
    <div spry:repeat="ds3" class="RowContainer">
    <div class="RowColumn">{column0}</div>
    </div>
    </div>
    Spry dataset renders correctly in a div on the page, but can't get the same value in the form input value?
    thanks for your help,
    Jim Balthrop

    thanks for your help.
    The php i knew was the wrong code.
    the spry region not surrounding the form was the answer.
    so i did it this way and it worked.
    <div spry:region="ds4"><form method="POST" name="client_bid" id="client_bid">
        <input name="vehicle_ID" type="hidden" id="vehicle_ID" value="<?php echo $row_rs_vehicle['vehicle_ID']; ?>" />
        <input name="buyer_ID" type="hidden" id="buyer_ID" value="<?php echo $row_rs_login['client_ID']; ?>" /> 
        <input name="auction_ID" type="hidden" id="auction_ID" value="<?php echo $row_rs_auction['auction_ID']; ?>" />
        <input name="buyerbid" type="hidden" id="buyerbid" value="{ds4::column0}" />
        <input name="submitbuyer" type="submit" id="submitbuyer" value="Submit Bid">
      </form></div>
    thanks again.
    -Jim Balthrop

  • CFGIRD and hidden form inputs

    Hi,
    I am using a cfgrid in CF8 bound to a cfc. The cfgrid of
    course has to be in a form. The question is, if I am using an
    "href" on one of the cfgridcolumns (i.e. a user clicks on a
    link/data in the grid which opens a new webpage with an attached
    hrefkey), should any hidden form fields within the same form
    (<input type="hidden"....>) be posted to the new page as
    well?
    If this is not possible how else can I get other variables
    not related to the grid results posted to a new page?
    Thanks.

    Your actions specify session scope - that means it should retain the form in session, and keep your values. That looks good.
    You have a 2-step 'wizard' process.
    The question - what does your reset() method on your action form do?
    If it clears all the fields, that explains what happens to the values.
    The "reset" method gets called every time you access the action form.
    In your case, you only want to "reset" the action form when you submit from page1, not from page2.
    Well thats my hypothesis anyway.
    Hope this helps,
    evnafets

  • URGENT 6i Forms Builder generate access violation 0xc000005 exception

    Forms builder generate exception on WinNT 4.0 SP6.
    Forms Patchset 12 installed.
    Can't generate fmx !
    Compile all (Shift-Ctlr-K) and after generate file (Ctrl-T) create an exception.
    Please help !
    Thanks

    Try this - I've just written and tested this for 6i - it does detach all the libraries.
    The things to watch are:
    1) Remember to Save the form!
    2) When you detach a library it destroys the reference as well so d2fobg_next() or d2falbg_next() will fail because the pointer is now null - so you have to get the next library before detaching the current one.
    * detlib.c 1.0.0
    * Copyright (c) 2002 Oracle Corporation. All Rights Reserved.
    * Detach the PL/SQL libraries currently attached to
    * a form.
    #include <stdio.h>
    #include <stdlib.h>
    #include <malloc.h>
    #include <d2fctx.h>   /* Forms API context */
    #include <d2ffmd.h>   /* Form module header file */
    #include <d2fob.h>    /* Generic Object header file */
    #include <d2falb.h>   /* PL/SQL Attached Library Header file */
    int main (int argc, char *argv[])
      d2fctxa  ctx_attr;
      d2fctx  *ctx;
      d2ffmd  *form;
      d2fob   *lib;
      d2fob   *nextLib;
      char    *form_name;
      char    *libName;
      char    *libLoc;
      number   libSrc;
       /* Check arguments */
       if ( argc != 2)
        fprintf(stderr, "USAGE: %s <filename>\n", argv[0]);
        exit(1);
       /* Create Forms API context */
       ctx_attr.mask_d2fctxa = (ub4)0;
       if ( d2fctxcr_Create(&ctx, &ctx_attr) != D2FS_SUCCESS )
        fprintf(stderr, "Error creating Forms API context\n");
        exit(1);
       /* Load the form module into memory */
       if ( d2ffmdld_Load(ctx, &form, argv[1], FALSE) != D2FS_SUCCESS )
        fprintf(stderr, "Failed to load form module: %s\n", argv[1]);
        exit(1);
       /* Get the name of the form module */
       if ( d2ffmdg_name(ctx, form, &form_name) != D2FS_SUCCESS )
        fprintf(stderr, "Error getting the name of the form module\n");
       else
         /* print the name of the form, then free it */
         fprintf(stdout,"Libraries attached to %s\n", form_name);
         fflush(stdout);
         if (d2fobhp_HasProp(ctx, form, D2FP_ATT_LIB) == D2FS_YES)
           * Get the Handle of the first lib
          if (d2fobgo_GetObjProp(ctx, form, D2FP_ATT_LIB, &lib) == D2FS_SUCCESS)
            while (lib != (d2fob *)0)
               * Get the Name
              d2fobgt_GetTextProp(ctx, lib, D2FP_NAME, &libName);
               * Get the Location
              d2fobgt_GetTextProp(ctx, lib, D2FP_LIB_LOC, &libLoc);
               * Get the Source
              if (d2fobgn_GetNumProp(ctx, lib, D2FP_LIB_SRC, &libSrc) != D2FS_SUCCESS)
                libSrc = D2FC_LISR_FS;
               * Print all that out
              fprintf(stdout,"Detaching %-25s from %s\n",libName,((libSrc==D2FC_LISR_DB)?("Database"):(libLoc)));
               * Before Detaching get the handle to the next library
               * because detaching will destroy this handle and prevent you
               * walking to the next
              if (d2fobg_next(ctx, lib, &nextLib) != D2FS_SUCCESS)
                nextLib = (d2fob *)0;
               * Do the Detach
               if (d2falbdt_Detach(ctx , lib  )  == D2FS_SUCCESS)
                 fprintf(stdout,"\tDetached OK\n");
               else
                 fprintf(stdout,"\tWARNING Detach did not work\n");
               * Re-assign the lib
               lib = nextLib;
         else
           fprintf(stdout,"No Libraries Attached...\n");
       /* Save the Form */
       if (d2ffmdsv_Save(ctx, form, argv[1], FALSE) != D2FS_SUCCESS)
        fprintf(stdout,"Could not save Form\n");
       /* Destroy the in-memory form */
       if ( d2ffmdde_Destroy(ctx, form) != D2FS_SUCCESS )
        fprintf(stderr, "Error destroying the form module\n");
       /* Close the API and destroy context */
       d2fctxde_Destroy(ctx);
       return 0;
    }

  • When form is generated unbound items always have maxlength=2000

    When form is generated unbound items always have maxlength=2000
    When generating forms in Designer using the Headstart templates & libraries any unbound items when viewed in Form Builder have a maxlength=2000. The width property specified in Designer for each unbound item is ignored. The item max length is subclassed from the object library setting CGSO$DEFAULT_ITEM. Can anyone tell me why this happens and any known workarounds.
    Thank You
    Eoin Smyth

    It sounds like a problem with Designer. What release are you using? The object CGSO$DEFAULT_ITEM has width = 2000 in the object library for Headstart. However, Designer should be overriding that value with the value from the repository. Please submit this same question on the Designer discussion forum and see if anyone there has experienced it. Be sure to mention which version of Designer you are using.
    Regards,
    Lauri

  • How to get form input in the same portlet using pageflow

    Hi this is premkumar
    i created 2 portlet in a portal how to get form input in the sampe portlet using
    pageflow
    help as early as possible

    Do to the complexity of the program we need to run it with sequences.  This is because we need to aquire data with DAQ until it reaches a certain point and then stop collecting so that it can do its process (only once for all times criteria is met), and then loop around till again collecting after DAQ drops back below certain point looking to once again reach that point.  Another flat sequence is going outside of this where I want to put the prompt and have a user input to affect how many times that that the inner loop is run (No a For Loop instead of the while loop will not work either for other reasons). 
    I just want to know if after the program starts you can have a user input that will change the effect of the rest of the programs action based on the number inputed.

  • How can i generate a pdf with an XFA form input ?

    I am creating a process, in which xfa form variable flows through workflow. When i use any solution components like Reader Extension, Content Management....it needs pdf as input.....so i need to convert xfa form variable into pdf ....i am not able to do that .....can u please suggest any solution in description........
    Thanks in Advance....

    Hi,
    For details on input/output of RenderPDFForm operation. Please refer to
    http://livedocs.adobe.com/livecycle/8.2/wb_help/wwhelp/wwhimpl/common/html/wwhelp.htm?cont ext=Workbench_ES&file=000614.html#1552381
    You can also use Render PDF Form process for the same.
    http://livedocs.adobe.com/livecycle/8.2/wb_help/wwhelp/wwhimpl/common/html/wwhelp.htm?cont ext=Workbench_ES&file=000686.html
    Thanks

Maybe you are looking for