Multi page flowed subforms - help/resources

Hi,
Im having trouble with "flow" and multi pages subforms.
I got a copy of JP Terry's book and also purchased the PDF bible - neither seem to have what i need.
My forms are about 6 pages long each, and i want them to expand a contract based on user interaction (ie they are asked to tick a checkbox to add another beneficiary etc on a number of occasions).
I can get the individual pages to expand and contract within themselves, but can not get subforms to flow properly over multiple pages.
This is really a problem for us, as we dont want big white spaces if the client does not tick yes for example.
Can anyone recommend a book, article or whatever on flowing multipage subforms
i am setting allow page breaks and expand to fit etc and still not working. im on ES 8.2 (acrobat 9 pro)..........
I tried to get the forms "finished off" by a contractor but they wanted 125 US (270 NEW Zealand dollars, or about 3 days average wages here) an hour which is a killer for a startup.....so any help or guidance much appreciated as were stuck... and have been for a month now......
happy to send a file for people to see what im on about...........
thanks

Please see a working version of your form attached.
I used the following concepts to fix your issue:
"invisible" versus "hidden"  - Setting a subform to invisible will hide all the subform's objects, but will preserve the whitespace. For a form to expand and contract you must set subform visibility to "hidden"
Positioned subforms have fixed height - Setting a positioned subform to "visible" will result in whitespace when some/all of its content is hidden
Flowed hierarchy - For a Flowed subform to collapse and expand correctly all of its parent subforms up the hierarchy to the root node must also be Flowed. A good test is to click on an object within the subform that is not flowing correctly and navigate up the hierarchy using the left arrow key whilst keeping an eye on the Subform pallet. Any content that is Positioned needs to be changed to Flowed
This resulted in the following changes in your form:
Change the initialise event on more_trustess from this.presence = "invisible"; to this.presence = "hidden";
Moved tee4-sub out of the positioned tee3-sub
Set p2 to Flowed
Ben Walsh
www.avoka.com
P.S. I reduced your filesize by 550KB by turning off the Save Options: 'Generate Accessibility Information (Tags) for Acrobat' and 'Embed Fonts'

