Tabbed child form with image

Hello, forum!
Help, please!!!
I use JhsTabbedChildrenTemplates.jtp to generate master with five details on the same page.
Layout style of two of the detail groups is form layout. I use for this tabbedformChildGroup.jut. I have successfully used this template for all groups except when using the group with image. If I use table-layout for this group all works fine. But when I use form layout for this child group there is error on the page when i run it.
When I generate this group as form on the different page (unchek same page) all
works fine too.
Help, please.
tabbedformChildGroup.jut:
<header id="$GROUP_NAME$Header" text="$FORM_GROUP_TITLE$" rendered="${ui:cond('$GROUP_NR$'=='1',param.selectedTab==null or param.selectedTab=='' or param.selectedTab=='1',param.selectedTab=='$GROUP_NR$')}">
<contents>
$SEARCH_REGION$
<rowLayout rendered="${!createMode$GROUP_NAME$ and bindings.$GROUP_NAME$Iterator.currentRowIndexInRange!=-1
and bindings.$GROUP_NAME$Iterator.findMode!='true'}">
<contents>
<image source="${requestContextPath}/cabo/images/srmvall.gif" onClick="doEvent('First$GROUP_NAME$');"/>
<spacer width="4" height="1"/>
<image source="${requestContextPath}/cabo/images/srmv.gif" onClick="doEvent('Previous$GROUP_NAME$');"/>
<spacer width="4" height="1"/>
<styledText styleClass="OraPromptText"
text=" [${bindings.$GROUP_NAME$Iterator.rangeStart+bindings.$GROUP_NAME$Iterator.currentRowIndexInRange+1} / ${bindings.$GROUP_NAME$Iterator.estimatedRowCount}] "/>
<spacer width="4" height="1"/>
<image source="${requestContextPath}/cabo/images/smv.gif" onClick="doEvent('Next$GROUP_NAME$');"/>
<spacer width="4" height="1"/>
<image source="${requestContextPath}/cabo/images/smvall.gif" onClick="doEvent('Last$GROUP_NAME$');"/>
</contents>
</rowLayout>
<styledText text="${nls.NO_ROWS_FOUND}"
styleClass="OraInstructionTextStrong"
rendered="${bindings.$GROUP_NAME$Iterator.currentRowIndexInRange==-1}"/>
$FORM_ITEMS$
<!-- bug 3472400: for hidden field value binding, we cannot bind to a Boolean
request attribute, has to be a string! -->
<formValue name="createMode$GROUP_NAME$" value="${createMode$GROUP_NAME$String}" />
$GROUP_BUTTONS$
</contents>
</header>
P.S. I implemented group with image and image upload as described in 3 chapter
of JHS developer's guide.

