Passing values from one iView to other iViews in the same page

Hi all,
I have one entry jsp+htmlb iView  and two other BW iViews( URL based). The entries made in one iView serves as the input for the other two iViews to generate BW reports.
I know we should use EPCM event API but how do I dynamically change the URL (with application parameters) in the other two iViews?
Thanks in advance.
Rgds,
Janvi

Hi Janvi,
look here:
Permanent change of iView property programmatically
Yoav.

Similar Messages

  • PASSING DATA FROM FORM INTO REPORT (how to on the same page)

    Hello everybody
    yes, i know it is built in a two pages design where the first holds the form and the second the report, but I want it both on the same page so that one can see what he has on the report while adds his own row to the table. Well I could do creating a form and then editing the page and then add another region. Alright. But then i dont know how to relate them together so that the data pass from the form to the report.
    Besides, the Form for filling the data needs to pass them to two separate tables, because one table contains the particulars of the location and the other the comments about each store. Easy to do that on PHP and mysql but here I am lost.
    Second thing that is driving me nuts is that I created a table named location so as to street postcode for a store, and another one for evaluation so that customers or workers add a a row evaluating services etc.
    Well, I am trying to create that form i first talked about that would hold all the fields and I am doing it out of a SQL query that picks the definitions from both tables. My XE is completely empty from any leftovers of other applications etc. I make the equijoin alright
    select l.loc_id, l.company, l.postcode, l.street,l.town, e.eval_id, e.loc_id, e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    from location l, evaluation e
    where l.loc_id = e.loc_id
    and i get this annoying error all the time
    ORA-20001: Unable to create form on equijoin. ORA-20001: Error page=2 item="P2_LOC_ID" id="1324114494879878" ORA-20001: Error page=2 item="P2_LOC_ID" id="1324114494879878" has same name as existing application-level item. ORA-0000: normal, successful completion
    well, if that form is made up of both tables, it will definitively have to have something in common with them! how is the item name suppose to have another name? it is made with the wizzard so supposedly the wizzard should know it but I have tried for two days 14 hours each day.
    any indication as to how solve this would be priceless for me
    thank you
    Alvaro

    This should be so:
    A person goes to work to place A
    At the end of the day, he or she goes into the web fills the form and clicks the botton. Then, he or she has added a row to the form. As simple as that. But bear in mind that that form is comprised of data about the address and the comments, which are completely different entities, and not all elements of each entity is to appear in the report. That is why they have to go to two tables on the background and then the report pick from each table what it wants to show publiclly.
    What I am actually trying to do is passing the values from the form into the two separate tables Location and Evaluation. Then I have already placed a select query under the report and I have seen that it updates itself as I manually filled the two tables so this process works fine. What I need is, instead of filling the tables manually as I am doing, fill them through the completion of the textfields of the form. This is so because not all the fields have to be shown on the report, for example, the person reporting will remain anonimous and that is something I am able to do by simply not including him in the select query of the report.
    I am like exploring now the edit page possibilities and indeed I have discovered that the button of the Form that says create is associated with a Insert request on the database. Also i have seen that the way this works is by something like this P3_POSTCODE, &P3_POSTCODE where P3 is the item and &P3 is the value that is in the textfield associated with that item name.
    Edited by: user12155340 on 14-Nov-2009 11:05

  • PASSING DATA FROM FORM TO REPORT (how to on the same page?)

    Hello everybody
    yes, i know it is built in a two pages design where the first holds the form and the second the report, but I want it both on the same page so that one can see what he has on the report while adds his own row to the table. Well I could do creating a form and then editing the page and then add another region. Alright. But then i dont know how to relate them together so that the data pass from the form to the report.
    Besides, the Form for filling the data needs to pass them to two separate tables, because one table contains the particulars of the location and the other the comments about each store. Easy to do that on PHP and mysql but here I am lost.
    Second thing that is driving me nuts is that I created a table named location so as to street postcode for a store, and another one for evaluation so that customers or workers add a a row evaluating services etc.
    Well, I am trying to create that form i first talked about that would hold all the fields and I am doing it out of a SQL query that picks the definitions from both tables. My XE is completely empty from any leftovers of other applications etc. I make the equijoin alright
    select l.loc_id, l.company, l.postcode, l.street,l.town, e.eval_id, e.loc_id, e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    from location l, evaluation e
    where l.loc_id = e.loc_id
    and i get this annoying error all the time
    ORA-20001: Unable to create form on equijoin. ORA-20001: Error page=2 item="P2_LOC_ID" id="1324114494879878" ORA-20001: Error page=2 item="P2_LOC_ID" id="1324114494879878" has same name as existing application-level item. ORA-0000: normal, successful completion
    well, if that form is made up of both tables, it will definitively have to have something in common with them! how is the item name suppose to have another name? it is made with the wizzard so supposedly the wizzard should know it but I have tried for two days 14 hours each day.
    any indication as to how solve this would be priceless for me
    thank you
    Alvaro
    =========================================================================================================
    Edited by: user12155340 on 14-Nov-2009 03:38

    I'm just guessing, but it appears since you are selecting loc_id twice (once from each table) there are two items generated called P2_LOC_ID, and that's simply not possible (well - how would the application know which one you mean if there could be two with the same name?).
    Maybe it's worth trying the following:
    select l.loc_id as "L_LOC_ID", l.company, l.postcode, l.street,l.town, e.eval_id, e.loc_id as "E_LOC_ID", e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    from location l, evaluation e
    where l.loc_id = e.loc_id
    Another option is creating a view on the two tables (of course you must use 2 different column aliases for the two loc_id columns in the view too, otherwise you will receive an ORA-00957: duplicate column name) and use the view for creating reports and forms - however, automatic row processing works just on one table, so you would have to create your own processes to perform the DML...
    Edit: I just saw you already got this answered in the APEX forum.
    Holger
    Edited by: schweich on Nov 18, 2009 7:58 AM

  • Selecting from one table and Update another in the same Page

    Could someone help me with this HTMLDB task. In my page design, I am selecting data from two tables (masters: DEPT, EMP) which I want to display on the left column of the page and at the same time a user would be able to update another table (ATTENDANCE:with many children) which would have a radiogroup on the right side for each value of the master such as employee name. The placement of data has to appear in corresponding rows on the page. For instance, employee names of the master table must appear on the same row with its corresponding child value. The page would be grouped by DEPT_NO. The user would click on the department name, a new page with the employee name would apprar. From that page, the user would then update attendance column for each employee in that department. In this operation, it is only the ATTENDANCE table that is being updated. I can send out more information about the structure of the tables if you need more information. I tried many HTMLDB options, forms, reports, etc. I have not been able to get quite right. Your help will be appreciated.

    Raju,
    Thanks for responding to my problem. I have actually tried using the example on how-to you sent me a link to but it did not help as I expected. You see, the page would be updated every meeting date for each employee. I can send you more information about the table structure if you like. However, let me see if this will help you a bit.
    Tables are: 1) Dept [dept_no (pk),dept_name] 2) EMP [emp_no (pk),emp_name, dept_no(fk)] 3) Meetings [meet_key(pk),attended, meeting_date, emp_no(fk)]
    What I want to do is create two pages, one would list the departments, when a user selects a department, the user would be linked to a meeting attandance page. The meeting attendance page would list department name once, Meeting date once, and then list employees in that department. At the right column of every employee would be a checkbox for meeting.attended for update. The meeting_date would be pre-populated so that what the user would do is just check Yes/NO. The second page is the one I'm having the most problem with.
    If I can do a fetch from dept, emp, and meetings and then do an update on the Meetings table on the same page, I think that might solve the problem. That was how I solved it in MS Access three years ago.
    Here is email address in case you want to contact me directly. [email protected]
    Thanks again for your help.

  • Apex 4.2  passing value from one item to other page

    I have a page where i accept a starting date and ending date as a parameter
    its source i set it as preference or application item
    Now in the other page I calls a jasper report..
    so it refers the first page.. I am not able to access the start_date which is in other page
    start_date and end_date
    Start_date shows as null
    Am confused over what is preference and application item
    Where will we use preference as a source type.
    Again example
    page 103
    p103_start_issue - preferenec
    p103_end_issue -- preference
    A buttons calls other page
    The other page
    when i call jasper report I Pass the parameter value as :p103_start_issue and :p103_end_issue
    But the actual value is null for those fields..
    How can i acess the actual value..
    Do i need to use application item. ? I tried application item as source type but still the same issue.
    Thanks

    Am confused over what is preference and application item
    Where will we use preference as a source type.A Page item is the most short-lived way to store variables in session state. Page items are routinely (although not always) cleared when entering or leaving a page. They are generally used to store a value that changes most times that you enter a page. Page items are also generally intended for use primarily by code on that page. This is not to say that other pages can not or will not use them, but access from other pages has to be controlled so that they are not trying to reference a page item from a different pages after the cache for that page has been cleared.
    Application items are for data that is longer-lived and/or is intended to be accessed by multiple pages. Application Items are not cleared unless a session end or a specific call to clear them is made.
    Preferences are for data that is intended to be stored and retrieved for specific users across multiple sessions. Log out of an app and back in and the data is still available.
    That said, from your description of the problem, I would guess that the cache on page 103 was cleared and the page item values erased. I suspect that you should be using an application item from what you have posted.

  • How to pass values from one stage to other

    I have two stage (say primary and secondary).The primary stage creates the secondary stage. When the secondary is opened i can access all the members(say bitNo) of 1st stage and try to set some value. But in the 1st stage i find the value not being set. I think it's because 1st is executed before the 2nd. I used showAndWait() in 1st then show() on 2nd then it is throwing exception.
    So i want to use the values set by the 2nd stage in the 1st stage.
    How do i synchronize them ?
    Thanks .
    package test;
    import javafx.application.Application;
    import javafx.event.*;
    import javafx.scene.*;
    import javafx.scene.control.*;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.*;
    import javafx.stage.*;
    public class Test extends Application {
        private int bitNo;
        Stage primaryStage,secondaryStage;   
        TextField textField;   
        double x,y;
        public static void main(String[] args) { launch(args); }
        @Override
        public void start(final Stage primaryStage) {
            this.primaryStage=primaryStage;
            Group rt=new Group();
            Scene sc= new Scene(rt,300,300);
            Button button =new Button("Click Me");
            button.setOnAction(new EventHandler<ActionEvent>() {
                @Override
                public void handle(ActionEvent event) {
                    secondaryStage=new Stage(StageStyle.TRANSPARENT);
                    secondaryStage.initModality(Modality.WINDOW_MODAL);
                    secondaryStage.initOwner(primaryStage);    
                    showSecondaryWindow();
            rt.getChildren().add(button);          
            primaryStage.setScene(sc);
            primaryStage.show();
            //primaryStage.showAndWait();
            System.out.println("Bit no set= "+bitNo);      
    }//start
    public void showSecondaryWindow(){
         Pane root=new Pane();
         root.setStyle("-fx-background-color: rgb(0,50,70);");
         //root.setPrefSize(200,200);
         Scene scene=new Scene(root,200,300);
         Label label=new Label("Data");
         textField=new TextField();
         textField.setUserData("one");
         Button ok=new Button("Ok");
         ok.setDefaultButton(true);
         ok.setOnMouseClicked(new EventHandler<MouseEvent>() {
            @Override
            public void handle(MouseEvent event) {
                System.out.println("New Stage Mouse Clicked");
                bitNo=Integer.parseInt(textField.getText());
                System.out.println("Bit no set by Secondary= "+bitNo);
                primaryStage.getScene().getRoot().setEffect(null);
                secondaryStage.close();
         Button cancel=ButtonBuilder.create().cancelButton(true).text("Cancel").build();
         cancel.setOnMouseClicked(new EventHandler<MouseEvent>() { 
             @Override
             public void handle(MouseEvent event) {
                 System.out.println("New Stage Mouse Clicked");
                 primaryStage.getScene().getRoot().setEffect(null);
                 secondaryStage.close();
         //VBox vBox =new VBox();
         //vBox.getChildren().addAll(label,textField,ok);
         HBox dataFileds=new HBox(10);
         dataFileds.getChildren().addAll(label,textField);
         HBox buttons=new HBox(10);
         buttons.getChildren().addAll(cancel,ok);
         root.getChildren().add(VBoxBuilder.create().children(dataFileds,buttons).spacing(10).build());
         //scene.getStylesheets().add(Test.class.getResource("Modal.css").toExternalForm());
         secondaryStage.setScene(scene);
         //final Node root = secondaryStage.getScene().getRoot();
         root.setOnMousePressed(new EventHandler<MouseEvent>() {
             @Override public void handle(MouseEvent mouseEvent) {
                 // record distance for the drag and drop operation.
                 x = secondaryStage.getX() - mouseEvent.getScreenX();
                 y = secondaryStage.getY() - mouseEvent.getScreenY();
         root.setOnMouseDragged(new EventHandler<MouseEvent>() {
             @Override public void handle(MouseEvent mouseEvent) {
                 secondaryStage.setX(mouseEvent.getScreenX() +x);
                 secondaryStage.setY(mouseEvent.getScreenY() +y);
         //primaryStage.getScene().getRoot().setEffect(new BoxBlur());
         secondaryStage.show();
    }//showSecondaryWindow
    }//class

    You can use showAndWait() on your secondary stage. Then execution is blocked and you'll see the change to your variable:
    package test ;
    import javafx.application.Application;
    import javafx.event.*;
    import javafx.scene.*;
    import javafx.scene.control.*;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.*;
    import javafx.stage.*;
    public class Test extends Application {
      private int bitNo;
      Stage primaryStage, secondaryStage;
      TextField textField;
      double x, y;
      public static void main(String[] args) {
        launch(args);
      @Override
      public void start(final Stage primaryStage) {
        this.primaryStage = primaryStage;
        Group rt = new Group();
        Scene sc = new Scene(rt, 300, 300);
        Button button = new Button("Click Me");
        button.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            secondaryStage = new Stage(StageStyle.TRANSPARENT);
            secondaryStage.initModality(Modality.WINDOW_MODAL);
            secondaryStage.initOwner(primaryStage);
            // This calls showAndWait(), so execution blocks until the window is closed
            showSecondaryWindow();
            // secondary window is now closed, value should be updated:
            System.out.println("Bit no now: " + bitNo);
        rt.getChildren().add(button);
        primaryStage.setScene(sc);
        primaryStage.show();
        // primaryStage.showAndWait();
        System.out.println("Bit no set= " + bitNo);
      }// start
      public void showSecondaryWindow() {
        Pane root = new Pane();
        root.setStyle("-fx-background-color: rgb(0,50,70);");
        // root.setPrefSize(200,200);
        Scene scene = new Scene(root, 200, 300);
        Label label = new Label("Data");
        textField = new TextField();
        textField.setUserData("one");
        Button ok = new Button("Ok");
        ok.setDefaultButton(true);
        ok.setOnMouseClicked(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            System.out.println("New Stage Mouse Clicked");
            bitNo = Integer.parseInt(textField.getText());
            System.out.println("Bit no set by Secondary= " + bitNo);
            primaryStage.getScene().getRoot().setEffect(null);
            secondaryStage.close();
        Button cancel = ButtonBuilder.create().cancelButton(true).text("Cancel")
            .build();
        cancel.setOnMouseClicked(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            System.out.println("New Stage Mouse Clicked");
            primaryStage.getScene().getRoot().setEffect(null);
            secondaryStage.close();
        // VBox vBox =new VBox();
        // vBox.getChildren().addAll(label,textField,ok);
        HBox dataFileds = new HBox(10);
        dataFileds.getChildren().addAll(label, textField);
        HBox buttons = new HBox(10);
        buttons.getChildren().addAll(cancel, ok);
        root.getChildren().add(
            VBoxBuilder.create().children(dataFileds, buttons).spacing(10).build());
        // scene.getStylesheets().add(Test.class.getResource("Modal.css").toExternalForm());
        secondaryStage.setScene(scene);
        // final Node root = secondaryStage.getScene().getRoot();
        root.setOnMousePressed(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent mouseEvent) {
            // record distance for the drag and drop operation.
            x = secondaryStage.getX() - mouseEvent.getScreenX();
            y = secondaryStage.getY() - mouseEvent.getScreenY();
        root.setOnMouseDragged(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent mouseEvent) {
            secondaryStage.setX(mouseEvent.getScreenX() + x);
            secondaryStage.setY(mouseEvent.getScreenY() + y);
        // primaryStage.getScene().getRoot().setEffect(new BoxBlur());
        secondaryStage.showAndWait();
      }// showSecondaryWindow
    }// classYou can also use an IntegerProperty to hold the variable, and listen for changes on it:
    package test ;
    import javafx.application.Application;
    import javafx.beans.property.IntegerProperty;
    import javafx.beans.property.SimpleIntegerProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.event.*;
    import javafx.scene.*;
    import javafx.scene.control.*;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.*;
    import javafx.stage.*;
    public class Test extends Application {
      private IntegerProperty bitNo;
      Stage primaryStage, secondaryStage;
      TextField textField;
      double x, y;
      public static void main(String[] args) {
        launch(args);
      @Override
      public void start(final Stage primaryStage) {
        this.bitNo = new SimpleIntegerProperty();
        bitNo.addListener(new ChangeListener<Number>() {
          @Override
          public void changed(ObservableValue<? extends Number> observable,
              Number oldValue, Number newValue) {
            System.out.printf("bit no changed from %d to %d%n", oldValue, newValue);
        this.primaryStage = primaryStage;
        Group rt = new Group();
        Scene sc = new Scene(rt, 300, 300);
        Button button = new Button("Click Me");
        button.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            secondaryStage = new Stage(StageStyle.TRANSPARENT);
            secondaryStage.initModality(Modality.WINDOW_MODAL);
            secondaryStage.initOwner(primaryStage);
            showSecondaryWindow();
        rt.getChildren().add(button);
        primaryStage.setScene(sc);
        primaryStage.show();
        // primaryStage.showAndWait();
        System.out.println("Bit no set= " + bitNo.get());
      }// start
      public void showSecondaryWindow() {
        Pane root = new Pane();
        root.setStyle("-fx-background-color: rgb(0,50,70);");
        // root.setPrefSize(200,200);
        Scene scene = new Scene(root, 200, 300);
        Label label = new Label("Data");
        textField = new TextField();
        textField.setUserData("one");
        Button ok = new Button("Ok");
        ok.setDefaultButton(true);
        ok.setOnMouseClicked(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            System.out.println("New Stage Mouse Clicked");
            bitNo.set(Integer.parseInt(textField.getText()));
            System.out.println("Bit no set by Secondary= " + bitNo);
            primaryStage.getScene().getRoot().setEffect(null);
            secondaryStage.close();
        Button cancel = ButtonBuilder.create().cancelButton(true).text("Cancel")
            .build();
        cancel.setOnMouseClicked(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            System.out.println("New Stage Mouse Clicked");
            primaryStage.getScene().getRoot().setEffect(null);
            secondaryStage.close();
        // VBox vBox =new VBox();
        // vBox.getChildren().addAll(label,textField,ok);
        HBox dataFileds = new HBox(10);
        dataFileds.getChildren().addAll(label, textField);
        HBox buttons = new HBox(10);
        buttons.getChildren().addAll(cancel, ok);
        root.getChildren().add(
            VBoxBuilder.create().children(dataFileds, buttons).spacing(10).build());
        // scene.getStylesheets().add(Test.class.getResource("Modal.css").toExternalForm());
        secondaryStage.setScene(scene);
        // final Node root = secondaryStage.getScene().getRoot();
        root.setOnMousePressed(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent mouseEvent) {
            // record distance for the drag and drop operation.
            x = secondaryStage.getX() - mouseEvent.getScreenX();
            y = secondaryStage.getY() - mouseEvent.getScreenY();
        root.setOnMouseDragged(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent mouseEvent) {
            secondaryStage.setX(mouseEvent.getScreenX() + x);
            secondaryStage.setY(mouseEvent.getScreenY() + y);
        // primaryStage.getScene().getRoot().setEffect(new BoxBlur());
        secondaryStage.show();
      }// showSecondaryWindow
    }// class

  • How to pass control from one component to other component

    Hi,
    I have a requirement to pass control from one component to other component.
    Here is my requirement.. l have two portal components, one is search component and other is result component. I have this search component as quick navigation iView where we can enter a value and results will display in results iView, it's a main iView.
    When search view gets the results, I will display the count in search view and result in results view. .i.e.. both the iviews are viewed at any time.
    Can any one advise me how to acheive this.
    Thanks,
    Chinna.

    Hi Sandeep,
    Thanks for the reply. I have gone through the EPCF API, and tried with doNavigate('iViewName').
    when I click on the button in search view (quikc navigation frame), instead of page getting refreshed in result iView, whole page is replaced by results iview. I want only search view and results view gets refreshed.
    can you please tell me which even should I use for this scenario...
    Thanks,
    Chinna

  • Passing value from one jsp to another?

    how to pass value from one jsp to another? i have a value assigned in the link, i want to pass that value to another jsp page?
    please help with code?

    Instead of the value being passed, i am getting a null value.
    Here is my calendar code:
    <%@page import="java.util.*,java.text.*" %>
    <html>
    <head>
    <title>Print a month page.</title>
    </head>
    <body bgcolor="white">
    <%
                  boolean yyok = false;
                  int yy = 0, mm = 0;
                  String yyString = request.getParameter("year");
                  if (yyString != null && yyString.length() > 0)
                      try
                          yy = Integer.parseInt(yyString);
                                  yyok = true;
                       catch (NumberFormatException e)
                          out.println("Year " + yyString + " invalid" );
                  Calendar c = Calendar.getInstance( );
                  if (!yyok)yy = c.get(Calendar.YEAR);  
                         mm = c.get(Calendar.MONTH);
    %>
                  <table align="center">
                      <tr>
                  <td>
                       <form method=post action="calendar.jsp">
                          Enter Year : <select name="year">
    <%         
                 for(int i= yy;i<=2010;i++)
    %>
                  <OPTION VALUE= <%=i%> > <%=i%> </option>
    <%       
    %>
              </select>
                      <input type=submit value="Display">
                      </form>
                      </td>
                    </tr>
    <tr>
                     <table>
    <%!
    String[] months = {"January","February","March",
                    "April","May","June",
                    "July","August","September",
                    "October","November", "December"
    int dom[] =     {
                        31, 28, 31, 30,
                        31, 30, 31, 31,
                        30, 31, 30, 31
    %>
    <%
                int leadGap =0;
    %>
    <div id="t1" class="tip"><table border="4" cellpadding=3 cellspacing="3" width="250" align="center" bgcolor="lavender">
    <tr>
    <td halign="centre" colgroup span="7" style="color:#FF0000;">
    </colgroup>
    <tr>
    <td>
    <%
              GregorianCalendar calendar =null;
              for(int j=0;j<12;j++)
                        calendar = new GregorianCalendar(yy, j, 1);
                  int row = 1 ;
                  row = row + j;
        %>
              <table>
                <tr>
              <colgroup span="7" style="color:#FF0000;">
              </colgroup>
                </tr>
              <tr align="center">
              <th colspan=7>
                  <%= months[j] %>
                  <%= yy %>
              </th>
              </tr>
    <tr>
    <td>Sun</td><td>Mon</td><td>Tue</td><td>Wed</td><td>Thu</td><td>Fri</td><td>Sat</td>
    </tr>
    <%
        leadGap = calendar.get(Calendar.DAY_OF_WEEK)-1;
        int daysInMonth = dom[j];
        if ( calendar.isLeapYear( calendar.get(Calendar.YEAR) ) && j == 1)
        ++daysInMonth;
        out.print("<tr>");
        out.print(" ");
          for (int h = 0; h < leadGap; h++)
           out.print("<td>");
          out.print("</td>");
        for (int h = 1; h <= daysInMonth; h++)
          out.print("<td>");
          out.print("<a href=desc.jsp>" + h + "</a>" );
          out.print("</td>");
        if ((leadGap + h) % 7 == 0)
            out.println("</tr>");
    out.println("</tr></table></div>");
    if( row%3 != 0)
    out.println("</td><td>");
    else
    out.println("</td></tr>\n<tr><td>");
    %>
    </html>I need to pass the value in 'h' to the desc.jsp page.
    my code for desc.jsp is :
    <html>
    <head>
    </head>
    <body bgcolor="lightblue">
    <form method=post action="Calenda.jsp">
    <br>
    <%= request.getParameter("h") %>
    <h2> Description of the event <INPUT NAME="description" TYPE=TEXT SIZE=20> </h2>
    <BR> <INPUT TYPE=SUBMIT VALUE="submit">
    </form>
    </body>
    </html>But i am not able to pass the value. The 'h' value contains all the date. i want to pass only a single date, the user clicks to the other page. please help

  • Pass values from one Taskflow to another

    JDev 11.1.1.5.0 ADF BC
    Use case: Need to pass values between two bounded taskflows. There are two different pages on two different taskflows and I need to pass values from one to another.

    Hi sahar
    you can set the value you want to pass to another taskflow in pageFlowScope
    and create input params in the another taskflow and set this pageFlowScope valu into that
    Params of TaskFlow
    you can refer the following link
    http://opreview.blogspot.in/2011/07/adf-how-to-pass-parameters-between.html
    Regards

  • Is there any way to pass value from one SWF to another ?

    I am doing project using flash, now I cant pass a value from one SWF to another, is there any way to pass value from one SWF to another.
    thanks

    Hi,
    Just to confirm here do you simply want to communicate between two SWFs without involving Flash Media Server. If this is the case one good way of doing it is to use a local connection. It can be used for direct communication between two separate instances of the flash player. However if you want to involve multiple clients sharing a common variable then you may have to use Shared Object for this. Please let me know what is the actual use case, is it multiple clients sharing a common variable or different player instances communicating between themselves.
    Thanks,
    Abhishek

  • How can I pass values from one node to another

    Give a standard and efficient way to pass values from child to parent

    hai Prathap
    You can use the custom event  for passing values from child to parent

  • Can i use one JSF component's value for other component in the same page.

    Can i use one JSF component's value for other component in the same page.
    For example
    I have a <h:selectBooleanCheckbox id="myChk"> in my jsf page, i want to access its value for another component like:
    <h:commandButton disabled="#{myChk.checked}" action="myAction" value="myValue" />
    ** "myChk.checked" >> I am just asuming "checked" property is available...

    Bind the checkbox to a UIInput myChk property. Then you can reference this property from the page, e.g.
    <h:selectBooleanCheckbox binding="#{myBean.myChk}" onchange="submit();" />
    <h:commandButton disabled="#{myBean.myChk.value}" action="myAction" value="myValue" />

  • How do I move Contacts & Calendar from one User to another User on the same Macbook Pro?

    How do I move Contacts & Calendar from one User to another User on the same Macbook Pro? OSX 10.9.5

    is this second library in a different account on the computer?
    Look at Home Sharing.
    iTunes: How to share music and video - http://support.apple.com/kb/HT2688 - about Music Sharing and Home Sharing
    Home Sharing Support page - http://www.apple.com/support/homesharing/
    iTunes: Setting up Home Sharing on your computer - http://support.apple.com/kb/HT4620
    iTunes Home Sharing now works between users on same computer - https://discussions.apple.com/thread/3865597

  • Is there a way I can move movies from one itunes library to another on the same computer?

    Is there a way I can move movies from one itunes library to another on the same computer?

    Locate them in the Windows Explorer, move or copy those files as you would any other, and drag them into the open iTunes window when the second library is loaded. If you're using two iTunes libraries on one user account, you only need to locate the files; otherwise, they need to be put in a shared area.
    (63747)

  • Move DC from one SC to another SC in the same track

    Hi colleagues,
    I am facing a problem when I try to move a DC from one SC to another SC, in the same track.
    This track has all custom applications developed by my team. It happens that our custom applications were all in one Software Component, and we want to have one SC per application.
    I followed the steps described in SAP Note 888969(and also this tutorial: http://wiki.sdn.sap.com/wiki/display/JDI/StepbyStepguidetoMoveaDCfromoneSCtoanother).
    I could successfully Integrate all components of the DC in the new Software Component. Then I did check-in and activated it. Everything fine so far.
    In the last step of copy/create the .dcref file in the TOP-Level DC folder, I did as described: have created an empty file with the same name and extension as the existed file on the old SC (new activity created). Then I checked in and on Activation phase I get an error: "Error! The following error occurred during request processing.  /gems/clock' is already active in the compartment 'GEMS' and cannot be activated in the compartment 'ESS_CLOCK_IO'.
    Does anyone had this problem before or have an idea how I can fix this problem?
    Thank you in advance,
    Regards

    For future search:
    I can suggest the movedc command of the guide
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30d8e1f6-a372-2b10-65af-8a366b91eba7
    Regards,
    Ervin

  • Printing graph and other text in the same page

    Hi,
    I am aware that for providing graphs in ABAP report we have a FM which is called via a pushbutton in the output screen generally.
    Is there any way I can do away with the pushbutton and print the graph and other text in the same page at one go ? I think Smartforms will not allow graph printing.......any other method to achive this ?
    The user wants to print the graph and other text in the same page.
    Regards,
    Sandip.

    Hi ! no it is not related to smartforms
    search for custom container on google you idea about custom container.
    following code is for displaying alv on selection screen which is created using custom container
    and docking container.
    I hope you will get some idea about how to use custom container for your problem
    DATA DECLARATIONS
    DATA: CONT_DOCKING TYPE REF TO CL_GUI_DOCKING_CONTAINER,
    GRID TYPE REF TO CL_GUI_ALV_GRID,
    CUST_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
    IT_FIELDCAT TYPE LVC_T_FCAT,
    GS_LAYOUT TYPE LVC_S_LAYO.
    *ITAB TYPE TABLE OF SBOOK.
    *& SELECTION SCREEN PARAMETERS
    *PARAMETERS:P_TEST TYPE I .
    *& AT SELECTION SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
    IF EBELN[] IS NOT INITIAL.
    CREATE OBJECT CONT_DOCKING
    EXPORTING
    REPID = SY-REPID
    DYNNR = SY-DYNNR
    SIDE = CONT_DOCKING->DOCK_AT_BOTTOM
    EXTENSION = 100.
    IF CUST_CONTAINER IS INITIAL.
    *----Create the alv with docking container
    PERFORM CREATE_AND_INIT_ALV .
    ENDIF.
    ENDIF.
    *& Form BUILD_FIELDCAT
    FORM BUILD_FIELDCAT .
    DATA WA_FIELDCAT TYPE LVC_S_FCAT.
    WA_FIELDCAT-FIELDNAME = 'EBELN'.
    WA_FIELDCAT-REPTEXT = 'Airline Code'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    WA_FIELDCAT-FIELDNAME = 'EBELP'.
    WA_FIELDCAT-REPTEXT = 'Flight Connection Number'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    *WA_FIELDCAT-FIELDNAME = 'WUNIT'.
    *WA_FIELDCAT-REPTEXT = 'Weight Unit'.
    *APPEND WA_FIELDCAT TO IT_FIELDCAT.
    *LOOP AT IT_FIELDCAT INTO WA_FIELDCAT.
    *IF WA_FIELDCAT-FIELDNAME EQ 'WUNIT'.
    *WA_FIELDCAT-EDIT = 'X'.
    *WA_FIELDCAT-DRDN_HNDL = '1'.
    *WA_FIELDCAT-CHECKTABLE = '!'.
    *MODIFY IT_FIELDCAT FROM WA_FIELDCAT.
    *ENDIF.
    *ENDLOOP.
    ENDFORM. "build_fieldcat
    *& Form CREATE_AND_INIT_ALV
    FORM CREATE_AND_INIT_ALV .
    CREATE OBJECT GRID
    EXPORTING I_PARENT = CONT_DOCKING.
    *--perform build field catalog for alv display
    PERFORM BUILD_FIELDCAT .
    *--fill the drop down list values
    PERFORM fill_dropdown_table .
    *----fill final output table
    SELECT * FROM EKPO
    INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE EBELN IN EBELN.
    *UP TO 10 ROWS.
    *---display alv
    CALL METHOD GRID->SET_TABLE_FOR_FIRST_DISPLAY
    CHANGING
    IT_FIELDCATALOG = IT_FIELDCAT
    IT_OUTTAB = ITAB[].
    *---Set editable cells to ready for input initially
    CALL METHOD GRID->SET_READY_FOR_INPUT
    EXPORTING
    I_READY_FOR_INPUT = 1.
    ENDFORM. "create_and_init_alv
    *& Form set_drdn_table
    FORM fill_dropdown_table.
    DATA: LT_DROPDOWN TYPE LVC_T_DROP,
    LS_DROPDOWN TYPE LVC_S_DROP.
    LS_DROPDOWN-HANDLE = '1'.
    LS_DROPDOWN-VALUE = 'KG'.
    APPEND LS_DROPDOWN TO LT_DROPDOWN.
    LS_DROPDOWN-HANDLE = '1'.
    LS_DROPDOWN-VALUE = 'G'.
    APPEND LS_DROPDOWN TO LT_DROPDOWN.
    LS_DROPDOWN-HANDLE = '1'.
    LS_DROPDOWN-VALUE = 'B'.
    APPEND LS_DROPDOWN TO LT_DROPDOWN.
    LS_DROPDOWN-HANDLE = '1'.
    LS_DROPDOWN-VALUE = 'T'.
    APPEND LS_DROPDOWN TO LT_DROPDOWN.
    CALL METHOD GRID->SET_DROP_DOWN_TABLE
    EXPORTING
    IT_DROP_DOWN = LT_DROPDOWN.
    ENDFORM. "set_drdn_table

Maybe you are looking for

  • How to retry/resend an AS2 message outbound after a communication error

    Hello all. I am using B2B 10.1.2.3 and the retry functionality and resubmission functionality has never worked for me. Can some please comment on the proper procedures for me to setup retry intervals and also how to use the resubmission utility. Here

  • Iphoto no longer deletes the images from iPhone 5s after import.

    I have the latest version of IOS, and iPhoto.  Now, when I connect my iPhone 5s and import the photos and select the delete all that was imported option the photos on the iPhone are NOT deleted. Everything is stock apple software.  Not jail broken, o

  • Blackberry Tour disappearing applications and games issue

    I received my new BB Tour on Monday.  When I got  it, it had about 5 games as well as Word To Go, Excel to Go and Powerpoint To go.  Now they are gone.  I don't know what I did; however, I would like to get them back.  Can anyone assist me in doing s

  • Minimisation and controlling button clicks in swings

    Hello All, I had some problem in swings. Here I am giving my problem in detail. 1st ...... On one window named as "Main Screen" contains two buttons. Say Button1 and Button2. By clicking on Button1 another window will be opened named as "Sub Screen1"

  • On hold for 38 minutes on apple care with no help!!

    I bought my iphone 5 S from India on Nov 17 2012. For last 4 weeks it is shutting down unexpectedly . Now the battery is swelling up and breaking the case. I now live in Johannesburg and took this to apple store in Centurion Mall, Sandton City and Th