Similar Messages

  • Removal of page in multi page flow (Train)

    Hi all ,
    I have a series of pages (train) in which I have to remove / hide a page ( I mean end user should not see that page in the flow) . For exampe , if the flow is :
    Page A --> Page B --> Page C --> Page D . The requirement is to remove the Page C .
    Any suggestions / directions will be of great help .
    Thanks for your time & attention ...

    Hi Reetesh ,
    The personalization helps us in removing the visual train link at the top of the page . But not the actual page . Any pointers on how to remove the actual page in the flow (train) .
    Thanks for your time..
    Edited by: 786533 on Aug 30, 2010 2:45 PM

  • Pages FLOW CHART help

    Hi guys,
    I'm an iWork newbie and I'm trying to create a flow chart using pages.
    everything's going fine so far, but i can't seem to find anything that will let me do the following:
    1.) broken underline - is it possible to create a broken underline? i can only find one option for underline which is one continuous line under the text
    2.) doubel connection line - or a double stroke line as connector... is there such thing?
    THANKS!!

    1. +Inspector > Text > More > Rules > Pull down menu > dashed rule+
    2. Take the connecting line and make it extra fat say 4pts.
    Copy it and paste it on top of itself, if you have trouble doing this position it using the Graphic tab in the Inspector. It should just snap on top of the other copy.
    Change it to only 2 pt thick and make it white. Group the 2 lines together.
    You can now stretch and position the grouped pair of lines wherever you want. Option drag Copy to make copies of this.
    Peter

  • Workshop 8.1 - jsp:include an Page Flow action resource

    Hi everybody.
    Can i use jsp:include to "include" a page flow action ?
    I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
    Any ideas ?
    Thanks in advance.

    Hi everybody.
    Can i use jsp:include to "include" a page flow action ?
    I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
    Any ideas ?
    Thanks in advance.

  • All website went "Not Found HTTP Error 404. The requested resource is not found." and the "Firefox cannot load websites but other programs can" page is not help

    ''dupe of https://support.mozilla.org/en-US/questions/928117''
    all website went "Not Found HTTP Error 404. The requested resource is not found." and the "Firefox cannot load websites but other programs can" page is not helping in any ways

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *http://kb.mozillazine.org/Error_loading_websites
    You can try to reset (power off/on) the router.

  • Message resources from page flow

    How can I access the ResourceBoundle declared at the top of the page flow, from
    the page flow?

    I have a question that goes along with this...
    Can you add formatting with any of these different bundle options? Since
    8.1 SP2 now has the attribute "accessKey" on buttons, we'd like to be able
    to underline the letter we are using for the accessKey. Our attempt at
    using the message bundle just puts the formatting inside the button value.
    When the jsp displayed this was the value shown for the button text: <u> S
    </u>ubmit
    Is this possible to do without using javascript? One of our team members
    found a script that adds the underline, but there is alot of code to
    underline one letter.
    Ideas?
    Thank you!
    Wendy
    "John Rohrlich" <[email protected]> wrote in message
    news:[email protected]...
    Gus,
    Your welcome.
    You don't need to get the bundle and pass it. You can access it directly
    from the JSP. If these are validation error messages you can use the
    <netui:error> tag. If the string you want to access is not for displaying
    validation errors you'll want to access the strings in another manner. The
    documentation in
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conDatabindingXScript.html
    shows at least 3 approaches. Here is the relevant section from that
    document.
    bundle
    The bundle data binding context references properties that you define in a
    message resources file, which allows you to implement internationalizedweb
    applications by not hard-coding text labels in your JSP pages.
    For example, in your page flow controller class, you can add an annotation
    such as the following:
    * @jpf:controller
    * @jpf:message-resources resources="labels.Messages"
    public class Controller extends PageFlowController
    { ...In this example, the naming convention is that the message resources
    file must be located in the project's /WEB-INF/classes/labels directory,and
    the file must be named Messages.properties.
    In the Messages.properties file, you might have a property such as:
    nameLabel=Name Then in your JSP page, you can use a data bindingexpression
    such as the following:
    <netui:label value="{bundle.default.nameLabel}"/> Alternately, you can use
    the key attribute on the @jpf:message-resources annotation:
    In your page flow controller class annotation:
    * @jpf:controller
    * @jpf:message-resources key="foo" resources="labels.Messages"
    public class Controller extends PageFlowController
    { ...Assume that the Messages.properties file in the
    /WEB-INF/classes/labels directory is the same as shown in the previous
    example. In the JSP page, you could use a tag such as the following:
    <netui:label value="{bundle['foo/jpfDirectory'].nameLabel}"/> In this
    case, your page flow controller class file is/jpfDirectory/Controller.jpf.
    >
    Another option is to use the <netui-data:declareBundle> tag. For example,in
    your JSP page:
    <netui-data:declareBundle name="someMessages"
    bundlePath="com/foobar/resources/WebAppMessages"/>This tag declares abundle
    that can be referenced in a data binding expression, such as in the
    following example:
    <netui:label value="{bundle.someMessages}"/> For more information, see the
    topics about the @jpf:message-resources Annotation and the
    <netui-data:declareBundle> Tag.
    "Gus" <[email protected]> wrote in message
    news:[email protected]...
    First of all, thanks!
    I want to get a string from the bundle and pass it to a JSP in therequest.
    I have defined the resources at the top of the JPF, as specified in thehelp:
    @jpf:message-resources resources="mensajes"
    The question is how can I get a string from the mensajes.properties
    file.
    >>
    Gus
    I would be better able to answer your question if I knew what you
    wanted
    to
    do. Are you trying to display the strings from the bundle?
    john
    "Gus" <[email protected]> wrote in message
    news:[email protected]...
    How can I access the ResourceBoundle declared at the top of the pageflow,
    from
    the page flow?

  • Page Flow - Help please

    Dear All,
    I am new to Portal application development by using Weblogic 8.1 I have read the
    docs and I did simple page flow example. But when i start looking the requirement,
    it is having basic login screen contains Home page of website. Once the user login
    for example employee or manager, it should show the user specific content. In
    this case the functionality of both user are altogether different. So I have created
    Three portal
    1.Login Portal -- Login screen
    2.Empolyee Portal -- Employee Functionality
    3.Manager Portal -- Manager Functionality
    I would like to know how to link these three pages by using page flow or provide
    me any document. Document provided by weblogic is not sufficient.... please help
    me...
    Regards
    Neels

    Prashaht thanks
    What package do I have to import in the Java Class/JSP for the ScopedServlet utils
    to work. I tried it but it kept giving error message saying the method could not
    be found indicating I do not have the right package imported in the program.
    Please help
    "Prashanth " <[email protected]> wrote:
    >
    Here you go :
    HttpServletRequest outerRequest = ScopedServletUtils.getOuterRequest(request);
    Once you have outerRequest object, you can retrive the values much like
    normal
    request object.
    Hope,this helps.
    Prashanth Bhat.
    "pete" <[email protected]> wrote:
    I have a JsP which has a netui:form with some text fields. This jspcalls
    a action
    (actionABC) in a .jpf file. The jpf files then forwards it to a jsp.
    What I want
    to do is set some values in the request object in the .jpf file(which
    will be
    from the 1st jsp) and then call the 2nd jsp from the jpf. the 2nd jpf
    should then
    read the request object get the values out and display them. I do not
    want to
    use the (netui-datasource) tag, I specifically want to use the request
    object.
    A sample code will be highly appreciated.

  • [[ Page Flow Error - Action Not Found ]] - urgent help needed!

    Hi all,
    My portal application runs on Weblogic 8.1 and I am encountering a vague error which does not point back to any of the application-based files. The error message, as stated in the subject, is
    "Page Flow Error - Action Not Found"
    I did modify the url-template-config.xml under groWeb/WEB_INF to add a new template to enforce secure access to application resources. Could this have caused the above error?
    Any feedback would be greatly appreciated!!
    Thanks.

    Here is just a portion of Page Controller class
    package com.amd.portal.presentation.GeneralRegistration
    public class GeneralRegistrationController extends PageFlowController
    * @jpf:action
    * @jpf:forward name="success" path="RegistrationConfirmation.jsp"
    * @jpf:validation-error-forward name="failure" path="index.jsp"
    public Forward registerUser(RegisterUserForm register_form)
              usermanager_ctrl.registerUser(register_form, this.getRequest());
              return new Forward( "success", register_form);
    Here is a portion of the code from the JSP that uses this controller
    <netui:form action="registerUser">
    <tr valign="top">
    <td><font color="red"> * </font> User Name:</td>
    <td>
    <netui:textBox dataSource="{actionForm.userName}"/>
       
    <netui:error value="userName"/>
    </td>
    </tr>
    <tr valign="top">
    <td><font color="red"> * </font> Password:</td>
    <td>
    <netui:textBox dataSource="{actionForm.password}" password="true" />
       
    <netui:error value="password"/>
    </td>
    </tr>
    <netui:button value="Submit" type="submit"/>
    </netui:form>
    This apparently doesn't display well when posted but I can email to you if you provide me with your email address. Thanks.
    - CW
    Message was edited by:
    lcwalters

  • Multi-Page Printing (Please I need realy help)

    Dear Friend !
    Please Help me. My Dateline is running out quickly.
    I have a problem, I could not Print multi-page text document which are directly retrive from MS Access DataBase.
    I send by code for your easy understanding. Please, I realy need help.
    It prints multi-page but prints dublicate the first page.
    For multi-page print, look at Bolded Text in the Last Part of the code.
    Thank u very much.
    import java.awt.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import java.awt.print.*;
    import java.sql.*;
    import java.util.*;
    import java.text.DecimalFormat;
    import javax.swing.*;
    import java.text.SimpleDateFormat;
    public class printBalance{
    int maxPage=1;
    int pHight=0;
    int header=0;
    FontMetrics fontMet2;
    private final static int POINTS_PER_INCH=15;
    Paper paper=new Paper();
    //paper.setSize(612,792);
    public printBalance () {
    //--- Create a new PrinterJob object
    PrinterJob printJob = PrinterJob.getPrinterJob ();
    //--- Create a new Book to add pages to
    Book book = new Book ();
    //--- Add the cover page using the default page format for this print job
    // book.append (new IntroPage (), printJob.defaultPage ());
    //--- Add the document page using a landscape page format
    PageFormat documentPageFormat = new PageFormat ();
    paper.setImageableArea(15,15,580,648);
    documentPageFormat.setPaper(paper);
    documentPageFormat.setOrientation (PageFormat.PORTRAIT);
    book.append (new Document (), documentPageFormat);
    //--- Add a third page using the same painter
    book.append (new Document (), documentPageFormat);
    //--- Tell the printJob to use the Book as the Pageable object
    printJob.setPageable (book);
    //--- Show the print dialog box. If the user clicks the
    //--- print button, we then proceed to print, else we cancel
    //--- the process.
    if (printJob.printDialog()) {
    try {
    printJob.print();
    } catch (Exception PrintException) {
    PrintException.printStackTrace();
    private class Document implements Printable {
    public int print (Graphics g, PageFormat pageFormat, int page) {
    //--- Create the Graphics2D object
    Graphics2D g2d = (Graphics2D) g;
    //--- Translate the origin to 0,0 for the top left corner
    g2d.translate (pageFormat.getImageableX (), pageFormat.getImageableY ());
    //--- Set the drawing color to black
    g2d.setPaint (Color.black);
    //--- Print the title
    DataLink dbTitle=new DataLink();
    ResultSet rsTitle;
    String TitleQuery="Select Com_ID,Com_Name,Com_Road,Com_House,Com_Add,Com_City from Company_Profile where Com_ID='001'";
    Vector tempAdd=new Vector();
    //--- Compute the horizontal center of the page
    FontMetrics fontMetrics = g2d.getFontMetrics ();
    try{
                   rsTitle=dbTitle.stmt.executeQuery(TitleQuery);
                   rsTitle.next();
    String titleName=rsTitle.getString(2);
    tempAdd.addElement(rsTitle.getString(3));
    tempAdd.addElement(rsTitle.getString(4));
    tempAdd.addElement(rsTitle.getString(5));
    tempAdd.addElement(rsTitle.getString(6));
    String titleAdd=(tempAdd).toString();
    Font titleFont2 = new Font ("helvetica", Font.PLAIN, 13);
    //titleFont2.getFont(titleName);
    g2d.setFont (titleFont2);
    //--- Compute the horizontal center of the page
    //--- Compute the horizontal center of the page
    double titleX = (pageFormat.getImageableWidth () / 2) - (fontMetrics.stringWidth (titleName) / 2);
    //System.out.println(titleName);
    double titleY =POINTS_PER_INCH;
    g2d.drawString (titleName, (int) titleX, (int) titleY);
              double titleX3 = (pageFormat.getImageableWidth () / 2) - (fontMetrics.stringWidth (titleAdd) / 2);
              //System.out.println(titleAdd);
              double titleY3 =POINTS_PER_INCH+fontMetrics.getHeight();
    g2d.drawString (titleAdd, (int) titleX3, (int) titleY3);
    catch(SQLException ex){System.out.println(ex);}
    DataLink dbDate=new DataLink();
    ResultSet rsDate;
    String Qr="Select * from TimeSchedule where Com_ID='001'";
    Vector tempDate=new Vector();
    SimpleDateFormat dateformat = new SimpleDateFormat("MMMMMMMM. dd, yyyy",Locale.getDefault());
    FontMetrics fontMet = g2d.getFontMetrics ();
    try{
                   rsDate=dbDate.stmt.executeQuery(Qr);
                   rsDate.next();
    tempDate.addElement("BALANCE SHEET AS AT ");
    tempDate.addElement(String.valueOf(dateformat.format(rsDate.getDate(2))));
    String BalanceDate=(tempDate).toString();
    Font titleFont2 = new Font ("helvetica", Font.PLAIN, 13);
    //titleFont2.getFont(titleName);
    g2d.setFont (titleFont2);
    //--- Compute the horizontal center of the page
    //--- Compute the horizontal center of the page
    double DateX = (pageFormat.getImageableWidth () / 2) - (fontMet.stringWidth (BalanceDate) / 2);
    //System.out.println(BalanceDate);
    double DateY =POINTS_PER_INCH+POINTS_PER_INCH+fontMet.getHeight();
    g2d.drawString (BalanceDate, (int) DateX, (int) DateY);
    catch(SQLException ex){System.out.println(ex);}
    Rectangle2D.Double borderHead = new Rectangle2D.Double (0,
    fontMetrics.getHeight()+fontMetrics.getHeight()+fontMet.getHeight()*2,
    pageFormat.getImageableWidth (),
    fontMet.getHeight());
    Font font=new Font("Arial",Font.PLAIN,12);
    g2d.setFont (font);
    g2d.drawString("CAPITAL & LIABILITIES",POINTS_PER_INCH,fontMetrics.getHeight()*5);
    g2d.drawLine(POINTS_PER_INCH*14,(fontMetrics.getHeight()*4)+4,POINTS_PER_INCH*14,fontMetrics.getHeight()*5);
    g2d.drawString("AMOUNT",POINTS_PER_INCH*14+12,fontMetrics.getHeight()*5);
    g2d.drawString("PROPERTY & ASSETS",POINTS_PER_INCH*20,fontMetrics.getHeight()*5);
    g2d.drawLine(POINTS_PER_INCH*33,(fontMetrics.getHeight()*4)+4,POINTS_PER_INCH*33,fontMetrics.getHeight()*5);
    g2d.drawString("AMOUNT",POINTS_PER_INCH*34,fontMetrics.getHeight()*5);
    //--- Draw a border around the page using a 12 point border
    //g2d.setStroke (new BasicStroke (12));
    Rectangle2D.Double border = new Rectangle2D.Double (0,
    fontMetrics.getHeight()+fontMetrics.getHeight()+fontMet.getHeight()+fontMet.getHeight()*2,
    pageFormat.getImageableWidth (),
    pageFormat.getImageableHeight ());
    g2d.draw (borderHead);
    g2d.draw (border);
    /*Line2D.Double line = new Line2D.Double ();
    int j=(int)pageFormat.getImageableWidth()/2;
    line.setLine (j,0,j,pageFormat.getHeight());
    g2d.draw (line);*/
    int j=(int)pageFormat.getImageableWidth()/2;
    g2d.drawLine(j,fontMetrics.getHeight()+fontMetrics.getHeight()+fontMet.getHeight()*2,j,(int)pageFormat.getHeight());
    Vector temp=new Vector();
    //--- Print page 1
    if( page >= maxPage )
                   return NO_SUCH_PAGE;
    //if (page == 0) {
    DataLink db=new DataLink();
    DataLink db2=new DataLink();
    DataLink dbMinus=new DataLink();
              ResultSet rs;
              ResultSet rs1;
              DataLink dbMinus2=new DataLink();
              ResultSet rsSub;
    String Qry="SELECT Account_Name, Com_ID FROM Authorised_Capital Where Com_ID='001' GROUP BY Account_Name,Com_ID";
    //System.out.println(Qry);
    String getAccount="";
    String getDes="";
    double getAmount=0;
    String Amount="";
    DecimalFormat df=new DecimalFormat("###,###");
    int GrandTotal=0;
    int sum=0;
    int sum2=0;
    String val="";
    int k=0;
    int i=0;
    int U=0;
    int W=0;
    int J=0;
    int Z=0;
                   String ab = " ";
                   String FPart="";
                   String LPart="";
                   String strt="";
    String SubValu="";
                   try{
                   rs=db.stmt.executeQuery(Qry);
                   i=0+fontMetrics.getHeight()+fontMetrics.getHeight()+fontMet.getHeight()+fontMet.getHeight()*2;
                   while(rs.next())//where 1
    getAccount=rs.getString(1);
    //font//helvetica
    fontMet2 = g2d.getFontMetrics ();
    Font titleFont = new Font ("Arial", Font.PLAIN,10);
    g2d.setFont (titleFont);
    System.out.println("Font titleFont = new Font Arial, Font.PLAIN,10) =="+fontMet2.getHeight());
                   //--- Print the text one inch from the top and left margins
                        g2d.drawString (getAccount, POINTS_PER_INCH, POINTS_PER_INCH+i);
                        g2d.drawLine (POINTS_PER_INCH,POINTS_PER_INCH+i+10,POINTS_PER_INCH+140, POINTS_PER_INCH+10+i);
    String Qry2="SELECT Account_Name,Des,Amount,Formula FROM Authorised_Capital where Account_Name='"+getAccount+"' And Com_ID='001' And Formula='PLUS'";
    String Qry_Minus="SELECT Account_Name,Des,Amount,Formula FROM Authorised_Capital where Account_Name='"+getAccount+"' And Com_ID='001' And Formula='MINUS'";
    // Plus Row Count
    ResultSet count;
    count=db2.stmt.executeQuery(Qry2);
    int Cun=0;
    while(count.next())
    Cun =Cun+1;
    //Minus Row Count
    ResultSet Rs_Minus;
    Rs_Minus=dbMinus.stmt.executeQuery(Qry_Minus);
    int Minus_Count=0;
    while(Rs_Minus.next())
    Minus_Count =Minus_Count+1;
    //System.out.println(Minus_Count);
    rs1=db2.stmt.executeQuery(Qry2);
    k=i+20;
    sum=0;
    while(rs1.next())
    if(Cun>1){// multipule row
    getDes=rs1.getString(2);
    int ln= getDes.length();
    if(ln>19){
    boolean tr=false;
    ab = " ";
    FPart="";
    LPart="";
    strt=getDes.substring(19);
              int length=strt.length();
    //System.out.println("Length="+length);
                        for(int st=0; st<length; st++)
                        char ch=strt.charAt(st);
                        String vlu=String.valueOf(ch);
                        //System.out.println(vlu);
                        if(ab.compareToIgnoreCase(vlu)==0)
    tr=true;
                                  int Final=strt.indexOf(vlu);
                                  FPart=getDes.substring(0,19+Final);
                                  LPart=strt.substring(Final+1);
                                  g2d.drawString (FPart, POINTS_PER_INCH, POINTS_PER_INCH+k);
                                  k=k+10;
    g2d.drawString (LPart, POINTS_PER_INCH, POINTS_PER_INCH+k);
    break;
    }//end for
    if(tr==false)
    g2d.drawString (getDes, POINTS_PER_INCH, POINTS_PER_INCH+k);
                             }//end ln (if)
                        else {
                             g2d.drawString (getDes, POINTS_PER_INCH, POINTS_PER_INCH+k);
    String valComa=String.valueOf(df.format(Double.parseDouble(rs1.getString(3))));
    val=rs1.getString(3);
    Amount=val;
    int getAount=Integer.parseInt(Amount);
                        int len=valComa.length();
                        int B;
                        U=0;
                        for(B=len;B>0;B--)
    char num=valComa.charAt(B-1);
                        g2d.drawString (String.valueOf(num), POINTS_PER_INCH+170-U, POINTS_PER_INCH+k);
                        U =U+5;
    sum =sum+getAount;
    k =k+10;
                        }//end if // multipule row
                        else {
              getDes=rs1.getString(2);
    ab = " ";
    FPart="";
    LPart="";
    strt=getDes.substring(19);
              int length=strt.length();
    //System.out.println("Length="+length);
                        for(int st=0; st<length; st++)
                        char ch=strt.charAt(st);
                        String vlu=String.valueOf(ch);
                        if(ab.compareToIgnoreCase(vlu)==0)
                                  int Final=strt.indexOf(vlu);
                                  FPart=getDes.substring(0,19+Final);
                                  LPart=strt.substring(Final+1);
                                  //System.out.println(FPart+"\n"+LPart);
    g2d.drawString (FPart, POINTS_PER_INCH, POINTS_PER_INCH+k);
    k=k+10;
    g2d.drawString (LPart, POINTS_PER_INCH, POINTS_PER_INCH+k);
    //Only for Grand Total
    int Gnd=Integer.parseInt(rs1.getString(3));
    GrandTotal=GrandTotal+Gnd;
                        System.out.println(GrandTotal);
    val=String.valueOf(df.format(Double.parseDouble(rs1.getString(3))));
                        int len=val.length();
                        int C;
                        int D=0;
                        for(C=len;C>0;C--)
    char num=val.charAt(C-1);
                        g2d.drawString (String.valueOf(num), POINTS_PER_INCH+250-D, POINTS_PER_INCH+k);// Total
                        D =D+5;
    k =k+10; }//end else*/
                        }//end Where
                        // Calculate Total
                        if(Minus_Count>=1) //if 1
    if(!(sum==0.0)) //if 2
    String valComa=String.valueOf(df.format(sum));
                        int len=valComa.length();
                        int y;
                        int P=0;
                        W=10;
                        W=W+k;
                        for(y=len;y>0;y--)
    char num=valComa.charAt(y-1);
                        g2d.drawLine (POINTS_PER_INCH+80, POINTS_PER_INCH+k,200,POINTS_PER_INCH+k);
                        g2d.drawString (String.valueOf(num), POINTS_PER_INCH+170-P, POINTS_PER_INCH+W);
                        P =P+5;
                        }//end for
                   }//end if 2
                   rsSub=dbMinus2.stmt.executeQuery(Qry_Minus);
    int X=20;
    X=X+W;
    while(rsSub.next()) //while ##
    if(Minus_Count>1){//// for multipul line
    getDes=rsSub.getString(2);
    // System.out.println(getDes);
    int ln= getDes.length();
    if(ln>19){// for line is geter than 19
    boolean tr=false;
    ab = " ";
    FPart="";
    LPart="";
    strt=getDes.substring(19);
              int length=strt.length();
    X=X+10;
                        for(int st=0; st<length; st++)
                        char ch=strt.charAt(st);
                        String vlu=String.valueOf(ch);
                        //System.out.println(vlu);
                        if(ab.compareToIgnoreCase(vlu)==0)
    tr=true;
                                  int Final=strt.indexOf(vlu);
                                  FPart=getDes.substring(0,19+Final);
                                  LPart=strt.substring(Final+1);
                                  g2d.drawString (FPart, POINTS_PER_INCH, POINTS_PER_INCH+X);
                                  X=X+10;
    g2d.drawString (LPart, POINTS_PER_INCH, POINTS_PER_INCH+X);
    //X=X+10;
    break;
    }//end for
    if(tr==false)
    g2d.drawString (getDes, POINTS_PER_INCH, POINTS_PER_INCH+X);
                             }//end ln (if) // for line is geter than 19
                        else {
                             getDes=rsSub.getString(2);
                             int ln2= getDes.length();
                             /*if(ln2>19){
                             boolean tr=false;
                             ab = " ";
                             FPart="";
                             LPart="";
                             strt=getDes.substring(19);
                             int length=strt.length();
                             X=X+10;
                             for(int st=0; st<length; st++)
                             char ch=strt.charAt(st);
                        String vlu=String.valueOf(ch);
                        if(ab.compareToIgnoreCase(vlu)==0)
    tr=true;
                                  int Final=strt.indexOf(vlu);
                                  FPart=getDes.substring(0,19+Final);
                                  System.out.println("First part= "+Final);
                                  LPart=strt.substring(Final+1);
                                  System.out.println("Last part= "+LPart);
                                  g2d.drawString (FPart, POINTS_PER_INCH, POINTS_PER_INCH+X);
                                  X=X+10;
    g2d.drawString (LPart, POINTS_PER_INCH, POINTS_PER_INCH+X);
    //X=X+10;
    break;
    }//end for
    if(tr==false)
    g2d.drawString (getDes, POINTS_PER_INCH, POINTS_PER_INCH+X);
                        System.out.println("Plane line= ");
                             }//end ln (if)*/
                             g2d.drawString (getDes, POINTS_PER_INCH, POINTS_PER_INCH+X);
                             }//end else
    String valComa=String.valueOf(df.format(Double.parseDouble(rsSub.getString(3))));
    val=rsSub.getString(3);
    Amount=val;
    int getAount=Integer.parseInt(Amount);
                        int len=valComa.length();
                        int B;
                        U=0;
                        for(B=len;B>0;B--)
    char num=valComa.charAt(B-1);
                        g2d.drawString (String.valueOf(num), POINTS_PER_INCH+170-U, POINTS_PER_INCH+X);
                        U =U+5;
    sum2 =sum2+getAount;
    }//end if //for multipul line
    else {
    SubValu=rsSub.getString(2);
    int ln= SubValu.length();
              if(ln>19){// for line is geter than 19
              boolean tr=false;
              ab = " ";
              FPart="";
              LPart="";
              strt=SubValu.substring(19);
              int length=strt.length();
              X=X+10;
              for(int st=0; st<length; st++)
              char ch=strt.charAt(st);
              String vlu=String.valueOf(ch);
              //System.out.println(vlu);
              if(ab.compareToIgnoreCase(vlu)==0)
                             tr=true;
                        int Final=strt.indexOf(vlu);
                        FPart=SubValu.substring(0,19+Final);
                        LPart=strt.substring(Final+1);
                        g2d.drawString (FPart, POINTS_PER_INCH, POINTS_PER_INCH+X);
                        X=X+10;
                             g2d.drawString (LPart, POINTS_PER_INCH, POINTS_PER_INCH+X);
                             //X=X+10;
                             break;
                   }//end for
                   if(tr==false)
                   g2d.drawString (SubValu, POINTS_PER_INCH, POINTS_PER_INCH+X);
                   }//end ln (if) // for line is geter than 19
    else{
    //SubValu=rsSub.getString(2);
                        g2d.drawString (String.valueOf(SubValu), POINTS_PER_INCH, POINTS_PER_INCH+X);
    String valComa=String.valueOf(df.format(Double.parseDouble(rsSub.getString(3))));
    SubValu=rsSub.getString(3);
    int LessAount=Integer.parseInt(SubValu);
                        int Sublen=valComa.length();
                        int B;
                        int G=0;
                        for(B=Sublen;B>0;B--)
    char SubNum=valComa.charAt(B-1);
                        g2d.drawString (String.valueOf(SubNum), POINTS_PER_INCH+170-G, POINTS_PER_INCH+X);
                        G =G+5;
    int Actual_Value=sum-LessAount;
    String valCom=String.valueOf(df.format(Actual_Value));
                        int Lesslen=valCom.length();
                        int T;
                        int Q=0;
                        for(T=Lesslen;T>0;T--)
    char LessNum=valCom.charAt(T-1);
                        g2d.drawString (String.valueOf(LessNum), POINTS_PER_INCH+250-Q, POINTS_PER_INCH+X+10);
                        Q =Q+5;
                        k =X+20;
                   //}//end else
    }//end else*/
                        }//while ##
    if(Minus_Count>1){
    if(!(sum2==0.0)) //if 2
                   //System.out.println("Khaled");
    String valCom=String.valueOf(df.format(sum2));
                        int lent=valCom.length();
                        int y;
                        int P=0;
                   Z=10;
                        //System.out.println(X);
                        Z=Z+X;
                        //System.out.println("X="+X);
                        for(y=lent;y>0;y--)
    char num=valCom.charAt(y-1);
                        g2d.drawLine (POINTS_PER_INCH+80, POINTS_PER_INCH+Z,200,POINTS_PER_INCH+Z);
                        g2d.drawString (String.valueOf(num), POINTS_PER_INCH+170-P, POINTS_PER_INCH+Z+10);
                        P =P+5;
                        }//end for
                   k =Z+20;
                   }//end if 2
                        // }//end if(Minus_Count>1)
                        int FinalValue=sum-sum2;
                        //System.out.println("FinalValue="+FinalValue);
                        String valCom=String.valueOf(df.format(FinalValue));
                        int lent=valCom.length();
                        int y;
                        int P=0;
                   //Z=10;
                        //System.out.println(X);
                        //Z=Z+X;
                        for(y=lent;y>0;y--)
    char num=valCom.charAt(y-1);
                        g2d.drawString (String.valueOf(num), POINTS_PER_INCH+250-P, POINTS_PER_INCH+Z+10);
                        P =P+5;
                        }//end for
    }//if(Minus_Count>1)
                             }//end if 1
                   else{
                        //i =i+20+k;
    if(!(sum==0.0)) //if 2
    String valComa=String.valueOf(df.format(sum));
                        int len=valComa.length();
                        int y;
                        int z=0;
                        for(y=len;y>0;y--)
    char num=valComa.charAt(y-1);
                        g2d.drawString (String.valueOf(num), POINTS_PER_INCH+250-z, POINTS_PER_INCH+k);// Total
                        z =z+5;
                        }//end for
                   }//end if 2
                   }//end else*/
    i=k+30;
              }//end where 1
                   catch(SQLException ex)
                        System.out.println(ex);
    // For Grand Total
    String valComa=String.valueOf(df.format(GrandTotal));
                   int len=valComa.length();
                   int y;
                   int z=0;
    int h=0;
    h=k+40;
                   for(y=len;y>0;y--)
                   char num=valComa.charAt(y-1);
                   g2d.drawLine (POINTS_PER_INCH+255, POINTS_PER_INCH+h-10,POINTS_PER_INCH+250-z,POINTS_PER_INCH+h-10);
                   g2d.drawString (String.valueOf(num), POINTS_PER_INCH+250-z, POINTS_PER_INCH+h);// Total
                   z =z+5;
                   System.out.println(valComa);
                   }//end for
    /* String RowCount="SELECT * FROM Authorised_Capital where Com_ID='001'";
    DataLink dbCount=new DataLink();
    int RowCun=0;
    ResultSet roCount;
    try{
                        roCount=dbCount.stmt.executeQuery(RowCount);
                        while(roCount.next())
                        RowCun =RowCun+1;
                   catch(SQLException ep){}*/
    int header =fontMetrics.getHeight()*5;
    System.out.println("Header ="+header);
    int H=fontMet2.getHeight();
    int row=H + fontMet2.getDescent();
    System.out.println("Page row= "+row);
    pHight=(int)pageFormat.getImageableHeight();
    System.out.println("Page Height= "+pHight);
    int rowPerPage = (pHight-header)/row;
    System.out.println("Row per page= "+rowPerPage);
    double rowN = h-header;
    double rowNumber = rowN/row;
    System.out.println("Row Numbe= "+rowNumber);
    maxPage = Math.max( (int)Math.ceil(rowNumber/(double)rowPerPage), 1);
    System.out.println("maxPage ="+maxPage);
    return (PAGE_EXISTS);
    //--- Print page 2
    /*else if (page == 2) {
    //--- Print the text one inch from the top and left margins
    g2d.drawString ("This the content of the second page: " + page, POINTS_PER_INCH, POINTS_PER_INCH);
    return (PAGE_EXISTS);
    //--- Validate the page
    //return (NO_SUCH_PAGE);
    }// end public int print (Graphics g, PageFormat pageFormat, int page)
    Message was edited by:
    khaled200
    Message was edited by:
    khaled200

    I implemented an example here.
    http://java-sl.com/Pagination_In_JEditorPane_Print.html
    Regards,
    Stas

  • Multi-page form help!

    Hello Forum,
    I'm a brand new user to ES Designer and am trying to complete my first form. I've got to grips with the drop downs/cells/buttons etc. However how do I make a form span three pages? I need more space than just one page, but when I publish or save the document it only shows the first page.
    thanks in advance

    Hi,
    thanks yes I have seen that, however when printing the document, to screen (preview) or to file etc Im still only getting the first page. I've spent hours trying to work out why to no avail. It makes me wonder if it is possible to have multi-page documents in the LiveCycle product?
    thanks

  • Page flow exception

    I have one serious problem when handling exception in page flow. ie.
    my code looks like,
    // Generated by WebLogic Workshop
    // Created on: Mon Dec 01 15:31:45 GMT+05:30 2003
    // By: kshashishekar
    package portlets.validation.validation;
    import com.bea.wlw.netui.pageflow.FormData;
    import com.bea.wlw.netui.pageflow.Forward;
    import com.bea.wlw.netui.pageflow.PageFlowController;
    import com.bea.wlw.netui.tags.html.TreeNode;
    import javax.security.auth.login.FailedLoginException;
    import javax.servlet.http.HttpServletRequest;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.*;
    import com.login.CustomLogin;
    import com.bea.p13n.controls.login.UserLoginControl;
    * @jpf:controller struts-merge="struts-config-portlets-validation-validation2.xml"
    * @jpf:message-resources resources="validation.validator.Message"
    * @jpf:view-properties view-properties::
    * <!-- This data is auto-generated. Hand-editing this section is not recommended.
    -->
    * <view-properties>
    * <pageflow-object id="pageflow:/portlets/validation/validation/validationController.jpf"/>
    * <pageflow-object id="action:begin.do">
    * <property value="280" name="x"/>
    * <property value="60" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action:validate1.do#portlets.validation.validation.validationController.ValidateForm">
    * <property value="220" name="x"/>
    * <property value="200" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action:logout.do#portlets.validation.validation.validationController.ValidateForm">
    * <property value="120" name="x"/>
    * <property value="100" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action-call:@page:validate1Page1.jsp@#@action:validate1.do#portlets.validation.validation.validationController.ValidateForm@">
    * <property value="384,320,320,256" name="elbowsX"/>
    * <property value="172,172,192,192" name="elbowsY"/>
    * <property value="West_1" name="fromPort"/>
    * <property value="East_1" name="toPort"/>
    * </pageflow-object>
    * <pageflow-object id="page:validate1Page1.jsp">
    * <property value="420" name="x"/>
    * <property value="180" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action-call:@page:Result.jsp@#@action:validate1.do#portlets.validation.validation.validationController.ValidateForm@">
    * <property value="156,170,170,184" name="elbowsX"/>
    * <property value="332,332,203,203" name="elbowsY"/>
    * <property value="East_1" name="fromPort"/>
    * <property value="West_2" name="toPort"/>
    * </pageflow-object>
    * <pageflow-object id="page:Result.jsp">
    * <property value="120" name="x"/>
    * <property value="340" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="page:/error.jsp">
    * <property value="40" name="x"/>
    * <property value="180" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#validate1Page1.jsp#@action:begin.do@">
    * <property value="316,350,350,384" name="elbowsX"/>
    * <property value="52,52,172,172" name="elbowsY"/>
    * <property value="East_1" name="fromPort"/>
    * <property value="West_1" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#Result.jsp#@action:validate1.do#portlets.validation.validation.validationController.ValidateForm@">
    * <property value="184,170,170,156" name="elbowsX"/>
    * <property value="192,192,332,332" name="elbowsY"/>
    * <property value="West_1" name="fromPort"/>
    * <property value="East_1" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#validate1Page1.jsp#@action:logout.do#portlets.validation.validation.validationController.ValidateForm@">
    * <property value="156,270,270,384" name="elbowsX"/>
    * <property value="92,92,172,172" name="elbowsY"/>
    * <property value="East_1" name="fromPort"/>
    * <property value="West_1" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="control:com.bea.p13n.controls.login.UserLoginControl#myControl">
    * <property value="28" name="x"/>
    * <property value="34" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="formbeanprop:portlets.validation.validation.validationController.ValidateForm#username#java.lang.String"/>
    * <pageflow-object id="formbeanprop:portlets.validation.validation.validationController.ValidateForm#password#java.lang.String"/>
    * <pageflow-object id="formbean:portlets.validation.validation.validationController.ValidateForm"/>
    * </view-properties>
    public class validationController extends PageFlowController
    * This is the control used to generate this pageflow
    * @common:control
    private UserLoginControl myControl;
    // Uncomment this declaration to access Global.app.
    // protected global.Global globalApp;
    // For an example of page flow exception handling see the example "catch"
    and "exception-handler"
    // annotations in {project}/WEB-INF/src/global/Global.app
    * This method represents the point of entry into the pageflow
    * @jpf:action
    * @jpf:forward name="success" path="validate1Page1.jsp"
    protected Forward begin()
    return new Forward( "success" );
    * @jpf:action validation-error-page="validate1Page1.jsp"
    * @jpf:forward name="success" path="Result.jsp"
    * @jpf:catch method="exceptionHandler" type="Exception"
    protected Forward validate1(ValidateForm aForm) throws Exception
    com.bea.p13n.usermgmt.profile.ProfileWrapper var = myControl.login( aForm.username,
    aForm.password, getRequest());
    getRequest().setAttribute( "results", var );
    return new Forward("success",aForm);
    * Action encapsulating the control method :logout
    * @jpf:action
    * @jpf:forward name="success" path="validate1Page1.jsp"
    * @jpf:catch message="not authenticated" path="/error.jsp" type="Exception"
    public Forward logout( ValidateForm aForm )
    throws Exception
    myControl.logout( getRequest() );
    return new Forward( "success" );
    * @jpf:exception-handler
    * @jpf:forward name="errorPage" path="/error.jsp"
    protected Forward exceptionHandler( Exception ex, String actionName, String
    message, FormData form )
    String displayMessage = "An exception occurred in the action " + actionName;
    System.out.println ("display message "+displayMessage);
    getRequest().setAttribute( "errorMessage", displayMessage );
    return new Forward( "errorPage" );
    * FormData get and set methods may be overwritten by the Form Bean editor.
    public static class ValidateForm extends org.apache.struts.validator.ValidatorForm
    private String password;
    private String username;
    public void setUsername(String username)
    this.username = username;
    public String getUsername()
    return this.username;
    public void setPassword(String password)
    this.password = password;
    public String getPassword()
    return this.password;
    * added just to test validate (override) method.
    public ActionErrors validate(ActionMapping map, HttpServletRequest req)
    ActionErrors errors = null;
    try {
    errors = super.validate(map,req);
    }catch (Exception e)
    e.printStackTrace();
    if (errors ==null) {
    System.out.println ("errors = "+errors);
    } else
    System.out.println ("errors= "+errors);
    return errors;
    in the above code when we call "validate1" action, it will authenticate successfully
    when we enter valid username and passowrd.
    But when i enter invalid credentials page flow controller should execute "handleException"
    method but at this time i am getting an error
    Page Flow Unhandled Exception
    Exception: java.lang.IllegalArgumentException
    Message: argument type mismatch
    A java.lang.IllegalArgumentException exception was thrown and not handled by any
    Page Flow. See the console for the exception stack trace.
    please help us on how to rectify this error.
    thanks,
    shashi
    [validationController.jpf]

    Hi-
    That may be on the right track, but the /index.jsp page gets displayed in the
    portlet...I am still within the portal framework, so I don't think I am loosing
    the context...
    -Howie
    "Khurram Zafar" <[email protected]> wrote:
    >
    you are most likely redirecting to the /error.jsp page and losing the
    context for
    your portal app. The index.jsp page may be defined as your <welcome-file>
    in your
    web.xml file. The best thing to do is to save the context before visiting
    error.jsp
    and then provide a link in error.jsp to go back. Look at javadoc for
    PageURL for
    obtaining the URL to a portal page, you can then save it in session of
    pass it
    to your error page.
    "Howie Oakes" <[email protected]> wrote:
    Hello-
    I have a page flow portlet that I am testing some exception handling
    on. Right
    now when I catch an exception, I display the global /error.jsp page,
    using the
    @jpf:catch tag. The problem is when I refresh the page after viewing
    the error
    page, the pageflow always pulls up the /index.jsp page at the root of
    the webapp.
    I have to get a new session to see the original page flow.
    This only happens when I am running the Jpf as a portlet...I don't see
    this behavior
    with it stand-alone.
    I am not sure why the index.jsp page is being called...there are noreferences
    to it in my jpf code...
    thanks,
    Howie

  • How do I redirect request to an external page flow?

    Hi,
    I´m really stucked here. I need to redirect and XML wich I get in page flow to an external page flow(in a different project(war) but in the same workshop application(ear)), I´ve tryied all kinds off things but it does not work correctly.
    I even tryied what is written in workshop docs:
    If the path begins with a protocol such as "http:" the page flow runtime will look outside of this web application for the resource, and it will automatically cause a redirect (rather than a server forward) to the resource. If the path begins with a forward slash, "/", the runtime will start at the web application's root directory to locate the resource. If the path omits the forward slash, "/", the reference is relative to the page flow's directory.
    so I did:
    @jpf:forward name="goToKnapp" path="http://localhost:7001/eaiKnapp/PageFlowName.jpf"
    and inside the method:
    return new Forward("goToKnapp");
    and it does´t work.
    Any help will be wellcome.

    Go to iPhoto and hit File and go to EXPORT. From there you can export your entire iPhoto Library to your external drive in any folder you want. Now if you've named the pictures in iPhoto and you select the check box for NAME and Keywords in the EXPORT menu the photos will be exported with the names given in iPhoto and any keywords you have added to the photo such as a description.. Hope this helps not sure if this is what your looking for.

  • How to change the "Page Flow Error - Unsatisfied Role Restriction" page

    When you try to access a page and are denied authorization to it, Weblogic automatically redirects you to a
    "Page Flow Error - Unsatisfied Role Restriction" page, on the bottom of which tells you what roles you have to be in in order to access the resource. My question is how can I change this page to match the general look and feel of my application?

    I know you asked this almost a month ago, so you may have already figured it out... but you just need to add a handler for com.bea.wlw.netui.pageflow.UnfulfilledRolesException. Something like this:
    @jpf:catch type="com.bea.wlw.netui.pageflow.UnfulfilledRolesException" path="roles-error.jsp"
    You can put it at the class level of a specific page flow, or at the class level of WEB-INF/src/Global.app, which will apply it to all page flows.
    Hope this helps.
    Rich

  • Is there a way to RECREATE the Page Flow Overview in BEA Workshop 4WL?

    BEA Workshop foe weblogic makes JSP development a lot simpler, and the auto generated Page Flow Overview is a nice feature - as long as your page flows are relatively small and simple. It doesn't take much to completlly confuse the tool though and you end up with a workflow with all sorts of flow lines cris-crossing each other - often I which I could just reach in and move a single jsp or action item and the whole mess would straighten out.
    Is there a way to reposition individual elements of the Page Flow Overview or failing that to have it Recreate itself (in hopes that it will straighten out the mess itself).
    Also is there a way to manually edit the flow - adding notes and/or objects and flow lines?

    There is no explicit "refresh" button for the Page Flow Overview (PFO), however clicking the "Show Link Labels" button on the toolbar will cause the graph to be redrawn.
    That said, in my experience replotting the graph nearly always arrives at the same layout. While the layout algorithm does a pretty good job with large graphs generally, some very highly connected graphs can be pretty tough to read right off the bat.
    For various reasons we've moved away from having users manually tweak the layout to deal with this situation. However, we added some highlighting functionality to help make graphs easier to read even if the layout appears tangled.
    If you click the Graph Tracing button on the PFO toolbar you can select a given node and see all directly connected nodes highlighted. If some of the directly connected nodes are far away on the canvas, park the PFO next to the Page Flow Editor view and you'll be able to see a more regular arrangement of the same nodes.
    When you're more interested in following a specific path than seeing the whole immediate neighborhood, you can hit the slash key repeatedly to cycle through highlighting all the links connected to the selected node.
    Finally, you can ctrl-click to multi-select links of interest if you want to trace a given path all the way through the flow. If you were doing this for documentation purposes you can print the graph in this state, or click the Export to Image button, to make a copy of the highlighted path.
    WRT your other question about editing the flow - the Page Flow Editor is intended to complement the PFO as a means of efficiently editing the flow. Select a node in the PFO and you be able to add/modify connections to that node viat the Page Flow Editor.
    There is no provision to add notes or other objects to the flow (though the exported image files can of course be annotated in a graphics editor for documentation purposes).
    I hope that helps.

  • ADF Page Flow Action - Page Refresh

    Hello,
    BACKGROUND
    I'm working on a POC development environment using Oracle technologies. I'm using a Windows XP SP3 machine with JDeveloper 11.1.1.5 and WebLogic 10.3. What I have currently setup is:
    - Work in Jdeveloper 11.1.1.5 to edit code sources etc
    - Build project and EAR using Ant
    - Deploy EAR to WebLogic 10.3 using WLST
    The JDeveloper project was created as a WebCenter Portal Application however I don't use any of the portal features nor are there any included in the project (we might use this in the future). It's a basic vanilla ADF application at the moment with a few JSPs, a placeholder data control and 1 bounded and unbounded task flows.
    PROBLEM
    The package builds and deploys fine and I can view a landing page ok. The problem is when I try and click a button or link that goes to another page in the Page Flow the page just seems to refresh. I can see that a request is hitting the server but it would seem the framework isn't invoking the action.
    EXTRA INFO / DEBUG
    The weird thing is, if I right click a page in JDeveloper and run it in the integrated weblogic the application works fine. I thought it might be my build process so I tried right clicking and exporting an EAR file from JDeveloper and deploying that into my WebLogic but that one fails with the same refresh problem as my Ant generated one.
    I have done a file and directory comparison of the EAR and it all is the same. This lead me to believe it might be my WebLogic server/domain, so I deployed my Ant generated EAR manually into the integrated JDeveloper weblogic in which the auto deploy application is working. This however still fails with the refresh problem. It must be something to do with my EAR but I can't for the life of me figure it out as it all looks the same!
    I do get a few warnings when deploying, hopefully these can help:
    ####<11/10/2011 11:00:19 AM EST> <Warning> <J2EE> <OVLD630422KV1S> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <3fe29258d1efb468:5549c41:132efedbfd7:-8000-0000000000000100> <1318291219078> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\oracle.webcenter.framework\l81aqz]. Make sure the referenced optional package has been deployed as a library.>
    ####<11/10/2011 11:00:21 AM EST> <Warning> <J2EE> <OVLD630422KV1S> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <3fe29258d1efb468:5549c41:132efedbfd7:-8000-0000000000000100> <1318291221031> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application MyApp-0.1 is not versioned.>
    ####<11/10/2011 11:00:36 AM EST> <Warning> <Default> <OVLD630422KV1S> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <3fe29258d1efb468:5549c41:132efedbfd7:-8000-0000000000000104> <1318291236562> <J2EE JMX-46238> <Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.>
    Cheers,
    Ross

    Oh! I see now yes that seems to have fixed it. It seems that if you create a page as .jsp and .jspx they are slightly different too.
    .jspx has this around the content of the page
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    </jsp:root>
    The .jsp does not. So when you hit the .jsp page (e.g. test.jsp) in the browser without the extension (e.g. url:port/myapp/faces/test) you get a 404 not found.
    Hitting one that was created as a .jspx page with the extra XML stuff in the file works ok when you drop the extension.
    So just for clarification, should you use .jspx for 'pages' and .jsp for fragments of a page?

Maybe you are looking for

  • My 4th gen iPod Touch won't charge

    Hi, folks: Suddenly, my 4th generation iPod Touch won't charge. I don't mean it won't hold a charge; I mean it WON'T charge. There's no (peep!) when I attach it to a Mac, a Windows box, or to the wall. I've tried not only at my place but at my doctor

  • Why am I getting an error message when trying to use a template?

    Why am I getting an error message when trying to use a Pages template?

  • External hard drive, sharing, itunes? Not sure where to post this?

    sorry guys but i'm not sure where this belongs, but anyway. I just bought my macbook and purchased a Western Digital harddrive ( external ) anyway I have like 80gigs of pics and music and want to get it from my iPod back onto the computer. Not a prob

  • Batch security for Acrobat Pro X

    Hi, Can anyone help me with batch removing security and passwords from files with Adobe Pro X.  I have found solutions for other Acrobat versions by using Batch Processing, but that feature seems to be missing from Pro X.  I read on another board abo

  • Where are my videos stored

    Hi -  I've just started using iMovie with videos (I'd done a short one with stills before, but this is mp4 shot with my little point-&-shoot camera).  I download them into iPhoto and up till now I've only had a few and just left them in iPhoto and pl