Action1 = Infotype1 - TCODE1  - Infotype2 ...... and so on!

Hey All
Is there any way I can run a Transaction Code when executing an action?
Let us say while running 'Hiring Action' I want to execute TCode (PPOM) before the Infotype 0001 is executed.
Not sure if it can be done in Dynamic Actions? Would like to have an expert advice.
Thanks
Yash
P.S. - May you want to compare the subject line with the kind of output I am looking for.

Thanks Arun! I would take it as 'Dynamic Actions' cannot achieve it at all.
Cheers!
Yash

Similar Messages

  • FCC key field value error

    Hi Experts,
    I have a input structure like,
    Record
      - <Infotype1>
           -     <ITEM>
    -  <Infotype2>
           -     <ITEM>
    -   <Infotype3>
          -     <ITEM>
    -    <Infotype4>
               -      <Field1>
               -       <field2>
               -       <field3>
    -    <Infotype5>
               -        <Field1>
                -        <field2>
                -       <field3>
    i am using sturctured FCC for this,
    But the problem is with KeyFieldValue.For Infotype 4 and infotype5 i have a keyfield as A,but for Infotype1 2and 3 i dont have keyfield as it is a one whole row as a item.
    is there any way to ignore keyfield in sturtctured FCC,or is there any other way to do.
    note: this is a | seperated sturcture(not fixed length)
    Thanks in advance,
    Monika
    Edited by: mona17 on Jul 22, 2009 12:54 PM

    Hi,
    Could you please detail the flat file ?
    Because if you work on Infotype (HR data) that means in each line you have to know which infotype it is.
    Like :
    Infotype_00 | my data                  --> 1st employee
    Infotype_01 | my data
    Infotype_01 | my data
    Infotype_105 | item_1 |  my data
    Infotype_105 | item_2 |  my data
    Infotype_105 | item_1 |  my data
    etc...
    Infotype_00 | my data                 --> 2nd employee
    Infotype_01 | my data
    Infotype_01 | my data
    Infotype_105 | item_1 |  my data
    Infotype_105 | item_2 |  my data
    Infotype_105 | item_1 |  my data
    etc...
    and for your Data Type, you should have somehting like that:
    <USER>                                        --> Created by your recordset for each new infotype_00 (00 is mandatory in HR !)
    <Infotype_00> <Field1> ... </Infotype_00>
    <Infotype_01> <Field1> ... </Infotype_01>
    <Infotype_02> <Field1> ... </Infotype_02>
    etc...
    <Infotype_105> <Field1> ... </Infotype_105>
    etc...
    </USER>
    Check your flat file !
    Regards.
    Mickael

  • Power view display more than 500 values in a field

    From my research, it looks like the limit of values in a Power View filter is 500.  does anyone if this is configurable to increase (which
    I am doubting based on Microsoft’s website as I’ve copied below).  If it is not configurable and we cannot display more than 500 values when filtering, then what should be done
    https://technet.microsoft.com/en-us/library/hh231514%28v=sql.110%29.aspx

    You could always do the concatenation on the client. ie: "select action1, action2 from tableX" and then create a boilerplate object with text that references both of these columns. (eg: "&<action1> &<action2>"). This should give you the concatenation you're after.
    Another alternative is to return a "long" column instead. The 4000 is probably down to the varchar datatype restriction.

  • Getting the main program or tcode from child tcode

    Hi
    I execute a tcode1 . And while in that tcode1, I select the sub menu in the help menu. This sub menu is a custom one with a tcode2. Tcode2 calls a program. I would like to get tcode1 when I am in this progam. Somehow i get only Tcode2. Is there a way to get tcode1 which is the main tcode ?  
    Thanks
    Bindu

    SY-CPROG
    The name of the calling program in an external routine, otherwise the name of the current program.
    based on that you can hit TSTC table and get the transaction code for that program... "some includes does not have T codes!"

  • Problem-Writing datas to a Servlet thro' URLConnection class

    Hi,
    Iam trying to post some string data to a servlet.
    The servlet reads 2 parameters from url.And reads the xml string message thro post method.
    So in the client program, I added those parameters to the URL directly like this,
    "http://localhost/servlet/test?action1=value1&action2=value2" ,and created url object .
    And using URLConnection iam trying to post the xml string.
    But the servlet does not read the parameter values.Is my approach is correct?
    client code:
    package test;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class Testxml{
    public static void main(String ars[])
    String XML="<?xml version='1.0'?><Test><msg>test message</msg></Test>";
    String server="http://localhost/servlet/test";
    String encodeString = URLEncoder.encode("action1") + "=" + URLEncoder.encode("something1")+"&"+URLEncoder.encode("action2") + "=" + URLEncoder.encode("something2");
    try{
         URL u = new URL(server+"?"+encodeString);
         URLConnection uc = u.openConnection();
         uc.setDoOutput(true);
         uc.setUseCaches(false);
         uc.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
         OutputStream out = uc.getOutputStream();
         PrintWriter wout = new PrintWriter(out);
         wout.write(alertXML);
         wout.flush();
         wout.close();
         System.out.println("finished");
         catch(Exception e) {
         System.out.println(e);
    Servlet code:
    package test;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class test extends HttpServlet {
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
         performTask(req, res);
    public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
         performTask(req, res);
    public void performTask(HttpServletRequest request, HttpServletResponse response) {
         try{
    String action1=request.getParameter("action1");
    String action2=request.getParameter("action2");
    if(action1.equals("something1") && action1.equals("something2") )
         ServletInputStream in = request.getInputStream();
         byte[] buffer = new byte[1024];
         String xmlMsg = "";
         int len = in.read(buffer,0,buffer.length);
         if(len>0)
         while (len > 0 ){
                   xmlMsg += new String(buffer,0,len);
                   len = in.read(buffer);
         System.out.println("xml : "+xmlMsg);
    This is not working.Even,it does not invoke servlet.Is this approach is correct?.
    Thanx,
    Rahul.

    Hi,
    Did you get the answer to your problem? I am facing the same problem, so if you have the solution, please share the same.
    TIA
    Anup

  • Is there a way to set the ID of a collection item and not worry about fxx?

    Hi Everyone, I am not certain if I am phrasing this properly, so bear with me.
    I have a tabular form based on a collection.   There are a variety of items, textareas, select lovs, and radio groups in this tabular form.  Some of the items have a set id which correspond to the collection field...so for example,
    c010 has id='f10'+seq
    c012 has id='f12'+seq
    when any field is changed, a dynamic action is executed.
    dynamic action:  COLUMN CHANGE
    event: CHANGE
    selection type: JQUERY SELECTOR
    jquery selector: input[name='f10'],input[name='f11'],input[name='f12'],.shark_info, .hms_info
    true action1: set value, javascript expression, set P110_ID = this.triggeringElement.id AFFECTED ITEM P110_VALUE
    true action2: execute pl/sql code
    begin 
    null; 
    end;
    page items to submit: P110_ID
    true action3: set value, javascript expression, set P110_VALUE = this.triggeringElement.value AFFECTED ITEM P110_VALUE
    true action4: set value: PL/SQL expression, set P110_SEQ = rtrim(substr(:P110_ID,5,4),'0')    AFFECTED ITEM: P110_SEQ
    true action5: execute pl/sql code
    declare 
      v_attr number; 
    begin  
      v_attr := TO_NUMBER (SUBSTR (:P110_id, 2, 2)); 
      apex_collection.update_member_attribute 
                       (p_collection_name      => 'SPECIES_COLLECTION', 
                        p_seq                  => :P110_SEQ, 
                        p_attr_number          => v_attr, 
                        p_attr_value           => :P110_VALUE); 
    end; 
    page items to submit: P110_ID, P110_VALUE, P110_SEQ
    true action6:  refresh region
    The value of v_attr is set to a substr of P110_ID....and p110_id is based on the ID of the item. 
    I have one item, a radio group called c024.   It is not called as an apex_item because the radio group (for whatever reason) would not work.  Therefore, in order for c024 to correspond to attribute 24, I must make certain that there are 23 editable items appearing before it...or at least that is the only way to get it to work.
    I am wondering if there is a way to assign the ID='f24'+seq manually in much the same way that I assigned the CSS class=.SHARK_INFO to this item.
    any clues appreciated.
    thanks,
    Karen
    ps.  the query for the tabular form is:  (and really, anything without an alias could be removed, but is there to ensure that c024 = f24.  ugh.  Is there a better way?
    SELECT
    apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
    seq_id,
    seq_id display_seq_id,
    c003,
    c004,
    c005,
    c006,
    apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit,
    apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0','  -- Select Favorite --  ','f08_'||seq_id,'') Disposition,
    apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear,
    apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
    apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
    apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
    ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars,
    decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished,
    c014,
    c015,
    c016,
    c017 additional_measure_flag,
    decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY,
    decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT,
    c024 fins_attached,
    apex_item.textarea(28,c028,3,null,'class="hms_info"','f28_'||seq_id,'') Explanation,
    decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','class="hms_info"''onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale,
    c030,
    c031,
    c032,
    c033,
    c034,
    c035,
    c036,
    c037,
    c038,
    c039,
    apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;" class="hms_info"
    ',null,null,null,'f40_'||seq_id,'')  HMS_AREA_CODE,
    c020,
    apex_item.text(41,TO_NUMBER(c041),5,null, 'class="hms_info"','f41_'||seq_id,'') Sale_Price,
    c042,
    c043,
    c044,
    c050
    from apex_collections
    where collection_name = 'SPECIES_COLLECTION' order by seq_id

    I hope it's the done thing to add to an old thread, instead of starting a new one.
    I'd like to be able to clear my form history, but not clear my search history.
    I'm using Firefox 7.0.1, but it still seems to be a combined option.
    Would it be possible to separate the two options in later versions?
    I've found two extensions that might help, but it would be nice to simply have two separate options.
    https://addons.mozilla.org/en-US/firefox/addon/form-history-control/
    https://addons.mozilla.org/en-US/firefox/addon/clear-form-history/
    Thanks in advance.

  • How to pass a parameter from one action1 in block1 to action2 in block2.

    Dear Experts,
    How to pass a parameter from one action1 in block1 to action2 in block2.
    My Process Structure is as follows..
           Process
                Sequential Block
                     Action 1
                     Parallel Dynamic Block
                             Sequential Sub Block
                             Action 2.
    while i am  trying to execute the action1 the following error is shown below:
    Cannot complete action: The activity could not be read.
    Please suggest me how to do?
    Regards,
    Rajesh N

    Hello Rajesh!
    I think you are talk about the mapping parameters of your process.
    This case in design time of your workflow, you have the vision of your blocks and actions, you have on action 1 the output parameter and you have the action 2 an input parameter.
    So you have that make a group mapping on your process, map in this group the action1 outpu parameter with the action2 input parameter.
    Regards, Ronaldo Rampelotti

  • Query problem in non US locale and Buddhist Era

    I try to query a table with a sql statement. Then I use the result from previous statement to query again. But there's no result from the second statement??
    I think it's problem with Regional Options in the machine.
    I'm using w2k sp4.
    JDK1.5
    MySQL 4.0.18
    MySQL connector 3.1.6
    Locale Thai, Default Lang Thai
    Here is the code
    PreparedStatement ps = cn.prepareStatement("select * from EBMS_FRAUD_ATTEMPTS order by action_date asc");
    date1 = rs.getDate("action_date");
    cardNo1 = rs.getString("user_card_number");
    action1 = rs.getString("action");
    System.out.println("date1 : " + date1);
    System.out.println("cardNo1 : " + cardNo1);
    System.out.println("action1 : " + action1);
    ps = cn.prepareStatement("select * from EBMS_FRAUD_ATTEMPTS where action_date=? and user_card_number=? and action=? order by action_date asc");
    ps.setDate(1, new java.sql.Date(date1.getTime()));
    ps.setString(2, cardNo1);
    ps.setString(3, action1);
    System.out.println("date2 : " + date2);
    System.out.println("cardNo2 : " + rs.getString("user_card_number"));
    System.out.println("action2 : " + rs.getString("action"));from the testing, there's no result from the 2nd statement.
    Here is output from 1st statement.
    date1 : 2005-03-04
    cardNo1 : 1234123412341234
    action1 : test1The solution can be
    1. change the locale in regional options to en/US. or.
    2. manually convert date in Java code using the method below before setDate parameter in the 2nd statement.
         private Date convtDate(Date dInput) {
              SimpleDateFormat dfUS = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss", Locale.US);
              SimpleDateFormat dfTH = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss", new Locale("th", "TH"));
              try {
                   return dfTH.parse(dfUS.format(dInput));
              } catch (ParseException e) {
                   return null;
    ps = cn.prepareStatement("select * from EBMS_FRAUD_ATTEMPTS where action_date=? and user_card_number=? and action=? order by action_date asc");
    ps.setMaxRows(1);
    ps.setDate(1, new java.sql.Date(convtDate(date1).getTime()));
    ps.setString(2, cardNo1);
    ps.setString(3, action1);
    ...Both solutions are not good at all. The 1st solution break the run anywhere concept. The 2nd solution is hardcoding. I think there should be a better solution.

    So you think that is the problem? I would suggest you change "think" to "know" there before proceeding. If your solution #2 actually works (you didn't say that) then the locale most likely is the problem. In that case you should contact the maker of your JDBC driver and report the bug.

  • Email form created in Acrobat 9, custom subject line and content

    I'm revisiting a form I created about a year back, and I can't remember how I got a javascript to work.
    What I want is for the user to click on an "Email" button, which will open their email program and create a new message, with the subject line filled out from one of the form fields, and then will have specified text in the body, as well as attaching the document and sending it to multiple email addresses.
    I have a javascript that I thought worked, but I keep getting error messages on it when I try to test it out.
    The script I'm currently trying to make work is:
    // This is the form return e-mail. Its hardcoded
    // so that the form is always returned to the same address
    // Change address on your form
    var cToAddr = "[email protected]; [email protected]";
    // First, get the client CC e-mail address
    var cCCAddr = this.getField("Teacheremail").value;
    // Set the subject and body text for the e-mail message
    var cSubLine = this.getField("CourseNumber").value + " corrections form submitted by "
    + this.getField("TeacherName").value;
    var cBody = "\nThank you for submitting your form.\n" +
                   "Save the mail attachment for your own records.\n" +
                   "Do NOT worry if the form appears blank in your email message.";
    // Send the form data as an PDF attachment on an e-mail
    this.mailDoc({bUI: true, cTo: cToAddr, cCc: cCCAddr,
      cSubject: cSubLine, cMsg: cBody});
    What am I doing wrong?

    forgot to add
    This is the error message, but there is a correct email listed in the Teacheremail field, so I don't know why it says it's "null."
    this.getField("Teacheremail") is null
    7:AcroForm:Email:Annot1:MouseUp:Action1
    TypeError: this.getField("Teacheremail") is null
    7:AcroForm:Email:Annot1:MouseUp:Action1

  • Annonymous and inner classes

    Hello,
    Can anyone tell me what the benefits of anonymous and inner classes are? inner classes are seem pretty complicated without any obvious benefit.
    I have read about these in books and have some understanding of them but these don't appear to have any benefits.
    Any info on either would be really cool.
    regards

    There are many places where inner classes can be useful. One place where anonymous inner classes are particularly neat is for ActionListeners. For example, compare the "normal" way of doing it:
         for(int i = 0; i < 2; i++)
              JButton button = new JButton("Button " + i);
              button.setActionCommand("ACTION" + i);
              button.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if("ACTION0".equals(e.getActionCommand()))
                   doSomething(0);
              else if("ACTION1".equals(e.getActionCommand()))
                   doSomething(1);
         }with the way using anonymous inner classes:
         for(int i = 0; i < 2; i++)
              final int index = i;
              JButton button = new JButton("Button " + index);
              button.addActionListener(new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             doSomething(index);
         .In the first case you need a global actionPerformed method with some if statements inside. If there are many types of action then this can quickly become very large and error-prone. In the second case, each action is handled in its own class, right with the button that it's associated with. This is easier to maintain. Note that local variables must be declared final to be accessible from the inner class.

  • Business logic callable object and Dynamic User assignment

    hi all,
    I have to design scenario using VC and GP
    using VC i designed a form that consist of some input parameters value,product..
    i integrated the designs created in VC to CO's
    My workflow should be like this
    now if the value<500
    it should go for approval to user1->user3
    if 500<value<1000  means it should go for approval to user1->user2->user3
    i tried this by using a businesslogic callable object
    the input ot this businesslogic CO is "value" parameter
    reult state
    continue BOOL(@value<500)
    break  Bool(500<@value<1000)
    process
    sequential block1
    Altenateblock block
                  Action
                result state:
                 continue->target->seqblock2
                 break->target->seqblock3
                 business logic CO
    seqblock2
                            Action1
                            Action3
    seqblock3
                              Action1
                              Action2
                              Action3
    i designed the workflow like this
    but the problem is that during runtime its directly jumping to seqblock3 with out asking the input value for business callable object
    and its not exiting from that block3.its going like infinite  loop(action1->action2->action3->action1->action2->Action3)
    pls suggest me the way to achieve this task
    Thanks
    kiran
    Edited by: kiran_mareedu on Aug 26, 2009 3:48 AM

    Hi,
    I have the similar issue.
    In my case it is taking too much time for completion.
    It is a background step so it should execute automatically.
    I have also checked Queue's for this.
    But could not understand why it is taking soo much time?
    Regards,
    Pratik

  • Import package and Variables

    Hi, I need your help
    It is possible to modify the import package to PROMPT for some dimensions when running...? Like for example, ask the user to select Dimension Category and then send that parameter to the construction of the import to be uploaded?
    For example tohave as source file
    ERP,sales,p1,2011.JAN,500
    ERP,sales,p2,2011.jan,350
    PROMT when run in DM.
    Select Category: PRON2
    Converted file
    ERP,sales,PRON2,p1,2011.JAN,500
    ERP,sales,PRON2,p2,2011.jan,350

    Hi Ana
    As per Sorin's post, it would make more sense to use a transformation file and then use *IF mapping functions.
    *If (Condition1 then Action1;Condition2 then Action2;Default Action)
    [http://help.sap.com/saphelp_bpc75/helpdata/en/5A/69200C88AA40C9B18844A25259F147/frameset.htm]
    For Example:
    CATEGORY=*If (TIME=JAN then PROD1;TIME=FEB then PROD2;COL(2))
    Hope this helps
    Kind Regards
    Daniel

  • Flush, writeChanges and DML

    I have a requirement where the following actions should be peformed in a single Transaction, and commit and rollback as a whole.
    ObjectA is mapped to TABLEA
    1. Update of ObjectA through Toplink Unit of Work
    2. Call to stored procedure that updates underlying TABLEA
    3. Read ObjectA through Toplink Unit of Work
    4. Update of ObjectA through Toplink Unit of Work
    Action2, can not see the changes made in Action1.
    Action3 can see the changes made in Action2 (as following execution of DML the current database uncommitted database is read by the Unit of Work since 10.1.3)
    Action4, would therefore ignore the Action1 changes.
    I could perform a writeChanges following Action1 meaning that Action2 would be acting aginst the correct state, but then I can not perform Action4.
    I have read some discussion of implementing a flush in Toplink 11 (that could be performed following Action1, and would not disallow the further update in Action4), but can find no mention of this in the current 11 documentation.
    Is there any current solution for my requirement?
    Many Thanks
    Marc

    Further information (and blatant attempt to get to top of list and generate interest!)
    I have implemented RepeatableWriteUnitOfWork within a system where a POJO DAO/Repsoitory layer (i.e. not JPA or CMP or EJB etc) managed by Spring is used. Previously this was using the default UnitOfWorkImpl.
    Apart from issues related to our (bespokish) locking policy based on ORA_ROWSCN when combined with a returing policy, my integration tests are showing no errors.
    I can now writeChanges prior to executing DML within a Transaction (Action1, then Action2) to ensure that the state of the the changed objects is used by the DML. Following this I can make further changes and perform readObjectQueries aginst the Unit of Work, and then commit. Perfect!
    However, it concerns me using a class within a ejb.cmp3.base package, of which I have zero experience.
    Is there any experience in using this unit of work implementation in large scale / mission critical production environments, not using EJB/CMP models.
    Many Thanks
    Marc

  • How to isolate navigation and action methods?

    Hi,
    I have 3 pages and I want to implement the following navigation:
    Page 1 <--> Page 2 <--> Page 3
    Page 1 <--> Page 3
    Page 3 has 2 buttons ('OK' and 'Cancel'), both lead to the previous page (Page 1 or Page 2).
    I just see one way to do this :
    <navigation-rule>
              <from-view-id>/page3.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>ok_page2</from-outcome>
                   <to-view-id>/page2.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>cancel-page2</from-outcome>
                   <to-view-id>/page2.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>ok_page1</from-outcome>
                   <to-view-id>/page1.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>cancel-page1</from-outcome>
                   <to-view-id>/page1.jsp</to-view-id>
              </navigation-case>
    </navigation-rule>and actions methods have to check where we come from to return the right outcome.
    Basiclly I don't want to bind page implementation to navigation rules.
    I'd prefer something like that :
    <navigation-rule>
              <from-view-id>/page1.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>action1</from-outcome>
                   <to-view-id>/page2.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>action2</from-outcome>
                   <to-view-id>/page3.jsp_alias1</to-view-id>
              </navigation-case>
    </navigation-rule>
    <navigation-rule>
              <from-view-id>/page2.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>action</from-outcome>
                   <to-view-id>/page3.jsp_alias2</to-view-id>
              </navigation-case>
    </navigation-rule>
    <navigation-rule>
              <from-view-id>/page3.jsp_alias2</from-view-id>
              <navigation-case>
                   <from-outcome>ok</from-outcome>
                   <to-view-id>/page2.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>cancel</from-outcome>
                   <to-view-id>/page2.jsp</to-view-id>
              </navigation-case>
    </navigation-rule>
    <navigation-rule>
              <from-view-id>/page3.jsp_alias1</from-view-id>
              <navigation-case>
                   <from-outcome>ok</from-outcome>
                   <to-view-id>/page1.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>cancel</from-outcome>
                   <to-view-id>/page1.jsp</to-view-id>
              </navigation-case>
    </navigation-rule>Where '/page3.jsp_alias1' and '/page3.jsp_alias2 refer to /page3.jsp.
    How to do that?
    Thanks.
    Edited by: Keeg on Jul 21, 2009 6:27 AM

    But this is what I want to avoid.Page 3 or backing bean has to be aware of the previous page.....
    Am I wrong?
    Another way?
    Edited by: Keeg on Jul 22, 2009 2:28 AM

  • Question about Struts and ActionForward

    Hi all.
    I'm having a problem regarding the use of DataAction and DataPage
    Imagine this scenario:
    1 - I have a simple web application. Its context root is http://host:port/. This web application has one jsp page called page1.jsp.
    2 - On struts configuration, I drop a DataAction called action1 and a DataPage called page1, wich holds page1.jsp, into the diagram, and link the DataAction to the DataPage using a Forward.
    3 - I start the application by clicking on the DataAction action1.
    4 - The application shows page1.jsp in the browser, because of the forward component that links de DataAction to the DataPage, but on the address bar of the browser the url is: http://host:port/action1.do. Here is the problem. I expected that I should see http://host:port/page1.do.
    5 - Because of this problem, if I refresh the page using the browser, the DataAction is executed again, but it can't. I thought the forward mechanism between a DataAction and a DataPage would cause some kind of url redirection to the browser.
    I'm using Internet Explorer to do these tests.
    Do you guys know how can I solve this problem?

    Hi fred... thanks for your post....
    Well, I'm in trouble then......
    I know that JHeadStart has the capability to detect if user have used the back or forward buttons from the browser......... If I could detect when the refresh command is used, it would solve the problem.
    I'm used to create DataAction to call some common methods from the ApplicationModule, so I can centralize code by providing different forwards to many DataPages.
    Does anyone have a best practice on how to use DataActions in conjunction with DataPages?
    Regards.

Maybe you are looking for

  • A newb moving to a new hard drive.

    So, I'm out of the country on holiday with my MacBook. I'm going back to the UK for New Years where I'll have a new MacBook Pro waiting for me at my parents (Woohoo, Christmas!). Before going back home, my wife wants to give the MacBook to her Mum. T

  • Xcode 3.1.2 and applescript studio...

    Hi everyone! I have been previously unable to upgrade to Xcode 3.1 because when I open my script there is so much empty spacing now inserted between lines and characters and I'm not sure if it's going to be a problem or not. I just tried to upgrade t

  • BO SDK code for Universe

    Hi Experts, I am trying to create a JSP page which will be used  to change universe object name without using IDT using BO SDK. We are using Bo 4.0 SP6 and we generate the Universe with class name same as table name and columns name as objects names.

  • Fms on item master record

    hi, i want to get item location info from oitw, udf field and set it in oitm table to use in pld for stockinventory list i use this fms, but is not working SELECT u_bl_location from oitw where itemcode = $[$5.0.1] and whscode = '01' and autorefresh o

  • Create local user 12g DB

    Hi, I am trying to create a local test user  (DB 12g Win7 / 64) : SQL> conn sys SQL> alter session set container=PDBORCL; Session altered. SQL> show con_name CON_NAME PDBORCL SQL> create user test identified by test; ==> ORA-01109 : Database is not o