Rendered method, renders multiply times

HI all,
I am trying to simulate onpageLoad functionality in jsf. Basically, I
have put a rendered attribute in <tr:PanelFormLayout> tag -
<tr:panelFormLayout styleClass="x6b" rows="1" maxColumns="5"
rendered="#{EditCusLinksBB.ce}">
<tr:commandButton text="Save"
action="#{EditCusLinksBB.saveAssoCE}"
rendered="#{EditCusLinksBB.actionType == 'NewCE'}"/>
<tr:commandButton text="Edit"
action="#{EditCusLinksBB.editAssoCE}"
rendered="#{EditCusLinksBB.actionType == 'EditCE'}" />
<tr:inputListOfValues columns="10"
action="dialog:showParent" rendered="#{EditCusLinksBB.actionType ==
'NewCE'}"/>
<tr:outputText inlineStyle="x6m xag"
value="#{editCustBB.certifiedEntity.primaryCustomer.code}"
rendered="#{EditCusLinksBB.actionType != 'NewCE'}"/>
</tr:panelFormLayout>
The goal is to perform some logic before the rest of the tags are
rendered inside panelformLayout gets rendered.
But the rendered gets called 4 times, and the output from getCE() is
changing.
I am not sure why is rendered called upon several time, whats the
alternative?
Thanks

Hello
Thanks for the code, but I don't need an array of beans. By the way this code make a bean and an arraylist everytime it's called?
I was looking for something like this:
<form action="myjsp.jsp" method="post">
...so after submitting the result will go to the myjsp.jsp file and in the myjsp.jsp file
<jsp:useBean id="value" class"myBean">
<jsp:setpropertiy name"value" ....>so everytime I click the add button the values will go the mysjp.jsp file and that will set them in the javabean file. this method uses two files but I was looking for doing this in the same jsp file and not sending it to another file.
chers
Ehsan

