Packing many portlets in the same war

Hello,
I'm creating a portlet app. (running on JBoss Portal). I would like to have all my portlets packed in the same war file.
How can I do that?
Thanks!

The entry for each portlet should be in the portlet.xml and you can add those portlets to the war file. This effectively means you have packaged multiple portlets in one webapp.
You can check TourIPCPortlets in The Portlet Repository http://wiki.java.net/bin/view/OpenPortal/PortletsInTheRepository. This contains four portlets packaged in the same war file. You can use Netbeans Portal Pack (http://portalpack.netbeans.org) to create Portlets. Using this you can also create multiple portlets and package them in the same war file.
Regards,
Deepak

Similar Messages

  • Packing many portlet in the same war

    Hello,
    I'm creating a portlet app. (running on JBoss Portal). I would like to have all my portlets packed in the same war file.
    How can I do that?
    Thanks!

    The entry for each portlet should be in the portlet.xml and you can add those portlets to the war file. This effectively means you have packaged multiple portlets in one webapp.
    You can check TourIPCPortlets in The Portlet Repository http://wiki.java.net/bin/view/OpenPortal/PortletsInTheRepository. This contains four portlets packaged in the same war file. You can use Netbeans Portal Pack (http://portalpack.netbeans.org) to create Portlets. Using this you can also create multiple portlets and package them in the same war file.
    Regards,
    Deepak

  • How to create many user in the same database

    hi
    my question is "How to create many user in the same database(application)?"
    for example, i have students, teachers, and staffs user using my application.
    i can create many users to use the same application right?, how ^^''' ???
    (right now i can only create application and then it shows every data in my DB
    but i want it to show only the data for the user who login to that application)
    Thanks.
    ps. i'm newbie, please help T^T

    You need to create a user table within your application that maintains their privileges. If you have LDAP you could use this for authorisation otherwise the table would handle that as well (store passwords etc). Your reports etc would then be filtered on information from this table.
    Check out some of the sample applications to see how authorisation and access is implemented (Online store is one). The how-to on the issue tracking system should also have some useful pointers.
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/issue_track.htm#BABBGBJG
    cheers,
    Ron

  • I used to open many tabs in the same page and i move from one to other by mouse but since3 two days the tabs open in the same page normaly but i can't move from one to other when i clik with mouse on any tab it don't open/ do u have any solve for this?

    i used to open many tabs in the same page and i move from one to other by mouse but since3 two days the tabs open in the same page normaly but i can't move from one to other when i clik with mouse on any tab it don't open/ do u have any solve for this

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Since downloading 11.0.1 (12), Itunes can't locate or play many songs but the same songs still play on my synched iPod.

    Since downloading Itunes 11.0.1 (12), Itunes can't locate or play many songs but the same songs still play on my synched iPod. I have a MacBook Air, Lion OS, Itunes version 11.0.1 (12).  I didn't see this problem with older versions of Itunes.  I do not manually change the organization of the Itunes library.  I use the Itunes "add to library" feature or Amazon's MP3 downloader.  Sometimes, however, I have changed song information in the "info" window.  Such as unchecking the "compilation" button and sorting by artist (for that song), so that I can search by artist in the top pane of Itunes (otherwise the song is sorted in an album that is a "compilation," but not under the name of the artist who sang a particular song.  I've done this without problem in the past, but perhaps the newer version of Itunes can't handle the changes I made and has lost track of where the older version of Itunes stored such songs?    How do I fix all these older previously ok changes if that's the case...  If I could just find where they are stored in Itunes it would be easier perhaps.  I've looked in compilations, unknown artist, and so forth to no avail.  And Finder search can't find them.
    Details: suddenly, many songs are marked with "!," denoting that Itunes cannot find the songs in the library and cannot play them. Oddly, my iPod CAN play the "unlocatable" songs with no problem (it has been synched "post problem").  So the songs are still there somewhere in the Itunes library.  This problem occurs by album, that is, all songs from the same album become unlocatable, although different albums by the same artist may still be found and played. 
    Exploring the Itunes library to try to locate the missing albums/songs, I discovered that generally there is no longer any folder specified for any artist associated with a missing album [artist is the top level of organization and album is the second; compilations are in the same folder]. This is true even if I have other albums from the same artist which Itunes IS able to locate.  I cannot find a single song/album by such artists anywhere in the Itunes file system, even the ones that Itunes can still play.  If I right click and "get info" for an unlocatable song, I get a notification box that asks if I want to locate the file.  If I click "no," next thing-- the info window for the song pops up, with all the correct info (including sort info, which I double check)!  Why is Itunes able to locate all the info on the song, but is not able to play the MP3 file? 
    Using Finder I cannot locate the songs that are unlocatable by Itunes (except the original download files in the Amazon MP3 folder).  Finder is, of course, able to find Itunes songs that Itunes has no trouble locating.  What's up?!  My iPod can find them just fine.  I just synched my iPod again and am playing the "unlocatable" songs right now.
    I can "fix" most of these files by downloading files one by one into Itunes from my Amazon download folder or from my CDs using the "add to library" feature. In fact, it is strange.  But this will take a very long time!  And what if this problem continues recurring?   But something strange happens when I implement this fix.  I added one song to Itunes (from the Amazon MP3 folder, using "add to library") for one "unlocatable" album of Pete Seegers. After adding that one song, I looked at the Itunes music library and discovered that a folder for Pete Seeger (which was not there before I added the song) had been newly created, or restored.  In this folder was the one song I had just added, but ALSO all my other Seeger albums that had previously remained "locatable" by Itunes.  But the other "unlocatable" songs were not restored, unfortunately.  

    I have found a workaround. When I create a new playlist, iTunes allows me to add or remove songs from existing playlists for a short while. Then, for some reason it prevents me from adding and deleting songs again. Not sure why. Go figure.

  • How to apply different styles to Portlets on the same Portal page?

    How do you apply different styles to Portlets on the same Portal page?
    I'm new to this kind of thing, but understand that something called "cascading style sheets" can help here?
    What are these, how do you use them, and can you make different Portlets (all types - PL/SQL, Java, Applications, etc) on the same Portal page have different styles assigned?
    Thanks!

    Jeff,
    Apply Oracle Portal styles at the region level. Your portlets within each region will inherit the style defined for the region.
    You may want to check out Report #40050 at portalcenter.oracle.com, "Design an Attractive and Compelling Portal Interface" for a good overview of the various design features of Oracle Portal.
    Here is the link:
    http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/OWSF_2003_PAPERS/40050_STOVER.PDF
    Regards,
    Jay

  • 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

  • I disabled my iPhone 4 and while doing a restore via iTunes,  it is downloading and timing out so the download is not completing. any idea how to get past that?  I have tried many times and the same error keeps happening.

    I disabled my iPhone 4 and while doing a restore via iTunes,  it is downloading and timing out so the download is not completing. any idea how to get past that?  I have tried many times and the same error keeps happening.

    You need to force the phone into recovery mode, as described here, & restore it:
    http://support.apple.com/kb/ht1808
    Sorry, you've already lost all data on your phone.

  • How to place two narrow portlets in the same row of a wide column

    Hi,
    How to place two narrow portlets in the same row of a wide column.
    Im using ALUI 6.1
    Thanks in advance
    sandeep

    As I understand there is no easy way to do it now. I guess in theory that can be done by customizing ALUI page layout source code, but this is significant efforts. Correct me if there is more easy way to do it.
    Edited by Bryazgin at 05/23/2007 7:32 AM

  • How to use the function STRIP SILENCE on many regions at the same time?

    Hi,
    I am doing a projet with a lot (more thant 100) of audio regions, and I would like to use the function STRIP SILENCE on many regions at the same time (with the same parameters).
    Here is what happens :
    1- I select many regions (10 or so)
    2- I choose the function STRIP SILENCE in the AUDIO menu
    3- the window for stripping silence opens, and it tells me in it that there are 10 regions selected (if I selected 10)
    4- I put my parameters, then I click OK
    5- Only the first regions is done! all other regions are untouched.
    So... it this a bug or a feature? What am I doing wrong? Is it really working on multiple regions at the same time? If not, how could I do that besides doing the same operations 100 times!
    Could that be on the Intel bug that I see quite often ("it works on old Mac but not on Intel Mac")?
    Thanks,
    Daniel

    I think the message you get saying that 10 regions have been selected is not so much a bug as an oversight ---- someone didn't check to correlate the message with the actual functionality of strip silence (i.e., will only work on one region at a time).
    So the message is misleading.
    I find that it's best to set up a key command to perform the strip silence function. Makes the process go faster than having to mouse around. And I rarely find that the strip silence settings for one region work well on another, so I don't mind the fact that it only works to strip one region at a time.
    Sure, it would be cool if it performed the operation on multiple regions, but by using the same set of s/silence parameters for all regions there's always the chance that you might accidentally crop a region in the wrong way, meaning more time spent editing the beginning/end of those regions.

  • Html Portlet links displaying in another portlet on the same page

    I have seen similar posts but no detailed explaination of how this is done.
    I have an html portlet with links whose content I would like to display in an inline rendering portlet on the same portal page. How can I pass the link url from the html portlet to the inline rendering portlet?
    Thanks,
    Robyn

    If your environment is fairly static, you can handle this easily.
    The link in your HTML portlet must refer to the page URL of the portal page on which the HTML portlet resides (which changes from portal page to portal page), to which you need to append the parameter that your "inline" portlet (under which I'm not sure what you mean) reads:
    <a href="http://<portal_page_url>&my_param=value">click here</a>Is this close to what you're willing to do?

  • 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

  • Order of execution of JPDK Portlets inside the same Portal Page

    We have 2 Sample JPDK Portlets from the same provider on our page
    - A LoginPortlet that accepts the username and Password
    - A Welcome Bin Portlet that shows the logged in user's details
    Once the user enters username and password in the LoginPortlet, we authenticate the user and set his username and other details in the 'ProviderSession'.
    Further, in the Welcome Bin Portlet, we access the username and other details of the user from the 'ProviderSession' and display.
    Though this solution seems to be working most of the time, we have an issue at times when the Welcome Bin Portlet executes before the LoginPortlet and hence is unable to fetch the userName and other details which are not yet set in the 'ProviderSession'. Hence, wanted to know if there is an execution order that we can enforce on the Portlets in a Portal Page, so that we can mandate that LoginPortlet Rendering shall happen before WelcomeBinPortlet Rendering.
    Further, had it been a JSR168 Portlet, I understand that we could set the details over to the 'ProviderSession' in the 'ProcessAction' method of the LoginPortlet, which for sure gets executed before the Rendering of all the portlets. Is there a similar way or a hack while using JPDK?

    The Private Event Submission sample portlet shows how to achieve this. It is part of the PDK download.
    Peter

  • Item with many values in the same page

    Hi!
    This is how ma page will look :
    item 1 : textfield
    item 2 : textfidl
    item3 : list1
    list2
    ... list3
    button add item3
    item3 can take mutiple values (1 or more) for the same
    values of item1 ans item2.
    the user has to click on a button in order to add a value to item3
    I am looking for how can I do that ?
    thank you for help

    Sorry Kglad, I didn't mean to be rude. With "No coding
    errors" I meant the animation itself runs with no errors. I'm sure
    you could run the 20 instances with no freezing (that's why I put
    the post :) ) But I'm affraid it is an animation for a client, so I
    cannot distribute the code.
    Perhaps I didnt explain the situation clearly enough (in part
    because of my poor english...).-
    - By 20 instances I mean 20 separated embedded objects in the
    html
    - The animation is relatively simple. A turned on candle, in
    each cycle I calculate the next position of the flame (that
    oscilates from left to right). The flame is composed by 4
    concentric gradients. There is NO loops, only an 'onEnterFrame'
    function refreshing the flame each time.
    - It's true that I got plenty variables at the _root level.
    If that could be the problem, how can I workaround it?
    - It is my first time trying to embed so many objects at the
    same time too. No idea if the problem could be the way I embed the
    object from the html :(
    - The only thing I can guess is that when a cycle of one of
    the object is running, the other 19 objects must wait their turn.
    That would explain why the more instances I run, the worst results
    I get. In that case, I wonder if there's a way to run them in a
    kind of asynchronous mode, just guessing...
    Any other comment would be appreciated. Anyway, thanks a lot
    everybody for your colaboration.

  • When I import an Album or Folder from my computer that is a Various Artist Album it creates as many albums by the same name as there are songs?  How do I fix this so it is only one Album?

    When I import an Album or Folder from my computer that is a Various Artist Album it creates as many albums by the same name as there are songs?  How do I fix this so it is only one Album?

    Before you begin the import, edit the properties of the tracks to set the Album Artist to Various Artists and Part of a Compilation to Yes.
    For more info. see Grouping tracks into albums.
    tt2

Maybe you are looking for