Multiple Portlets problem for sessionBean

Hi all,
I created a Master-Detail two page database portlet using sun creator 2 update 1. The portlet was running fine both in test server and my actual portal server. But when i placed it on the same page as another portlet created by me. The portlet does'nt work("doesnt goes to second page"). I believe that is because both portlets share the same session bean.But what should i do to solve this problem. Can i create a new session bean other than the default SessionBean1? PLease help
regards
Kimi

panky_p wrote:
Ok,
but submitting form on selection will refresh my page which will affect rest of the data on page!Use AJAX or redesign your app better.
and another thing is that without submitting form how it takes value of last element (for Audi)?JSF runs on the server side. You can only reach it by sending a request (can be GET or, in this case, POST).
is there another way? so that complete page will not be refreshed and why it take value for last div element only?Drop that Javascript away, use a single textarea and determine the selected car in the backing bean.

Similar Messages

  • Portlet Problem for an individual user

    We are using the .NET implementation of Plumtree Corporate Portal 5.0.4. We have portlets running on a web farm that are built using .NET. The problem is we have two portlets that consistently work for the majority of our users, but there is one user in our NY office (we are located in Columbus, GA) that is now having a problem rendering the contents of the portlet. The error that comes back implies that the portal server is not able to make a request for the application. We are reasonably sure that the application functions. The user is able to click a gatewayed link of the application and it renders properly for him, but it simply will not show up in his portal window. Here is the error that we found in the source of the HTML from the user's machine:
    Error in CHttpGadgetProvider::raw_GetHTMLText, The Portal Server could not retrieve the content for this gadget because of a connection error with the host. If this problem persists, please alert a system administrator.-->
    This application worked for the user until about a week ago. The application has been running for several months. There are other applications that run on this same web farm that work fine for the user as a portlet. Again, a gatewayed link to this same application works fine for the user, just not in the portal as a portlet. This phenomenon has us stumped. We have checked portal settings even tried to point the remote server to one machine for this portlet. Nothing seems to work in the case of this particular user and these two portlets. Any insight you can give on this matter will be greatly appreciated.

    I am no expert from a code perspective but have seen some very odd behavior on portlets that are related to the browser version/components that the user has. I always test things out in Firefox if they are failing on IE. Also, check to see if the user has any non-native toolbars (have them send you a screen shot). Turn off all of these (Yahoo, Google, etc...) and see if things work.
    Best of luck.

  • Multiple div problem for bean

    Hi I am trying on selectOneMenu to show div elements as per selection particular div will be shown code for that is
    <h:selectOneMenu id="cars" onchange="selection();"  value="#{myBean.carType}" >
    <f:selectItem itemValue="Select Type..." />
    <f:selectItem itemValue="Ford" />
    <f:selectItem itemValue="Ferrari" />
    <f:selectItem itemValue="Audi" />
    </h:selectOneMenu>
    <div id="fordDetail" style="display:none">
         <h:inputTextarea value="#{myBean.carData}"/>     
    </div>
    <div id="ferariDetail" style="display:none">
         <h:inputTextarea value="#{myBean.carData}"/>     
    </div>
    <div id="audiDetail" style="display:none">
         <h:inputTextarea value="#{myBean.carData}"/>     
    </div> And script for div is <script type="text/javascript">
         function selection(){
              Item = document.getElementById('myForm:cars').value;
              if(Item=="Ford")
                   document.getElementById('fordDetail').style.display = "block";
                   document.getElementById('ferariDetail').style.display = "none";     
                   document.getElementById('audiDetail').style.display = "none";
              else if(Item=="Ferari")
                   document.getElementById('fordDetail').style.display = "none";
                   document.getElementById('ferariDetail').style.display = "block";     
                   document.getElementById('audiDetail').style.display = "none";
              else if(Item=="Audi")
                   document.getElementById('fordDetail').style.display = "none";
                   document.getElementById('ferariDetail').style.display = "none";     
                   document.getElementById('audiDetail').style.display = "block";
    </script> the problem is when i select "Ford" or "Ferrari" in myBean there is null value for carData and when i select Audi it takes proper data in Bean
    Why is it so?
    is there any solution for that?

    panky_p wrote:
    Ok,
    but submitting form on selection will refresh my page which will affect rest of the data on page!Use AJAX or redesign your app better.
    and another thing is that without submitting form how it takes value of last element (for Audi)?JSF runs on the server side. You can only reach it by sending a request (can be GET or, in this case, POST).
    is there another way? so that complete page will not be refreshed and why it take value for last div element only?Drop that Javascript away, use a single textarea and determine the selected car in the backing bean.

  • Single customisation page for multiple portlets - possible ?

    Is it possible to create a single page to customise multiple portlets ?
    Example : select star sign for Horoscope, city for weather, etc on the same page.
    The preference store APIs allow us to set values, but always assuming that we are in a portlets 'edit' mode - we cannot provide the portlet instance ID ourselves.
    Any ideas ?
    Thanks

    You could save your customization information into a custom DB table, rather than using the preference store (which can only be accessed by a particular portlet instance).

  • PROBLEM  TRANSFERRING   MULTIPLE   DATA  ENTRIES    FOR  ONE KEY-FIELD.

    DEAR   EXPERTS ,
       I  HAVE  TRANSFERRED  DATA  FROM  THE  FINAL  INTERNAL  TABLE  OF  MY  ABAP REPORT (NOT ALV)  TO  CUSTOM  Z-TABLE  CREATED  IN  SE11.
    BUT  MY  PROBLEM  IS  :  I   COULD  NOT   TRANSFER  MULTIPLE   DATA  ENTRIES   FOR  A  PARTICULAR  FIELD.
    FOR  EXAMPLE :  IN  TABLE  EKKO  THERE  ARE   FOUR  EBELN-4900006375  AND  FOR  THAT  DIFFERENT  EBELP S  ARE
    PRESENT.  I  COULD  TRANSFER  ONLY  THE  FIRST  ENTRY ,  THAT  IS :  EBELN -  4900006375  AND   EBELP - 0010,
    AFTER  THAT  THE  ZTABLE  IS  NOT  GETTING  UPDATED  TO  EBELN-4900006375 FOR  EBELP - 0020  AND  SO ON.
    I  HAVE  TRIED  ALL  THE  '  MODIFY, INSERT,  UPDATE  '  STATEMENTS.  I  HAVE  USED  AT - USERCOMMAND - HIDE  AND  CHECKBOXES.
       PLEASE   SUGGEST   A   SAMPLE   CODE   FOR   THIS.
    Moderator message: please post again, but not in all upper case.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    Edited by: Thomas Zloch on Jun 19, 2011 10:05 PM

    There are actually 5 queries in this report now. From what I understand about a union query, I don't think it will work here because the data being returned in each of the queries is so different. I basically need to know how to make all the criteria for each individual to be displayed before proceeding to the next data set, which will include the same data as the first, but for the next employee, and so on. I need to basically create a repeating frame with each individual's respective data I guess, but every time I do, it tells me that it's referencing an invalid group.

  • Sharing a single session among multiple portlets for single application (e.g. wInsight)

    Does anyone know the best practices way for sharing a single Session for an application (running on a single Porlet server) among multiple portlets on a page?
    For example, the application wInsight uses 3 frames (navigation, search results - tabular, search results - chart) which need to communicate via the application's session scope. It is not just that we do not want for a single user to be running multiple sessions, but they really do share variable parameters this way.
    So far I can only think of trying to build a one true portlet and two empty containers on page load. I would use the portlet to establish the session with the Portlet server and then transfer the session information to the other two empty containers to instantiate their respective portlets. I haven't tried this yet, but will do so soon...
    Any help and feedback would be greatly appreciated.

    Karen,
    You can easiliy create several portlets out of a Struts application. For detailed instructions, refer to the Struts section of the Portal Developer's Guide.
    Good luck,
    Peter

  • E2000 NAT Problems for Multiple Xbox Consoles

    Hey there.
    My brothers and I recently all split the cost of a new E2000 Linksys router. I just got it home and set it up and it solved most of the issues we had been having with our Xbox's (kicking us offline, not allowing sign ins, etc.) which was wonderful. But now, we all hopped on to play a game and saw that one of us had an Open NAT, and the other two had Strict NAT's. I checked around a few posts here and followed a few instructions, and successfully got the 2 Strict NAT's to turn into Moderate NAT's. The only issue is thats still not enough. With a Moderate NAT, it isn't allowing me to join voice parties with my friends, simply stating it can't connect. It is driving me insane. Does anyone have any form of helpful hint for us? Remember, its for THREE Xbox's, running at the same time most of the time. I called Linksys and (after checking through his references) they told me it was a physical impossibility for 3 Xbox's to play on one router, but wouldn't explain to me how it had been working without a hitch, prior to recent problems, for 2 years So if anyone has an idea as to how I can get this working for the three of us, you'd have my undying gratitude. Thanks in advance!

    I think you might have forwarded the ports on the router for the IP address of the Xbox. Instead of port forwarding use port Triggering. Change the MTU size to 1365. Disable the UPnP. Go to Security tab and uncheck the box 'Filter anonymous internet request'.

  • Problem of Creating Multiple Communication channels for multiple files

    Hi Everybody
    I have a very basic doubt but this struck me...
    For a file-XI-file scenario,if multiple files are coming from same FTP server but with different names then we have to create multiple communication channels for all the files of different names..but is this a intelligent approach?Can we do something so that only one communication channel can receive multiple files of different names?plz explain in detail if possible ASAP.
    I have another doubt as in File-XI-File scenario how the XI understands that a particular file is from this FTP server  needs to be send to another particular FTP Server?is it only the name of the file which we give in sender comm channel & receiver comm chaneel which determines this????that means this name should always be same?plz explain in detail if anybody knows?

    Thanks Aamir.I understood the solution.
    Correct me if I am wrong.......
    1)If there are multiple files with different names & different extensions in the sender FTP then we use-->
    2)if there are multiple files with different names & different extensions in sender FTP & I want only say files of 2 extension types(say .xml & .txt)then we use-->
    *.xml
    in one comm channel &
    *.txt
    in another comm channel rite??
    Also I wanted to ask that only two kinda files we can pick up through sender comm channel rite?
    .xml  and .txt(File content Conversion).Can we pick files of other extensions also?(say .doc,.xls)If we use as u said
    then files of all other extensions will also be picked up rite?bt hw will xi convert them into xml?plz explain......
    One of my other q is not answered yet.........all these same doubts are there for receiver communication channel.......but you all have not said nething abt the receiver comm channel........plz explain the answers to all these queries for receiver comm channel for a receiver FTP........ASAP......thanks once again.......

  • How to create the multiple spool requests for a single report.

    Hi gurus,
                     I have one requirement to be completed , i need to send the out put of the report via mail in pdf format. for that what i did was, iam executing report in background and creating spool request and converting it to pdf and sending the file.
    now the problem is, its a customer ledger report, for each customer i need to create a new spool request and send mail to that particular customer, now my dought is how to create multiple spool requests for a single pro and how i need to go about it.
    And one more question is can we create a spool request for a report which is running in online.
    waiting for inputs frm gurus.

    Hello,
    As per my knowledge for creating new spool id you will have to set
    output_options-tdnewid = 'X'.
    and then using
    job_output_info-spoolids
    create a pdf using
    call function 'CONVERT_OTFSPOOLJOB_2_PDF'
    Rachana.

  • HT204053 how can i create multiple icloud accounts for my family members

    how can i create multiple icloud accounts for my family members

    Thanks...  I appreciate the reply.  Since I wrote the previous email, I actually went and changed my apple id (the main id) and the documentation I looked at said iCloud will set mail up automatically(?)...  I had it working before. 
    Also, I tried to manually set up the ID via the Mail Accounts screen(s) and I can't figure out what my server information is...  Pop or Imap?  What's the outgoing server and the incoming server?
    I typically have never had problems setting up mail accounts (in apple mail) with no problem.
    Can anyone point me in the right direction?
    Thanks in advance!

  • Suddenly, I've been put on multiple threads over multiple firefox problems, which is filling up my inbox. How do I get out of these?

    Details? I posted a question about one problem (for which no answers have been offered, but that's okay) and somehow, I've become part of multiple threads about various firefox problems. I have no interest in any of these questions/problems.
    How do I get out of these threads? I get about 15-20 emails a day! Firefox is by far the worst community I've even been dragged into....

    Sorry you are having problems.
    Have a look at your settings in the dropdown from the username or https://support.mozilla.org/en-US/users/settings
    Not too sure what you could subscribe to accidentally that causes that behaviour though.
    It would be interesting to know what option caused all the email. If something has gone wrong and you are getting e-mails that you should not be getting we can refer this to the admins to look into. The Firefox sumo community certainly does not intentionally spam, and if you are having a problem lets find out more, because others may have a problem and not have reported it.

  • Error message: Multiple definitions exist for interface

    Hi experts,
    I am developing a scenario that involves a BPM, that receives a certain abstract interface, and sends out another abstract interface.
    I have created a service interface for the result abstract interface.
    I have tested the before BPM and it worked, but now it has stopped working.
    In the java ui no errors are seen, and the BPM activates successfully, but in transaction SXI_CACHE the BPM is in status 99, and in the activation log there is a message saying: Multiple definitions exist for interface [Name of the result abstract interface].
    I have tried activating the service interface, the BPM, and doing a delta cache refresh, but it didn't change.
    What can I do to solve this problem?
    Thanks in advance,
    Gershon Osmolovski

    Hi Gershon,
    Try following thing, might help.
    Go to ID and check which communication component you have created. Check if there is any other inactive version of it. If it is existing.Delete it.
    Edit and activate the original Communication component and do cache refresh.

  • Import multiple info records for 1 material item in repository

    Hi Guys,
    I have got sort of a puzzle I can not solve at the moment, maybe some one can help me to solve it. The situation in our system landscape is as follows:
    Systems:
    SRM 5.0 (Classic implementation scenario)
    ECC 6.0
    SRM-MDM 2.0
    PI 2005
    Material master is maintained in R/3 and the materials are replicated to SRM. From SRM we replicate all materials to the catalog repository in SRM-MDM.
    As the material master in R/3 is vendor independent, the materials replicated to SRM also have no vendor attached. For the first initial material replication from SRM to the catalog SRM-MDM this also means that the products in the main table of the repository, u2018catalog positionsu2019, will not have a vendor or vendor number attached (i.e. no reference to a source of supply).
    To assign a source of supply in the repository to a product (record) we will use info records which are replicated from R/3 to SRM-MDM. The mapping for this in the Import Manager can only be based on the product number. As this is the only unique value available which can map a info record to a already existing (but vendor less) ptoduct item in the catalog.
    As long as every item in the repository has only one unique info record, meaning one source of supply with a specific price, there is no issue in the above scenario. Based on the product-id, the info record data will be matched with the material item in the catalog.
    The issue for me arises when multiple info records exists for the same material. The info records can heave different vendors and different prices. All possible vendors should be available in the catalog for the same material (at least this is the requirement ).
    At this point the product-id will no longer be an unique value. Importing the info records will cause problems, as only one material record is available in the repository for the specific product-id (remember that when doing a initial replication of the material master to the catalog, no vendor data is replicated).
    Does anyone had this issue before, and knows a solution? Is it for example possible during the import of the info records in the Import manager, to duplicate material records in the destination data, based on the number of info records available in the source data for the same product-id. Or is there an other solution that I am missing?
    Your help would be appreciated!
    Regards,
    Skander

    Hi Shai & Ravi,
    Thanks for your answers. The MDM version which we are using is 5.5 - currently on SP6
    @ Shai: you are right; the standard SRM-MDM 2.0 catalog repository has a qualified lookup table u2018priceu2019, in which itu2019s possible to store the info record data. The standard fields in this sub-table are: Purchase Org, Amount, Currency Lower B, PIR-ID, price based quantity and Price based quantity UoM.
    I added some extra fields (non qualified), to accompany the remaining info record data (product no. u2013 vendor id  u2013 product category)  which is exported/imported, via the standard extraction program in R/3: Tcode MECCM
    I tried the solution Ravi proposed. This scenario works fine when, for example you want to maintain multiple info records for one specific material record in the main table (all info records related to the same source of supply, i.e. vendor). But as I described, the info records we import for one product can have different vendors. 
    The source of supply (vendor) in the shopping cart of SRM is determined via the u2018supplieru2019 field in the main repository table (which is in itself a flat lookup table ). What happens now is that all related info records are added to the u2018price informationu2019 field of the specific product record in the main table. Thus info records which have different suppliers are attached to a record in the main table which will have one specific supplier in the u2018supplieru2019 field. So from my point of view this will not work.
    I am still stuck with the situation that the material master import will only import one record for every distinct product, which can have multiple info records. The info records can/will have different vendors. As the supplier field in the main table determines the source of supply in the shopping cartu2026. Iu2019am seeking for a solution which will duplicate the material records in the main table, based on the amount of imported info records for that specific material record, that have distinct vendors.
    Shai, if you have some useful info on how you accomplished this requirement on a previous version of SRM-MDM, it would be greatly appreciated if you can share it..
    Thx.
    Skander

  • How to have one provider with multiple portlets in JDev 11g

    Hi,
    I am trying to create Oracle PDK Portlets using JDeveloper 11g but for each portlet JDeveloper is creating a provider. As In JDeveloper 10.1.3.4 we can have one provider with multiple portlets in it. But JDev 11g creates provider for each portlet. How can we have one provider with multiple portlets in JDev 11g. Is it something changed in 11g version or am I doing it wrong. As the Help says we can have multiple portlets in one provider but when creating portlets it does not do that. Any help is appreciated.
    Thanks

    Hi,
    I am trying to create Oracle PDK Portlets using JDeveloper 11g but for each portlet JDeveloper is creating a provider. As In JDeveloper 10.1.3.4 we can have one provider with multiple portlets in it. But JDev 11g creates provider for each portlet. How can we have one provider with multiple portlets in JDev 11g. Is it something changed in 11g version or am I doing it wrong. As the Help says we can have multiple portlets in one provider but when creating portlets it does not do that. Any help is appreciated.
    Thanks

  • PLSQL portlet - problem calling stored procedure -

    Good day folks. My portal version 10.1.2. I have a dynamic page with multiple rows. For simplicity, example here has two columns => id and value. The initial dilemma - The stored procedure specified in the action attribute of the <form> tag has to have parameters that match in name and count to the fields on the html form. But, the number of rows is variable on the form. I currently use pl/sql to generate the page. I have two forms in the html - form A has two static fields id and value, with an action attribute of the stored procedure I want to run. The second html form is form B. It has id_1, value_1, id_2, value_2, id_3, value_3 and so on with a variable number of rows. SO, when the user clicks the "Submit" button at the bnottom of the page, I call a javascript passing in the number of rows. I then loop through the Form B, and for each row of data, I do a submit of Form A. My goal is to run the stored procedure in the database for each row of data in Form B. I use Form A to accomodate the requirement that the stored procedure has to match in name and number the parameters inthe form.
    This is to avoid an update button on each row of data, also.
    The problem - in my javascript, I set the values of Form A to the values from Form B correctly. However, only the last rowis successful in running the procedure. For example, if I have 3 rows in Form B, I want to submit form A 3 times, but, it only seems to submit once for row #3. The weird thing is if I put an alert message after the document.formA.submit(); command, the stored procedure is successfully called for each row in form B, but when I remove the alert, only the last row successfully calls the procedure!
    Thanks in advance if anybody has any ideas -
    Kent

    Let's continue the example of 3 rows.
    It sounds like that you submit the form 3 times in quick succession, and so before the Action for Form A has had time to run and respond for the first row, the second row has been submitted, and therefore the web page will stop trying to display the results from the submit of Row 1 (by this I mean it'll stop the http request, if you do this quick enough then the back-end function won't run). Then the same thing happens to Row 2's submit when Row 3 starts.
    What it sounds like you need to do is to use only 2 parameters, but repeat them on the HTML page, when the submit is run it's passed to oracle as a type 'owa_util.vc_arr'. There is a more comprehensive solution to this problem in another thread:
    passing variable number of arguments in a stored procedure
    Please note though that you have to be careful of the situations where your form only has one row to submit to the oracle function, in this case the data type of the parameter will be a VARCHAR2 rather than a owa_util.vc_arr. The solution to this problem is to always have a an extra dummy parameter which is empty and you skip over it during your processing. (Thought I'd better include this information in case you ran into this problem).
    Hope this helps.
    Cheers,
    Ron.

Maybe you are looking for