Because of a UIX bug 4509014, tabbed children do not work when the form submits a multipart request (which is the case with image uploading).
This is documented in the release notes of JHeadstart versions 10.1.2.1 and 10.1.2.2
There is a patch avaliable for this bug:
https://updates.oracle.com/ARULink/SimpleSearch/process_form?search_type=patch&patch_number=4509014&plat_lang=912P&display_type=&search_style=8&orderby=3&direction=d&old_type_list=&gobuttonpressed=&sortcolpressed=&tab_number=&c_release_parent=product&c_product_child=release
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • I'VE CREATED A FORM WITH IMAGES. WHEN I OPEN THE FILE IN ACROBAT READER, THE IMAGES ARE BALCK BOXES!

    I'VE CREATED A FORM WITH IMAGES. WHEN I OPEN THE FILE IN ACROBAT READER THE IMAGES ARE BLACK BOXES.
    THE FORM HAs (extend features to acrobat reader). THE FORM WAS DISTRIBUTED.
    NON OF MY EMPOYEES CAN SEE THE IMAGES. WHAT'S WRONG? CAN YOU HELP?

    However, the view large images is an issue for a form that is being distributed. Either a note needs to be added to the PDF to tell how to enable the view or the images need to be changed so that the enabling is not needed.

  • MDIChildren flickering problem while switching between child form with dockstyle.fill and borderstyle.none

    I have an mdi applicaton in Visual studio 2010 (.Net framework 4.0). I'm having a flickering problem when user switch between an MDI Child form. I'm declaring the child form then setting the borderstyle.none at design time and dock property to fill
    through programming and make them a MDIChildren before I show them so that it takes up the entire space of the MDI Parent window without being maximized (client request). 
    i don't want to display control box(minimize, maximize,close) of child form in mdi parent form. (client request)
    The problem is that when the child form is being displayed it is briefly shown in it's default size with icon and control box before being resized to fill the available area on the MDI Parent form. When a Child Form loads, you can see it in it's original
    size (the size from Design-time) then all this flickering while maximizing .
    In other words, child form show up in the client area of the MDIForm, not maximized, with a caption, very shortly, before they are finally filling the client area. there is a short flicker when a new form is created and displayed. This process is most noticeable
    with a not-so-powerful PC or there are lots of control inside child form.
    below is my code to show child form 
       MyChild1 c1 = new MyChild1();
                                c1.MdiParent = MdiMainParent;
                                c1.Dock = DockStyle.Fill;
       c1.Show(); 
    how can i solved the problem of flickering issue?
    I tried many options which i have described below
    1.double buffering.
    2.set style property to child form
          this.SetStyle(ControlStyles.UserPaint, true);
          this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
          this.SetStyle(ControlStyles.DoubleBuffer, true); 
    3. override below method in each child form
    protected override CreateParams CreateParams
                get
                    CreateParams cp = base.CreateParams;
                    cp.ExStyle |= 0x02000000;
                    return cp;
    4. override below method in each child form
      const int WM_NCPAINT = 0x85;
            const int WM_SIZE = 0x05;
            protected override void WndProc(ref Message m)
                if (m.Msg == WM_NCPAINT)
                    if (this.WindowState == FormWindowState.Maximized)
                        return;
                if (m.Msg == WM_SIZE)
                    if (this.WindowState == FormWindowState.Maximized)
                        return;
                base.WndProc(ref m);
    but I didn't see any effects.  please someone help me to resolve flickering issue. thanks in advance.

    Hi hardikvaishnav,
    This is a known issue which has been reported to Microsoft Connect. Unfortunately, this issue will not fix due to stability issues around MDI. For more details, see 
    https://connect.microsoft.com/VisualStudio/feedback/details/97787/border-of-mdi-child-form-flashes-up-despite-formborderstyle-none.
    You might use a user control or panel instead.
    Best Regards,
    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us

  • Interactive Form with images from KM ??

    hello: I need to read an image from km to incorporate it in Interactive Form, but for some reason when being generated the Form does not show it. The subject to dynamically obtain the images from km.
    Thank you very much.

    Hello,
    Please review this link to import a KM image:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/kmc/getting%2ban%2bimage%2bfrom%2bkm%2bdocument%2bto%2bbe%2bused%2bin%2bweb%2bdynpro
    Now you must put the image to an attribute of context of type string. For it you do the following thing:
    //Reading the image file......
         BufferedInputStream bufIn = new BufferedInputStream(resourceimg.getContent().getInputStream());
         byte[] imagebyte = new byte[bufIn.available()];
         bufIn.read(imagebyte);
    //Convertir a String
         String imgString=new BASE64Encoder().encode(imagebyte);
         wdContext.currentContextElement().setImgString(imgString);
    Finally, in the Form you must add a Image Field, with the following properties:
    -Tab field
    URL: empty
    Embebed Image Data
    - Tab Binding
    Default Binding: $record.ImgString
    That is.
    Regards

  • Form 10g with image cause FRM-40105, after FRM-92101.

    I have a form with image.
    I open another form in new window.
    When return to first form, clicking in image, causes this error.
    If click in another field, the error is not shown.
    does solution exist?
    tks.
    Martonio.
    Edited by: martonio on 15/10/2009 14:33

    Hi!
    Is there any when-mouse-click or when-new-item-instance on your image-item?
    Regards

  • WYSIWYG editor upload with images

    Hello, friends!
    I need help solving following problem:
    I need to create WYSIWYG editor, which just to enter text and image. Other options (like font-size, font-weight...) not need. Then when submit the form with richedit, all data in form with images must sent to server.
    1) images must upload
    2) text must content following: text <img="src=../image1.png"> text <img="src=../image2.png"> text
    or maybe all images must save as a blob data
    Help me, people!

    Is this an Oracle question?

  • Breaking Subclass/Removing Object Group/Without loss of code for child form

    Hi all..
    This is regarding Forms 10g (breaking inheritance)
    I have a base form as well as client form.
    The child form is having some properties as common to the base form. so child form is having sub class(inheritance) from the base class with the help of Object Group. This is the exiting setup
    Now, client wants the same information as child form with out link with base form.
    i.e., they want to remove the Object Group with out distrubing the child form.
    Finally, they want the child form as independant from base form. i.e., child form should not have inheritance from the base form and at the same time they don't want to loss of any code to the child form.
    There are 1000's of forms like that are need to re-work.
    Is there any tool/script available to do this process of work automatically.
    Please provide the necessary deatils and help me regarding this.
    Regards
    Madhava

    You CAN add new items to the subclassed block or change triggers code or even add new triggers. Form Builder won't let you create items in-between existing subclassed items or triggers. So if you need to create a new item, create at the end of subclassed item or trigger...
    You can not DELETE items of subclassed block or the block itself if it is subclassed. But you can remove the subclassed object from your child module --- by removing class info from the object group in child module --- but it will also remove all the subclassed child objects.
    If you delete or change anything in master object, it will directly affect the subclassed object and you can see the change immediatly in the child modules.
    When you drag the master object to child, it asks you if you need to subclass or copy, selecting copy will create a separate copy which you can play with in the child module.
    And below is brief help on the matter:
    If you don't want all the objects in the subclassed object group, then you might consider either subclassing the desired objects individually, or creating an object group which contains only the desired objects.
    Edited by: Zaafran Ahmed on Oct 13, 2010 12:41 PM

  • Help required with Image Field

    Hi,
    I have some 300 forms with image field set in them. I now need to import images into these image fields. The images are present on my local machine. If required i can upload these into my repository.
    The issue is i am not able to create a batch process which will do this. Can some one please help me out with this issue.
    Thanks in advance

    This is possible if all your 300 forms has the similar fields hierarchy.
    One of the several possible ways:
    1. keep your forms & images in folders within livecycle server.
    2. create a process to read all these form and images and set the image content into Image field using XPATH expression (SetValue activity)
    Iterate through the number of forms available. You are done.
    Make sense?
    Nith

  • Child Form Validation

    Hi All,
    I have a child form, which contains the a lookup field containing multiple entries.
    The scenario is the user should not select the same value multiple times for the same child form field.
    Example: If the child form has a field "State" with the number of states in the lookup. Need to validate and prompt the user if trying to select the same state twice.
    Is there any way to achieve this without tweaking the child form displaying JSP?
    Is there any way to achieve this by the usage of Lookup.Query?

    Hi,
    I am having one Lookup field in my child form with name "Country" and its values are "India","Aus","Pak".
    Consider user is selecting "India" from Lookup field and click on Add. Now you can see in Admin Console one row with value "India". Then the user selects the same value "India" and click on Add. At that time I need to validate and should not allow selection of "India" more than once.
    I think Entity Adapter in Pre-insert of Data Object Manager of Child form will execute before the value added to child form table.
    In my case, I need to do validation while clicking on Add button.
    How to achieve this?
    Correct me If I am wrong...
    Edited by: S.K.N on Jun 15, 2010 11:41 AM

  • Help with child forms

    Hi,
    I am trying something very simple to learn how child forms work but was not very successful so far. I am hoping one of the experts on this forum can shed some light on what I am doing wrong.
    I did the following:
    1) Created a simple Resource Object.
    2) Created 2 process forms with one of them designated as a child to the other one.
    3) Created a simple Process Task Adapter which simply prints the assigned variables data out to STDOUT
    4) Created a Process Definition and added a task called Create User and used the adapter created in previous step.
    5) In the integration tab, I did the mapping of both the parent and child form data to the adapter variables.
    Whenever I assign the RO to an user, I keep getting the following error.
    When ever I go and assign the RO to the user
    19:05:17,014 ERROR [DATABASE] select UD_RO3_CF_ATTR1 from UD_RO3_CF where UD_RO3_CF_KEY =
    java.sql.SQLException: ORA-00936: missing expression
    I also tried the following. In the general tab, from the child table drop down, I selected the child form name and for trigger type, selected insert. When I do that, I get the following error..
    In browser, I get
    DOBJ.GEN_ERROR
    Cannot schedule a task for child table change, schedule item save failed
    In the logs, I see the following exception..
    12:35:57,718 INFO [DATABASE] Class/Method: tcDataBase/setTransaction: ##########setTransaction getting called from: #######
    12:35:57,733 ERROR [APIS] Class/Method: tcFormInstanceOperationsBean/addProcessFormChildData encounter some problems: maoErrors:Cannot schedule a task for child table change, schedule item save failed
    12:35:57,749 ERROR [APIS] Class/Method: tcFormInstanceOperationsBean/addProcessFormChildData encounter some problems: Error occurred while validating password policy '
    12:35:57,749 ERROR [APIS] Class/Method: tcFormInstanceOperationsBean/addProcessFormChildData encounter some problems: Cannot schedule a task for child table change, schedule item save failed
    Thor.API.Exceptions.tcAPIException: Cannot schedule a task for child table change, schedule item save failed
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addProcessFormChildData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addProcessFormChildData(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.addProcessFormChildData(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Thank you very much

    The details of a child table entry are available only when you define the process task as a child task trigger. You can define the task to trigger based on insert, update, or delete from child table. There is a drop down on the process task configuration screen. When the trigger happens on the child table entry, this is where you can map the value of the child table entry.
    You would want to configure your provisioning process definition to have 1 task for create user, and another task for adding an entry to the child table, and another entry for deleting an entry from the child table. On the delete, you'll want to check the "Old Value" checkbox for the child table mapping.
    -Kevin

  • Image upload in  Form with Report

    Hello
    I have created a table FA_CUST_DTL
    Column Name     Data Type     Nullable      Default     Primary Key
    CUST_ID NUMBER      No          1
    CUST_NAME     VARCHAR2(1000) Yes          
    CUST_ADD     VARCHAR2(4000)     Yes          
    MOBILE     NUMBER(12,0)     Yes          
    PHONE     VARCHAR2(15)     Yes          
    EMAIL     VARCHAR2(100)     Yes          
    SIGNATURE_IMAGE     BLOB     Yes          
    MIMETYPE     VARCHAR2(200)     Yes          
    FILENAME     VARCHAR2(400)     Yes          
    IMAGE_LAST_UPDATE     DATE      Yes          
    Then i created a page Form With report with the trigger . After Browsing , images are not showing in my report.
    Can u tell me any idea abt it plz help me its urgent for me.
    Regards
    Geet

    If you need to control height and width of your uploaded images, then you must use the APEX_UTIL.GET_BLOB_FILE_SRC function. Please refer to this documentation:
    [http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_util.htm#AEAPI129]

  • Problem with Image IO jre on Oracle Form

    I'm using PJC to run my Text Editor program from Oracle Form. The Editor has an Image drag & drop option and I have to upgrade the jre with Image I/O API for this functionality. To upgrade jre the tool 'jai_imageio_1_0_01-lib-windows-i586-jre' needs to be installed. When I upgrade jre with this tool and run my program independently from Oracle Form, it runs well but when I run this right there from Oracle Form it doesn't run and exception is thrown on javax.imageio and other packages that are part of that tool even though the Oracle Developer's jdk is upgraded with this tool. Could anyone help me resolve this problem?

    Hi,
    This is a JDeveloper help forum, the Formsforum can be found at Forms Now you might think that Forms developers don't understand Java well enough, they do however understand teh Forms context and this is important to answr the question.
    a) Which Java version does your ben require?
    b) Are you using JInitiator or JavaPlugin (Jinitiator only supports Java 1.3)
    c) Is your PJC signed? Note that running an app stand alone as a Java app does not require special grants. Running it within a JavaApplet - as Forms is - does execute teh bean in a security sandbox, for which reasons the jar file must be signed and the public key be available in the Forms certdb.txt file (assuming Jinitiator)
    d) An exception stack trace gives more information than "Oracle Form it doesn't run and exception is thrown on javax.imageio and other packages", which is meanlingless to me and others. Teh stack trace canbe copied from teh JInitiator console
    I recommend resending this question to the Forms forum
    Frank

  • Error in the  import tab of form interface with parameter name

    Hi Experts,
                    in the import tab of form interface i have define the following..
              Parameter Name               type assignment                  Associated Type
             t_vbrk                                    type                                         vbrk
    and then in a loop i am using this as follows...
    t_vbrl into fs_vbrk
    after executing check i am getting the error 'T_VBRK" is neither specified under "TABLES" nor defined as an internal table.'
    plz help me out with this.....
    why this error is occuring?
    thnks n reagrds,
    Ashmita

    Hi,
    U cannot loop the import tab i think....Give tat one in tables statement and execute..
    t_vbrk type vbrk in Tables tab...
    I think it will solve ur issue..

  • Form with Folder Functionality and Tab Pages

    Refering here the original link to increase the visibility:
    Apps Form with Folder Functionality and Tab Pages

    DT1977,
    In your referenced post, you indicate that you are trying to create an "APPS Form". Perhaps, you should post your question to the Enterprise Business Suite (EBS) forums. This forum is for non-EBS Forms questions.
    Craig...

  • Form with Tab Canvas

    Hi,
    I've a form with 12 blocks. We are displaying the these twelve blocks in the tab canvases(Tab attachment Edge: Top). The problem with these tab canvas is user can see only the names of 4 tab canvases. Then he need to navigate using the scrollbar. But the user requirement is that he needs to see all the tabs above in multiple rows. i.e.., In the first row he needs 4 tabs and then in the next line he needs another 4 tabs etc. He do not want to change the Tab attachment Edge to Right/Left. I'm using Forms 6i version. Thanks in advance.
    Regards,
    Alok Dubey

    Hi Reena,
    Create the content canvas. go to layout editor.
    Go to View --> Stacked Views on the menu.
    select the tab canvas and say ok.
    Now go to Edit --> Select all. Deselect the new content canvas .
    Move all these selected items on the tab canvas down so that you can have enough space on the top of content canvas.
    Cheers.
    Ram Dontineni.

