Don't know how to calcualte the current page in smartform for second layout

Hi All ,
   Iam creating an smart form which contains two layout in a single form. I need the page number to be displayed as followes.
1st layout : 1 of 2
                 2 of 2.
in 2nd layout 1 of 2.
                    2 0f 2.
I dont have any issues in printing total number of pages. i dont know how to calculate the current page for the 2nd layout. <<text removed>>
Edited by: Matt on Jun 25, 2009 5:09 PM - Removed ALL CAPITALS from subject

Hi,
Create a New window of Type 'Final Window' and Position it in the layout where u want to display the page numbers.
Now, create a text element in the window and create the text like below in the text element.
P1 Page &SFSY-PAGE& of  &SFSY-FORMPAGES(3CZ)&
&SFSY-PAGE&                            - Current Page No.
&SFSY-FORMPAGES(3CZ)&         - Total No of Pages.
Note: dont forget to create the window type as 'Final Window', otherwise it will show ssome junk...
Hope it helps!!
Rgds,
Pavan

Similar Messages

  • HT3867 I have a Wi-FI connection but it won't let me in. I have the password. I don't know how to get the iPad to ask me for it

    I have access to a Wi-Fi at a home. It is password protected but when I try to log in it will not let me nor will it ask me for the password. I am confused?

    What exactly happens when you try to buy something ? If you've already removed the card from your account then iTunes shouldn't be asking for any details about it.
    If you log into into your account is the card still shown . On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your phone then tap on your id in Settings > iTunes & App Store and tap on 'View Apple ID' on the popup and log into your account  - that should also give you a payments link on your account's page.
    Changing payment info : Change or remove your payment information from your iTunes Store account (Apple ID) - Apple Support

  • Can't back up my Iphone5 to my macbook pro, it tells me it may be corrupted, also I don't know how to delete the old backup to redo it

    Can't back up my Iphone5 to my macbook pro, it tells me it may be corrupted, also I don't know how to delete the old backup to redo it

    Hi Caveman337,
    Welcome to the Support Communities!  The resource below will explain how to delete an old iTunes backup.  Before you do this, I would suggest creating an iCloud backup of your iPhone. 
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    http://support.apple.com/en-us/HT203977
    Back up using iCloud
    If you're using iCloud, it can automatically back up your content. Use these steps to turn on iCloud Backup:
    Tap Settings > iCloud > Backup. If you're using iOS 7 or earlier, tap Settings > iCloud > Storage & Backup.
    Tap iCloud Backup to turn it on.
    Tap Back Up Now.
    After you turn on iCloud Backup, iCloud will back up your content automatically. You can return to this screen to see when the last back up happened.
    Create and delete iPhone, iPad, and iPod touch backups in iTunes - Apple Support
    http://support.apple.com/en-us/ht4946
    Where your backups are stored
    The folder where your backup data is stored depends on your computer's operating system. Make sure the backup folder is included in your data-backup routine. iTunes places the backup files in these places:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    The "~" represents your Home folder. If you don't see Library in your Home folder, hold Option and click the Go menu.
    Delete a backup
    If you want to delete a backup created by iTunes:
    Open iTunes Preferences:
    Mac: Choose iTunes > Preferences.
    Windows: Choose Edit > Preferences. Learn how to turn on menus in Windows 7 and 8.
    Click Devices. (The iOS device doesn't need to be connected.)
    iTunes will show the phone number, International Mobile Equipment Identity (IMEI) number, and serial number of the backed up iPhone when you position your mouse pointer over a backup. (Only the serial number will be shown for iPad and iPod touch). You can use this to find the backup you want to delete.
    Select the backup you want to remove.
    Click Delete Backup.
    When prompted, confirm that you want to remove the selected backup by clicking Delete Backup.
    Click OK to close the iTunes Preferences Window.
    Backups that have a date and time stamp in the backup name are copies of backups created by restoring the iOS device. The date and time in the left column are when the restore-from-backup occurred. The date and time in the right column are the last synced date; this shows how current the data is.
    I hope this information helps ....
    - Judy

  • When I went and connected  phone to my laptop and hit restore and it got rid of everything my photos my contacts everything and I don't know how to get the stuff back and if you need to know I have an IPhone4S

    When I went and connected my phone to my laptop and hit restore and it got rid of everything my photos my contacts everything and I don't know how to get the stuff back and if you need to know I have an IPhone4S

    I take it you were replacing an older iPhone and this was the first time you plugged it in? If so, that's what happens. It restored the backup of your old phone. A backup of the current phone is not made in those circumstances.
    If that's not what happened, you need to clarify.

  • My ipad 3 is frozen on the plug into itunes page. I have tried to follow advice I have found on these pages but I don't know how to connect the ipad to my mac (there is no usb port on an ipad). If anyone could help it would be appreciated.

    My ipad 3 is frozen on the plug into itunes page - it won't turn off or on - just stuck. I have tried to follow advice I have found on these pages but I don't know how to connect the ipad to my mac (the advice is to connect ipad to mac and there is no usb port on an ipad). If anyone could help it would be appreciated. Going nuts.

    I think you should probably also read the iPad User Guide. You didn't say what version of iOS your iPad is running, so here's the links to both the iOS 6 and iOS 7 (PDF) versions:
    iPad User Guide for iOS 6
    iPad User Guide for iOS 7

  • I have problem with Itunes losing where podcasts and some purchased music is located. Don't know how Itunes losing the locations of the files and I can't find the files on my hard drive. What can I do to stop Itunes losing location and restore my files?

    I have problem with Itunes losing where podcasts and some purchased music is located. Don't know how Itunes losing the locations of the files and I can't find the files on my hard drive. What can I do to stop Itunes losing location and restore my files?

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • I have a MacBook Pro, I want to copy Itunes files to an SD card to play in my car, the SD Card doesn't appear in Itunes when I insert it, and I don't know how to convert the files to the correct format, can anyone help?

    I have a MacBook Pro, I want to copy Itunes files to an SD card to play in my car, the SD Card doesn't appear in Itunes when I insert it, and I don't know how to convert the files to the correct format, can anyone help?
    Thank you

    So it seems from reading the COMMAND manual that my first issue is that I used a 16GB SD card, and the manual says it will only recogize up to a 2GB SD card. I did use my MB Air's SD card slot and crated a folder and dragged the music files to it, then to the card. So I am going to get a 2GB card and try that next. Otherwise just stick with the iPOD connected. At least that is 8GB

  • I upgraded to firefox 4 but it is not suitable for my version of Mac Os and don't know how to get the previous version of firefox back!

    I downloaded the latest version of Firefox (ie 4) on my Apple laptop, but the fact that it is "unsuitable for (my version of) Mac Os " was not revealed to me until I had already replaced the previous version which was suitable. I don't know how to retrieve the version I was using.

    The latest versions of Firefox require at least Mac OS X 10.5 and an Intel processor. You can revert to Firefox 3.6.xx for Mac 10.4 by downloading the installer from http://www.mozilla.org/en-US/firefox/all-older.html
    More information in the [[Firefox will not start]] article, under
    [https://support.mozilla.com/en-US/kb/Firefox%20will%20not%20start#w_firefox-will-not-start-4on-os-x-10-4-or-earlier-or-with-a-powerpc-processorsf5on-windows-98me-or-earliersf Firefox will not start on OS X 10.4 or earlier or with a PowerPC processor]

  • On my macbook pro the hard drive icon is not on my desktop and I don't know how to find the hard drive or get the icon back on my desktop

    on my macbook pro the hard drive icon is not on my desktop and I don't know how to find the hard drive or get the icon back on my desktop

    Click on the Desktop. From the Finder menu select Preferences. Check the boxes for what you want on your Desktop. If they are already checked, then try unchecking and rechecking.

  • I tunes has stopped working in windows 7 and I don't know how to get the crash information that everyone else seems to get to know what the cause is....any help?  I have a toshiba windows 7 computer.

    I have a toshiba computer and it is windows 7, recently after I installed imatch everytime I open itunes I get the message 'i tunes has stopped working' and windows cannot find a solution and has to close.  There is no solution and I don't know how to get the crash information on my computer....can anyone help as I want to finish downloading all my songs to match to be available on my mac products.

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • Nokia Lumia 928 apparently died after an attempted Windows 8.1 update.  Replacement phone arrived the next day.  How can I restore my contacts, photos, etc.?  Backup assistant is no help and I don't know how to access the Cloud.

    Nokia Lumia 928 apparently died after an attempted Windows 8.1 update.  Replacement phone arrived the next day.  How can I restore my contacts, photos, etc.?  Backup assistant is no help and I don't know how to access the Cloud.

    Did you have the phone set to backup things to the One Drive on Microsoft servers?

  • I preordered the new one direction album and I ment to preorder the one with 18 songs and it preordered both of the albums and I don't know how to cancel the one can someone help me?

    I preordered a album then preordered the Same one and I don't know how to cancel the one I preordered that I didn't mean too and it's charging me for both and I don't have a lot of money on my iTunes

    Go to the iTunes Store. Click on your Apple ID and enter your password. Scroll down towards the end of the page, you should see a line item that says Pre-Order. You can cancel the pre-order there.

  • Help!! working on a movie on Imovie. I had to delete a music file from a clip section and now there are some clips that have no audio!!! don't know how to get the audio back to my clips!!!! Help!!!

    Help!! working on a movie on Imovie. I had to delete a music file from a clip section and now there are some clips that have no audio!!! don't know how to get the audio back to my clips!!!! Help!!!

    You can use some third party software to copy the music from your old iPod back to computer first, and then import the music into iTunes and re-sync them to yournew iPod. Here is a guide about how to transfer iPod music to computer. Hope it helps. Feel free to email me if you need further help.

  • Hi fellow apple guys, i have this problem. Hope you can help me. I don't know how to use the function keys (F1 to F12) on my macbook air. Pls help

    Hi fellow apple guys, i have this problem. Hope you can help me. I don't know how to use the function keys (F1 to F12) on my macbook air. Pls help

    Out of the box, to use the function keys as function keys, hold down the fn key when you press the key. Otherwise, you get the picture function on the key. You can reverse this behavior in the Keyboard system prefs.

  • Gantt chart: Don't know how to use the tooltipkeys and toolkeylabel

    I have a problem. Don't know how to use the tooltipkeys and toolkeylabel. I used jquery to select the gantt bars and on mouse over i was getting the task id "tid" then passing it to adf bean with serverlistener and showing a popup that is adf component with javascript. For positioning of the popup I used a button that has width and height 0 and has position absolute and gets the coordinates of the mouse.
    "div[et]" is a jquery selector that selects all the elements that have attribute et. I noticed that all the bars have that attribute as a few other attributes as well "part"...
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
            xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
        <af:document title="untitled1.jsf" id="d1">
            <af:resource type="javascript" source="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"/>
            <af:resource type="javascript" source="resources/js/home.js"/>
            <af:messages id="m1"/>
            <af:form id="f1">
               <af:commandButton text="commandButton 1" id="cb1" inlineStyle="visibility:hidden; width:0; height:0" />
                <af:popup id="noteWindow" contentDelivery="lazyUncached" binding="#{homeBean.popup}">
                    <af:noteWindow id="popupWindow">
                        <af:panelFormLayout id="pfl2">
                            <af:panelLabelAndMessage label="Task id" id="plam5">
                                <af:outputText value="#{homeBean.taskId1}" id="ot64"/>
                            </af:panelLabelAndMessage>
                            <af:panelLabelAndMessage label="Start Location Name" id="plam6">
                                <af:outputText value="#{homeBean.startLocation}" id="ot7"/>
                            </af:panelLabelAndMessage>
                            <af:panelLabelAndMessage label="Stop Location Name" id="plam7">
                                <af:outputText value="#{homeBean.stopLocation}" id="ot8"/>
                            </af:panelLabelAndMessage>
                            <af:panelLabelAndMessage label="tasktype" id="pla2m7">
                                <af:outputText value="#{homeBean.taskType}" id="ot9"/>
                            </af:panelLabelAndMessage>
                        </af:panelFormLayout>
                    </af:noteWindow>
                </af:popup>
                <af:serverListener type="jsServerListener" method="#{homeBean.serverEventHandler}"/>
                <dvt:schedulingGantt id="gantt1" value="#{bindings.PersonView1.schedulingGanttModel}" var="row"
                                     startTime="2011-07-04 00:00:00" endTime="2011-07-04 23:00:00" summary="gsg"
                                     showMenuBar="false" showToolbar="false" iconPlacement="left"
                                     showTasksAsDailyBar="false">
                    <f:facet name="major">
                        <dvt:timeAxis scale="days" id="ta1"/>
                    </f:facet>
                    <f:facet name="minor">
                        <dvt:timeAxis scale="hours" id="ta2"/>
                    </f:facet>
                    <f:facet name="nodeStamp">
                        <af:column sortProperty="#{bindings.PersonView1.hints.PersonId.name}" sortable="false"
                                   headerText="#{bindings.PersonView1.hints.PersonId.label}" id="c1">
                            <af:outputText value="#{row.PersonId}" id="ot1">
                                <af:convertNumber groupingUsed="false"
                                                  pattern="#{bindings.PersonView1.hints.PersonId.format}"/>
                            </af:outputText>
                        </af:column>
                    </f:facet>
                </dvt:schedulingGantt>            
            </af:form>
        </af:document>
    </f:view>javascript:
    $(document).ready(bindEvents());
    function bindEvents() {
        $("div[et]").live('mouseover', function (e) {
             $('#cb1').css("position", 'absolute');
             $('#cb1').css("top", e.pageY-4);
             $('#cb1').css("left", e.pageX);
            var popup = AdfPage.PAGE.findComponentByAbsoluteId("noteWindow");
            var element = AdfPage.PAGE.findComponent("f1");
            var taskIdToPass = null;
            if ($(this).attr("tid") !=undefined) {
                 taskIdToPass = $(this).attr('tid').toString();
            } else {
                taskIdToPass = $(this).parent().attr('tid').toString();
            var param = {            taskId : taskIdToPass        };
            AdfCustomEvent.queue(element, "jsServerListener", param, true);
            if (!popup.isPopupVisible()) {
                var hints = {};
                hints[AdfRichPopup.HINT_LAUNCH_ID] = "cb1";
                hints[AdfRichPopup.HINT_ALIGN_ID] =  "cb1";
                hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_START;
                popup.show(hints);
        }).live("mouseout", function () {
            var popup = AdfPage.PAGE.findComponentByAbsoluteId("noteWindow");
            popup.hide();
    };My bean that is session bean:
    package view;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCDataControl;
    import oracle.adf.view.rich.component.rich.RichPopup;
    import oracle.adf.view.rich.render.ClientEvent;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Key;
    import oracle.jbo.Row;
    import oracle.jbo.RowSetIterator;
    import oracle.jbo.ViewObject;
    public class HomeBean {
        private RichPopup popup;
        private String taskId1;
        private String startLocation;
        private String stopLocation;
        private long taskId;
        private String taskType;
        public HomeBean() {
            super();
        public void serverEventHandler(ClientEvent clientEvent) {    
            String taskIdString = clientEvent.getParameters().get("taskId").toString();
            this.taskId = Long.parseLong(taskIdString);
            DCDataControl dc1 = BindingContext.getCurrent().findDataControl("AppModuleDataControl");
            ApplicationModule am = dc1.getApplicationModule();
            ViewObject vo = am.findViewObject("PdTrfDayView1");  
            RowSetIterator rowSetIterator = vo.createRowSetIterator(null);
            Row[] rows = rowSetIterator.findByKey(new Key(new Object[] {taskId}), 1);
            Row row = rows[0];
           this.taskId1 =  row.getAttribute("PdTrfDayId").toString();
           this.startLocation = row.getAttribute("StartLocation").toString();
           this.stopLocation = row.getAttribute("StopLocation").toString();
           this.taskType = row.getAttribute ("PdTrfTypeId").toString();
            RichPopup.PopupHints ph = new RichPopup.PopupHints();
            vo.closeRowSetIterator();
        public long getTaskId() {
            return taskId;
        public void setPopup(RichPopup popup) {
            this.popup = popup;
        public RichPopup getPopup() {
            return popup;
        public String getTaskId1() {
            return taskId1;
        public String getStartLocation() {
            return startLocation;
        public String getStopLocation() {
            return stopLocation;
        public String getTaskType() {
            return taskType;
    }I am wondering If i can use setCurrentRow on the iterator that i create and use it for displaying on the popup instead of binding startLocation and stopLocation to the bean and if there is any benefit of that at all...
    Edited by: 897833 on Nov 24, 2011 11:37 AM

    Hi,
    To use tooltipkeys and tooltiplabel in gantt, you can add following code in managed bean
    public String[] getTooltipKeys()
    return new String[]{"columnA", "columnB", "StartDate", "EndDate"};
    public String[] getTooltipLabels()
    return new String[]{"A", "B", "Start Date", "End Date"};
    where , the string array in the ToolTipKeys represents the columns, of the table you have in the gantt component , and the string array in TooltipLabels displays the label you want to display for the table columns.
    In the jsff, you could call the bean methods as follows:
    tooltipKeys="#{GanttBean.tooltipKeys}"
    tooltipKeyLabels="#{GanttBean.tooltipLabels}"

Maybe you are looking for

  • Finance General Ledger dashboards data is missing.

    Hi, I have noticed a strange behaviour related to data loads and data visibility through the Financials Analytics dashboards. Let me please begin with an empty target schema. I run the first load having the General Ledger subject area (Full Load=Y).

  • How to upload the Pdf Document?

    Hi Gurus, I have a requirement to design the screen using Java Webdynpro, where I have to give a option of uploading PDF form (which can be maximum of 10 mb size each) .it can be 2 or 3 files( maximum) per commit statement. Also I need to have to val

  • How to contact a representative by phone in the UK?

    I called their number in the UK (0844 209 0611), and it doesn't pass me to a human help. only stupid questions about my iphone (why is it neccesary? it's not relevant to every case) and than keep talking ********. the voice quality is also terrible a

  • Refreshing Flash Chart Report based on a Multi-Select List

    I have P13_SYMBOL multiselect list object.. Set "HTML Form Element Attributes" property of P13_SYMBOL to onchange="javascript:getchart(this);" I have written following code at page HTML Header section. <script type="text/javascript"> function getchar

  • Jlist not appearing in jpanel

    I'm just messing around trying to get a JList to show work, but it won't show up. I've been going off the JList tutorial at http://java.sun.com/docs/books/tutorial/uiswing/components/list.html but I don't know what I'm doing wrong.      private class