Portlet to Portlet Across Pages

Does anyone know the recommended way to do portlet to portlet interaction ACROSS
PAGES? i've seen the 'martini' portlet but this doesnt show how one portlet can
affect another portlet on a different page.
I've tried connecting webflows via proxy nodes (doesn't work right, causes portlet
B to be included in portlet A's page, which will cause errors)
I've started to do a "forward" customization to the portal like the "redirect"
example on dev2dev, but this doesn't work well either.
thansk

thanks, i appreciate the feedback. that's how i'm going to try it...
"William Young" wyoungATsapient.com wrote:
>
Heya Kurt,
We did almost the same thing you are trying to do (we had a quick search
input
box in our header instead of a portlet that appeared everywhere).
We implemented it using a tag such as this:
<portal:form event="bea.portal.framework.internal.refresh"
namespace="search"
pageName="SearchResultPage" name="frmBasicSearch" method="GET">
The SearchResultsPage rendered our SearchResultsPortlet. The search
results
portlet's webflow had the refresh event go directly the SearchIP (which
is a bit
weird...but it worked). We did this in Portal 4.0.
Will Young
"Kurt C" <[email protected]> wrote:
you could do this, but that doesn't require portlet to portlet communication
at
all. the point is that the search form should be painted on all screens
but display
it's results on only 1 page. The results "window" is very large, the
search form
is very small.
after some thought, i think the best way to do this is by doing an actual
page
change and passing the search criteria with the request. It's not ideal,
but i
think the only option for portlet to portlet across page boundaries
"Adnan Bukhari" <[email protected]> wrote:
I don't know much about your design but to keep things simple if you
design your
search portlet such that it also shows search result the you can use
the portlet
on both pages. Store search result in pipeline session.
Regards
Adnan
"Kurt C" <[email protected]> wrote:
The portlet can be made to post to itself. You can then have an
InputProcessor which can intercept the data and store it in the session.
Then when a user clicks on the second page, on refresh the second
portlet can retrieve the data from the session.but this doesn't accomplish the goal of sending the user from page1
to 2, they
are having to do it manually
Also, I think that instead of posting to the same page, the portletcan
be made to post to the second page after going through the input
processor. That way you can have the user fill in the form data,then
i've tried this with createPageChange url and with Proxy nodes (i.e.,
IP to IP
in another webflow , represented on another page)
and it doesn't work
i think maybe i can just do a regular "get" to the second page andlet
it do the
processing
Jalpesh Patadia <[email protected]> wrote:
Kurt C wrote:
Yes, i figured that. But what if portlet A (on page 1) is submittingform data
to portlet B (on page 2)? How does the form data get put into the
session?
I suppose
you can just do a pageChangeUrl tag and pass in the parameters,
but
then you really
couldnt' use any webflow , correct??The portlet can be made to post to itself. You can then have an
InputProcessor which can intercept the data and store it in the session.
Then when a user clicks on the second page, on refresh the second
portlet can retrieve the data from the session.
Also, I think that instead of posting to the same page, the portletcan
be made to post to the second page after going through the input
processor. That way you can have the user fill in the form data,then
hit submit which will then activate the second page. Once the portlet
in
the second page is being rendered, it can retrieve the informationfrom
the session and display appropriate information.
Thanks,
Jalpesh.
Jalpesh Patadia <[email protected]> wrote:
One way which I can think of is to put the data you want to share
into
the pipeline session. Then when the portlet on another page is
accessed,
it would fetch that data and then change it's display accordingly.
Thanks,
Jalpesh.
Kurt C wrote:
Does anyone know the recommended way to do portlet to portlet
interaction
ACROSS
PAGES? i've seen the 'martini' portlet but this doesnt show how
one
portlet can
affect another portlet on a different page.
I've tried connecting webflows via proxy nodes (doesn't work right,causes portlet
B to be included in portlet A's page, which will cause errors)
I've started to do a "forward" customization to the portal like
the
"redirect"
example on dev2dev, but this doesn't work well either.
thansk