Similar Messages

  • Columns in af:table rendering multiple times when filtering drop-down list

    Technology: JDeveloper 10.1.3.0.4 SU5, ADF Faces/BC
    Page design:
    Master-detail jspx.
    Each section is an af:table.
    Drop-down lists created using instructions from http://www.oracle.com/technology/products/jdev/tips/muench/screencasts/editabletabledropdown/dropdownlistineditabletable.html?_template=/ocom/technology/content/print
    Requirement:
    Data in a drop-down list on a child record needs to be filtered based on data from one or more columns in the currently selected row of the parent record.
    Issue:
    Drop-down lists have been successfully filtered using a couple of different methods, however, any time the data from the parent record is used to filter the data the columns in the child af:table begin to render multiple times. Navigating through the parent rows may cause the child records to have the correct number of columns displayed or multiple copies of the columns displayed.
    Removing any reference to the parent view object and hard-coding values instead causes this behavior to disappear.
    Each of the following methods has been tried. Each filters drop-down list data correctly and each causes apparently random extra column renders.
    1.     Cascading lists as per: http://www.oracle.com/technology/products/jdev/tips/mills/cascading_lists.html
    2.     Drop-down list based on view object that takes parameters.
    3.     Set where clause for drop down list in a method on the app module.
    4.     Set where clause for drop-down list in a new selection listener method for the af:table.
    Question:
    Is there a solution available that will filter the drop-down lists correctly and prevent the extra columns from being rendered?
    Thank you for any help that you can provide,
    Joanne

    bump

  • Can I person use the same key for Apple software multiply times when he formats his computer?

    Lets say I bought
    Apple Final Cut Studio comes with the six discs and serial.
    Can I use that serial multiply times on my Apple Mac Pro 12 Core when I reformat It?
    Cause I always format my computers and I don't have to re buy the software to activate It right?

    Yes you can.

  • I have downloaded the latest Adobe Flash on my laptop and it is not working on safari for youtube.I have uninstalled and installed it multiply times and it still wont show me youtube videos

    I have downloaded the latest Adobe Flash on my laptop and it is not working on safari for youtube.I have uninstalled and installed it multiply times and it still wont show me youtube videos

        Enable Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.
        Press " Manage Website Settings" button for more options.

  • I've tried multiply times to update itunes 10.5 but it keeps saying that it can't find the file and i can't reinstall itunes because it will delete the 100 gigabites of info on it what can i do

    i've tried multiply times to update itunes 10.5 but it keeps saying that it can't find the file and i can't reinstall itunes because it will delete the 100 gigabites of info on it what can i do

    I've had all kinds of trouble keeping my iTunes software current over the past year, but have found the easiest way to remedy the issue is to simply download the latest version of iTunes as though I am a first-time user and then just install it into the directory my current version of iTunes is using. Doing this has allowed me to update my software without losing any of my media/data. Hope this helps! Best of luck!!!

  • External Location Ship Method and Transit Time

    Hi
    I have got scenario -
    1: Primary Suppliers are in APAC region.
    2: They send the units to a site for consolidation
    3: Based on the receiving site, east coast or west coast the lead time is different
    4: If I cannot place orders to these suppliers then I can place order with local supplier and then the lead time is different
    Now I have modeler following -
    1: The lead time between supplier and consolidation site is in the Processing LT at ASL Level
    Now the issue comes in replicating the lead time between consolidation site and the receiving site.
    I can put this in Post Processing LT. But when I want to evaluate the local supplier, then the post processing LT kicks in which makes it even longer total time for local suppliers.
    I am evaluating to capture this in shipping method.
    But I am not finding any setup or document where I can setup Shipping Method and Lead Time between Supplier Site and Inventory Organization.
    I setup a location in inventory but this location is not appearing in the Inter-Company Transit Times. I am trying with 'Extenal Location' as source.
    Can you please help me on this?
    Regards

    Hi ,
    Please try using Plant and Ship To combination, I saw it does not work with Route and shipping point.
    Thanks,
    Pavan Verma

  • Detection method for first time a Node is rendered

    Hello,
    I need to lazily perform some computation until after a particular Node is shown to the User. So if the app has multiple tabs, the goal is to not do work for a tab that hasn't even been switched to yet.
    I figured the VisibleProperty of Node would help but it's not acting as I'd expect.
    final BorderPane tab1 = BorderPaneBuilder.create().build();
    setOnFirstShown(tab1, new Runnable() {
      @Override
      public void run()
        _log.info("Show 1");
        tab1.setCenter(new Text("1"));
    final BorderPane tab2 = BorderPaneBuilder.create().build();
    setOnFirstShown(tab2, new Runnable() {
      @Override
      public void run()
        _log.info("Show 2");
        tab2.setCenter(new Text("2"));
    tabs.getTabs().addAll(
      TabBuilder.create().text("One").content(tab1).build(),
      TabBuilder.create().text("Two").content(tab2).build());Here is the listener:
    public static void setOnFirstShown( final Node node, final Runnable response )
      class Changer implements ChangeListener<Boolean>
        @Override
        public void changed( ObservableValue<? extends Boolean> obsVal, Boolean oldVal, Boolean newVal )
          _log.debug("Changed: " + newVal);
          if( newVal.booleanValue() )
            /** remove the listener b/c it's only used once */
            node.visibleProperty().removeListener( this );
            _log.debug( "Responding to first show for: " + node );
            try
              response.run();
            catch( Exception e )
              _log.error( "Failed to run response:" + response, e );
      node.visibleProperty().addListener(new Changer());
    }So each tab should replace its content with a Text when it becomes visible. However in actuality it works like this:
    1. Scene launches, nothing displayed in the first tab. The visibility flag is set to false but not to true
    2. Click on the second tab and its content correctly gets a change (to true) in visibility and the Text node appears
    3. Click back on the first tab and now it gets visible set to true and shows the Text node
    So it seems like for what is initially shown, the Nodes' visible flag is not properly set.
    Does anyone have any insight or a better way to delay reaction until a given Node is actually visible to the User?

    The visible property of a Node doesn't quite do what you think. From the javadocs:
    Specifies whether this Node and any subnodes should be rendered as part of the scene graph. A node may be visible and yet not be shown in the rendered scene if, for instance, it is off the screen or obscured by another Node.
    The default value of the visible property is true.
    So, your first tab content originally has visibility set to true. You add it as the content of the first tab, and it remains true. Since it never changes, your ChangeListener is never invoked.
    The second tab's content also originally has visibility set to true. When you add it as the second tab, it's visibility becomes false to indicate it should not be rendered. When it is selected, the visibility of the first tab content changes to false and the visibility of the second tab content changes to true, invoking the listeners.
    This example may help:
    import javafx.application.Application;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.scene.Scene;
    import javafx.scene.control.Tab;
    import javafx.scene.control.TabPane;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.text.Text;
    import javafx.stage.Stage;
    public class TabListenerTest extends Application {
      @Override
      public void start(Stage primaryStage) throws Exception {
        BorderPane root = new BorderPane();
        TabPane tabs = new TabPane();
        Tab tab1 = new Tab("Tab 1");
        Text text1 = new Text("This is tab 1");
        Tab tab2 = new Tab("Tab 2");
        Text text2 = new Text("This is tab 2");
        class VisibilityChangeListener implements ChangeListener<Boolean> {
          String content;
          VisibilityChangeListener(String content) {
            this.content = content ;
          @Override
          public void changed(ObservableValue<? extends Boolean> observable,
              Boolean oldValue, Boolean newValue) {
            System.out.println("Visibilty of "+content+" changed from "+oldValue+ " to "+newValue);
        text1.visibleProperty().addListener(new VisibilityChangeListener("Tab 1"));
        text2.visibleProperty().addListener(new VisibilityChangeListener("Tab 2"));
        tab1.setContent(text1);
        tab2.setContent(text2);
        tabs.getTabs().addAll(tab1, tab2);
        root.setCenter(tabs);
        Scene scene = new Scene(root, 400, 200);
        primaryStage.setScene(scene);
        primaryStage.sizeToScene();
        primaryStage.show();
      public static void main(String[] args) {
        launch(args);
    }

  • AF comp not showing as rendered on Time-line in PrePro (CS5)

    I made a simple animated text in a video in After Effects CS5 and rendered it before importing it into a Premiere Pro CS5 project. The clip plays fine but remains Red (line) on the Time-line. Is that something of concern? I’m new to AF and have a bit more time working with PrePro so that's why I imported the AF comp into PrePro. I know that's a backwards method using the two programs that way.

    Hi Frank,
    I would appreciate if you could provide a code snippet for your suggestion.
    Isn't the following code already doing what you suggested:
    yesNoListComponent.setValue(myValueObject.getYnFieldValue());
    (given the fact that "yesNoListComponent" is a non-static field in my managed bean)
    Are you suggesting I should do an explicit :
    myManagedBean.getYesNoListComponent.setValue(myValueObject.getYnFieldValue());
    Also in the jspx,
    I am not sure what else I could do other than the following snippet to make sure the managedbean.yesNoListComponent value is picked up by the view
    <af:selectOneChoice binding="#{myManagedBean.yesNoListComponent}">
    <f:selectItems value="#{myManagedBean.yesNoList}"/>
    </af:selectOneChoice>
    Sorry I am just revisiting this problem after switching to Spring MVC at my day-time job, so my JSF concepts are rusting out a little bit..may be I am just not getting something too obvious.. please provide some snippet showing what you are suggesting..

  • Report which contain subreports is not rendered first time is processed.

    when I try to render report contains subreports from first time is not rendered but when i select regresh button the input screen is promb again and then i fill all input again and submit, as a result the report was rendered.
    why this happen? is this a know issue?

    after more testing that issue i discovered that when i try to render report of type "Table" then the report is rendered fom rthe first time i pass/set the input values of the report, but when i use reports of type "chart" the report is not rendered from first time and it need a refresh and then manually entering the values for the input.
    i am using the folloing version of JRC:
    com.businessobjects.sdks_.jrc_.11.8.0_11.8.5.v1197
    my code is a s follow:
    =========================
    <%@ page contentType="text/html; charset=utf-8" %><%@ page import="com.crystaldecisions.reports.sdk.ReportClientDocument"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.*" %>
    <%@ page import="com.crystaldecisions.reports.sdk.DatabaseController" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.PropertyBag" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.IStrings" %>
    <%@ page import="com.crystaldecisions.reports.sdk.ParameterFieldController" %>
    <%@ page import="com.crystaldecisions.reports.exportinterface.ExportFormatType" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@ page import="java.io.ByteArrayInputStream" %>
    <%@ page import="java.io.FileOutputStream" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.PrinterDuplex" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.PrintReportOptions" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.PaperSource" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.PaperSize" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
    <%@ page import="java.io.OutputStream" %>
    <%@ page import="org.t2k.bl.reports.ReportsViewerManager" %>
    <%@ taglib prefix="lms_reports" tagdir="/WEB-INF/tags/lms/reports" %>
    <%!
    Utility method that demonstrates how to write an input stream to the server's local file system.
        private void writeToBrowser(ByteArrayInputStream byteArrayInputStream, HttpServletResponse response, String mimetype, String exportFile, boolean attachment) throws Exception {
            //Create a byte[] the same size as the exported ByteArrayInputStream.
            byte[] buffer = new byte[byteArrayInputStream.available()];
            int bytesRead = 0;
            //Set response headers to indicate mime type and inline file.
            response.reset();
            if (attachment) {
                response.setHeader("Content-disposition", "attachment;filename=" + exportFile);
            } else {
                response.setHeader("Content-disposition", "inline;filename=" + exportFile);
            System.out.println("aaaaaaaaaaaaaaaaaaaaaaaaaaaa");
            response.setContentType(mimetype);
            System.out.println("aaaaa1111");
            OutputStream outs = response.getOutputStream();
             System.out.println("aaaaa2222");
            //Stream the byte array to the client.
            while ((bytesRead = byteArrayInputStream.read(buffer)) != -1) {
                outs.write(buffer, 0, bytesRead);
            System.out.println("bbbbb");
            //Flush and close the output stream.
            outs.flush();
    //        outs.close();
            System.out.println("ccccc");
        /* Include the file AlwaysRequiredSteps.jsp, which contains the code to:
           - Create an Enterprise SessionMgr object
           - Log on to the CMS
           - Create an IInfoStore object
           - Query for and select a report
           - Create an IReportAppFactory object
           - Use the IReportAppFactory object to create a ReportClientDocument object with the IInfoObject that is retrieved from the query
    Logs on to all existing datasource
    @param clientDoc The reportClientDocument representing the report being used
    @param username    The DB logon user name
    @param password    The DB logon password
    @throws com.crystaldecisions.sdk.occa.report.lib.ReportSDKException
        public static void logonDataSource
                (ReportClientDocument
                        clientDoc,
                 String username, String
                        password
                throws
                ReportSDKException {
            clientDoc.getDatabaseController().logon(username, password);
    Changes the DataSource for each Table
    @param clientDoc The reportClientDocument representing the report being used
    @param username  The DB logon user name
    @param password  The DB logon password
    @param connectionURL  The connection URL
    @param driverName    The driver Name
    @param jndiName        The JNDI name
    @throws ReportSDKException
        public static void changeDataSource
                (ReportClientDocument clientDoc,
                 String username, String password, String connectionURL,
                 String driverName, String jndiName
                throws
                ReportSDKException {
            changeDataSource(clientDoc, null, null, username, password, connectionURL, driverName, jndiName);
    Changes the DataSource for a specific Table
    @param clientDoc The reportClientDocument representing the report being used
    @param reportName    "" for main report, name of subreport for subreport, null for all reports
    @param tableName        name of table to change.  null for all tables.
    @param username  The DB logon user name
    @param password  The DB logon password
    @param connectionURL  The connection URL
    @param driverName    The driver Name
    @param jndiName        The JNDI name
    @throws ReportSDKException
        public static void changeDataSource
                (ReportClientDocument
                        clientDoc,
                 String
                         reportName, String
                        tableName,
                                     String
                                             username, String
                        password, String
                        connectionURL,
                                  String
                                          driverName, String
                        jndiName
                throws
                ReportSDKException {
            PropertyBag propertyBag = null;
            IConnectionInfo connectionInfo = null;
            ITable origTable = null;
            ITable newTable = null;
            // Declare variables to hold ConnectionInfo values.
            // Below is the list of values required to switch to use a JDBC/JNDI
            // connection
            String TRUSTED_CONNECTION = "false";
            String SERVER_TYPE = "JDBC (JNDI)";
            String USE_JDBC = "true";
            String DATABASE_DLL = "crdb_jdbc.dll";
            String JNDI_OPTIONAL_NAME = jndiName;
            String CONNECTION_URL = connectionURL;
            String DATABASE_CLASS_NAME = driverName;
            // The next few parameters are optional parameters which you may want to
            // uncomment
            // You may wish to adjust the arguments of the method to pass these
            // values in if necessary
            // String TABLE_NAME_QUALIFIER = "new_table_name";
            // String SERVER_NAME = "new_server_name";
            // String CONNECTION_STRING = "new_connection_string";
            // String DATABASE_NAME = "new_database_name";
            // String URI = "new_URI";
            // Declare variables to hold database User Name and Password values
            String DB_USER_NAME = username;
            String DB_PASSWORD = password;
            // Obtain collection of tables from this database controller
            if (reportName == null || reportName.equals("")) {
                Tables tables = clientDoc.getDatabaseController().getDatabase().getTables();
                for (int i = 0; i < tables.size(); i++) {
                    origTable = tables.getTable(i);
                    if (tableName == null || origTable.getName().equals(tableName)) {
                        newTable = (ITable) origTable.clone(true);
                        // We set the Fully qualified name to the Table Alias to keep the
                        // method generic
                        // This workflow may not work in all scenarios and should likely be
                        // customized to work
                        // in the developer's specific situation. The end result of this
                        // statement will be to strip
                        // the existing table of it's db specific identifiers. For example
                        // Xtreme.dbo.Customer becomes just Customer
    //                    System.out.println(newTable.getQualifiedName() + "  -  " + origTable.getQualifiedName());
                        newTable.setQualifiedName(origTable.getAlias());
    //                    newTable.setAlias(origTable.getAlias());
                        // Change properties that are different from the original datasource
                        // For example, if the table name has changed you will be required
                        // to change it during this routine
                        // table.setQualifiedName(TABLE_NAME_QUALIFIER);
                        // Change connection information properties
                        connectionInfo = newTable.getConnectionInfo();
                        // Set new table connection property attributes
                        propertyBag = new PropertyBag();
                        // Overwrite any existing properties with updated values
                        propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
                        propertyBag.put("Server Type", SERVER_TYPE);
                        propertyBag.put("Use ODBC", USE_JDBC);
                        propertyBag.put("Database DLL", DATABASE_DLL);
                        propertyBag.put("JNDIOptionalName", JNDI_OPTIONAL_NAME);
                        propertyBag.put("Connection URL", CONNECTION_URL);
                        propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
                        // propertyBag.put("Server Name", SERVER_NAME); //Optional property
                        // propertyBag.put("Connection String", CONNECTION_STRING); //Optional property
                        // propertyBag.put("Database Name", DATABASE_NAME); //Optional property
                        // propertyBag.put("URI", URI); //Optional property
                        connectionInfo.setAttributes(propertyBag);
                        // Set database username and password
                        // NOTE: Even if the username and password properties do not change
                        // when switching databases, the
                        // database password is not saved in the report and must be set at
                        // runtime if the database is secured.
                        connectionInfo.setUserName(DB_USER_NAME);
                        connectionInfo.setPassword(DB_PASSWORD);
                        // Update the table information
                        clientDoc.getDatabaseController().setTableLocation(origTable, newTable);
            // Next loop through all the subreports and pass in the same
            // information. You may consider
            // creating a separate method which accepts
            if (reportName == null || !(reportName.equals(""))) {
                IStrings subNames = clientDoc.getSubreportController().getSubreportNames();
                for (int subNum = 0; subNum < subNames.size(); subNum++) {
                    Tables tables = clientDoc.getSubreportController().getSubreport(subNames.getString(subNum)).getDatabaseController().getDatabase().getTables();
                    for (int i = 0; i < tables.size(); i++) {
                        origTable = tables.getTable(i);
                        if (tableName == null || origTable.getName().equals(tableName)) {
                            newTable = (ITable) origTable.clone(true);
                            // We set the Fully qualified name to the Table Alias to keep
                            // the method generic
                            // This workflow may not work in all scenarios and should likely
                            // be customized to work
                            // in the developer's specific situation. The end result of this
                            // statement will be to strip
                            // the existing table of it's db specific identifiers. For
                            // example Xtreme.dbo.Customer becomes just Customer
    //                        System.out.println(origTable.getQualifiedName());
                            newTable.setQualifiedName(origTable.getQualifiedName());
                            newTable.setAlias(origTable.getAlias());
                            // Change properties that are different from the original
                            // datasource
                            // table.setQualifiedName(TABLE_NAME_QUALIFIER);
                            // Change connection information properties
                            connectionInfo = newTable.getConnectionInfo();
                            // Set new table connection property attributes
                            propertyBag = new PropertyBag();
                            // Overwrite any existing properties with updated values
                            propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
                            propertyBag.put("Server Type", SERVER_TYPE);
                            propertyBag.put("Use JDBC", USE_JDBC);
                            propertyBag.put("Database DLL", DATABASE_DLL);
                            propertyBag.put("JNDIOptionalName", JNDI_OPTIONAL_NAME);
                            propertyBag.put("Connection URL", CONNECTION_URL);
                            propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
                            // propertyBag.put("Server Name", SERVER_NAME); //Optional property
                            // propertyBag.put("Connection String", CONNECTION_STRING); //Optional property
                            // propertyBag.put("Database Name", DATABASE_NAME); //Optional property
                            // propertyBag.put("URI", URI); //Optional property
                            connectionInfo.setAttributes(propertyBag);
                            // Set database username and password
                            // NOTE: Even if the username and password properties do not
                            // change when switching databases, the
                            // database password is not saved in the report and must be
                            // set at runtime if the database is secured.
                            connectionInfo.setUserName(DB_USER_NAME);
                            connectionInfo.setPassword(DB_PASSWORD);
                            // Update the table information
                            clientDoc.getSubreportController().getSubreport(subNames.getString(subNum)).getDatabaseController().setTableLocation(origTable, newTable);
    %>
        try {
            // Create the ReportClientDocument object.
            ReportClientDocument clientDoc = new ReportClientDocument();
            clientDoc.open("Class Progress by AI.rpt", 0);
            //start sheeet code            -  work
            changeDataSource(clientDoc, "root", "eatmyshorts",
                    "jdbc:mysql://localhost:3306/lms",
                    "com.mysql.jdbc.Driver", "LMS_MySQL5.1");
            ParameterFieldController paramController = clientDoc.getDataDefController().getParameterFieldController();
            paramController.setCurrentValue("", "Type", "en_US");
            paramController.setCurrentValue("", "SchoolName", "general");
            paramController.setCurrentValue("", "StudyClassName", "classss");
            paramController.setCurrentValue("", "SegmentId", 6);
            paramController.setCurrentValue("", "LAID", 30);
            paramController.setCurrentValue("", "AIID", 205);
            paramController.setCurrentValue("", "LOID", 1);
            IReportSource reportSource = clientDoc.getReportSource();
            // Create a Viewer object
            CrystalReportViewer viewer = new CrystalReportViewer();
            // Set the report source for the  viewer to the ReportClientDocument's report source
            viewer.setReportSource(reportSource);
            // Set the name for the viewer
            viewer.setName("Crystal_Report_Viewer");
            viewer.setPrintMode(CrPrintMode.PDF);
            viewer.setEnableParameterPrompt(true);
            viewer.setEnableDrillDown(true);
            viewer.setOwnPage(false);
            viewer.setOwnForm(true);
            viewer.setDisplayToolbar(false);
            viewer.setDisplayGroupTree(false);
            viewer.setHasPageBottomToolbar(false);
            // Process the http request to view the report
            viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
            // Dispose of the viewer object
            viewer.dispose();
            // Release the memory used by the report
            clientDoc.close();
        } catch (ReportSDKExceptionBase e) {
            e.printStackTrace();
    %>

  • Audio needs to be rendered every time

    I did a project this week which required me to change my sequence settings to PAL, 44.1KHz audio. I since changed back the sequence settings to easy setup DV NTSC, so I shouldn't have any problem with new sequences. Even so, any time I drop a QT movie into a new sequence, the audio needs to be rendered just to hear it. These are movies that play fine in QT. They are DV-NTSC movies with the audio rate at 44.1KHz. The latest is a project from iMovie; the audio rate on that project is 32KHz. Any setting suggestions so that I no longer need to render every imported clip?

    I understand. I have the sequence settings at easy setup NTSC. When I bring in CD tracks, they are 44.1kHz and I recognize that they will eventually need to be rendered, but they should at least play and not give me a red bar.

  • Elements 9 crashes when rendering - every time.

    When I try and render a video - I've tried several rendering settings - the progress bar always reaches about 20-40 % completion, then the whole program crashes. The error message is from windows. I have tried freeing hard drive space, updating to 9.01, and it is the only program running at the time. Please help!

    Boblimbo
    I am strictly and Elements user, intensely Premiere Elements (all versions) and have a good working relationship with Photoshop Elements alone or integrated with Premiere Elements. And, I stick to Premiere Elements answers to Premiere Elements questions. So, not to worry about me throwing you a Premiere Pro answer for a Premiere Elements question.
    When you created your title in Premiere Elements 9.0/9.0.1 (Title Menu/New Title/Default Still), the "Titler" workspace open, and your creation of the title is done in the Titler.
    Thanks for clarify that your focus is rendering as in exporting the Timeline content to file saved to the computer hard drive or burn to disc rather than Timeline rendering to get the best possible preview of the Timeline content at playback in the Edit area monitor.
    For now, please point your Scratch Disks (Edit Menu/Preferences/Scratch discs) to Libraries/Documents/Adobe/Premiere Elements/9.0 so that they are Local Disk C (assumed with the 484 GB free space).
    Premiere Elements 9.0/9.0.1 on Windows 7 64 bit is still a 32 bit application running in the 32 bit compatibility mode of the 64 bit system and as such has the limitations of 32 bit system, namely, maximum supported installed RAM = 4 GB of which 3.2 to 3.0 GB or less of that are available. So, computer resource is a good candidate, but we need explore other factors as well.
    Was that a misprint 120 GB file? What is its duration in the 18 minute Timeline content? What happens if you remove this file from the project? Do you get a successful export?
    But, preliminary questions...what is your export choice...
    a. Share/Computer/What with What export settings? Whatever the case, what does the export dialog show for estimated file size and duration at its bottom area?
    b. Share/Disc/What.....? If this is the export, what does the burn dialog show in its Quality area for Space Required and Bitrate?
    Not to be forgotten...what
    9 original files, 1 picture, 3 videos and 5 sound files
    What are the formats of those video files...file size, file extension, video compression, audio compression, interlaced or progressive, pixel aspect ratio.
    (Brand/Model/Settings of the camera that recorded the videos might give us some or most of that type of information.) What are the pixel dimensions of your one photo? What is the nature of those 5 sound files (.wav, .mp3....music or narration)?
    Let us start here. The answers should be in the details above.
    We will be watching for your progress when you have time.
    Thank you.
    ATR

  • Rendering multiple times

    Using AA3, do I lose any sound quality if I, from a session, render my instrument tracks and vocal to a wav file? Then come back and render my vocal harmony to that rendered file? Then come back and render a partial female vocal to that rendered file? I'm doing a song this way and am concerned about losing sound quality by doing too much rendering? Thanks.

    As long as you stay with WAV files you will be fine, preferably the 32-bit variety, which Audition defaults to.  Audition uses 32-bit math internally.  I seriously doubt you would ever notice a problem with 24-bit WAV files but I suppose if you did 1000's of edits and saves it would eventually start to degrade.
    In any case be sure to use a high sampling frequency -- 48khz would be the minimum I would consider and most people will recommend 88.2 or 96khz.  Problem with those is that the files are twice as big and take twice as long to load and save.  Like everything else in life, it's a tradeoff.
    If you used MP3 format, on the other hand, you would see degradation every time you open and re-save a file, because Audition always has to go through the MP3 encoder when saving, which by definition produces losses and artifacts each and every time.  One of these days I hope to write a macro that demonstrates this but it's one of those projects I will likely never get to...
    Hope this helps.
    dan

  • IDVD right format, problem with autoplay & long rendering/burning time??

    I have a couple of questions, I am getting hdv3 codec, .mov files from a supplier. These I realised I cannot watch, edit or further use without having FCS Pro installed.
    However I want to burn a SD-DVD with a Intro, Menu and Video all in high quality and 16:9 Scale.
    So my question is in what format should I order/get the Videos in order to use them in iDVD? I have tried one different type already, a simple MPEG-2 .mov file including audio. However when I input the DVD in my Harddrive or on any Harddrive on a computer the autoplay function does simply not start up. (Yet, I can play using right-click, play/open with.. etc. and select the player)
    Also this burning process took 30-40 min. for a 1min 30sec movie.. (I guess it was the rendering, but is this normal???) And can I downscale this consumption of time without large quality loss?
    Thanks for answers & help!!!
    Nik

    Here is how I would order them:
    - 853x480 pixels (more on this below...)
    - 30 fps with progressive encoding (however, iDVD will probably convert it to interlaced)
    - Motion JPEG at highest quality
    *The 853x480 pixel thing:* I have found that if you let iDVD ingest a video not at these exact dimensions, assuming it is for a 16:9 DVD, iDVD will apply a horrible resize filter to the video which will make it very blocky and ugly. Basically, just do the conversion in QuickTime before you give it to iDVD.
    I am not sure why this would be happening:
    AstramediaES wrote:
    However when I input the DVD in my Harddrive or on any Harddrive on a computer the autoplay function does simply not start up. (Yet, I can play using right-click, play/open with.. etc. and select the player)
    For the last part of your question: depending on the speed of your computer and what quality settings you choose in iDVD, especially if you have a large, intricate DVD menu, this encoding time is absolutely reasonable. Unfortunately, there is really no way to reduce encoding times without decreasing quality. HOWEVER, I would still try the other quality settings in iDVD; you may notice no difference in the quality, but the end file size may be bigger to compensate for the shorter encode time.
    Hope this helps,
    Ian

  • ? loosing quality when rendering many times ?

    Here is my question: after you have rendered a clip, yet you may want to change some parameters so that the whole clip is to be redered again; sometimes, you do this many times untill you've got what you want, like color or exposure and so on. Does FCP render it again from the original unrendered media or from the already rendered clip in the timeline? I mean, if it's from the original media, you may render and render again without loosing quality. If not, you've got to know exactly what you want from the first time, otherwise you'll soon have a very bad result. Anybody knows about this?

    Kevan,
    Why would it do that?
    For example: you have a clip running at 90% of normal speed. To play back that clip on the timeline you likely need to render it.
    You make an edit where you increase the speed of the clip from 90% to 95%.
    What possible value would re-using the existing render file be in this case? It is still going to have to calculate every frame and no time or CPU cycles would be saved (it actually would be more complex to calculate the real speed from the render than the original).
    It makes no sense to me to have the system work that way.
    x
    One of these days I'm going to get back down to C'ville!

  • Rendering every time I drop a clip on the timeline

    I'm not sure if this is fixable. I somehow accidentally shot in hdv-sd60p on a jvc. When I captured the clips into fce4 they were in their "native" settings (853x480). Is there any way I'll be able to edit these clips without first having to render them. I've got over 2 hours of footage and the render times will take forever.

    You could try converting the clips to DV using MPEG Streamclip, then import the resulting QT DV clips into FCE. In MPEG Streamclip, select Export to QuickTime, then select Compression = "Apple DV/DVCPRO NTSC" with a 720x480 frame size. I don't think that selecting "Other" frame size will work, I suspect it would still require rendering once in FCE.
    Alternatives
    You could also try using MPEG Streamclip to convert the video to Apple Intermediate Codec, selecting the 1280x720 (HDTV 720p) frame size .
    You might look into whether your camcorder can downconvert the video to DV during playback, and recapture the video in FCE using the DV-NTSC easy setup.
    Provided one of these 3 techniques works, it will be better & faster than rendering your existing video clips in FCE.

Maybe you are looking for

  • InfoPath: the multi-threading challenge

    Or to be more specific: calling a DataSource from a different thread. A project I'm working on includes an InfoPath form in which some heavy duty tasks are executed. These tasks can take over 10+ seconds to execute. To avoid the GUI to get stuck duri

  • I need to buy acrobat x for mac

    where can i buy it

  • Org Unit Manager as Part Appraiser

    Hi all, I am creating an appraisal document which will allow different organizational unit's managers evaluate one org unit. I was wondering is there any way that choosing organizational units as part appraisers and allow only managers to evaluate. F

  • Virus in Outlook?

    I have been seeing outgoing mail being sent when checking for new mail for the last week. I haven't sent mail myself, I just check for new mail. The message subjects (see screenshot) suggest that spam mail is being sent from the Mail application. Has

  • Help with PS Script to output 100's of DFS Targets using Get-DfsnFolderTarget

    Hello, I have a lot of DFS targets to pull data on and or clean up.  All our users homedrives have the same path format. \\domain\userhome\alias(userlogon name).  If I run the following command I get the info I want. Get-DfsnFolderTarget -Path "\\dom