Maybe you are looking for

  • MSSQL 2005 error COMPUTE_INT_TIMES_OVERFLOW after SP Stack 14

    Recently I have updated SAP installation to SP Stack 14. After that I had problems with errors in standard sheduled tasks: I receive COMPUTE_INT_TIMES_OVERFLOW error every hour, together with error "Column name or number of supplied values does not m

  • SQLJ in Oracle 10.1.0.2 missing translator.zip file

    Hi Friends I have installed Oracle 10.1.0.2 on my system and trying to use the SQLJ feature. The Translator.zip file which contains the SQLJ library is missing after the installation. The path where it is supposed to be present is as below F:\oracle\

  • How to hide the label and choice component in the frames

    I have two Buttons. when i press the button i want disappear the label and Choice list from the panel. when i press Other button i want to appear the label and Choice list in the panel plz give the good idea for it.

  • Safari 5.1.5 on MacOS crashes: WebProcess, EXC_BAD_ACCESS

    I just haven't found any other way to submit a bug report. Hope you've already fixed that. Process:         WebProcess [45840] Path:            /System/Library/PrivateFrameworks/WebKit2.framework/WebProcess.app/Contents/MacOS/WebProcess Identifier:  

  • BAPI to get payslip variants

    Hi, does anybody know how to get a list of the different payslip variants? Is there a special BAPI call? regards, Andre