Question about creating objects in Forms 6i

Hi,
I'm trying to create by code dynamic items in a form, but I don't find the way to do it, or any tutorial in the internet.
Taking a look at the Forms Help it says 'Once you create a data or control block, you can create items in that block at any time. Create items via the Object Navigator by inserting them under the desired block, or via the Layout Editor by drawing them on the desired canvas.'
Is there a way to create items and assign them to datablocks by code? something like CREATE_ITEM?
All I want is a button that inserts textboxes in a canvas, as many items as you want.
Thank you in advance

Hello,
There is no Create_item() built-in to create item at runtime.
You can create hiden item at design time then show them at runtime.
Or you can use some java code to create component at runtime.
Francois

Similar Messages

  • Question about creating interactive PDF form

    Someone provided me a PDF brochure file that was converted from an image file and was asking if we could setup the form where it could be published online and some of the fields could be filled out on the form and submitted as a registration online (name, phone, etc).  I currently have Adobe Flash CS4, Adobe Indesign CS4, Adobe Acrobat 9 and was wondering what the best way was to go about setting this process up.  I have setup some basic forms using Flash and php to submit form data via email but I was hoping to embed these form fields directly in a PDF file so they could be filled in online... would look nicer and more professional.
    Thanks!

    Sure it's possible. One way to help insure that the original blank form does not get overwritten it to make it read-only in the file system. To do this in WIndows, open an Explorer window, find the file, right-click on it, select Properties, and select read only. You cna do the same type of thing on a Mac in FInder > Get Info
    When you save the filled-in form, just save it with a new file name. If you accidentally forget and atttempt to overwrite the original, it won't be allowed and you'll be notified.

  • Question about creating objects

    Around the web and in a few books I have seen code similar to this:
    List records = new ArrayList();
    My question is, why is "List" used instead of "ArrayList"?? So the code would like so:
    ArrayList records = new ArrayList();
    What are the benefit(s) of assigning ArrayList object to a superclass variable??

    It allows you to change the implementation on that
    one line, for example, to:
    List records = new LinkedList();
    //or
    List records = Collections.synchronizedList(new
    ArrayList());without having to change the code elsewhere. And ask
    yourself -- does
    the code elsewhere in the class need to know that
    records is an instance
    of ArrayList, versus some other list type?Interesting, but then you would lose the additional methods that the derived class adds correct? So you have to make some sacrifices for more robustness.

  • Question about creating Custom JSF form tag and renderer

    Is it possible to build a custom form tag in JSF and have it replace the standard jsf form tag. Are there any potential issues with child forms or anything else.
    I created the following
    - custom form component class that extends javax.faces.component.UIForm (the only changes I made was to change the value of the COMPONENT_TYPE attribute and change the value for renderer type)
    - custom form renderer class that extends HtmlBasicRenderer and I made changes to the encodebegin method and encrypt the value of the id and action url)
    - custom form tag class that extends UIComponentELTag ( I did not make any changes here)
    - tld for my custom form tag
    - created an entry in faces-config.xml of my web-app for my custom form tag
    Are there any issues with the above.
    Is there something I should do in addition.

    In theory you should be fine. Some of the open source libraries either swap out the renderer for the standard h:form component or supply their own form components. You could look at their code for reference if need be.

  • A question about creating packages as local objects in ABAP

    Hi,
    I have a question about creating packages with SE80. Whenever I create a new package it is assigned a new transport request. After that, I can create new programs inside this package, and each time I can choose whether to assign the new program to a transport request or just save it as a local object (I often do this for test programs that I don't transport and I remove them once my tests have been done).
    What I would like to ask is that, is it possible to create a package (and not just programs inside a given package) as a local object? so that every new object created in this package will be considered as a local object?
    Thanks in advane,
    Kind Regards,
    Dariyoosh

    Thomas Zloch wrote:
    Please also check the F1 help for the package field e.g. in SE80, SAP standard is in range A-S and U-X, namespaces start with "/", so you should be save. I am using the T namespace for temporary stuff since a long time and did not have a problem so far.
    > Thomas
    >
    > P.S. this applies to the package name only, of course
    Thank you very much for this remark, I checked F1 help for the package field and in fact as you mentioned these ranges are for local objects.
    Once again, thank you very much for your help.
    Kind Regards,
    Dariyoosh

  • Question about creating Forms in Java.

    Hello , im new to Java , i find kinda weird how Java creates Forms , its pretty simple in Oracle Forms ,
    why did Java designers make it this difficult ? do people say this is something bad about Java ?
    when i learned about the Layout Managers that Java provides i found out how much code one have to write just to create a simple form ,my question to the experienced java developers : what do you do to create a form , do you hard code it ? , or do you use something like GUI Builder in an IDE like NetBeans for example? and is the code generated by this builder easy to deal with and modify ?
    Thanks ....

    HeavenBoy wrote:
    Hello , im new to Java , i find kinda weird how Java creates Forms , its pretty simple in Oracle Forms ,
    why did Java designers make it this difficult ? do people say this is something bad about Java ?Some Oracle Forms fans certainly do. But the truth is that Oracle Forms application tie down all the components in fixed pixels. The typical Swing form can be resized and can function at different screen resolutions. So, when designing a Java form, we don't tend to work on a fixed grid but define the sizes and positions relative to other components. What's more the interface between the form elements and the data is completely flexible, and flexibility means extra effort.
    >
    when i learned about the Layout Managers that Java provides i found out how much code one have to write just to create a simple form ,my question to the experienced java developers : what do you do to create a form , do you hard code it ? , or do you use something like GUI Builder in an IDE like NetBeans for example? and is the code generated by this builder easy to deal with and modify ?
    Most I've tried have been a bit of a straitjacket, but I've recently been using the latest Netbeans offering and it's pretty good. I think the breakthrough was the introduction of the GroupLayout layout manager. This is a layout manager really designed for WYSIWYG form designers (pretty challenging to use hand coded).
    The way these things work is that the class generated contains some methods which cannot be edited by hand, but you can add any amount of your own code without interfering with the generated code. You hook your own code snippets into the generated code, for example you can select a property of an object, say the model of a JTree, and select "user code", then type in an expression returning the TreeModel you want to use.
    With listeners the designer will generate the method signature etc. but you can edit the body of the listener method.
    However I would always recommend that you hand code a form or two before resorting to on of these editors because it's important you understand the code, even where a designer writes it.

  • Question about Creating Forms in Acrobat 9 Pro

    I designed an invoice form to send to my clients that allows me to easily fill out form data and automatically email to my client. Everything works great, but when I send it, the form is still active and I want the fields to be closed for alteration. How can I make this happen?
    many thanks!

    What I would do is flatten the form, which converts the form fields to regular page contents so that they are no longer interactive. There are a number of ways to do this, including JavaScript, PDF Optimizer (Discard Objects > Flatten form fields), and Preflight (Flatten all form fields fixup).
    Edit: I did not see the previous responses when I posted this, due toforum wierdness, so sorry for the duplication.

  • Questions about using a PDF form online

    I have a client who wants to create an online version of a PDF form that they are currently using. I am currently trying to explain to them that this would be best done as an HTML web form, but I may not win this argument. I have only used PDFs for printed forms (either hand-written or using form fields) so I am not familiar with any problems that converting the form for use online would entail.
    When the 'Submit' button is pressed on the form, is there a way to redirect to another web page after the data is submitted? (i.e. does the PDF have access to it's outer 'environment'?)
    Are there any security issues submitting data using the PDF form as opposed to using a standard web form? (There may be sensitive data being submitted)
    I'm not sure how they plan to handle the data that is submitted, but there are several options in the submitForm parameters - I am assuming that using the HTML option would submit the data in the same format as a web form would. Am I correct here?
    Can the PDF be prevented from being downloaded or printed? This form should only be used to submit data to their server, not as a printed form.
    Are there any other 'gotchas' that I need to look out for? Does anyone have a recommendation for a site which contains any tutorials or guidelines for using PDF forms online?

    Thanks for the information.
    Yes, I agree that there is less reason for it to be a PDF form (Actually, no real reason other than the original form already exists in PDF), but I am unfortunately in the position that my input in this project is not necessarily being considered (my company is following direct -and inconsistent- directions from the client, and I have no contact with the client to ask questions about what their actual needs are). I have been told to give the client the 'Tomato' that they are asking for, even though they are describing an 'Apple'.
    The reason this form is not meant to be printed is that we have replaced the 'Signature' fields from the original form with checkboxes that the user must check to confirm they have 'signed' the document. If they are to print/fax/whatever the document, they should use the original form, not this one. And I am still trying to explain to them that this would be better served with an HTML web form, but I fear I am losing that battle.
    I have brought up the fact that it is not 100% guaranteed that Acrobat will be available in the browser, although I can only guess that it is less than likely that anyone will not have some sort of PDF viewer available to their browser.
    I will also mention that issues may arise if the file is not submitted from within the browser.

  • A question about UDA and Data-Forms

    Hi all,
    I have a couple of questions about UDA. I am using Hyperion Planning 11.1.1.3m, and when I desing a Data-Form I would need to use the UDA I asigned for the Entity dimension: is that posiible?
    The other question is, when creating a Substiution Variable in Essbase I use the function @UDA (+dimension+, "MemberA"), but when using this variable in the Data-Form, it does nothing at all(in fact, it is been detected as an error). Why is that happening?
    Thanks a lot

    Use an attribute dimension to achieve what you are trying to do with UDA's in a data form. An attribute dimension will allow you to filter on members in the base dimension by a specific attribute the same way a UDA will. You can create the attribute dimension in the dimension editor in Planning by selecting the base dimension (Entity) and then select the custom attributes' button. Check the dba guide for a step-by-step approach.
    With regards to the subvar, are you trying to add the function as a value of the subvar when you create it in EAS? If so, this is not allowed. What are you trying to do with the subvar on the form? Subvars are supported in data forms as part of the member selection for a dimension. For instance, you can set up a subvar called CurYear and set the value equal to FY11 for the Fiscal Year dimension. In the data form you can set the member selection for the Fiscal Year dimension to CurYear. When the user opens the form, the member FY11 is returned.

  • Questions about Lulu ISBN, Tax forms, distribution, Please help

    Hello,
    I've wrote some poetry books and I recently added a new one.
    I hope I can ask the right questions and get the most up-to-date and correct answers.
    Well, I got the Free ISBN numbers from Lulu for all my books. I went for the global distribution.
    I went to update one of them tonight, before I buy proof copies of them all, and go through to 'accept' the distribution.
    I was going to purchase them some time this week.
    But when I went to update one of them, it said my title and author's name was 'locked'.
    I am worried about the whole tax forms thing, because honestly I don't know how that works, and I just wanted to write books, buy copies for my friends and family, and hopefully, if it is possible, get my books into some bookstores online or something. I don't know, just as long as people read them, I don't care so much about making money because poetry for me is great therapy and an emotional outlet.
    So I guess I'm wondering:
    Do I have to fill out tax forms in order to continue with the Free Lulu ISBN number and global distribution?
    I don't have a lot of money to spend on distribution and I just really CANNOT do the thing with the taxes. And I don't really understand it.
    I'm ashamed to have to ask these questions. I did read the terms of service and all, but I didn't know if it would really affect me or apply to me in a way where I HAD to pay anything for my books to be distributed.
    I know I should have asked this before hand, that's why I'm embarassed now. Please bear with me, I'm really new to understanding this kind of stuff.
    I live in the USA by the way.
    Also, if I DO have to fill out tax forms in order to get the free isbn from lulu and global distribution, is there any other way I can still have my books available for people to buy without me having to fill out tax forms and all?
    And would 'any other way' mean me having to start my books over again here on lulu (like, retire them and start new projects)?
    Any information will help me greatly. I apologize for my ignorance of the subjects.
    Thank you in advance, I greatly appreciate it.

    Hi!
    Thanks for replying.
    My books don't sell much at all, and I don't mind. I just thought that having an ISBN would make it more available to people, along with having the global distribution. I'd like to try to give a copy to my library and another bookstore here in town, the lady that owns it has taken my brother's books before that he wrote, as well. I wasn't sure if either of them required an ISBN or not. I'll try to go talk to them sometime so I will know. My brother used Lulu for one of his books, but used ... I think it was called 'damnation publishing' or something (it was a horror novel, please excuse the name).
    I understand and thank you for explaining what you did. But I have a tiny issue I might need to talk to someone in private about. I didn't really want to say it publicly.
    I'm really just writing books for fun, it's a great way to get out frustrations creatively. And I've been writing poetry for years now. I just like to have a copy of my book to say to myself "I did this, I can do something with my life".
    Well I'll tell just a little of my issue here... I live with my mom, I'm in my 30's and she advised me not to do the global distribution after I told her about what I read concerning taxes and all. She wants me to ... I think ... drop the ISBN and global distribution due to any taxes that will ever come with it. My aunt is into taxes for a living, and maybe she can explain it more to me.
    I, too, think it will be okay since I don't sell many books (I've been publishing here on lulu since 2012 after my dad died and I still haven't sold one book... I do buy them, however, and pass them out to friends and family). But my mom sorta got scared about this when I told her about taxes.
    Well, I'll just say it. I'm disabled, and I don't do taxes that I know of. My mom pays them but I don't think I do. (I've got some illnesses, I'm embarassed to say).
    So that's why I was not sure about how the whole taxes thing would affect me.
    I'm embarassed because I know a lot of people would look down on me because of my illnesses and maybe ask 'why are you on the internet if you're sick?' ya know. I'm very ashamed of my situation, but making books on lulu gives me something to look forward to in life. It's something I'm able to sit and do. (And I know I shouldn't worry what others think about me.)
    Anyway, I apologize for giving a life background story. I just wasn't sure how or if all this would affect me at all.
    I highly doubt my books will sell millions. I'm just happy to be here, and getting to do something.
    Well anyway, I do greatly appreciate your answer to my questions. I really do. I'll check back in a little while to see if anyone else knows anything about these subjects.
    I thank you again for your knowledge. :-)
    OH, also, would it be easier for me to just set the prices of my books so I don't get any revenue? I know this may sound strange, but I just love writing. I don't mind not getting paid as long as people will read my books.

  • A question about creating READ ONLY users.

    Dear all,
    I have a question about read only user accounts and I would appreciate if you could kindly give me a hand. I have a schema named SCHEMA1. Whenever I want to connect by using sqlplus I run the following:
    sqlplus user1/[email protected] SCHEMA1.WORLD is the entry in the tnsnames.ora referring to the schema SCHEMA1.
    I need to create a read only user who is able to SELECT all tables and views created by user1 on SCHEMA1 (this user will not modifiy anything at all. The user is used only for a person using SQL queries to read data). for several tables I write the grants explicitly, for example:
    CREATE USER user2 IDENTIFIED BY user2;
    GRANT CREATE SESSION to user2;
    GRANT SELECT ON S001_COR_ECLASS TO user2;
    GRANT SELECT ON REF_ECLASS511 TO user2;Is there anyway to do the same thing but for all the tables (because there are a lot of tables and views)? Besides, even with these granted permissions when the user connects with SQL Developer to the database, he is not able to view the list of tables/views in SQL Developer GUI. What causes this problem?
    Thanks in advance,
    Dariyoosh

    Hello Dariyoosh,
    he is not able to view the list of tables/views in SQL Developer GUIyou can either go to "Other Users" - user1 - tables. There you see every table you have permission to select.
    Or you can create a synonym in schema2 for each table in schema1 and set a filter on the tables node of user2 "Include synonyms".
    Regards
    Marcus

  • Question about creating Jtable from a "Self Made" object.

    Hi all,
    I am new to java and this is my first post here.
    First of all, i want to say nice to meet u all. This is a blessed forum, and it already helped me a lot.
    I hope that i will be clear with my question.
    Now to the question:
    I have created a class that reads parameter file and its meta file and combine them (each parameter in the file gets its properties such as "Mask", "Default" and else from the meta file) to one object (the class creates collection of instance of it self that has a get method.
    the class also has method that get "Column Names" from the instance.
    I want to create a Jtable that will present these parameter(each row will present 1 parameter).
    Only the second column should be editble and it should choose the editor by the type of data (example: if it is boolean should get a check box, i has more than one "ValidValue" should get a combo box and so on).
    What would be the best way to do that?
    I am not looking for a source code, I am looking for concept suggestion.
    This project is for "Self Learning" porpuse, and any help will be gratitude.
    Thanks a lot you all,
    On Katalan.

    Use the Adapter pattern (http://en.wikipedia.org/wiki/Adapter_pattern) to wrap your object as a TableModel.
    eg, if your data class is "ParameterSet" you might do this...
    public class ParameterSetTableModel implements TableModel
        private final ParameterSet set;
        public ParameterSetTableModel(ParameterSet set)
            this.set = set;
        public String[] getColumnNames()
            return this.set.getColumnNames();
        // you'll need to implement all TableModel methods, either
        // directly calling the wrapped object or calling it and
        // converting the data, or whatever's appropriate
    }

  • Deploy form, question about database object or connection parameters

    When form to be deployed to the dev/test/production environment, should it be compiled with that specific database connection username, password and sid? Another words, when I compile the database objects created for the compile is embedded in the .fmx file?
    thanks for help

    You won't need to compile your forms if the passwords of the target schema differs. It also doesn't matter on what platform/architecture the database server runs on. However it would matter how you created your schema objects. And of course it will matter if the platform your forms run on differ. The list of "what you need to do when you don't want to compile against the target database" is a long one.
    Here is a short list of don'ts
    - no +select * from [...]+ views
    - no +select * from [...]+ in forms cursors and the like
    - %TYPE is evil
    - %ROWTYPE is much more evil
    Those are just a few obvious things developers can mess up. Of course we all know that this sort of things are bad programming practice but they do happen. And as said: that's just the most obvious things. I work for a vendor where only the compiled files are shipped to the customer, and the road to this goal is a hard and bumpy one. If you don't want bad surprises in production I suggest you implement a fixed build process routine and a fixed upgrade process where you can ensure that the target database where the forms run against match exactly the development database you compile your forms from a logical point of view. The far easier exit is to just compile your forms on the target platform against the target database but I understand that this is not always possible.
    cheers

  • Question about creating new objects

    When creating a DocumentBuilderFactory Object, why is the code written like this:
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();as opposed to
    DocumentBuilderFactory docBuilderFactory = new DocumentBuilderFactory();???

    Factory classes like this are typically abstract classes which do little more than define an interface and the getInstance() methods. The class that getInstance() will actually instanciate will be a concrete implementation from a particular implementation of the DOM parser. This pattern allows whatever implementation happens to have been supplied to be automatically be used without your code having to concern itself.
    The concrete factory will then create concrete implementations of the various interfaces like DOMPaser, using the implementations in the actual library.

  • A question about development of livecylcle forms

    Hello,  I have been asked to build complex static forms for a client of ours using Livecycle Designer version 8.2.  The forms are static (fixed field) forms that will not interact with users in any way.  We will be populating the form fields from a .NET api so there is no need for any kind of validation handling / submit buttons etc.   In that way the forms are relatively simple.
    The problem I am running into is the desired form layout is complex and I am not sure about the most productive way to produce this layout.  The form a need to produce must exactly match the content of the attached file called "TheGoal.pdf".   Unfortunately this comes as some kind of read only image produced from a word template and I am unable to manipulate the layout when I import this into Livecycle designer.  The client wants me to create the form from scratch so they can have full control of the layout if changes are requested in future.
    To get a start on this, I went through the tutorials that come with the product just so I could understand how the forms are built.  I have attached a pdf file called "MyAttempt.pdf" that shows my initial attempts with the first few fields in the desired layout ("TheGoal.pdf").
    I have considered a number of approaches and, the only thing, that sort of works is draw all the boxes using rectangle objects and then dropping the required fields into the rectangles.  [Note: I have tried using tables and nested tables but I appear to be limited by the fact that tables only allow me to have a fixed number of columns and that nested tables always fille the entire cell of the parent table. ]
    The problem I have run into right away is I am finding my current approach very labor intensive.   Any time I want to change anything like resizing a box I have to resize all of the other boxes on the form.   As the form grows in complexity I can see the whole thing becoming a maintenance nightmare.
    In short my question is this:
    What is the best approach for creating complex layouts like this?  As an html developer I have been used to using tables to handle complex layouts in a way that can be changed relatively easily but that approach doesn't appear to work with Adobe LiveCycle designer.
    Any thoughts or insights would be very much appreciated. [Sorry about the long explanation].
    Thanks in advance.

    I justed wanted to say thanks for all of the help.   I think I am getting closer to an agreed approach with the client that might work.
    It looks like they will be fine with me just overlaying the fields on top of the Adobe image for most of the pages just because it will take a long time to create the layout manually for each one.  There is one page that is dynamic in nature because the number of table items on that page can potentially increase to any number - that part I am thinking of handling dynamically.
    Basically there will be a static image for each page except the dynamic one.   When all the fields are populated I will concatenate them all together and handle the page numbers in code.  [I will be using VB code with the apToolkit to handle the form data binding and concatenation of pdf images].
    Its a little messy but we think this effort should be less than trying to create that complicated layout on all of the pages.
    If anybody has any thoughts on that or similar experience I would very much like to hear about it. [The image file is in the original post and it is called "TheGoal.pdf".  Each page on that will be broken down to an individual image and page 2 is the part I will try to handle as separate dynamic form because the items in the "Property" section can increase to any number of items]
    Geoff.

Maybe you are looking for

  • How will the Macbook do in the long run ?

    I will be buying a new Macbook when Leopard and iLife 07 are released. However, I have been increasingly hearing and reading negative feedback about the Intel GMA950 in the Macbook, so I've been looking to stretch my budget and get the low end 15" Ma

  • DW vs BC

    Are there templates in Dreamweaver for Privacy or Terms & conditions? Just bought CS5 to build my site. While looking for templates I found Business Catalyst. Should I have built my site in BC? Whats the difference in a sentence or two? Thanks for yo

  • InDesign CC spell check is not working at all

    I have been using InDesign for around a month now and now my spell check is not working at all. I have tried replacing preferences, changed dictionaries, created new documents with placeholder text and spell check does nothing at all with all of thes

  • Can I create "variable array"?

    Is it possible to create an array of variables? Eg. if I have to 10 boolean control, called Switch1, Switch2... Switch10, and I need to switch one of them to ON, but which one to switch on depends on different situation. Say, at situation A, I need t

  • Where to buy battery for dv3510nr

    Hi, my Pavilion dv3510nr battery died a few months ago and I've been searching to buy a replacement. So far I couldn't find a trustworthy seller anywhere, could you point me to where can I buy it? I know my notebook is a rare specimen, but it's great