Similar Messages

  • Coordination Between Portlets Across Pages - Webcenter 11g

    I am trying to create JSR 286 portlets with Webcenter and configure IPC with it. I am trying to connect portlet A with portlet B, with portlet A on page one and portlet B on page two.
    After some research I know other containers like Webspere and Liferay can be configured to perform IPC across different pages. http://developers.sun.com/portalserver/reference/techart/jsr286/jsr286_3.html
    Does anybody know if this is possible with Webcenter 11g? I was able to get IPC working with Portlet A and Portlet B on the same page.

    Hoque,
    My tutorial will show how IPC works for portlets on the same page but not over different pages.
    There are a few remarks before building such a page flow... Portlets are designed to be independent from the portlet. They shouldn't be tightly coupled with the portal. When you want to communicate over pages, you create tightly coupled portlets which is completly against the basic principles of portlets...
    If you want to build a flow like this, you definitly can do this. The easiest way is when both portlets are from the same producer. All portlets from the same producer share the same session which means that you can use this to put values on the producer session.
    In order to respect the portlet interopability ideas, you should expose an event instead of navigation to a different page from within the portlet. The event will be triggered by the portal and the portal will navigate to the next page.
    By doing this, you don't really have a tight coupling because you just expose an event and the portal decides to navigate to another page upon that event.

  • Setting portlet properties on different pages

    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

    Curt,
    Sure you can.
    Just define separate user property sets and store the information based on
    the page the user is on.
    You can easily determine the page id using portal API (for example look at
    the jsp which renders the page tabs in the framework directory).
    Regards,
    Michael Goldverg
    "Curt" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

  • How do I pass parameter to different portlet regions from another page?

    How do I pass parameter to different portlet regions from
    another page?
    I have a page that with two regions. Each region has a report
    that uses the same information to generate its report.
    Individually running the reports, I can use p_arg_names and
    p_arg_values to get what I want. However, when I run the page
    that has both portlets, my .show is gone and I cannot get it to
    use the p_arg_names, etc. Do you have any idea how to overcome
    this? Thanks for any help.

    How do I pass parameter to different portlet regions from
    another page?
    I have a page that with two regions. Each region has a report
    that uses the same information to generate its report.
    Individually running the reports, I can use p_arg_names and
    p_arg_values to get what I want. However, when I run the page
    that has both portlets, my .show is gone and I cannot get it to
    use the p_arg_names, etc. Do you have any idea how to overcome
    this? Thanks for any help.

  • How to control portlet order in a page ?

    I have a portal page with three column flow layout. Each column contains unique portlet. I want to execute middle column portlet first, left and then right.
    i am setting some session value in middle portlet, i want to use that value in left & right portlets..
    thanks in advance

    In general, it is a better to not depend on the order of rendering of
    portlets in a given page. For example, a portal admin a create a new
    desktop and add those portlets in a different order.
    An alternative is to set those attributes in a pageflow action (not the
    begin action). Would this work for your use case?
    Subbu
    xmlking kumar wrote:
    I have a portal page with three column flow layout. Each column contains unique portlet. I want to execute middle column portlet first, left and then right.
    i am setting some session value in middle portlet, i want to use that value in left & right portlets..
    thanks in advance

  • Passing parameters between form portlets on two different pages ...

    Here is a brief summary of our problem.
    We have one master form and a detail form which are published as portlets and placed in two different pages.
    Now i want to pass parameters from master form portlet resides on one page to detail form portlet resides on another page.
    Say for example, when i invoke master form (created based on demo DEPT table), enter values on fields then invoke another page
    on which the second form portlet (say form based on EMP demo table) resides. Now i want to pass deptno to second form and
    get displayed in deptno field of second form.
    I was looking at the following posting, but how to do this when forms are published as portlets and placed on two different pages ?
    http://forums.oracle.com/forums/message.jsp?id=997683
    Customer actually want to pass a parameter from master form to 5 detail form portlets resides on different pages.
    This is bit urgent as it is the only problem stopping the customer go live.
    Thanks in advance.

    Please refer to post Re: session state security
    It tells you how to populate a form portlet in a page by clicking on a link in a report portlet.
    You can use the wwsto_api_session objects to store data submitted by the master and let the detail form pick it up and proceed with the query.

  • Passing multiple parameters between two report portlets on the same page

    Hi,
    I want to pass multiple parameters between two report portlets on the same page.
    I have been succussful passing a single parameter between two portlets. The
    following are the steps :
    (1) Created first report based on the query
    SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
    (2) Created 2nd report
    select * from EMP where DEPTNO = :dept_code
    (3) Added pl/sql code before display page on the 2nd report
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values,
    p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
    et_value('dept_code'),10)));
    (4) Created a page and added these reports as portlets.
    Sofar it works fine for one parameter (deptno) . Now I want to add one more
    parameter say empno to my first report query and would like to pass both the
    parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
    Thanks
    Asim

    Hi,
    You will have to do the same thing
    The select will be like this
    SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
    FROM EMP
    In the additional plsql code do the same for empno like this
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
    Thanks,
    Sharmila

  • Links between portlets on the same page

    Hi,
    I want to search for an employee in a poplist. When I choose one from the poplist I want a report to start that will show all the projects he is working in.
    The above happens but when I put my form as a portlet on a page I want the report to start in another portlet on the same page. Now it opens in a new window and that's not good.
    This is how the link works.
    On the link in the form I have a call 'javascript:runrep()'
    On the form, in the 'Form text' section, in the 'Footer Text' I added the
    code for the runrep function (given below).
    <script>
    function runrep()
    var formObj = document.forms[0];
    var pers_id;
    for (var i=0; i < formObj.length ; i++){
    if (formObj.elements.name == "PERSONAL_SOK.DEFAULT.ID.01"){
    //PERSONAL_SOK is the form name
    pers_id = formObj.elements[i].value;
    break;
    var url="http://linux.ekn.se:7778/pls/portal/ppe_utv.ppe_visa_projektforslag.show?
    //PPE_UTV is the schema_name and PPE_VISA_PROJEKTFORSLAG is the report
    p_arg_names=pers_id&p_arg_values=" + pers_id;
    window.location=url
    </script>
    I guess the url has to have another adress to open on the same page, but what?
    /Jennie

    The post below shows you how to link two reports on the same page. You can probably modify it's solution to achieve what you're trying to do.
    Providing Oracle's default color pallete
    Regards
    Hsiu

  • Forcing a mandatory portlet on all My Pages

    Hi,
    We're on version 6.1 and have created a custom portlet that we would like to force as mandatory on our users' My Pages. I tried in staging, and by changing the security of the portlet (adding our all users group and setting it to mandatory) was able to do this. However it puts it just on the Home Page and not on any of the other My Pages that the user has created. Is there a way to get it on every one of our users' My Pages?
    Thanks,
    Lisa

    Mandatory portlets appear only on user's default My Page.
    You can add portlets to other My Pages by editing Default User Profile layout (or layout of User Profile that is attached to the authentication source that is used for your portal users). However, that will affect only My Pages of newly created users - My Pages of exisiting users will not change. Of ourse you can always run a script against portal DB to add portlets to My Pages :-)
    -Igor

  • Portlet-to-Portlet communication BEA Weblogic Portal 7.0 SP2 Windows environment

    I am new to BEA Weblogic Portal. I have a page with 3 portlets. Portlet 1 searches
    and displays data in portlet 2. When you click on a specific link in portlet
    2 it displays detailed data in portlet 3. This all works fine. My Problem is
    when I execute another search in portlet1 the results show up fine in portlet
    2, however portlet 3 still has the details from the previous search. How can
    I resolve this issue? Any advice on how to deal with caching in general?

    I am new to BEA Weblogic Portal. I have a page with 3 portlets. Portlet 1 searches
    and displays data in portlet 2. When you click on a specific link in portlet
    2 it displays detailed data in portlet 3. This all works fine. My Problem is
    when I execute another search in portlet1 the results show up fine in portlet
    2, however portlet 3 still has the details from the previous search. How can
    I resolve this issue? Any advice on how to deal with caching in general?

  • Cannot find discoverer portlet in portlet repository (9iAS rel2)

    I would like to use discoverer portlet in my portal page. I have already install 9iAS 9.0.2.0.1 + 9iAS discoverer patch (9.0.2.5.3) and also patch 9iDS Discoverer to the same version (all products on Windows 2000). Then register the discoverer provider, it was successfully. But when I tried to add discoverer portlet from my portal page, I cannot find discoverer portlet provider in the repository. This happen without any errors. Any suggestion ?

    Try to refresh your Discoverer Portlet Provider. It should do the trick.
    Peter

  • WorkFlow Portlet & JDeveloper Portlet

    How do I include a Workflow Portlet or JDeveloper Portlet into a Portal page? I need HELP!!!!
    Thanks...

    Camilo,
    The people on this forum may not be able to help with your question. You may get more information from the general 9iAS Portal forum. This forum is related specifically to the Portal Development Kit.

  • Help needed in row selection in Tabular form across pages

    Hi,
    I have a tabular form report similar to http://htmldb.oracle.com/pls/otn/f?p=31517:95. I want to select some rows from first page and then use the pagination to get to the next page, select some more rows and hit the submit button for processing. The rows selected in the last page alone are picked up for processing, and the ones selected in the earlier pages are lost. I see the same behaviour in Denes' example as well. I picked a row in the first page and a row in the next page, and then click "Pick Records", i see only the record i picked on the second page.
    I did play around with "partial page refresh" setting for the tabular form region, but that does not help.
    Is there a way to select across pages in a tabular form?
    thanks,
    Rams
    Edited by: rams1234 on Jan 22, 2009 10:19 AM

    Okay. I could make this work, but this seems to be a roundabout way for me. In my case I dont have any database related query to get the values, hence the Application level process may not be needed.
    When I select the checkbox, i get the value. I am hoping that I should be able to send the value to a javascript function and update the filed value in the function itself. Please see the function below..
    function setFileID(pThis) {
    var chkvals=pThis.value;
    var fldValue = new $x('f_FILELIST').value ;
    if (fldValue != 0)
    { $x('f_FILELIST').value= fldValue+'-'+chkvals;}
    else
    { $x('f_FILELIST').value = chkvals ;}
    This function works fine in making up the list. The issue is, when an already selected row is unselected, the value of the checkbox gets added one more time :) If I detect the checkbox status and subtract the corresponding value, this will be perfect..
    Thanks for the link anyway. I am marking this question answered.
    regards,
    Rams.
    Edited by: rams1234 on Jan 22, 2009 1:18 PM

  • How to keep together Title + table's line across pages

    Hi all, I have a question.
    I'm trying to create a .rtf template where I have a table with 4 lines and a title <PROJ_NAME>
    I need to repeat this table (with all the necessary information - 4 lines) as many times as the projects' names are stored on the DB.
    For example: if the employee has 4 projects, on the report I will see 4 times these table and the relative project name as title.
    So, the repeating group mechanism works perfectly, but I am not able to control how the table's lines are splitted across pages....
    In other words if I have two pages in my .rtf template and I am at the end of the first page:
    1) I don't want to see the title on the bottom of the first page and the relative table above on the second page (title and table splitted on two differents pages)
    2) I don't want to see the title and a portion of the table on the bottom of the first page and the rest of the table (1,2 or 3 lines) above on the second page (table splitted on two differents pages)
    At the end I'd like to see always title and table together even if the page finishes. If the title + table exced the table's vertical border, it has not be splitted, but rewrite entirely (title + table) on the next page.
    The syntax is this:
    <?for-each-group:G_PROJ;./PROJ_NAME?><?PROJ_NAME?>
    TABLE WITH 4 LINES
    <?end for-each-group?>Page break
    I tried also, reading the forum, to use the paragraph properties (Keep lines together), but nothing.....
    Anyone can suggest me something ?
    Thanks in advance
    Alex

    After the for loop,
    take a table (suppose A) with one row and one column. In that table insert the Project name tag. Below that tag, insert an inner table(suppose B) in table A with 4 rows and columns you wish. Now select the outer table A(select the whole table), and in the table properties/Row , in the options , uncheck the 'Allow row to break across pages' property.
    end the for loop.

  • Issue tabbing across page breaks in dynamic form

    Hi all,
    I have a strange problem that I'm having trouble getting to the bottom of, relating to my dynamic form.
    This form grows and shrinks depending on how the user fills it out.  I have a questionnaire section where certain questions are hidden or shown depending on previous input.
    Things get interesting when I look at the tab order.  Sometimes when tabbing forward or backward across page breaks, the focus lands on a spot that I cannot identify.  There will be no cursor and I can not type.  However if I continue to tab in the same direction, I can see that it is still going in the correct sequence.  It just looks like for some reason, in those places, focus is put in the wrong component.  But if I type different input into the prior fields (ones that affect the length of the pages) that causes the field to move to different place where it's not adjacent to a page break, and then tabbing to the field in either direction works fine.  It seems that only when it's beside a page break, it becomes problematic.
    Also, it only seems to be a problem if the field gets moved to be adjacent to a page break AFTER the form is initially rendered.  If the field was originally beside a page break by default, then it seems to work fine.
    Just to rule out a possible problem with the tab order configuration, I set my from to Automatic tabs, and even went as far as removing all the <traversal> elements from the form.
    After doing either of those things, the problem still persists.
    Has anyone seen this before?

    Hi Eric,
    I have seen funny behaviour when tabbing within Preview in LC Designer. It may be picking up a read-only item in the Master Page.
    Good luck,
    Niall

