Create mode in table-form layout

Hi
I use jheadstart 10.1.3.3.0.4157.
I have a group with table-form layout.
I want to enter to this page in create mode and then if user want, click on search button and go to table layout.
I use steven davelaar solution (Re: How to add enter-in-insert mode without post-generation steps
for our form layout pages and that works fine for form layout but it seams that it's not work for table-form layout.
Is there any solution to enter in create mode when we have table-form layout.
It's what I want:
1- 'A' page is table-form layout
2- user select 'A' page.
3- 'A' page must be open in create mode.
4- then if user want, he can click save button(or custom search button) to go to table layout of 'A' page and view records in grid view
thanks

Hello,
Do you mean that if the user selects 'A' page, it will open the form page of the table-form layout in create mode?
If you would want to do that, you would have to change the 'action' of the menu tab that links to the 'A' table-form, and change it so it will load the form instead in create mode (similarly as the solution of steven, in the thread you mentioned).
Besides, if you want to go back to the table after the creation, you would have to have a special action method that will reroute the user to the table layout after a succesfull insert.
Regards,
Evert-Jan de Bruin
JHeadstart Team

Similar Messages

  • Refresh table-form query on table only

    Hello,
    I have a group being generated as a table-form layout. What I would like is for the table page to be refreshed always on entry. I can't set the group requery condition to always, or "when entering the page" as then the view object is executed going navigating from the table page to the form page. This seems a very simple requirement to me but Im struggling to come up with an elegant solution.
    Basically what i need is the refreshCondition on the invokeAction binding executable to be "Always and layout=table".
    Any help would be greatly appreciated !
    Cheers,
    Brent

    How do you do this, if your current page is a .jsff and not a .jspx? When I look at the refreshCondition, a .jsff does not have access to the facesContext.
    Thanks,
    Michelle
    Since this question was already answered, I created a new thread:
    Refresh table-form query on table only for .jsff pages
    Edited by: MSchaffer on Dec 1, 2010 11:54 AM

  • Region - Display only on form layout page

    Hi,
    1) I have defined regions on table-form layout style. How ever I want the regions to be displayed only on the Form layout and not on the table layout page that has the search functionality. Is there a way to hide the regions on the search page?
    2) Also for display type "textinput" (read-only), eventhough I checked the "Column wrap?" checkbox, the text still spans across the page and not wrapping.
    Please help!
    Thanks.

    Regions enclose items. You can set the Display in Form Layout, Display in Table Layout and Include in Advanced Search properties on the items within the regions, but you are probably asking how to also hide the region title and line for items that are not displayed on the table/search page.
    Although there may be a better way to handle this, we've created a custom template for the Regions node under the group. The template is attached to the VERTICAL_REGION_CONTAINER template on that node. The template has code that turns off generation of the region if the region name is a certain string,
    We copied the current verticalRegionContainer.vm and added conditional code to the top of it like this:
    #if (((($subRegion.title=="Title1") || ($subRegion.title=="Title2")) && (${JHS.current.pageComponent.processingAdvancedSearchArea}))
              || (($subRegion.title=="SearchTitle") && !${JHS.current.pageComponent.processingAdvancedSearchArea}))
           ## do nothing
        #else
    ## the usual stuff in this template
    #endIn this example, the Title1 and Title2 regions are not being displayed on the search form (Advanced search)/table page but are displayed on the Form (Insert/update) page. The SearchTitle region is displayed on the Advanced Search/ table page but not on the Form (insert/update) page. Something like that may work in your case.
    If you want some fields to appear on both, but in different regions, copy the items and drop them under the appropriate regions.
    Peter Koletzke

  • When i am trying to Activate an ADOBE Form Layout its "No Vendor specified"

    Hi Friends,
    I have created one interface with one field CARRID.
    By using this interface I have created one simple ADOBE Form layout with one filed CARRID.
    I specified all the properties for this object. Like default value, name etc...
    when i tried to activate the form its showing the status message "No Vendor Specified"
    And its not Activating. it remains as inactivate state.
    Plz Any helps...
    Regards,
    Shree.

    You're going to have to debug to figure out what the actual error message is.  Just do a /h before hitting activate and set a break-point at the "message" abap statement.
    SAP in it's infinite wisdom decided to change message 001 of message class 00 from &&&& to "No Vendor Specified".  They didn't really think that one through though, because the ABAP construct (that SAP uses all over the place)
    message [text] type [type]
    is the equivalent of
    message [type]001(00) with [text]
    Because they changed the contents of the message, this construct (which hasn't been marked as obsolete, interestingly) is essentially worthless.
    The last time I checked, there were a few OSS notes that address the issue - but they are specific  for specific error scenarios changing the way the message is issued.  I haven't seen a fix that changes message 001 of message class 00 back.  But then, it's been a few weeks since I looked.

  • Master-detail page with form layout -- insert only -- not in create mode

    JDeveloper 10.1.3.1 with JHeadstart
    I have the following master-detail structure in JHeadstart:
    Group 1, Table a, Layout: table-form
    Group 2, Table b, Layout: table-form
    Group 3, Table c, Layout: form
    Group 4, Table d, Layout: form (on same page as master table c)
    Table a, b and c are updatable (insert, update and delete).
    I have problems with the last page, tables c and d, master-datail both in form layout.
    The master-table (c) is not an insert-only table, the detail table needs to be an insert-only form on the same page as the master table c.
    Settings Table d:
    Advanced search and quick search: none
    Autoquery: disabled
    Single row insert allowed (other options in Operations disabled)
    In my view object I have used the settings in the JDeveloper guide 8.1.2 ('no rows...' in tab Tuning).
    I run my application in JDeveloper (with the option run in my ViewController-project, which means that I am not running my detail page directly in JDeveloper??) and when I open this last page, the detail form is not in create mode (I see no rows found and a create rows button).
    I have read several threads in this forum, but I do not know how to solve this problem.

    This does not work.
    In my first post I made an mistake in describing my application, it is not a table-form, but a tree-form application:
    Group 1, Table a, Layout: tree-form
    Group 2, Table b, Layout: tree-form
    Group 3, Table c, Layout: tree-form
    Group 4, Table d, Layout: form (on same page as master table c)
    If I override the executeQueryForCollection method in the ViewObjectImpl of table d I get a message ('JBO-27122: SQL-fout tijdens voorbereiding van statement' and 'java.sql.SQLException: OALL8 is in an inconsistent state').
    while clicking on the tree (with table b and c). It seems that the QueryForCollection method is being executed to early.

  • Creating a Search Criteria Form Using Oracle ADF Find Mode (10.1.2)

    Hi Guys,
    Any useful sample links on how to create a custom search form? Basically I have to control parameters and I want to show that in the form..
    Thanks!

    I mean like I have Name and Department as Search Parameters (added as text box maybe) then Search button. after clicking search I want to display the result in same page in a form/table.Im using the UIX page and I added Data Page in the Struts Layout but dont know how to add the form and how to implement the parameter part..
    ..Thanks!

  • Open the form layout in input mode if no record exists in the VO?

    Hi,
    I am using
    JDeveloper version: Studio Edition Version 10.1.3.1.0.3984
    JHeadstart version: 10.1.3.1 Release 10.1.3.1.26
    I have a group with Form Layout where Single-Row Insert allowed is true.
    What I want to do is:
    When I open this form in the browser, it will open with the existing record in the ViewObject associated with this form, if there is any record exists.
    But if there is no record exists in the ViewObject, then it will open the form in input mode (user will not need to click the 'New' button to create a record).
    I tried setting the property 'Auto Query?' to false. But in that case it opens the form in input mode all the time, it does not open with the existing record.
    Any help would be appreciated.
    Thanks
    Syed Jabbar
    University of Windsor
    Windsor, ON, Canada

    Hi,
    This is not natively supported in the 10.1.3 releases of JHeadstart. Can you please ask this question at the JDeveloper forum at JDeveloper and ADF ?
    You can use the JHeadstart templating to save your customizations of course, see the JHeadstart Dev Guide chapter on customization.
    Thanks!
    Regards,
    Evert-Jan de Bruin
    JHeadstart Team

  • Problem call forms from a form in 'create' mode of a new records

    Hello,
    I'll try to explain myself well, i have one form and now i am in 'create' mode , no value exist meanwhile in the primary key of the table behind, the problem is that in the same form i have some buttons that calls another form in wich i must provide the value of the primary key, let's think of an example of cities & streets tables.
    If i'll be in the form of cities in 'create a new record' mode, i can't let the end-user click on the button for the streets of that 'new' city becouse of the non-existing yet for the primary key of cities. I know how to 'dissapear' the button of streets in this create new record mode but i am not convinced that this is the best way to do it.
    I'll be glad to hear about some sollutions for that kind of problem, i am sure that i am not the only one who must think of this kind of problem.
    Best regards,
    Victor

    Hiding the button is straightforward. You simply need to add a condition on to the button to ensure that the primary key value is not null.
    The way how I've acheived master/detail data entry pages before has been a bit hacky, so I'll wait for someone else to come along with the 'right' way to do it!
    Ben

  • Creating a manual tabular form on an empty table

    Hi all,
    I am trying to create a manual tabular form on an empty table. Is it possible to display textboxes and column headers, when I run the report I get "no data found".
    Regards,

    Hi Denes and thank you for your valuable input.
    My problem is in fact that, I have created the tabular form by using a report region with a SQL query, something like,
    select apex_item.display_and_save(1, p.bolge) bolge,
    apex_item.display_and_save(2, p.hafta) hafta,
    apex_item.display_and_save(3, p.yil) yil,
    apex_item.display_and_save(4, p.mamul) mamul,
    apex_item.display_and_save(5, p.tahmin1) tahmin1,
    apex_item.display_and_save(6, p.tahmin2) tahmin2,
    apex_item.display_and_save(7, p.tahmin3) tahmin3,
    apex_item.display_and_save(8, p.tahmin4) tahmin4,
    apex_item.display_and_save(9, p.tahmin5) tahmin5,
    apex_item.display_and_save(10, p.tahmin6) tahmin6,
    apex_item.display_and_save(11, p.revize4) revize4,
    apex_item.display_and_save(12, p.revize5) revize5,
    apex_item.display_and_save(13, p.revize6) revize6
    from portal_link.v_planlama p
    The problem is that, since there is no data in the table, when I run the page, I cant get the form to be rendered, and I get a nice "no data found". There should be a way to get the form rendered, hence making it available for data input.
    Regards,
    Onur

  • Create a new class in pe51 form layout

    Hi experts,
                   I want to create a new form  layout in pe51 for payroll register. In standard form class maximum columns is 132 but i want
    more than 300 columns for payroll register. so its possible to to create new zform class in pe51. If its possible pls guide me.
    Thanks in advance.
    Thanks & Regards
    G.Vendhan

    Hi, I am working on the same thing and created a form in PE51 using Form class CKT0 which gives me 255 columns.  I am however having problems with finding some of the fields I need.
    Thanks.
    N

  • Creating a purchase order form that has a flowable layout" Help Tutorial

    Regarding the "Creating a purchase order form that has a flowable layout" Help Tutorial,  I can't seem to get the data to pull in for just the PO in question, is there a secret?
    Ideally, it should create one form for each PO with the detail lines for each PO on the individual forms.  Can we do this?
    Many thanks!

    Hi
    If the smartform purchase order is not available in your system
    means you can download the form IDES and you can upload the form in ur ecc 6.0 system.we faced a similar kind of problem in our system and we did as i said.
    Once you uploaded the things you can easily view the form interface and rest of the things related to smartforms.
    Thanks and Regards
    Arun Joseph

  • "Layouts" Panel no longer working in "Create" Mode for photobook

    I have been trying to make a photobook. Due to the large size, and therefore suuuper slowness of the computer, I have mostly been opening and working on individual pages only. I generally open the entire photobook only to change the picture layout for a given page since that function isn't available to me when I work on the pages individually. (When I originally saved my project, a separte folder was created with files for individual pages. I found that by opening one of those, i was able to work on only 1 page, which helped the program run a lot quicker, and any changes I made to individual pages were reflected in the overall photobook)
    However, for some reason while working on the entire photobook in "Create" mode, nothing shows up when I click on the "Layouts" panel on teh bottom right. I can skim through the pages, and open the Graphics, but when I click "Layouts" the side-bar stays grey.
    Is there a way to fix this?

    If you look at the FM Update/Download web page, there was a fix for Zapf Dingbat problems years ago that you could try, but if I were you, I'd trash what sounds as if it's a corrupted or incompatible font file and update with an Open format Dingbat font....
    Art

  • Table control in create mode

    Hi,
    I created a table control in a standard transaction code.
    when iam clicking create button, The table control
    is displaying in display mode.Now I should provide to the user
    to add the entries in the table control in create mode.
    Can any body resolve this issue with coding.
    urgent requirement.

    Hi,
    In a PBO module of the screen, ypu have to write a code to find out the number of lines of the internal table used for the table control.
    The code for this would be.
      DESCRIBE TABLE tb_line LINES lin.   * 'tb_line' is the internal table and 'lin' holds the number of lines*
      tcl_item-lines = lin.                             tcl_item is the name of the table control*
    Now in the PBO, you have to make the table control editable or non editable by checking with the transaction.
    Here i in the below code, there are 3 transactions for create,display and change.
    If the transaction code is either 'ZCREATE09' or 'ZCHANGE09' , then the lines in the table control are checked.If the table control is not empty,then it is  editable.
    During the display transaction,it is kept in non editable mode.
    CASE sy-tcode.
        WHEN 'ZCREATE09' OR 'ZCHANGE09'.
    ***Checking if the table control is empty or not***
          IF lin NE 0.
            LOOP AT SCREEN.
    ***To make the screen editable****
              screen-input = 1.
            ENDLOOP.
          ELSE.
            LOOP AT SCREEN.
              IF screen-name CS 'TB_LINE'.
    ****To make the screen non-editable if no values are present in the
    ***table control****
                screen-input = 0.
                MODIFY SCREEN.
              ENDIF.
            ENDLOOP.
          ENDIF.
    ****To make screen non editable during the display transaction****
        WHEN 'ZDISPLAY09'.
          LOOP AT SCREEN.
            screen-input = 0.
            MODIFY SCREEN.
          ENDLOOP.
      ENDCASE.
    Reward if helpfull.
    Thanks,
    Kashyap

  • Form in Create Mode

    Hi All,
    I have created a view object in my 'Fusion Web Application' , I am dragging the view object to form to create a form.
    But the problem is that when i run the page it fills the form with data by default but i want to create the form in create mode bydefault.
    So how can i do this ?
    I am using Jdeveloper 11g.

    Hi,
    Check this out.
    How to Call Method/Write Code on page load - ADF 11g
    -Arun

  • Creating a Data Entry Form combining 2 or more tables like a Master Detail

    I have a client requirement to create a data entry form which shows fields from 3 different tables joined by linking key. The data entry form should allow the user to enter a new record details. This should populate into 1 or more tables.
    Example: User table with userid,username. userRoles with userid,roleid. The user can have one or more roles. There are 4 roles and possibility of expanding. The data entry form should show userid, username and all the possible roles fetching from a look-up table roles_lookup which has role_id, role_description. When a new user is created with 4 roles selected the system should create one user record and r userRoles records.
    What is the best approach.
    Thanks in advance.
    Satya

    I found the solution. We can create a database routine to which we pass all the values and in the routine we create two different insert statements. Based on the number of roles selected we can control the loop to create number of records in role table.
    Satya

Maybe you are looking for

  • Help needed with Myfaces - tomahawk t:panelTabbedPane form tag iserted wh

    when i Use tomahawk <t:panelTabbedPane> component, during rendering stage. its atomatically inserts <form> tag around it. Is there any way to avoid this <form tag. because, I am using 3 tab column, and each tab has got its own form tag. so in that ca

  • How To Create an LOV in Jdeveloper 10.1.3.2.0

    Hi, Could anyone tell me as to how one can create an lov in this version of jdeveloper 10.1.3.2.0. Thanks & Regards, Madhur

  • Router doesn't work for hi-speed cable

    I have two MacBook Airs. I have one internet cable that comes out from the wall. I stick this in one of my MacBook Airs and I get high-speed internet (100 mbps) that way. It works fine. Now, I bought a cheapish router in Korea, so that I can use inte

  • Default Podcast library change - Finder level.

    I have a growing Podcast library that updates and downloads daily. I would like to change the default location from the main hard drive to a larger, external hard drive. In other words, I would like all the new episodes to default to the new external

  • Custom Buttons for 3D Interaction?

    How can I set a button to change the 3D tool using javascript? As example, I have a button I've made to change to the zoom tool. I'd like to click on it and have the 3d tool change from the default spin tool to the zoom tool. I've tried a couple diff