Can a portlet dynamically create / programmatically create another portlet?

Hello. This is my first time posting a question, so please let me know if I'm posting to the wrong newsgroup.
I'm new to WebLogic Portal, and I downloaded and installed WebLogic Portal 10. I'm working on a portal proof of concept, and my business analyst is asking some tricky questions. One thing he would like to see is when a user clicks a link in one portlet, he would like that portlet to dynamically create/open another portlet on the same portal page. In addition, he wants it to dynamically create a new book so that every time a user clicks on a different link, it dynamically creates a new page in the new book and creates a new portlet on that page.
After reading through/searching many of the 27 PDFs that came with the download of WebLogic Portal 10, I have not seen anything that refers to dynamic creation of portal artifacts. Does anyone know if this is possible? To me, it doesn't seem like the portal was designed to dynamically create these artifacts. But maybe someone out there knows a way to do this. I'm wondering if I might have to resort to trying to hack my way through a request like that, which is probably not a good idea.
If anyone can comment on this, I would really appreciate it. Thank you.
--Steve
Edited by StevenDHitlin2 at 10/24/2007 6:44 AM

It's very likely portal backing files can be used.
They can respond to
various stages in the portal lifecycle and events to
manipulate the
portal structure or perform other business logic.
http://e-docs.bea.com/wlp/docs100/portals/intro_to_por
tal_dev.html#wp1028008Gregory,
Thank you for your reply and for your backing file idea. I read the section you pointed out regarding backing files. In the first paragraph, it states, 'the portlet backing context can be used to specify whether the portlet is visible or hidden'. I noticed that some portal artifacts (books, pages,etc) have a 'hidden' property that can be set to true or false. I didn't really think about it until now, but I suppose I could have my 'dynamic' pages set as hidden=true at first and only make them visible when someone clicks a link in another portlet. The only thing is that my portal would be limited to showing only as many pages as I set up as hidden. For example, if I place three pages in a book and I set them all hidden, then my user can only 'unhide' at most three pages. If he wants more, I have to add more hidden pages to the desktop. It's not the best solution, but I think it would work for now.
I just have to figure out how to use a backing file to make a portlet tell another portlet or a page to change its hidden property to false. I read a little bit about IPC, and I tried to fiddle around with it a little, but it's still unclear to me how to create a custom event. Does anyone have any advice for me on this topic? Any help would be greatly appreciated. Thank you.
Steve