Maybe you are looking for

  • Error -9834 when trying to login to account

    Since more than a year ago, I have not been able to login to my account (and to purchase music, or listen to "protected AAC(-)" ) through my "old" G4 Cube (now running OS 10.4.11). Actually, a few months ago I de-authorized all the computers and went

  • Problem connecting to lotus domino

    Hi, I have set up a Lotus Domino server that gives access to the standard teamroom database over the net. This works fine for users that have the Microsoft java version installed. When they access the database via the net, they get prompted once for

  • ColdFusion Builder 3 Settings Reset on Restart

    I've downloaded the ColdFusion Builder 3 trial and am experiencing some odd and very annoying behavior. I've customized some code editor text font and color settings. I've added an entry to the CF Servers panel for an instance of ColdFusion 10 runnin

  • I synced my mum's iPhone 3G for the first time tonight and all her contacts have been erased.

    I have a MacBook and I synced her iPhone 3G to transfer the contacts to the Mac, but after the phone was finished syncing I went to Address Book and I could only find the contacts from my iPhone 4. I can't find mum's contacts anywhere on my Mac, and

  • Dynamic alignment of report column and page item value

    Hi friends, I have an interactive report which contains the columns like <li>empno <li>Name In the above i have "empno" with a column alignment of left and a "Name" with a column alignment of left. Whether it is possible to override the data alignmen