Conditions at page level. Smartfroms

My requirement is like this.
on first page I show some information, for which no main window is required. In second page I am supposed to display a table data. I should go to second page only if that table contains data.
I have tried putting condition on all the windows in second page. now an empty second page is being displayed. we dont want that empty page as well.
How to do this?

hi,
Put the page triggering condition as Table not initial.
Hence, when the table is empty there's no chance of new page being triggered.
For this you can follow these steps.
Set a flag variable for table not initial or table initial.
Validate this flag variable for GOTO new page condition.
Regards
Sharath

Similar Messages

  • How to implement a page level validation !!

    Hello ,
    I want to implement page level validation.
    thanks
    Edited by: kumar73 on Apr 21, 2010 1:41 PM

    Should be pretty easy - your condition would probably just be the click of the button (button name) or the request value sent by the button (SUBMIT?) You can do a function returning boolean as the type
    The code would be something like:
    begin
      if :P1_SHUTTLE is not null or
      :P1_SHUTTLE2 is not null or
      :P1_SHUTTLE3 is not null or
      :P1_SHUTTLE4 is not null or
      :P1_SHUTTLE5 is not null then
        return(true);
      else
        return(false);
      end if;
    end;

  • Backing file at Page level

    Hi,
    I am working on Weblogic portal 9.2. I have single Portal that hold one page and 3 portlet.
    Conditionally I wanted to visible and hide these portlet so I added backing file at Page level and after using setVisible() method of portlet I can hide or show these portlet.
    But the problem is Portal page is not visible in portal administrator until and unless you created desktop template from existing portal web app.
    But consider somebody created new page on portal administrator and added these 3 portlet.and now want to see visibility and hiding functionality of portlet. So Page level Backing file approach will be fail as this page will not have any backing file support.
    So in this scenario how do I hide and show portlet without help of backing file

    Hi Kevin
    Just curious where exactly the BackingFile information gets stored for Pages, Books, Desktops etc in the Portal DB Schema. As per my understanding, from IDE we create .portal file. Add books/pages and portlets to the pages. We assign BackingFiles to Page/Book and portlets. When we deploy and create Desktop, this .portal file is parsed and all the information gets stored in the DB Tables. When we run portal in streamline mode, it gets all the details from the DB tables and NOT from the .portal file any more. In PF_PORTLET_DEFINITION Table, I could see a column to store the BackingFile full path. And in .EAR file we have this .class file. But in PF_PAGE_DEFINITION, PF_BOOK_DEFINITION, I could not see any such columns. So my question is in streamline mode when a desktop is rendered by reading all these tables, where exactly the BackingFile is getting triggered/called from which table. Does it still refer .portal file.
    Thanks
    Ravi Jegga

  • Page-level Content

    Is it possible to implement rules or configuration settings that would prevent the indexing of certain page level content items?
    The condition I'm trying to remediate is a web source with a menuing system which results in "false" positives for certain SES query phrases that appear in the menuing text, but not in the main content area of the page.
    The menu is identified with a unique div id, so I'm wondering if I can exclude this portion of the page from indexing by implementing a rule or setting that targets a div id.
    Alternatively, if there's another workaround for this sort of condition I'd be interested to hear about it.
    I have read through both the Administrator's Guide and this forum, but can't find anything on the topic. Any help (even a definitive "no") will be useful.

    This can be done from a "Document Service".
    A document service has access to the entire document content, and can modify it as required. Whatever it writes back will be what gets indexed.
    So your document service could look for particular patterns within the content and remove them (I'd suggest using the java regexp package).
    Ideally the patterns to remove would be obtained from a config file so you don't need to keep recompiling the document service to deal with new patterns.
    There is a sample document service that you can modify on our [OTN Page|http://www.oracle.com/technology/products/oses]

  • Read only page level attribute

    Are there any plans to add a 'Read only' conditional attribute at the page level. It would save a lot of time if a page level read only attribute was available which was overrriden at the item level.
    The page level attribute would allow a page with lots of items to be rendered read only at the click of one option rather than having to go through each item on the page. (It would also be nice to be able to programatically set this via a function call)

    i know you can do this at the item level. Lets say you have 50 items on a page and you want to set the same condition for making each item read only. It would be a little tedious to have to go into each item to do this. Whereas a page level attribute would cascade down, being overrriden by the item level setting if a few of the items had different conditions or were not to be made read only.
    just think it would be a nice to have feature

  • Syntax for page level process to invoke an on-demand app level process?

    I want to use a page level process (if that's the right thing to do) to run an application process on-demand each time certain pages load. What is the proper syntax for the page level process?
    I tried many variations of the following but it does not pass syntax checking.
    1.
    APPLICATION_PROCESS=GLOBAL_UPDATE;
    2.
    begin
    APPLICATION_PROCESS=GLOBAL_UPDATE;
    end;
    What is the proper syntax?
    Thanks,
    Linda

    Linda - If you want to run an application process when certain pages load, just create an application process (PL/SQL type) with the desired firing point, e.g., On Load: Before Header and in the process condition use a condition type like "Current Page Is Contained Within Expression 1 (comma delimited list of pages)". No need to create either a page process or an on-demand application process to do this.
    Scott

  • Aplication Vs. Page level items for application process

    Hi,
    I have many application processes in my applications, many of them take parameters.
    Right now I am passing parameters using page level temporary items. This is causing each page to have many items that are only used for calling the application process.
    Is it better to use application level items for this purpose?
    any pros and cons for each of these?
    ~Ketan

    Arie,
    Are you saying that the condition only apply to rendering the item, but the APEX engine will still consider such an item a valid “internal” variable?
    Yes. The absence of a condition on a page item or a condition that evaluates to true simply allows it to be rendered on the page. The existence of the item in the page definition allows it to hold session state.
    We're planning to introduce a non-displaying page item type just for this purpose, sort of a scratchpad variable with no display properties, like an applicaition item but defined on a page.
    Scott

  • Conditions for EPCF level 2 in EP 6

    Hi,
       What exactly are the conditions for EPCF level 2 to be used?  We have the epcfLoader service property "framework.level" set to 2, but when I display the client framework environment test (under Sys Admin - support), EPCM.getLevel() is showing as 1 [JavaScript]!
    I ran that on a browser with java installed, and I have successfully tested an example applet on a different website.
    The other environment entries, in case it helps, are:
    Object: navigator Value
    navigator.platform Win32
    navigator.appName Microsoft Internet Explorer
    navigator.appVersion 4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
    navigator.appCodeName Mozilla
    navigator.userAgent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
    navigator.language undefined
    navigator.browserLanguage en-us
    navigator.cookieEnabled true
    navigator.javaEnabled() true
    Object : EPCM Value
    EPCM.getVersion() 6.0723
    EPCM.getLevel() 1 [JavaScript]
    EPCM.getPortalVersion() 6.4.200509210346
    EPCM.getUAPlatform() 1 [EPCM.NT_PLATFORM (NT 4.0 or NT 5.0)]
    EPCM.getUAType() 1 [EPCM.MSIE]
    EPCM.getUAVersion() 6
    EPCM.getInstanceId() 4df39bb81c7908f48e905509d57ca5ee
    EPCM.getUniqueWindowId() WID1141723870531
    We think the fact that the DSM terminator applet is not being used is causing some other system connections not to be terminated, so any help you can give would be very much appreciated!
    Many thanks,
    Steve

    Thanks Eric,
       I've just had a conversation with SAP about this (due to a different OSS note).  The developer I talked to said that the portal will determine the MINIMUM EPCF level required to run each page and use that.  This is based on the levels set in each portal component on the page (EPCF.Level can be defined in each par file's portalapp.xml), and the MAXIMUM level defined with the framework.level property on the epcfLoader service.
    In this case, the irj only needs level 1 and that's what it uses to run the portal.  Apparently EBP is an example of an app that requires level 2 and so the iviews for that are run in level 2.
    Thanks for all your help and prompt responses!
    Steve

  • Sales order: How to add pricing conditions at item level in BDC of VA01

    Hello Experts,
    Am writing BDC for sales order, in this process I need to add ITEM PRICING CONDITIONS, so, am selecting item and pressing the DOLLAR symbol button and am adding the conditions by pressing PLUS button in loop!! but am getting this erorr- Field KOMV-KMEIN (2) is not an input field!! when I execute it in we19-BACK GROUND only!! if I execute the same CODE IN we19-Fore ground, I dont have any issue!!  I checked this SDN (field status in config), Google, but did not helped me!
    Pls. let  me know is there any other way to add conditions at item level in VA01 in BDC code?
    THank you

    Hi,
    It is happening because the second row of the item level data screen is becoming display only. Please check whether In foreground mode you are pressing an extra enter to give data in the second row of the item level data after giving data in the first row and in BDC recording you have not recorded that 'Enter'.
    Regards,
    Gargi

  • Page level help text question

    APEX - 4
    DB version - 10g
    Web server architecture - OHS
    Browser - IE8
    Theme - 5
    I know how to set and display help text for a page item, and I see there is the option to add help text at the page level, but how does the user accessing the screen see the page level help text?
    I was thinking it might be a good way to add user help guide information at the page level.
    Thank you for any assistance.

    I know how to set and display help text for a page item, and I see there is the option to add help text at the page level, but how does the user accessing the screen see the page level help text?Using a Help page and region accessed via a help link (e.g. a navigation bar entry), or using the <tt>apex_application.help</tt> API method in a PL/SQL Dynamic Content region.
    This is covered in the APEX documentation which should be consulted before posting a question here.

  • Page-level versioning/publishing

    Is there a way to version and publish content at the page level? I'm able to version and publish content at the item level, but I don't see any way to do this at the page level.
    Any help would be much appreciated.
    - Justin

    hi justin,
    versioning is only possible at item level, not at page level.
    regards,
    christian

  • Page level total in a mulipage matrix report

    hi!
    I am facing a problem in marix reports because a very late change in customer requirement.he wants a page total at the end of every page in the report ,because these reports are matrix style,they involve cross product.i can get the grand total at the end of the report because the summary column works well at report level,but when i try to reset it at page level,at times it shows blank or generates an error that matrix report fetches everthing at report level and cannot generate results at page level.but now how do i get these page totals without changing these matrix reports.Plz reply ASAP
    Regards
    simer
    The Oracle Reports Team
    http://otn.oracle.com/

    Hi I was browsing through the forum, and found no reply to your question, if you still interested about the solution I can send you my RDF file where I did the page level total in matrix report as well as brought
    forward in next page, this is something very hard for me to explain in word, so if you can give me your email address I can send you the RDF file.
    Thanks & Regards
    Eamon

  • Page level validation to prevent duplicate data entry into the database

    Hello,
    Can anyone please help me out with this issue.
    I have a form with two items based on a table. I already have an item level validation to check for null. Now I would like to create a page level validation to check that duplicate data are not entered into the database. I would like to check the database when the user clicks on ‘Create’ button to ensure they are not inserting duplicate record. If data already exist, then show the error message and redirect them to another page. I am using apex 3.2
    Thanks

    Hi,
    Have you tried writing a PLSQL function to check this?
    I haven't tested this specifically, but something like this should work:
    1) Create a Page Level Validation
    2) Choose PLSQL for the method
    3) Choose Function Returning Boolean for the Type
    For the validation code, you could do something like this:
    DECLARE
        v_cnt number;
    BEGIN
        select count(*)
        into v_cnt
        from
        your_table
        where
        col1 = :P1_field1 AND
        col2 = :P2_field2;
        if v_cnt > 0 then return false;
        else return true;
        end if;
    END;If the query returns false, then your error message will be displayed.
    Not sure how you would go about redirecting after this page though. Maybe just allow the user to try again with another value (in case they made a mistake) or just press a 'cancel' button to finish trying to create a new record.
    Amanda.

  • Item Level & Page Level Validation..

    Hi ,
    What is the difference between Item Level validation & Page Level validation..
    in which sceneario it will be useful.
    Anoo..
    Edited by: Anoo on Dec 16, 2008 5:04 AM

    Hi,
    From the APEX help:
    * Item level validations are specific to a single item.
    * Page level validations do not apply to any single item, but apply to an entire page.
    {code}
    Paulo Vale
    [http://apex-notes.blogspot.com]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Item & page level validation

    1. How do I check/see if a validation rule is page level or item level, I couldn't find any difference in the definitions between the two as seen on the definition screens in APEX.
    2. (Could be related to 1.) I expected the validation rule 'Item in Expression1 contains at least one of the characters in Expression2' to imply that Expression1 can not be NULL. I had to create a separate IS NOT NULL validation rule however. To me that does not make sense or is there a reasonable explanation?
    tia,
    Martin

    Martin,
    As Tony said, there is no difference between page and item validations other than the ability for item validations to have error messages positioned right next to their label.
    As for the null value problem, the following "item comparison" -type validations do not produce a validation error if the specified item is null:
    * Item specified contains no spaces
    * Item specified is a valid date
    * Item in Expression 1 contains only characters in Expression 2
    * Item in Expression 1 contains at least one of the characters in Expression 2
    * Item in Expression 1 does not contain any of the characters in Expression 2
    This allows you to account for the null value case with a separate "not null" validation. Without this behavior there would have to be a "Item in Expression 1 is NULL OR <remainder of validation>" -type validation in addition to each of the above validation types.
    However, the following validation types do result in a validation failure if the item is null:
    * Item in Expression 1 equals string literal in Expression 2
    * Item in Expression 1 is contained in Expression 2
    This behavior appears to be an oversight, also spelled bug.
    Scott

Maybe you are looking for

  • Error: "Could not find a part of the path '\\dc\UEVSETTINGS\westsalesuser9\SettingsPackages'.".

    So, some of UEV 2.0 clients are syncing. This one isn't. So I'm in the event logs, and the App Agent piece shows An exception has occurred while synchronizing settings packages. Exception message: "Could not find a part of the path '\\dc\UEVSETTINGS\

  • Data Conversion for profit center group

    Hi, I need help uploading profit center groups (KCH1) into the R/3 system. Which is recommended - to use LSMW or create a BDC program? Thanks in advance!

  • ITunes folder is corrupt

    My iTunes folder is corrupt on my external hard drive and it is all gibberish (i.e., name turned to symbols and punctuation marks, etc.).  I'm fairly certain that it's not my hard drive because I am able to open and use other files on the drive. I am

  • Pan Image with AS2

    I am looking to create a similar effect to the one in this website: http://www.timoweiland.com/ I have a large image that I would like to pan around on various button clicks and I have no idea how to begin.  Any help or a point to the right post/tuto

  • Media folder problem

    pls i am expiriencing problem with my blackberry torch 9800, the picture, music, video folder cannot display anything, if i open it shows only empty while there are items inside, while if i connect it with my PC it shows everything, i thougt if its a