Similar Messages

  • I can't seem to create another iTunes music library...  Please Help...

    I have tried what iTunes v9 tells me to do by holding the shift key while starting iTunes from the start menu...
    It doesn't work.
    Is anyone else having this problem?
    Has anyone found a fix yet?
    -Bill

    You need to press AND HOLD the shift key. Keep holding it down until the prompt comes up.
    If you still can't get it to work from the start menu, try it by clicking itunes.exe in
    C:\Program Files

  • Help needed when dynamically creating new stage sprites

    Morning folks,
    I'm feeling very rusty when asking this question! It feels
    like I should
    know the answer but simply unable to comprehend where I'm
    going wrong at the
    moment!!
    I'm in the process of creating a Director piece that involves
    the user
    having to drag "shapes" onto a pre-defined grid [drag and
    drop style] --
    there are currently three different types of shape that can
    be dragged of
    which many of the shapes can be of the same type. So I need
    to display the
    three shape types on one side of the screen and allow the
    user to drag and
    drop as many as they wish to the girded area.
    I've written the drag and drop routine but now having
    difficulty in
    producing the dynamic creation of a new draggable shape; so
    far I've managed
    to create a new "shape" sprite from my cast library and
    placed it in the
    correct location. Then I create and add a new instance of my
    "Drag and Drop"
    behaviour onto the newly created sprite, but this is where it
    goes wrong --
    although I can drag the dynamically created sprite, once
    dropped Director
    complains of not knowing what its local properties are, for
    example I'm
    unable to reference the locH and locV of the newly created
    sprite!
    I'm really at a loss on this one and would appreciate any
    kind of guidance!
    Many thanks in advance, Mark ;-)

    Hi Saravanan,
    >>>><b>First column - Welcome message , below Date , time and place</b>
       It is possible to add date, time and location in the welcome area. Jus add a table to the <td> of the welcome area container. Like this.
    <% Date d= new Date(); %>
    <TD nowrap class="prtlHdrWelcome" ti="0" tabIndex="0" id="welcome_message"><%=StringUtils.escapeToHTML(GetWelcomeMsg(componentRequest, welcomeClauseStr))%><table width="100"><tr><td nowrap><%=d%></td><td>INDIA</td></tr></table></TD>
    Hope it helps.
    Regards,
    Saravanan
    P.S: Hope you remember the thread
    <a href="http://">https://www.sdn.sap.com/irj/sdn/thread?threadID=152135&messageID=1703666</a>

  • This[id] doesn't see dynamically created objects????

    Hey all!
    If i have
    <mx:Canvas id="TopCanvas" initialize="Init()">
    <mx:Canvas id="VisibleCanvas" >
    </mx:Canvas>
    </mx:Canvas>
    <fx:Script>
    function Init(){
    var NewO = new Canvas();
    NewO.id="InvisibleCanvas";
    TopCanvas.addChild(NewO);
    if (this["VisibleCanvas"]){
    //We can see non-dynamically created canvas
    if (this["InvisibleCanvas"]){
    //ERROR we cannot see the new one!
    Help please! How to access dynamically created Canvases via their id? I know i can save linkage to them in array, but i need to do it through id.
    Cheers!

    If you set the id property on a dynamically created instance, you can check
    the id of an instance later if it happens to be a target of an event, for
    example.  But it will not be assigned to a variable in the document.
    By default, MXML generates a non-dynamic class so you can't add properties
    to it at runtime.  You can set the name property and search the immediate
    parent by calling getChildByName, but if the parent is not the document, you
    still can't search the document.

  • Get the ID of a dynamically created symbol from library, INSIDE another symbol.

    Hi everyone,
    I'm trying to get the id from a dynamic created symbol from library.
    When dynamically creating the symbol directly on the stage (or composition level), there's no problem.
    But I just can't get it to work when creating the symbol inside another symbol. 
    Below some examples using both "getChildSymbols()" and "aSymbolInstances" 
    // USING "getChildSymbols()" ///////////////////////////////////////////////////////////////////////// 
    // ON THE STAGE 
    var m_item = sym.createChildSymbol("m_item","Stage");
    var symbolChildren = sym.getChildSymbols(); 
    console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
    // INSIDE ANOTHER SYMBOL
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement()); 
    var symbolChildren = sym.getSymbol("holder").getChildSymbols(); // Am i using this wrong maybe?
    console.log(symbolChildren.length) // returns 0 so can't get no ID either
    // USING "aSymbolInstances"" ////////////////////////////////////////////////////////////////////////// 
    // ON THE STAGE
    var m_item = sym.createChildSymbol("m_item","Stage"); 
    console.log(sym.aSymbolInstances[0]); // ok (i guess) x.fn.x.init[1] 0: div#eid_1391854141436
    // INSIDE ANOTHER SYMBOL
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
    console.log(sym.getSymbol("holder").aSymbolInstances[0]); // Javascript error in event handler! Event Type = element 
    In this post http://forums.adobe.com/message/5691824 is written: "mySym.aSymbolInstances will give you an array with all "names" when you create symbols"
    Could it be this only works on the stage/ composition level only and not inside a symbol? 
    The following methods to achieve the same are indeed possible, but i simply DON'T want to use them in this case:
    1) Storing a reference of the created symbol in an array and call it later by index.
    2) Giving the items an ID manually on creation and use document.getElementById() afterwards.
    I can't believe this isn't possible. I am probably missing something here.
    Forgive me I am a newbie using Adobe Edge!
    I really hope someone can help me out here.
    Anyway, thnx in advance people!
    Kind Regards,
    Lester.

    Hi,
    Thanks for the quick response!
    True this is also a possibility. But this method is almost the same of "Giving the items an ID manually on creation and use document.getElementById() afterwards".
    In this way (correct me if i'm wrong) you have to give it an unique ID yourself. In a (very) big project this isn't the most practical way.
    Although I know it is possible.
    Now when Edge creates a symbol dynamically on the Stage (or composition level) or inside another symbol it always gives the symbol an ID like "eid_1391853893203".
    I want to reuse this (unique) ID given by Edge after creation.
    If created on the stage directly you can get this ID very easy. Like this;
    var m_item = sym.createChildSymbol("m_item","Stage");
    var symbolChildren = sym.getChildSymbols(); 
    console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
    I want to do exactly the same when created INSIDE another symbol.
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
    Now how can I accomplish this? How can I get the Id of a dynamically created symbol INSIDE another symbol instead of created directly on the stage?
    This is what i'm after.
    Thnx in advance!

  • 5.1 SP10 How do you programmatically make a datasource from a dynamically created Pool?

    How do you programmatically make a data source from a dynamically created Pool?
    I can make the Pool OK but can not find any classes the return a datasource
    given a JDBC Pool.
    Thanks in advance

    Hi John,
    weblogic 5.1 doesn't have API allowing dynamic creation
    of datasources. 6.1 does.
    Regards,
    Slava Imeshev
    How do you programmatically make a data source from a dynamically createdPool?
    >
    I can make the Pool OK but can not find any classes the return adatasource
    given a JDBC Pool.
    Thanks in advance

  • I am new to IPAD and I want o use facetime, how can I use it to communicate with my mac at home, do I need to create another account with a different email account

    I am new to IPAD and I want o use facetime, how can I use it to communicate with my mac at home, do I need to create another account with a different email account

    do I need to create another account with a different email account
    Yes, the email addresses need to be unique to each device. You may use the same Apple ID on each device, but the email address used by each device needs to be different.

  • Can I transfer money to other accounts on my iPad with iOS 5.1.1? I created another account and put an iTunes gift card on it, but then I realized that all of my apps are on another account, so how do I move that money over?

    Can I transfer money to other accounts on my iPad with iOS 5.1.1? I created another account and put an iTunes gift card on it, but then I realized that all of my apps ere on another account, so when I recovered the password of my previous account, I had money on an account that I do not want to use. Can I transfer the money over?

    Not on your own. Click here and ask the iTunes Store staff to put it back onto the card; they'll only do this if none of the balance has been spent.
    (115868)

  • We have too many apple devices, how can I creat another apple ID and divide the devices among 2 Apple Ids?

    Hello all,
    We started off with the original iPhone a few years ago and now between my wife and I (plus Kids) we have too many apple devices under the same apple-ID (2 X iPhone 6+, 2X macbook Pro, 2X iPod-touch and 1X iPad)
    We are constantly running into issues because everyone in the house is using the same apple id, downloading Apps using the same ID, sharing the same cloud and receiving each other's iMessages.
    I know that I can create another Apple-ID, what I am unclear on is once I do have a new apple ID, how do I assign that to half the devices (1X iPhone 6+, 1 X MBP and 1 Ipad)
    Please respond if you are able to help.
    Thank you

    I'm not sure what they told your at the Apple store, but each Apple ID can only create a single iCloud account.  If you want separate accounts for all these devices, they will have to be created using separate IDs.  Note: you can do this and still share the same ID for other services such as your iTunes store account.  The iCloud ID does not need to be the same as the ID used for other services.
    To create an account, go to Settings>iCloud and sign in with a different Apple ID.  If you want to migrate a copy of the current iCloud data to the different accounts, start by saving any photo stream photos that you want to keep to your camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If you are syncing notes with iCloud that you want to keep, you'll need to open each of your notes and email them to yourself so you can later copy and paste the text into new notes created in your new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud; the devices keeping the current account will not be effected by this), provide the password to turn off Find My iDevice and choose Keep on My iDevice when prompted.  Then sign back in with a different Apple ID to create your new account and choose Merge to upload your data.

  • I have 2 id apple. 1of them don´t recongize my adress in Brazil. I tried to create another account but the ipad refuse it. I´d like to exclude these 2 accounts and creat a new account with my same email. How can I do it?

    I have 2 accounts at ID apple. One of them the system don´t recongize my addres in Brazil, I tried to create another account but the ipad refuse it.
    I´d like to exclude my accounts and creat another account with my same email. How can I do It?

    I don't know if that works on the iPhone, but....
    View your SETTINGS and choose ICLOUD. That will give you your cloud settings. At the very bottom it has a delete button. Click it an see what happens. After deleting the account (and potentially loosing data connected with it) you should be able to log in to iCloud using your old id.

  • I have been using the same Apple ID for 2 iPhones. How can I create another Apple ID to distinguish them?

    I have been using the same Apple ID for 2 iPhones. How can I create another ID to distinguish them?

    www.icloud.com
    Or, go to the App store, sign out of your current account. Try to make a purchase and it will ask you to sign in, or create a new account.
    You can do it through iTunes as well.

  • How can i create another icloud account on a same phone

    I forgot my icloud password, now i can't acceess my account anymore..
    Can i create another icloud account on the same phone?
    Or perharps i can still retrieve my old password? how?
    A little help please. Thanks.

    Mannheim62 wrote:
    Thanks for responding and answering my question. If we decided to use my wife's icloud account as our primary, is there a way to "not sync" the incoming email with her iphone and ipad? That would simplify things greatly because she doesn't read any of her email on her iphone or ipad.
    If you don't want to sync the iCloud email account on her devices, all you would need to do is go to Settings>iCloud on her devices and turn Mail off.  This would remove the email account from her devices but would leave any other iCloud syncing services that you want to use with the account in place.

  • I am not able to access Firefox under one user account on my computer so I created another account. How can I transfer the bookmarks from the old account?

    I use windows Vista and I cannot open Firefox under one user account (I keep receiving the "firefox profile cannot be loaded . . ." error message) on my computer so I created another account. How can I transfer the bookmarks from the old account?

    NOTE: you can skip this 1st step.
    Step 1
    I'm on Win7 so the paths might be slightly different... C:\Users\(YOUR PC ACCOUNT)\AppData\Roaming\Mozilla\Firefox\Profiles\bnelgkol.default\bookmarkbackups ... Find the "bookmarks-[DATE].json" you want and copy it to the profile you want. You may want to change the date to a name you will recognize.
    Step 2
    Then on your browser "Bookmarks>Show All Bookmarks or Ctrl+Shift+B ". This will bring up the Bookmark Organizer, I think they call it Library now. From there click "Import & Back up>Restore" this will bring up a drop down with your back ups. If you followed step 1, find the json you added and select it. If you skipped step 1, from "Import & Back up>Restore" select "Choose File..." Then browser for the json you want to import. Which should be in a similar location as mentioned in step 1.
    NOTE: "AppData" is a hidden folder, will have to set show hidden folders to be able to see it.

  • HT204053 how can I reset my apple ID for create another one?

    how can I reset my apple ID for create another one?

    So sorry; somehow I forgot to provide the link.   Here it is ...
    Frequently asked questions about Apple ID
    Again, my apologies.

  • How can i create another apple id for my other iphone?

    how can i create another apple id for my other iphone? my wife is using the other iphone and we dont want to share contacts and downloads.

    Go to this page to create another Apple ID. You'll need to have another email address to do it.
    Best of luck.

Maybe you are looking for

  • Doubt in "Select between" statement

    Hi All, I need to select all the userid's between 'A' to 'Z' ( or 'A* to B' ) ; where 'A' , 'Z*' would be input on the selection screen. when I tried : select bname from user_addr into <<internal table>> where bname between 'A' and 'Z'. It gave me al

  • How do I update what appears on my homepage (I don...

    I see old updates from contacts on the home page and don't want to see this. Can't seem to get rid of them. Solved! Go to Solution.

  • App Store rejects buy of Mountain Lion

    I tried to buy Mountain Lion in the App Store, but I got following error message: In English: Your buy could not be proceeded The products distribution file could not be checked. Maybe it is dammaged or not proper signed.

  • Can the Design Console authenticate against the OID?

    Can the Design Console authenticate against the OID? In my setup the users authenticate against the OID server when logging to OIM Web Console. The OID has a plugin that redirects the authentication request to the Microsoft AD server. That way the us

  • How to disable Safari on every desktop?

    When placing different apps to different desktops (workspaces) - they stay there and only Safari appears on each workspace when switching. How to disable this annoying feature?