Ways of passing values/attributes between Portlets of pageflow

Hi
Jusing Bea WebLogic Workshop 8.1.5 where i have one Portal.
The portalt contains:
Page A with A.portlet with A.jpf and a.jsp
Page B with B.portlet with B.jpf and b.jsp
I want to click on a link on a.jsp which then goes to A.action in A.jpf,
then redirect to Page B which then start B.portlet and then start begin
action in B.jpf
and begin action on B.jpf gets the values that I got from link i a.jpf.
How are the different ways to pass the values from A.portlet to another
B.portlet
and that the coresponding .jpf files can get the values. I can not get the
values to passed .
One way to solve this is to use session scope to store values in A.jpf and
then get it from session scope in B.jpf. I dont want that, because it then I
have to remove it to avoid trash in the session.
Any information on this and code will help ?

ks wrote:
Any information on this and code will help ?Sounds like inter-portlet communication (IPC) is what you need, see the
documentation at http://edocs.bea.com/wlp/docs81/ipcguide/overview.html
Gerald

Similar Messages

  • 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

  • Ways to pass values to getParameter() request??

    I currently know 2 mechanisms of passing values to getParameter() request
    1)By dynamically typing in the URL
    2)By setting the Parameter value in the property inspector when a fireAction is issued of the form
    Parameter Name ,Parameter Value:${oa.Instance Name.Attribute Name}
    Should the Parameter Value always take this format or can there be a modification to this if so what are the available options??
    On the broader sense are there any other methods of passing values to getParameter() ??

    Just understand in terms of basic html, in a url anything appeneded after question mark is a parameter.EG:
    http://XXX.com:8046/OA_HTML/OA.jsp?page=/XXX/oracle/apps/xxx/.......xxPG&A=xyz&B=uuuu
    here page is parameter which is used by OA.jsp to recognize the page, then
    A is aother url parameter whose value is xyz and u can get from
    pageContext.getParameter();
    Similarly,B is aother url parameter whose value is uuuu and u can get from
    pageContext.getParameter();
    Ways, to set url params:
    1)Set haspmap in pagecontext page forward api.
    2)Directly appending target url with url params
    3)Appending target url using bound values.
    I guess now this is clear.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • More than one way to pass an attribute across pages

    Hi, I need to pass an attribute (not a parameter) across pages, there seem to be two ways and I tested them, both worked. But I still have doubt.
    Approach 1: in a.jsp: session.setAttribute("house",house);
    in b.jsp: Object house = session.getAttribute("house");
    Approach 2: in a.jsp : RequestDispatcher rd = request.getRequestDispatcher("b.jsp");
    request.setAttribute("house",house);
    rd.forward(request,response);
    in b.jsp : Object house = request.getAttribute("house");
    Now my question is: Is it safe to use session to pass an attribute when the value of the attrbute is quite dynamic. I tried to test it, it seemed ok. But I can not convince myself completely.
    Anybody can give me some comments on the two approaches? Which is safer, which is better?
    Thanks

    Both methods can handle dynamic data. The determining question s how long do you need the data for? If you only need the data for the life of the request use the request.setAttribute. If you need to access that data during the life of the session then use session.setAttribute.

  • Passing values/results between condition type by using the formula

    Hi,
    I'm having one condition type (A), that is determining a result percentage based on Condition Table A. Based on the percentege determined in Condition Table A, I would like to set a custom field value in the Kondition record structure (KOMP) so that value will be considered within condition type B and accessing condition table B.
    So far the only way to set values that I could find was within the Requirement formula associated with condition type B. Are there any other options? And how can I acces the percentage that Condition Type A determined? I looked into all kinds of global tables, but could not find anything.
    Thanks a lot for your help!
    Doreen

    Shivanand,
    There's no need to post that much code when you could create a very short test case that demonstrates only the problem you are having.
    You're using &NAME. notation on something that isn't a page or application item. You can't reference PL/SQL variables that way (or any other way) outside the PL/SQL scope. For your situation, you could create a page item named P55_DOCID and assign it a value in the PL/SQL process (:P55_DOCID := DOCID;), then reference &P55_DOCID. in HTML areas like the success message.
    Scott

  • Best way to pass values btwn servlets?

    i have to pass multiple values from one servlet to the next, when the user submits a form.
    i don't know how many, or even the names of the parameters until the user submits the form.
    right now, i send them as hidden fields when the form is submitted.
    in the receiveing servlet, i dump them into a hashtable usng httpUtils.parse QueryString, and then parse them out of the hashtable.
    is there a better way?
    TIA,
    Scott Murray

    DrClap,
    Yes, I am working with a single user.
    Last night I reworked it as follows, dumping the parameters into a Properties object, which is easier to work with than a hashtable (at least it is for me):
    Properties props = new Properties();
    Enumeration paramNames = req.getParameterNames();
    while (paramNames.hasMoreElements()) {
    String name = (String) paramNames.nextElement();
    String[] values = req.getParameterValues(name);
    props.setProperty (name, values[0]);
    The trick is that I don't know in advance the names or how many parameters are being received; I marked them on the sending page with different prefixes (@@@, ###, $$$) so as I parse thru the Properties object, I can determine what type of parameter it is.
    Is there a better object to use than the Properties object? My ultimate goal is to have something similar to a ResultSet that I can search and step thru multiple times.
    Thanks for you time and expertise,
    Scott Murray

  • What is the better way to pass input parameters between components?

    Hi all,
    I had a dispute with a colleague about passing data between different WDP Development Components. The situation is like this:
    Colleague has a SearchWDP (parent) und I have a BrowseWDP (child). After searching for some objects and clicking a hit in the SearchWDP, the corresponding details should be shown in BrowseWDP, via passing a bunch of parameters such as selected item's id, etc.
    Now which of the following is the better practice:
    - Defining a node in BrowseWDP (child) with isInputParameter set to TRUE, creating a similar node from the same type (simply via ModelBinding, both WDPs are using the same model) in SearchWDP, and defining a mapping between them so that SearchWDP fills the input nodes. From BrowserWDPs perspective, I'd call this Pull method.
    or...
    - Defining a node in BrowseWDP (child) with isInputParameter set to FALSE, creating a setter method in BrowseWDP Interface Controller for the collection (to be passed as parameters) and calling a wdContext.nodeBlaBla().bind(pInputParameterFromModelType). From BrowserWDPs perspective, I'd call this Push method.
    The colleague's argumentation in favor of Push has not convinced me at all and I'd like to ask your opinions. Is there a best practice or recommendation for this scenario? TIA
    ps: Any answer will be rewarded.

    Hi Cuneyt,
    Refer the links below, they are very informative!
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/15a441cd47a209e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/67/cc744176cb127de10000000a155106/content.htm
    These links are a part of the WebDynpro ABAP documentation, but the concepts are same for WDA and WDJ.
    Considering your scenario, I would recommend the first alternative you have mentioned (if you refer the second link its called External Context Mapping), where component controller context node of component A (SearchWDP) is the source for Interface controller context (same name) of component B (BrowseWDP).
    Thanks.
    Chitrali

  • Passing values to between Pages from a PLSQL Procedure in third Page

    Hello,
    I have a form divided into 3 pages. The first Page is used to select Template which is used to call a screen Page 54 and Page 55 (Wizard Based screen).
    From Page 55 (third page) of my application, When I click on Finish Button (Submit Button), a PLSQL Procedure is called which inserts values in 5 to 6 tables on a schema. The Success message include Article &DOCID. successfully Added.
    When I return to the first Page which is Page 24, it displays no value for DOCID.
    Sample Example =
    DECLARE
    DOCID VARCHAR2(30);
    BEGIN
    INSERT INTO SURE_DOCUMENT
    DOCUMENT_ID
    , DOCUMENT_TYPE
    , TITLE
    , STATUS
    , DISTRIBUTION
    , ARCHIVE_REVIEW_DATE
    , CONTENT_TYPE
    , IMPACT
    , SKILL_LEVEL
    , SOURCE
    , SERVER_MIN_VERSION
    , SERVER_MAX_VERSION
    , REFRESH_INTERVAL
    , LAST_REFRESH
    , FOLDER_ID
    , TOPIC_ID
    , NOTE_POSITION
    , OWNING_SITE
    , MODIFY_NUMBER
    , VERSION_STRING
    , ALIAS
    , EXTKEY
    , FORMAT_MODIFIER
    , DELETED
    , CREATED_BY
    , CREATED_DATE
    , CREATED_SITE
    , UPDATED_BY
    , UPDATED_DATE
    , UPDATED_SITE
    VALUES
    ( SURE_DOCUMENT_SEQ.NEXTVAL || '.1'
    , :ARTICLE_TYPE
    , :TITLE
    , :STATUS
    , :DISTRIBUTION
    , SYSDATE
    , 'TEXT/PLAIN'
    , 'LOW'
    , 'NOVICE'
    , 'ADHOC'
    , :RDBMS_MIN_VERSION
    , :RDBMS_MAX_VERSION
    , NULL
    , NULL
    , :FOLDER
    , :TOPIC
    , NULL
    , 1
    , 1
    , NULL
    , NULL
    , NULL
    , NULL
    , 'N'
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    COMMIT;
    SELECT SURE_DOCUMENT_SEQ.CURRVAL INTO DOCID FROM DUAL;
    INSERT INTO SURE_DOCUMENT_CONTRIBUTORS
    DOCUMENT_ID
    , SURE_SEQUENCE
    , USER_ID
    , CONTRIBUTION_DATE
    , CONTRIBUTION_ROLE
    , MODIFY_NUMBER
    , REASON
    , DELETED
    , CREATED_BY
    , CREATED_DATE
    , CREATED_SITE
    , UPDATED_BY
    , UPDATED_DATE
    , UPDATED_SITE
    VALUES
    ( DOCID
    , 1
    , 'SKOPPALK.UK'
    , SYSDATE
    , 'Contributing Author'
    , 1
    , 'Contributing Author'
    , 'N'
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    INSERT INTO SURE_DOCUMENT_LANGUAGES
    DOCUMENT_ID
    , SURE_SEQUENCE
    , LANGUAGE
    , DELETED
    , CREATED_BY
    , CREATED_DATE
    , CREATED_SITE
    , UPDATED_BY
    , UPDATED_DATE
    , UPDATED_SITE
    VALUES
    ( DOCID
    , 1
    , 'USAENG'
    , 'N'
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    INSERT INTO KREW_WORKFLOW
    DOCUMENT_ID
    , PRIORITY
    , OWNER
    , REVIEWER
    , MODERATOR
    , ASSIGNED_DATE
    , DUE_DATE
    , CHECKED_OUT_BY
    , CHECKED_OUT_DATE
    , VERSION_STRING
    , DESCRIPTION
    , AUTHORS
    , COMMENTS
    , UPD_DATE
    , COPYSTATUS
    , COPYDISTRIBUTION
    , COPYFOLDERID
    VALUES
    DOCID
    , 3
    , DECODE(:OWNERS, NULL, 'UNASSIGNED',:OWNERS)
    , DECODE(:REVIEWER, NULL, 'UNASSIGNED',:REVIEWER)
    , DECODE(:MODERATOR, NULL, 'UNASSIGNED',:MODERATOR)
    , SYSDATE
    , SYSDATE + 7
    , NULL
    , NULL
    , 'SKOPPALK.UK'
    , :TITLE
    , :AUTHORS
    , :COMMENTS
    , SYSDATE
    , :STATUS
    , :DISTRIBUTION
    , :FOLDER
    INSERT INTO SURE_DOCUMENT_KEYWORDS
    DOCUMENT_ID
    , SURE_SEQUENCE
    , KEYWORD_TYPE
    , KEYWORD
    , DELETED
    , CREATED_BY
    , CREATED_DATE
    , CREATED_SITE
    , UPDATED_BY
    , UPDATED_DATE
    , UPDATED_SITE
    VALUES
    ( DOCID
    , 1
    , 'NOTE'
    , :KEYWORDS
    , 'N'
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    INSERT INTO SURE_DOCUMENT_REFERENCES
    DOCUMENT_ID
    , SURE_SEQUENCE
    , REFERENCE_SOURCE
    , REFERENCE_DOCUMENT_ID
    , REFERENCE_TYPE
    , REFERENCE_DESCRIPTION
    , DELETED
    , CREATED_BY
    , CREATED_DATE
    , CREATED_SITE
    , UPDATED_BY
    , UPDATED_DATE
    , UPDATED_SITE
    VALUES
    ( DOCID
    , 1
    , 'NOTE'
    , DOCID || '.1'
    , 'NOTE'
    , :REFERENCES
    , 'N'
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    INSERT INTO SURE_DOCUMENT_PLATFORMS
    DOCUMENT_ID
    , SURE_SEQUENCE
    , PLATFORM_ID
    , MIN_VERSION
    , MAX_VERSION
    , DELETED
    , CREATED_BY
    , CREATED_DATE
    , CREATED_SITE
    , UPDATED_BY
    , UPDATED_DATE
    , UPDATED_SITE
    VALUES
    ( DOCID
    , 1
    , :PLATFORMS
    , NULL
    , NULL
    , 'N'
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    INSERT INTO SURE_DOCUMENT_PRODUCTS
    DOCUMENT_ID
    , SURE_SEQUENCE
    , PRODUCT_ID
    , COMPONENT_ID
    , MIN_VERSION
    , MAX_VERSION
    , DELETED
    , CREATED_BY
    , CREATED_DATE
    , CREATED_SITE
    , UPDATED_BY
    , UPDATED_DATE
    , UPDATED_SITE
    VALUES
    ( DOCID
    , 1
    , :PRODUCTS
    , NULL
    , NULL
    , NULL
    , 'N'
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    , HTMLDB_CUSTOM_AUTH.GET_USER
    , SYSDATE
    , 1
    COMMIT;
    END;
    The Success message is as follows:
    Article &DOCID. Created/Updated Successfully

    Shivanand,
    There's no need to post that much code when you could create a very short test case that demonstrates only the problem you are having.
    You're using &NAME. notation on something that isn't a page or application item. You can't reference PL/SQL variables that way (or any other way) outside the PL/SQL scope. For your situation, you could create a page item named P55_DOCID and assign it a value in the PL/SQL process (:P55_DOCID := DOCID;), then reference &P55_DOCID. in HTML areas like the success message.
    Scott

  • Passing values to a portlet

    Howdy,
    The BEA WLW Portal tutorial gives a nice example of sending a var to a URL and
    the popping the results in a window.open (http://localhost:7001/tutorial/tutorialPortal.portal?_nfpb=true&_pageLabel=Dictionary_Backing_Sample
    What I need to do is have that happen in a portlet on another page in the portal
    instead of a window.open. Does any one know how?
    Thanks Jeff

    Sara,
    I've filed a bug (3483648) to track your requirement.
    The workaround you may give a try is to simulate the "form-like" environment. Do the following:
    1) Build an HTML document with a form with a field for each parameter in your query URL. The form action should be the actual URL you want to access from your Webclipping portlet. Use GET method.
    Note: This file is temporary only, you can remove it at the end of the "exercise".
    2) Test your form by providing different field values and submitting it to the "real" target URL.
    3) Make the HTML form visible to your Webclipping portlet, for example by copying it to the HTML document folder under your Apache, or OC4J.
    4) Build your Webclipping by providing the HTML form as the starting URL.
    5) Make the necessary changes to the parameters (make them public, provide defaults, etc.) under "Parameterize Inputs" section.
    6) Test your Webclipping. If you got what you were looking for, you can remove the temporary HTML file.
    The example I've used was http://finance.yahoo.com. The actual target URL with the parameter looks like:
    http://finance.yahoo.com/q?s=orcl
    So the HTML form looks something like:
    <html>
    <body>
    <form action="http://finance.yahoo.com/q">
    <input type="text" name="s">
    <input type="submit">
    </form>
    </body>
    </html>Hope this helps,
    Peter

  • Best way to pass secure data between servers

    Hello,
    In the not to distant future my company wants to expand our
    site to include a single sign-on, this will be made possible with
    the 3rd party group that handles our customer info. Can someone
    enlighten me as the most secure method of transferring user data
    between these locations?
    What has been proposed is to pass the login from our site to
    the 3rd party, if successful pass back certain data, display and
    possibly update on our site and then pass this back to the 3rd
    party server.
    Is CFLogin the most powerful method for login? I've used
    query checks in the past, is that adequate or is CFLogin much
    better? Any pointers are appreciated.

    "Is CFLogin the most powerful method for login? I've used
    query checks
    in the past, is that adequate or is CFLogin much better?"
    Neither, CFLogin is really just a specific purpose IF block.
    Code
    within the opening and closing <cflogin...> tags is run
    when a user is
    not logged in with the <cfloginuser...> tag. Inside
    this block one
    still needs to validate the credentials provided by the user,
    often with
    a query check.
    The <cflogin...><cfloginuser...> combination
    provides an easy to
    interpret and use mechanism to run conditional code and
    persist a user
    login state from request to request. It is basically
    equivalent to ones
    own <cfif...> logic combined with session data for the
    user state.
    Under the hood it is using the same mechanisms.
    I usually prefer to roll my own solution because I often want
    to store
    more state data about a user then is allowed with the
    <cfloginuser...>
    tag and the related getAuthUser() and isUserInRole()
    functions.

  • Most Significant way of Passing a PMString between a panel and a Dialog

    I am calling a dialog from a Panel when a certain button on the panel is clicked,
    In the Dialog I have an Edit Box, User can write any Strig in that Edit box and when he clicks on OK button Dialog closes and I want that string once the control is back on the panel.
    so i need to know which is the most significat way to acheive this, Should i use DataExchanger or something else to be used here in this case.
    Thanks,
    Rizwan

    IDialog.h:
    /* Place the dialog on the screen. You can pass in the owner panel (i.e. the panel who opens the dialog). This will make the panel available in the dialog controller. */
    virtual void Open(IControlView* ownerPanel = nil) = 0;
    IDialogController.h
    /* Get the owner panel of this dialog. */
    virtual IControlView* GetOwner() const = 0;
    You could for example add any string data interface to your panel's boss for storage.

  • Is there any way to pass value  to a trigger

    while deleting a record by procedure .. with help of trigger i m inserting that deleted record in another table , but i need user_id wihch is passed to procedure

    Your deleting procedure can set a global variable in a package, and your trigger can access that variable. Here is a rough outline:
    CREATE OR REPLACE PACKAGE SESSION_GLOBALS_PKG AS
    TRANSACTION_USER_NAME VARCHAR2(30);
    END  SESSION_GLOBALS_PKG ;
    CREATE OR REPLACE PROCEDURE ROW_DELETE_PROCEDURE (IN_ROW_KEY IN MY_TABLE.KEY_COLUMN%TYPE, IN_TRANSACTION_USER IN VARCHAR2(30))
    AS
    BEGIN
      SESSION_GLOBALS_PKG.TRANSACTION_USER_NAME := IN_TRANSACTION_USER;
      DELETE FROM MY_TABLE WHERE KEY_COLUMN = IN_ROW_KEY;
    END ROW_DELETE_PROCEDURE ;
    CREATE OR REPLACE TRIGGER MY_TABLE_TRIGGER
    BEFORE DELETE ON MY_TABLE FOR EACH ROW
    WHO_DELETED_ME := SESSION_GLOBALS_PKG.TRANSACTION_USER_NAME;
    END MY_TABLE_TRIGGER;
    /

  • Pass values between panels in different UI files

    Hi All,
    Is there a way to pass values between panels belonging to User Interface files ? Or is it easier to have one .uir and different .c and .h files ?
    Thanks,
    Kanu

    I should say that it's not possible for you to trap events from the first popup,and this depends on the basic concept of "popup panel".
    When you install a popup panel, all user interaction with existing panels is excluded: all focus it aimed at the popup only, no other user interface event is generated. If you launch another popup from the first one, the second popup prevails over the first one and no event can be generated on the first panel until the second one is closed.
    Handling a chain of two popup panels while looping on GetUserEvent can lead to unpredictable situation not so easy to untangle.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Passing values between event structure cases

    Hello everybody,
    I have a question concerning the event structure  - how to pass values (let's say a string / the state of a boolean control / the value of a numeric control value / an array of numeric values) between event cases ?
    There seem to be 2 situations here  :
    - when you need to pass the value of the control that triggers an event;
    - when you need to pass the value of a control which is modified in an event case.
    I have read the documentation but i still do not understand very clearly how to do this. Maybe you can point me in the right direction (maybe some threads on the forum that i have missed).
    Thank you very much !!
    (KUDOS for everyone who is interested in this )

    AndreiN2014 wrote:
    - when you need to pass the value of the control that triggers an event;
    - when you need to pass the value of a control which is modified in an event case.
    The first question isn't worded very well.  What exactly are you looking to do?  Are you looking for an event that specifically relates to that control?  If so, just drop it inside of the event and wire it.  Are you looking to trigger multiple events from the same control?  Ie, you hit the control, event1 is triggered which then triggers event2 ... ?  If so, you might consider taking a look at a different architecture.  I can think of very few cases where I'd prefer do this over something like having the button trigger a state and using the state machine architecture. 
    Others have pointed out the Shift Register.  This is the typical way to pass values between one iteration of a loop to another.  We can assume you have some sort of loop outside of the event structure to make it run a second time.  Put a shift register on this loop and the value wired into it will pass each iteration.  But, if it's just a random control, you can also just leave that outside of the event structure and wire it in as well.  This will provide the new value to the next occurrence of the event structure.
    You really need to define your problem before trying to solve it.

  • Report: passing values to item page

    on Apex 3.2
    Hi,
    I need help.
    Does anyone knows a way to pass values from a report to a page item?
    This is what i want: when i run a report i want to fill a page item with the value from an item report.
    Thanks,

    Hi Austin,
    Thank you for your reply.
    I've writen a query that gives me the accounting movements.
    In this query the user can pass the rownum because there are about 1million records in the partitioned table.
    But the diference between credit and debit must considered all the movements that are not closed.
    I'm using analitics functions to do that, so for each line the value is already calculated.
    With one report region: If i group and break the report it takes about 13 seconds to display the information.
    If two report regions: One for the movements other for the "Debit: Credit: and Total:". It takes about 6 seconds to display the info.
    Its more fast, but i have to run the query twice. The idea is to run only once.
    The values that i want to pass from report to page items, Debit: Credit: and Total:.
    Is there a way?
    Thanks,

Maybe you are looking for