Navigation from page fragment

Hi
I've have search box in my nav panel (page fragment). How can I set navigation case for page fragment? So when button is clicked I should go to results page.
Michal

The navigation rules are defined in faces-config.xml.
So, if i had fragment1.jspf inside Page1.jsp and a button inside the page fragment which on click should take me to Page2.jsp
My navigation rule in faces-config would look something like:
<navigation-rule>
<from-view-id>/Page1.jsp</from-view-id>
<navigation-case>
<from-outcome>foo</from-outcome>
<to-view-id>/Page2.jsp</to-view-id>
</navigation-case>
</navigation-rule>
Where the action handler for the button returns "foo"

Similar Messages

  • Triggering action on Parent Page automatically from Page Fragment

    Hi All,
    I am new to adf and I need help in the following.
    I have a page fragment(one.jsff) included within a JSPX page(main.jspx).This one.jsff page contains few fields and one command button named "SUBMIT".
    The parent page(main.jspx) also has a command button "GO" and an associated javascript function displayText().
    My requirement is that if an user clicks on the SUBMIT button on the page fragment,then the GO button also gets clicked automatically and the associated code gets executed.
    Is this possible?
    Thanks in advance.

    Thanks Vinay and Arun for your replies.
    But the problem is javascript function displayText on the main.jspx doesn't get executed upon clicking the SUBMIT button on the one.jsff page.
    The code of the javascript function on main.jspx is as follows:
    //This function basically loads the oracle form applet and passes information to it
    function displayText()
    document.forms_applet.raiseEvent('message','payload');
    When the GO button on the main.jspx is clicked,the function is called and the form applet loads.
    But when the SUBMIT button on one.jsff is clicked,though the javascript function gets called(i tested it by putting alert messages within the function), the applet doesn't load.
    I think this is because the page fragment tries to search for a document element within its code but since the same doesnt exist,the applet doesn't load.
    Let me know if my understanding is wrong.
    How can I trigger the loading of the applet from the page fragment?
    Thanks.

  • Please help in page Fragments

    hi
    can any one help me in getting the element id by javascript between page fragments
    ex: document.getElementById('form1:jbuttonSave1').focus();
    instead of form1 what should i write to get the button from page fragment please can any one help me
    10nx

    Hello.
    As I see in generated html code, the Id for elements in Page fragments looks like 'FormName:fragmentName:ElementName"
    Try to insert Your Page fragment Id name between 'form1' and 'jbutton1'
    Hope this helps.
    Maks

  • Is it possible to access getRequestBean1 from a component in page fragment?

    Hi,
    Assume I have two pages, the first page has a button (say button1) among other components; the second page contains a page fragment which has a button (say button2) in it.
    In the button1 action, I set the value for a property (say X) which has request bean scope. When I click this button, the navigation will lead to the second page.
    I then tried to retrieve the value using getRequestBean1( ).getX() in the button2 action. To my disappointment, I found that getX( ) always return null.
    I know I may be able to overcome this by making X a session scope property, but I would be grateful if somebody could shed some light on this problem.
    Many thanks.
    Xiaoyan

    Your problem is not related to page fragments. It has to do with the lifetime of a request bean. Here is an excerpt from http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/scopes.html
    Request scope begins when the user submits the page and ends when the response is fully rendered, whatever page that is.
    When you clicked the button on page 1 which submitted the page, the request bean was instantiated. When the response for page 2 was sent to the browser, the request bean's life ended. That is, it is no longer around after the page is displayed.
    One of the ways you can keep the value around for the subsequent submission is to add a hidden field to the page fragment.
    Bind the hidden field to the request bean's property. Then have something like this in the action method
    public String button2_action() {
    staticText1.setText( hiddenField1.getText());
    return null;
    You might want to read the above mention tutorial to learn more about scope and managed beans.

  • Navigation from One page to another page through hyperlink in webcenter

    Hi All,
    I created ADF unbounded taskflow and want to use it in my webcenter portal application for navigation from one page say Page x to another say Page y by clicking on the hyperlink in the Page x. How to do this in webcenter portal application. When I try to add the taskflow in the navigation model it is taking to the blank page instead of taking to Page x. Many thanks in advance.
    Regards
    Kaushik Gopalakrishnan

    Take a look at this discussion (and referenced resources): http://groups.google.com/group/webcenter-emg/browse_thread/thread/b32d3252228c9e0a

  • Page Fragment not appearing in Page Navigation!!

    My project contains a Page Fragment named Logo.jspf which is intended to be displayed on the top of every page in my project.
    I have a Link Action element on Logo.jspf and when clicked it should load Login.jsp only if the user is not loged in, and if the user is already loged in it should load some other page. I aware that I have to add codes in the action listener method in Logo.java.
    As the Page Fragment (in my case that is Logo.jspf) is not appearing in Page Navigaton window it is not possible to add code like following: (Because I cannot visually draw an arrow with name �login� from �Logo.jspf� to �Login.jsp�)
    public String linkAction1_action() {
    return �login�;
    Please anyone help to do this. Thank you very much.

    To forward to a particular page from a servlet we usually use codes similar to the following:
    request.getRequestDispatcher("/Login.jsp").forward(request, response);
    How can I get rhe request object (or the session object) from a bean in a JSC project?
    Any suggestions very much appreciated. Thank you very much.

  • Can I reference page-flow bean from a bounded-task-flow page-fragment?

    I have a view activity implemented as page fragment in my bounded task flow.
    I declare a page-flow scope managed-bean in adfc-config.xml to do some initialization for the bounded-task-flow:
    <managed-bean id="__23">
    <managed-bean-name id="__22">TaskFlowBean</managed-bean-name>
    <managed-bean-class id="__21">view.backing.TaskFlowBackingBean</managed-bean-class>
    <managed-bean-scope id="__20">pageFlow</managed-bean-scope>
    </managed-bean>
    In my bounded task flow, the default activity is a method-call activity which call the page-flow bean method
    <method-call id="initFlow">
    <method>#{pageFlowScope.TaskFlowBean.initFlow}</method>
    <outcome id="__27">
    <fixed-outcome>showPanel</fixed-outcome>
    </outcome>
    </method-call>
    But JDeveloper (11.1.1.2) show a warning "Refereneed pageFlowScope not found" at the "Diagram" view of the flow definition.
    The fixed outcome of the default activity is to render a page-fragment which also reference the page-flow scope bean method getPanelTitle():
    <af:panelBox text="#{pageFlowScope.TaskFlowBean.panelTitle}" id="pb1">
    <f:facet name="toolbar"/>
    </af:panelBox>
    At runtime, the page fragment was rendered properly except the panel box title is missing. No other error is reported
    When I debugged the application, the bean methods initFlow() and getPanelTitle() didn't get call as the program didn't stop at the breakpoint set in the bean methods.
    The page fragment was rendered properly except the panel box title is missing.
    When I change the scope to backing bean, both initFlow() and getPanelTitle() get called but under a different backing bean.
    As the bean attributes set by initFlow() were not no longer set when getPanelTitle() was invoked even though the methods were invoked in the correct order.
    Why can't I use a page-flow scope bean within the bounded task flow?
    On further debugging, I noticed the bean was not created when it is set to be page-flow scope. I put a debug message in the constructor... never get called.
    When should a page-flow scope bean be created to be accessible on entry to a bounded task flow?
    Edited by: Pricilla on Apr 29, 2010 3:16 PM

    Please check the scope of the pageFlow from the manual.
    pageFlowScope is only available for the pages/views in that taskflow and not in the included taskflows.

  • Calling taskflow as an inline-poup from a page fragment

    The ADF Controller cannot execute task flow '/WEB-INF/task-flow-definitionxml#task-flow-definition' that uses page fragments in the root view port.
    Now what if you want to do this, I have a use case, feeling stuck , using JDev 11.1.1.2.0

    Hi,
    You can create a page based task flow and call it as an inline popup from your fragment based task flow.
    It should work.
    Barbara

  • Animatioin get distbub while navigation from previous page and next page

    animatioin get distbub while navigation from previous page and next page

    To get the value from dropdown list:
    For example:
    <b>In Layout</b>
           <htmlb:dropdownListBox id                = "country"
                                   nameOfKeyColumn   = "land1"
                                   nameOfValueColumn = "landx"
                                   selection         = "<%=country%>"
                                   onSelect          = "displayregion"
                                   table             = "<%=iland%>" />
    <b>Oninputprocessing:</b>
            CALL METHOD REQUEST->GET_FORM_FIELD
              EXPORTING
                NAME  = 'country'
              RECEIVING
                VALUE = country.
    <i>*Reward each useful answer</i>
    Raja T

  • Access page fragment from a page or vice versa

    How can you access (get and set) the components of page fragment from a page?
    I have a page fragment with a drop down box, which is shared across many pages. Now the value of the drop down list (in the page fragment) needs to changed based on the table columns of the page. I can easily do that if the drop down is on the same page as the table component, but I can't figure out how to do this if drop down is on a page fragment and the table is on a page. In other words, how do we make the page "see" its page fragment programmatically or vice versa? When you use this.xxxx, you only get access to page components and it does not include the comonents of the page fragmant which is embedded in the page.
    Thanks
    Message was edited by:
    Sabir

    What happens if a user were to have multiple browser windows open under the same session?
    Let's say I had a header like this example and I disabled some of the links on given pages. If a user had 2 pages open, and both has an instance of this header page fragment being rendered, which page's header would have its link disabled? Would it be both or would it somehow know to only affect the fragment within the page that's calling .disabled(true)?

  • Execute a page method from a fragment

    Hi.
    I've a set of pages with a complex navigation logic.
    I used a fragment to implement that logic, and it's all OK.
    Now I'd like to activate the button "savePage" in the fragment to execute the method save() contained in every page.
    How can I do?
    Thanks
    Nicola Grippaldi

    Have you watched "Using Page Fragments" tutorial (http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/pagefragments.html)?
    Maybe it will be helpful?

  • Page hangs While Navigating from JTT to OA

    In our product Oracle Trade Management we are facing the following issue while trying to navigate to an OA page from a JTT page. Please note that the page hangs for sometime and we have noticed following exception:
    java.lang.RuntimeException: java.sql.SQLException: Missing descriptor
    at oracle.apps.jtf.base.session.JTFCDB.getJTFCookieString(JTFCDB.java:414)
    at oracle.apps.jtf.base.session.JTFCookie.getBrowserCookie(Unknown Source)
    at
    oracle.apps.jtf.base.session.ServletSessionManager.addSessionCookie1(ServletSe
    ssionManager.java:4240)
    at
    oracle.apps.jtf.base.session.ServletSessionManager.addSessionCookie(ServletSes
    sionManager.java:4211)
    at
    oracle.apps.jtf.base.session.ServletSessionManager.endRequest(ServletSessionMa
    nager.java:2495)
    at pages._jtfcrmchrome._jspService(__jtfcrmchrome.java:1894)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at
    weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecu
    rityHelper.java:227)
    at
    weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.
    java:125)
    at
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatche
    rImpl.java:523)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.
    java:253)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)
    at pages._jtfcrmchrome._jspService(__jtfcrmchrome.java:1312)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at
    weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecu
    rityHelper.java:227)
    at
    weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.
    java:125)
    at
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at
    weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.
    java:416)
    at
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(Unknown Source)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at
    oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:332
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun
    (WebAppServletContext.java:3715)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Web
    AppServletContext.java:3681)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.
    java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at
    weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletCon
    text.java:2277)
    at
    weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.ja
    va:2183)
    at
    weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    The sample code used in JTT page to build Hyperlinks, which takes us to OA page is give below:
    String l_strOfferNameHyperlink = oracle.apps.asf.util.FunctionUtil.getURL(omoPage,"OZF_FS_OFFR_UPDT")+"&qpListHeaderId="+l_strObjId;
    String l_StrPageIdsUrl = "&"+omoPage.getPageIDsURL().substring(1);
    l_strOfferNameHyperlink += l_StrPageIdsUrl;
    l_strOfferNameHyperlink += "&PAGE.OBJ.objType=OFFR";
    l_strOfferNameHyperlink = oracle.apps.jtf.admin.adminconsole.SideBarMetaData.getURL(l_strOfferNameHyperlink,0,0);
    We modified the code as per the OA dev guide and bug no: 04548959
    l_strOfferNameHyperlink = PageUtil.get(omoPage).getURLNoCookie("OZF_FS_OFFR_UPDT",false)+"&qpListHeaderId="+l_strObjId;
    String l_StrPageIdsUrl = "&"+omoPage.getPageIDsURL().substring(1);
    l_strOfferNameHyperlink += l_StrPageIdsUrl;
    l_strOfferNameHyperlink += "&PAGE.OBJ.objType=OFFR";
    l_strOfferNameHyperlink = oracle.apps.jtf.admin.adminconsole.SideBarMetaData.getURL(l_strOfferNameHyperlink,0,0);
    l_strOfferNameHyperlink = oracle.apps.jtf.base.session.ServletSessionManager.getURL(l_strOfferNameHyperlink);
    Pls let us know what is the better way to handle the navigation from JTT to OA to avoid this issue.
    Thanks,
    Nirma

    Calling OA Page from JSP page
    Call OAF Page from JSP
    -Anand

  • How can I include a dynamic content in the page fragment?

    My header.jspf contains codes similar to the following in the init() method:
    Object o =getValue("#{sessionScope.username}");
    if(o!=null){
    greetingStaticText.setRendered(true);
    }else{
    greetingStaticText.setRendered(false);
    But this code is not working as expected.
    I tried the following in the jsp page, but still no use:
    <jsp:include page="../Header.jspf"/>
    Thanks.

    Before the initial render, your logic sets rendered false. Then on the postback when the user logs in, init executes (setting it false again); the static text is overwritten with the corresponding static text object from the component tree; and subsequently the action method executes (setting username in session); the page redisplays, with rendered still false. You can overcome this by setting the rendered property from your action method. Here are steps that simulate the solution:
    1. Create a property in SessionBean1 called username of type String.
    2. Drag a Page Fragment Box onto Page1. Create a fragment called Fragment1.
    3. Drag a Hyperlink onto Page1. Set its text to "Go to Login Page" and its url property to /faces/Login.jsp.
    4. Double-click to edit Fragment1.
    5. Drag a Static Text. Set its id to greetingText and its text to "Welcome, #{SessionBean1.username}!"
    6. Drag a Hyperlink. Set its id to logoutHyperlink and its text to "Logout"
    7. Double click the logoutHyperlink and use the following code:
    public String logoutHyperlink_action() {
    getSessionBean1().setUsername(null);
    greetingText.setRendered(false);
    logoutHyperlink.setRendered(false);
    return "Page1";
    8. Append the following to Fragment1.init():
    String username = getSessionBean1().getUsername();
    greetingText.setRendered(username != null);
    logoutHyperlink.setRendered(username != null);
    9. Implement these two methods as follows:
    public void setGreetingText(StaticText st) {
    boolean rendered = this.greetingText.isRendered();
    st.setRendered(rendered);
    this.greetingText = st;
    public void setLogoutHyperlink(Hyperlink h) {
    boolean rendered = this.logoutHyperlink.isRendered();
    h.setRendered(rendered);
    this.logoutHyperlink = h;
    10. Create a new page called Login.
    11. Drag a Page Fragment Box onto Login.jsp (choose Fragment1.jspf).
    12. Drag a Text Field and bind its text property to #{SessionBean1.username}
    13. Drag a button. Set its id to loginButton and its text to "Login"
    14. Double-click loginButton and use the following code:
    public String loginButton_action() {
    ((UIComponent)getValue("#{Fragment1.greetingText}")).setRendered(true);
    ((UIComponent)getValue("#{Fragment1.logoutHyperlink}")).setRendered(true);
    return "Page1";
    15. Open Page Navigation and create an outcome called "Page1" that goes from Login.jsp to Page1.jsp.
    16. Run the app.
    17. Page1 displays with no greeting text. Click the "Go to Login Page" link.
    18. Type "misty" in the text field and click the Login button.
    19. Page1 displays, this time with the greeting text "Welcome, misty!" and a Logout hyperlink.
    20. Click the Logout hyperlink to logout. Page1 displays, this time with no greeting text or Logout hyperlink.

  • Problem navigating from iframe

    Hello.
    I have this problem: I have a page that, on the left side has a page fragment within a <div>. This fragment has the code to a navigation tree. When the user clicks on a node, it navigates to an IFRAME on the right side. That's easy. Now comes the trick...
    In the Iframe, I have a button which executes a method in the javabean. But, after executing the javabean, the data in the database is changed and this change must be reflected in the tree's nodes. I thougth I solved it by using this in the onClick() property for the button: "parent.location.reload()". Actually, it does the job, but RAMDOMLY. Sometimes it does it, sometimes it doesn't. I assume this is because the server doesn't know what to execute first: the javascript or the javabean. The thing is, I need to refresh the tree (or the entire page) after executing the code in the bean.
    So, basically, I have two possibilities:
    1. Find a way to execute the javascript code always AFTER the javabean, or...
    2. Find a way to use the Page Navigation xml to navigate to the "top" of the page. My main page is called mant.jsp and my iframe (where the button is) is called mant_1.jsp. If I set to navigate to mant.jsp from within mant_1, the main page will be loaded INSIDE the iframe, and obviously that's not what I want. Could there be a way to use the navigation tools to set something like "target=_top" as I'd do in normal html?
    If somebody could give me a hint I'd be very grateful. If you need any more information just tell me.
    Eric.

    Sorry Andy!
    I can't think of anything that would be causing this. Especially since it appears to be intermittent. There is no toggle switch for the TAB key's behavior in LR that I can find. Without having clicked in one of the number fields to start with TAB will hide and show the side panels. It shouldn't bring the focus to a slider.
    If you first click in a number field and then hit the TAB key does it take you to the next number field or send the focus to a slider?
    Do you have any utilities running on your Mac that may influence the TAB key's operation?
    It is a mystery!

  • Navigation between pages

    Dear All,
    A few days ago i started to work with webcenter portal and i have a problem:
    My use case:
    I have 2 pages(both based on default template), each of them contains single task flow with single page fragment:
    page1 - contains task flow tf1.xml with page fragment view1.jsff
    page2 - contains task flow tf2.xml with page fragment view2.jsff
    I need to navigate between this 2 pages with custom buttons(or links) which have to be created inside page fragments.
    I added both pages to default-navigation-model.xml and after running the application i am able to navigate between them using links, which template creates dynamiclly(taking all the default-navigation-model's content into iterator and creating navigation links on page load).
    The code from template file(skipping the iterator):
    <af:commandLink id="pt_cl1" text="#{node.title}"
    inlineStyle="font-size:small;#{node.selected ? 'font-weight:bold;' : ''}"
    action="pprnav"
    disabled="#{not node.navigable}"
    actionListener="#{navigationContext.processAction}"
    clientComponent="#{node.attributes['Target'] == '_popup' ? true : false}">
    <!-- pass node to processAction for setting current selection and navigation -->
    <f:attribute name="node" value="#{node}"/>
    all this works just fine.
    Now i need to create a button in my view1.jsff(page fragment from first task flow on page1) , which would navigate me to my second page.
    I am able to do this with goLink setting
    navigate="#{naviagtionContext.defaultNavigationModel.node[page2].goLinkPrettyUrl}", but this reloads the whole template what i don't need, and also i would like to add some actionListener to this link or button later so i need to navigate using commandLink or commandButton.
    The example from page template doesn't work for my pages:
    My commandLink looks like this:
    <af:commandLink id="pt_cl1" text="Go page 2"
    action="pprnav"
    actionListener="#{navigationContext.processAction}"
    clientComponent="false">
    <f:attribute name="node" value="#{navigationContext.defaultNavigationModel.node['page2']}"/>
    </af:commandLink>
    but second line - action="pprnav" throws some empty screen and nothing else happens(guess it's because there is no partial page refresh in this case).
    Without this line it works, i was able to insert some output text fields in my page and see, that the value of
    #{navigationContext.defaultNavigationModel.currentSelection.title} is changing properly(when i removed the action="pprnav" line, of couse without it navigation itself does not happen).
    If i drop taskflows into my default-navigation-model.xml, skipping the pages action="pprnav" work fine(no empty screens appear and navigation happens), but i need to use the pages.
    Is there any replacement to action="pprnav", to be able to navigate between these two pages?
    Or may be there is another method to do this, which i couldn't find in Google?
    BR,
    Artur

    It's an old thread, but I keep running into this issue every now and then.
    The clue is:
    Any task flow that uses the navigation model to trigger navigation within an application must include a parent-action activity named "wcnav_parentAction" in the task flow definition that propagates the "wcnav_outcome" to the root level, as follows:
    <parent-action id="wcnav_parentAction">
    <root-outcome>wcnav_outcome</root-outcome>
    </parent-action>
    See the following Support note:
    Invoking A WebCenter Page From ADF Taskflow Failing In WebCenter 11.1.1.6 and Opens an Empty Popup Window [ID 1450568.1]
    Jaap

Maybe you are looking for

  • VLC player plugin conflict with Windows Media Player plugin in Firefox 8.0.1

    After I upgraded to Firefox 8.0.1, Windows Media Player stopped playing embedded videos within the Firefox browser. If you go to Add-ons and disabled VLC player plugin, Firefox will start to plays any Windows Media Player videos without any issue. Th

  • Note on interactive SVG and Edge Commons

    I encountered something I want to mention so people do not pull their hair trying to find out which things are not working. 1- issue publishing If you add a js folder for your js files, Animate v2 will not import it in your web folder - So add it aft

  • Customer shipping point details

    Hello All, I am trying to create sap query containing customer shipping point details.The format is like.. comp code, cust no, cust name,house bank, shipping point, name of the agent,route etc. what are the tables I can use. please help Srinivas

  • Sort itab by select-options

    Hi, i have this code: SELECT-OPTIONS:   S_MATNR   FOR MARA-MATNR.   SELECT  * FROM MARA WHERE MATNR IN S_MATNR.     CLEAR: WA_ITAB.     WA_ITAB-MATNR = MARA-MATNR.     WA_ITAB-MTART = MARA-MTART.     WA_ITAB-MATKL = MARA-MATKL.     APPEND WA_ITAB TO

  • Making widescreen movie fit to screen in iDVD 08

    Hello I'm trying to convert a Xvid movie to DVD using QuickTime Pro, iMovie and iDVD. converting from Xvid to mpeg4 using QT Pro works and I can import it into iMovie, but when i burn the DVD the movie isn't resized to fit to screen meaning that ther