Set up for creating portlets!!

Hi I am working with a colleague of mine on building a Java 168 porlet. We also have a Oracle application server 10.1.4 installed on on of our servers, to which we shall finally deploy. I personally have really only 8 months experience of programming since uni and now need to build a portlet to integrate with our business logic, JSP, Web service. Having downloaded JDeveloper 10.01.02, OC4J 10.1.3 and the Portlet plugin for JDeveloper, when compiling the "hello world" portlet, Jdeveloper returns errors such as in vaid class between the local class and the remote class, some deserilizing error which I suspect is the java package it connects to, and gives the pont of error at admin.internal.deployer it seems the JDeveloper and the OCJ4 class files don't match????
Furthermore, having downloaded this software on the advice of my colleague are we even using the right downloads as I have read there is an instance incuded in the JDeveloper dowload.
When we do deploy to our OC4J, which seems sucessful, then we get a 403 forbidden. I must say that I am completely lost. If time was on my side then I would solve this the same way I did with Java Web Services. However, the IT manager is pacing the carpet!!! so please help someone, please!!!!!!
Hoping to get some help soon, please
A

You will find these details in POUG.
You can download them here.
Courtesy: Oracle UK
Jithendra

Similar Messages

  • Setting AGGREGATIONMODE for a portlet

    The portlet can be viewed in two modes:
    Aggregation Mode:Single for maximized view (only portlet on the portal page)
    Aggregation Mode:Multiple for Normal view ( multiple portlets on the portal page)
    There is a API call 'GETAGGREGATIONMODE' on IPORTLETREQUEST object to get the current AGGREGATIONMODE ( ie., either single/mulitple).
    I want to know how to set the AGGREGATIONMODE to my portlet. There is no API call available.
    Please look at the 'http://portal.plumtree.com' and click on 'more' of 'Plumtree Web Seminar Archive' portlet, Shows the maximized view of the portlet. I want to achive the same functionality to my portlet also.
    Let me know if anybody can offer any help/suggestions.
    Thank you.

    Subbarao,
    The view you see on portal.plumtree.com is actually intrisic to the portal; it is not a portlet in this case.
    You can however achieve the same view in two different ways.
    The most simple is to adjust the page layout to use a single column - you can then use a single portlet to take up the whole page except for the top & bottom banners (you can also set the portlet not to display it's title).
    The other method is to use a portlet in Hosted-Display-Mode. To do this, initially create a standard portlet which appears aggregated. Then provide a link in your portlet to another page within you portlet webapp. Normally if you click this link you will go to that page through the portal gateway (make sure your page is within the gateway space you set up for your portlet web service) - and the portlet will take over the whole page, without the portal banner etc. However, if in your portlet code you use the EDK API to set the display mode on the IPortletResponse to DisplayMode.Hosted, you will be presented with a page as you'd like, with your portlet code taking the whole page except for the portal banner at the top (I'm afraid you won't get the bottom banner).
    Good luck!

  • Setting margins for "Create PDF from Clipboard"

    I'm posting this because I could not find another question that dealt with my problem directly, but after A LOT of searching, and a few failed attempts, I did find the solution.
    Problem: When creating a PDF from content copied to the clipboard from a webpage, everything on the page was way off-center, with almost no left margin.
    Once the PDF was created, since there is no easy way to adjust page margins, the only way to center everything would have been one page at a time (for 24 pages), by dragging the page contents manually to the center of the page. I tried using the "Set Page Boxes" function, but I ended up with 24 blank pages. Yes, I could export the PDF as a Word document, and then reprint that Word document as a PDF, but I knew there had to be a simpler way.
    Solution: When you create a PDF from a clipboard containing text (or in the case of the above document, text and images), Acrobat uses the settings for "Create PDF from Web Page."
    Unfortunately, if you look up Convert clipboard content to PDF in Acrobat Help, it doesn't tell you that. AND the settings for "Create PDF from Web Page" are NOT included in the list of settings under Preferences > Convert to PDF. There is an HTML option in that list, but there are no editable settings for that file type (There are actually quite a few such file types listed there, and my question is, if there are no editable settings, why are they even listed under Preferences?). Batch Conversion of Text Files also uses the same settings.
    So, here's how to do it:
    Select File > Create > PDF from Web Page
    Click on Settings
    To adjust the default margins for new PDF files created from a clipboard containing text, select the Page Layout tab, and adjust the margins to your liking. Notice how small the Default right and left margins are... hence my problem.
    Click on OK to save your new settings, and the simply Cancel out of the "Create PDF from Web Page" dialog box. If you read this page, it says you have to actually create at least one PDF file using the "Create PDF from Web Page" dialog in order for your settings to stick, but I never did, and my settings were saved just fine.
    If you're copying basic text (or converting text files), that's all there is to it.
    With web page content, there could still be a problem (as there was with this web page), if the content you've selected is not the full width of the web page. I think this has to do with the fact that web pages often use Content Style Sheets to format their page elements, and those styles are transferred when you copy that content to the clipboard. The PDF page margins are technically correct now, as you can see by the position of the image at the top of the page, but the text portion (at the bottom of the page) of the PDF only fills the same percentage of the text area (between the margins) as it did on the web page.
    The only solution I have found if this happens, is to export the PDF as a Word document, and adjust the margins there. In the document I was working with in these examples, there were boatloads of different invisible subsections to the document, and each subsection had different settings for right and left indent, fonts, font sizes, etc., so there was a lot more to it than a simple 'copy & paste' type of procedure. Once I corrected all the different elements (and this one had a whole lot of weirdness going on), and then printed it as a new PDF, everything looked much better.
    Hopefully this helps someone else find their answer much easier than I found mine
    And of course, comments and suggestions are welcome.

    Thanks for asking. Yes, with either the Crop tool or the Set Page Boxes tool, I could trim the page just fine, removing the excess from the right side, but as soon as I tried to add space to the left side, it just blanked out the whole page. It seemed like it should have worked, and maybe on a simple text file it would have. But that particular array of content proved to be most troublesome.
    I also could have just cropped the page down to 6.5 x 11, and then centered it when I printed it.
    My primary goal in searching for the answer, and my main reason for posting this, was for setting the margins for future documents (and to help others find those settings,too). Since I still had the web address, I could easily recreate the PDF once I figured out how to set the margins. Of course I didn't realize that there would still be problems once I got the settings right. Like I said, that particular web page seemed to have several unique difficulties.

  • Documention for creating portlets using pl/sql???

    Hi,
    can anyone help me get links for any kind of documentation about creating portlets using pl/sql for Oracle Application Server Portal 10g
    thanks
    M

    I think this will help out...
    Check out Chapter 8, "Creating PL/SQL Portlets" in the Oracle Portal 10.1.4 Developer's Guide.
    http://download-east.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_pdk_plsql.htm#BJEFHIBH

  • Set Title for a Portlet

    Hi ,
    Does any one know how to set the Title of a portlet dynamically ?
    Thx,
    Hitesh

    import com.bea.netuix.servlets.controls.page.BookBackingContext;
    import com.bea.netuix.servlets.controls.page.PageBackingContext;
    import com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext;
    import com.bea.netuix.servlets.controls.window.WindowCapabilities;
    import javax.servlet.http.*;
    import com.bea.wlw.netui.pageflow.FormData;
    import com.bea.wlw.netui.pageflow.Forward;
    import com.bea.wlw.netui.pageflow.PageFlowController;
    import com.bea.wlw.netui.pageflow.scoping.ScopedRequest;
    import com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils;
    public class portletUtil {
    private static final int MAXIMIZE = 1;
    private static final int NORMAL = 2;
    private static final int MINIMIZED = 3;
    public static void setTitle(HttpServletRequest request, String title) {
    HttpServletRequest scopedRequest = ScopedServletUtils.getOuterRequest(request);
    PortletBackingContext portlet = PortletBackingContext.getPortletBackingContext(scopedRequest);
    portlet.setTitle(title);
    public static void setWindowSize(HttpServletRequest request, int size) {
    HttpServletRequest scopedRequest = ScopedServletUtils.getOuterRequest(request);
    PortletBackingContext portlet = PortletBackingContext.getPortletBackingContext(scopedRequest);
    String name = null;
    switch (size) {
    case 1 : name = WindowCapabilities.MAXIMIZED.getName();
    break;
    case 2 : name = WindowCapabilities.NORMAL.getName();
    break;
    case 3 : name = WindowCapabilities.MINIMIZED.getName();
    break;
    default : name = WindowCapabilities.NORMAL.getName();
    portlet.setupStateChangeEvent(name);
    "Hitesh " <[email protected]> wrote:
    >
    >
    Hi ,
    Does any one know how to set the Title of a portlet dynamically ?
    Thx,
    Hitesh

  • Why Create action during  FF Activesync even I did not set up for create

    We use FF active sync to update user's lighthouse attribute by reading HR file. If a user has resource account, for example, Active Directory in IDM, but in AD side the account does NOT exist. When active sync runs, it have Create action to try to create account. Why? Here is log from active sync. How can I disable that action? I did not check create account if no match.
    <ResultItem type='Xresource' status='ok'>
    <ResourceResult name='AD -SIT' accountId='cn=HRFeed\, UserFour,cn=Users,dc=company,d
    c=com' operation='create'>
    <WavesetResult>
    <ResultItem type='table' status='ok'>
    <ResultTable>
    <ResultTitle>
    <Message id='PR_TITLE'>
    <String>cn=HRFeed\, UserFour,cn=Users,dc=company,dc=com</String>
    <String>AD -SIT</String>
    </Message>
    </ResultTitle>
    <ResultColumns>
    <List>
    <String>UI_ATTRIBUTE</String>
    <String>UI_VALUE</String>
    <String>UI_ATTR_STATUS</String>
    </List>
    </ResultColumns>
    <ResultRows>
    <List>
    <List>
    <String>password</String>
    <String>********</String>
    </List>
    <List>
    <String>expirePassword</String>
    <String>UI_TRUE</String>
    </List>
    </List>
    </ResultRows>
    </ResultTable>
    </ResultItem>
    Edited by: janex on Apr 22, 2008 5:43 PM

    We use FF active sync to update user's lighthouse attribute by reading HR file. If a user has resource account, for example, Active Directory in IDM, but in AD side the account does NOT exist. When active sync runs, it have Create action to try to create account. Why? Here is log from active sync. How can I disable that action? I did not check create account if no match.
    <ResultItem type='Xresource' status='ok'>
    <ResourceResult name='AD -SIT' accountId='cn=HRFeed\, UserFour,cn=Users,dc=company,d
    c=com' operation='create'>
    <WavesetResult>
    <ResultItem type='table' status='ok'>
    <ResultTable>
    <ResultTitle>
    <Message id='PR_TITLE'>
    <String>cn=HRFeed\, UserFour,cn=Users,dc=company,dc=com</String>
    <String>AD -SIT</String>
    </Message>
    </ResultTitle>
    <ResultColumns>
    <List>
    <String>UI_ATTRIBUTE</String>
    <String>UI_VALUE</String>
    <String>UI_ATTR_STATUS</String>
    </List>
    </ResultColumns>
    <ResultRows>
    <List>
    <List>
    <String>password</String>
    <String>********</String>
    </List>
    <List>
    <String>expirePassword</String>
    <String>UI_TRUE</String>
    </List>
    </List>
    </ResultRows>
    </ResultTable>
    </ResultItem>
    Edited by: janex on Apr 22, 2008 5:43 PM

  • How to set privillages for created user with iSQL *Plus

    The hosting company has provided ISQL * Plus interface. I have created user by using the following command:
    Create user test identified by test;
    Grant connect, resource to test;
    But I am unable to load or import data into db. How can I import/load data as its giving permission denied message.
    I think there is a lack of imp/loading data grants. Who do I set?
    Thanks & best regards
    Message was edited by:
    Raakh

    1. which version of the database ?iSQL *Plus 10.2.0.1.0
    2. how you are trying/want to import/load data ?from online control pannel I am selecting the Load Data option and processing 7 steps. message appears "Successfully Loaded" but when am seeing log file its given me
    Step: Load
    Page Refreshed Jun 7, 2007 6:38:47 AM
    Status Succeeded
    Targets orcl
    Started Jun 7, 2007 6:38:11 AM GMT-04:00
    Ended Jun 7, 2007 6:38:11 AM GMT-04:00
    Elapsed Time 0 seconds
    Output Log
    Username:SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12546: TNS:permission denied
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jun 7 06:38:11 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Message was edited by:
    Raakh

  • How to create the Set ID for report writer

    Hi
    I am suppose to create the Set id . Please suggest me the t-code etc for creating set id.
    Thanks
    Shiv

    transaction for  creating the set ID GS01
    further, the menu path  in the application menu is
    information system->Ad Hoc Reports ->Report Painter ->Report Writer ->Set
    if helpful, plz assign point as way of thanks

  • HT204053 I need to change my i cloud e-mail address to the same one I set up when I purchased my apple account I just created an I cloud address and when Ijust read the set up for I cloud it says  I should use the same e-mail address that I started with H

    I did not know that when I created a e-mail address that I was suppose to use the same one that I created when I first signed up with Apple I phone. I want to change my e-mail address to the one I first had How can I change it? I do not need two e-mail accounts It should have read that when you are setting up an e-mail address use the one that you first signed up with. Not after you go through all the set ups for I cloud it tells you at the end to use your account that you first started with. Can you please help me I am new at this and I still can not set up on my computer with my phone to I cloud so if I had my phone stollen I can find it I also have and I pad to set up yet It is 3 days and I still can not set it up
    Thank You and Hoplefully I can change my e-mail address so I can have everything on one account

    If you selected open a new Apple ID account, go back a step and enter use existing Apple ID.
    You will have to set up a separate iCloud account or your iPads will mirror each other.

  • How to block set of vendors for creating PO but allowing them to create RFQ

    Dear Experts,
    I want to block the set of vendors created by GS01 for creating Purchase order but allowing them for creating RFQ. I tried using XK05 but its blocked even vendor for creating RFQ. So is there any way to do so in my business practise ?
    I already tried several way but no one is fullfilling my requirement. So i need all you experts valuable input on this.
    Regards
    Arun

    Hi Aleksey Tkachenko,
    Well i am also trying to do the same using the badi you had told me but my query is how can i do this if i create a set of vendor using gs01 or provide an interface to user to update the vendor account to whom we dont want to allow for creating PO but they can create RFQ. and using this BADI how i can read this set of account of vendors?
    Can you tell me how to handle this scenario using any of the method?
    Regards
    Arun

  • I have two iTunes accounts. One was set up for my iPhone; the second was created for my iPad. I just updated my iPhone and it linked my to my second iTunes account instead of y primary. How can I change it back to my primary account?

    I have two iTunes accounts. One was set up for my iPhone; the second was created for my iPad. I just updated my iPhone and it linked my to my second iTunes account instead of my primary account. How can I change it back to my primary account?

    Hey bjboles,
    Welcome to Apple Support Communities.
    The article linked below describes what to do after changing your Apple ID, but you can use it as a guide to resolve the incorrect Apple ID account information entered issue that you described.
    Apple ID: What to do after you change your Apple ID - Apple Support
    Ciao, 
    -Jason

  • New Format for creating Attribute Sets.

    Hi,
    In SAP CRM webclient ui 7.0 there is a new format for creating Attribute Sets. The format is 'value table'.
    On selecting Format=Value Table the field 'Table' comes up.
    There is a message: Here you can enter a table that contains all the values you want to use. This is particularly useful for attributes with a lot of values or if you want to enter multiple attributes with the same values. The table must be a check table with a search help.
    Do I need to create a table with all the fields in in marketing attribute assignment block with search help on attributes field.
    Can you please guide as to how I should go about this issue.
    Regards,
    John.

    Hi John,
    The Attribute Set of Format type 'Value Table' is for the Mutiple Attribute Sets. These can be either a Single Attribute Set with Multiple values or the Multiple Attribute Sets with One value.
    You can include all such marketing attributes into one table which is a check table with search help. and use this as the Value Table.
    Hope this helps you out!
    Regards
    Veena.

  • How do I create a data set ready for a batch input session

    Hi:
    I don't know how to create a data set ready for an BATCH-INPUT SESSION.I know that with the function BDC_INSERT make de input online, but my requirement is that generate the data set and left to the user get in de SM35 transaccion and decide to him if it's execute or not. I have all the information in a BDCDATA table.
    Any clue would be great!!

    You just have to do:
    BDC_OPEN_GROUP (Open new batch)
    BUILD BDC DATA (Your own code)
    BDC_INSERT (Insert BDC data you have built in step 2)
    BDC_CLOSE_GROUP (Close batch)
    This will just create a new batch and it can be processed in SM35.
    To build BDC data:
    LOOP AT your_input_table.
    <<here you have to use the code generated from recording in  trasaction SHDB>> (i.e. bdc_dynpro and bdc_field performs)
    ENDLOOP.

  • I have created a newsletter in indesign cs4 how can I set zooms for each article for the user

    I have created a e-newsletter in Indesign. I have successfuly saved it as a SWF then as a PDF from acrobat.
    The problem is that when the user zooms in the resolution is not good.
    How can I let the user zoom in to read each article. Would I create buttons with zoom settings for each article. If this is the case do I do it in Indesign or Flash and can I still save it as a PDF file and it will keep the interactivity?
    I would greatly appreciate any help with this issue. It is driving me mad trying to get the information I need.
    Thank you

    Hi Bob
    Dont know what you mean by deleting my signature in the forum. Sorry its my
    first time using a forum.
    So just to confirm if I want a user to zoom in on an article I can't do it
    in Indesign or Flash.
    cheers
    PAMELA
                                                                                    BobLevine                                                    
                 <[email protected]                                            
                 >                                                          To
                                           pamela hettrick                    
                 17/08/2010 14:09          <[email protected]>  
                                                                            cc                                                                               
    Please respond to                                     Subject
                 clearspace-143433         I have created a        
                 1873-767197-2-305         newsletter in indesign cs4 how can 
                 [email protected].         I set zooms for each article for   
                     adobe.com             the user                                                                               
    You don't. There are third party solutions available for that. Sorry but I
    don't have any links handy right now.
    And please delete your signature...it's making a mess of the forum display
    of your posts.
    Bob

  • Group policy preference for creating printers setting the wrong printer as default

    Hi
    We have a a group policy preference applied to users.  At the moment we create a shared printer and set it as default for all users in a specific OU.  Now we need to add another shared printer.  I have updated the policy and set it to create
    the new shared printer and have set item level targeting to the same OU as the first printer.  I want to keep the existing printer as the default, however when the policy runs, the new printer is created fine but it is set as the default
    printer.  Is this because it has been added last ?  There doesn't seem to be a way of changing the order that the printers are applied.
    Both printers are Shared printers and are set to Create
    The existing printer (printer A) is set as the default printer.  It is targeted at the London OU.
    The new printer (printer B) has NOT been set as default.  It is targeted at the London OU.
    No other options have been set.
    When the policy is applied both printers are added but printer B is being set as the default.
    Any help would be appreciated.
    Thanks
    G

    Hi G,
    >>however when the policy runs, the new printer is created fine but it is set as the default printer.  Is this because it has been added last ?  There doesn't seem to be a way of changing the order that the printers are applied.
    Before going further, what's the operating systems of our clients? Here, I need to double confirm that the checkbox of
    Set this printer as the default printer... is not selected in the new GPP Printer item. Besides, we can change the orders of the printer items. To do this, select the printer item, right click, click All Tasks, and choose Move Up or Move
    Down to change the order.
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • How do I clear something running on Firefox which is compromising security by asking for all passwords on bank sites etc.

    I believe I've got some kind of spy ware or malware running in Firefox If I log into my Sainsburys Bank site and enter my user name and password I should be directed to a new page asking for one of 4 possible passwords before I can access my account.

  • Error in Webdynpro ABAP Table Tree

    Hi, I am using Table UI element in Webdynpro ABAP. I am showing data in tree format using element Treebykeytablecolumn. I have full tree structure loaded in begining of the code so don't need to load child on expansion of key. Since I have data alrea

  • My Pound key is a hash tag

    On my keyboard my NO.3 key shows a pound sign above it............when I 'shift+3' I get a hash sign. How do I change this to a pound sign as showing on the key? thanks.

  • Hyperion Start Workspace

    Hello! How do I "Start Workspace" services for Hyperion Planning When i login to http://server:19000/Workspace - I get the error that the page can not be found, am i missing something in IIS? Everything for Hyperion installed correctly and in the pro

  • Accessing SOAP over JMS webservice

    Hi, From Webdynpro can I access a webservice which is using SOAP over JMS. Is there any example on it. Thanks. MS.