HELP! JSP as items in a region - is this possible?

Hi All,
Can someone please tell me how to bring in a JSP code as an item or portlet within a region. Is this possible with Oracle9iAS release 2? I need to generate dynamic html within a particular region based on a query string parameter and I thought this is one way of doing it.
If anyone can help, that would be great!
Thanks in advance,
Kim

Kim,
There are many articles on Portal Center that discuss building portlets from JSPs. You can also post questions on this topic to the PDK forum.
For PL/SQL, there are a number of options. You can build PL/SQL portlets - the dynamic page component is a good start, that is conceptually similar to JSPs.
You can also create PL/SQL items that can be rendered in-place or displayed as a link - make sure that you don't use the "Simple PL/SQL" item type, as you can't control the rendering behaviour. Use the supplied "PL/SQL" item type, or create your own custom item type based on "Simple PL/SQL".
Finally, any item type (except the "simple" ones) can be associated with a procedure that can generate dynamic content. The procedures can be PL/SQL or any function that can be invoked via a URL (e.g. a JSP or servlet).
Note that in your PL/SQL procedures you'll need to use the HTP package to generate HTML.
Regards,
Jerry
Portal PM

Similar Messages

  • Still print picking list when ALL items are blocked. Is this possible.

    You know what warehouse people are like. When a delivery has all items blocked the picking list isn't printed, and the warehouse guys are wondering why nothing has printed. Of course a list is printed when there is at least one item that is not blocked on a picking list.
    My question is whether it's possible to print the picking list when all items are blocked?. I would expect no items to be printed for picking, but at the bottom of the report I would expect to see a list of items blocked.
    Anyone?.
    Jason

    HI
    1.Kindly chekc the routine in the t code V/27
    2.Against the routine against rthe condition type in the be.lwo path
          Logistics Execution
              Shipping
                 Output Control
                      Output Determination
                         Maintain Output Determination for Outbound Deliveries
                                Maintain Output Determination Procedure
    3.if it is in warehouse management then check in the tocde OMLV
    REgards
    Damu

  • Change wrong item positions in region

    Hello dear Apex-experts,
    within a report region I want to have three items for Search-Fields. This works, but these fields cannot be placed, where I want them to be displayed. While switching over into the wysiwyg-mode at "items" everything looks like I want it to be. but the "real" form doesn't display it correctly.
    This is the WYSIWYG-positioning:
    "Anzahl Zeilen:"[P5_ROWS] [P5_GO]
    "Suche:"
    [P5_TYP_SEARCH][P5_Kurzname][P5_Langname]
    within the Report:
    [P5_TYP_SEARCH][P5_Kurzname_SEARCH]
    [P5_Langname_SEARCH]
    "Anzahl Zeilen:"[P5_ROWS][P5_GO]
    "Suche:"
    that means the P5_..._SEARCH-Fields are to far above and there is a linefeed between them.
    Does somebody know this problem? And what is to be done to solve it?
    I tried a lot with "new line" and "new field". Nothing worked.
    Thank you,
    Hergen
    Message was edited by:
    Heeschen

    Hi Patrick, hi BoilerUP,
    I did not forget this post but had worser trouble in between.
    There is a trick that solved the problem:
    We "framed" the items that have been displayed in wrong order by two items that are of the type :"Display as: Stop and Start Html Table (Display label only)".
    e.g.:
    Sequence# 100: Px_START_SEARCH : Display as: Stop and Start Html Table (...)
    Sequence# 110, 120, 130, ... : the other text fields ordered with criterias New Line, new field as desired.
    Sequence # 200 Px_STOP_SEARCH : Display as: Stop and Start Html Table (...).
    With Sequence # <100 we have some other items that from now on do not disturb our ordering.
    If I find the time, I will try to create an example at apex.oracle.com.
    But not now.
    Thank you Patrick,
    Hope to help you BoilerUP.
    Kind regards,
    Hergen.

  • Need help Updating Records in a Report Region

    We have created some javascript to check a drop down used in a report region.
    This is the way the report is supposed to work:
    The first time the user comes to this screen he will go down the list and select a value of '1' or '2' for col2.
    When col2 drop down has a value of 1 then we want to disable col3 and col4.
    Then the user will click on the Submit button.
    When he clicks on the Submit button then we want to set col4 to have a value of sysdate in the database table for any record where col2 had a value of 1.
    The next time the user comes to this screen he will select values for col3 and col4 of the records that col2 had a value of 2 (meaning col3 and col4 are enabled)
    This works fine if there is only one record in the report region.
    The problem is when we have more than one record.
    for example:
    Say we have two records...
    for record1 the user selects '1' for col2 and for record2 the user selects '2' for col2.
    When the user clicks on the Submit button col3 and col4 get disabled and col4 gets set to sysdate for record1, while col3 and col4 remain available but empty (because the user has not made a selection for these columns at this point) for record2.
    When the user comes back to this screen he now selects a value for col3 and picks a date for col4 for record2. When he clicks on the Submit button the value for col3 and the date entered in col4 for record2 should get updated in the database table and it is but the col3 value and the col4 date is being inverted with record1's data for some reason.
    Can you please tell me how to fix this?
    This is what the user has selected on the screen:
    (COL2) (COL3) (COL4)
    Requested? Granted? Response Date
    Record1 NO - 13-APR-09
    Record2 YES YES 20-APR-09
    After the user clicks on the Submit button this is how the screen displays it back:
    (COL2) (COL3) (COL4)
    Requested? Granted? Response Date
    Record1 NO YES 20-APR-09
    Record2 YES N/A 13-APR-09
    I am including the code from my update staement below:
    DECLARE
    A_ID NUMBER;
    requested NUMBER;
    grnted NUMBER;
    respdate DATE;
    f01 = AID ID
    f02 = REQUESTED YES OR NO
    F03 = GRANTED YES OR NO
    F04 = RESPONSE DATE
    BEGIN
    FOR i IN 1..HTMLDB_APPLICATION.G_F01.COUNT LOOP
    BEGIN
    A_ID      := HTMLDB_APPLICATION.G_F01(i); -- this is hidden
    requested := HTMLDB_APPLICATION.G_F02(i); -- (YES or NO)
    grnted := HTMLDB_APPLICATION.G_F03(i); -- (YES or NO)
    respdate := to_date(HTMLDB_APPLICATION.G_F04(i),'MM/DD/YYYY');
    EXCEPTION
    WHEN OTHERS THEN
    A_ID      := HTMLDB_APPLICATION.G_F01(i); -- this is hidden
    requested := HTMLDB_APPLICATION.G_F02(i); -- (YES or NO)
    grnted := 3; -- (YES or NO)
    respdate := sysdate;
    END;
    UPDATE TBL_AIT
    SET b_requested_id = requested,
    b_granted_id = grnted,
    b_response_date = respdate
    WHERE ait_id = A_ID;
    END LOOP;
    END;

    Hi,
    Any disabled items are not submitted with the page - therefore, your f03 and f04 collections would be one value short. This is a browser feature rather than an Apex feature.
    You can get around this by enabling all items before the submit takes place. Have a look at: Re: A better method of handling tabular forms with variable column type? This is for disabling items mainly, but includes an enableItems() javascript function that should help you.
    Andy

  • Computation in between items in a region

    Hi,
    I have three items on a region
    Item 1 Item 2 item 3
    10 20 30
    As soon as i enter 10 in item1 and 20 in item2 then item3 needs to be pupulated with the total of it.
    Could any one guide me the processs of doing this.
    Please advice
    Kris

    Kris,
    This can be easily achieved using JavaScript. There is an example in one of the How To documents...
    http://www.oracle.com/technology/products/database/htmldb/howtos/htmldb_javascript_howto2.html#change
    Please refer to the section 'Change the Value of Form Elements'.
    Hope this helps,
    Emilio.

  • How can I display de last items of a region from other page in Portal?

    I want to display de last five items (f.e.) included in a region (with attributes created) from other page. I've tried using custom search, but it also shows the attribute names, and I want show the attribute values (I don´t know how can I format these attributes).
    Thanks a lot.

    How can I display the last items of a region from other Oracle Portal page?

  • Help with template locked and editable regions

    I have been using templates for years in a very simplified way, my programing skills are not great. Today I seem to have screwed up a template beyond my ability to fix it and possibly all 46 pages attached to it (have not uploaded any of these files though).
    The body tag needs to be editable because of the preload images that are part of the tag. The next section needs to be editable for content which is different on all pages. The last part is a table with text navigation to each page which needs to be locked so I can change it from one place.
    DW keeps inserting an extra body tag and putting an end body tag after the editable content region (before the locked table), depending on where I try to put the tags. Then it won't let me change areas of the content on individual pages and it's not displaying the bottom nav table (although it does show up in safari, but I know the code is wrong).
    Basically what I would like to do is simply have the whole body region editable, except for the one table toward the bottom of each page. Can I do this with out having any content thrown off my pages? I really don't know what code to post at this point since it's all in various stages of "not-working", but the version I am using is DW8.
    Here is a link to an online page which might help you see what I am talking about, this is from before I started trying to change the template:
    http://www.janosklanyi.com/dresden.html
    Thanks,
    Kaylee

    Hi, AZ,
    Templates imply locked regions and editable regions...usually WITHIN the body, so having the entire body editable might be what is throwing things  off.
    It is possible to make attributes of tags editable, but I don't believe that is supported in DW8. You would make the body tag editable so that the id can be changed to match the page (#contactuspage, #homepage, etc.), and by doing that you can focus your CSS on each page. I use that technique to influence the navigation to highlight the page that I am on (of course, I also put ids on the nav links, viz. #contactus, #home, etc., and #contactus2, #home2, etc. for the footer links). All these you would style in the CSS file. I'm pretty sure you can't pass actual content that way yet, but you can define background images.
    I see that you are doing that sort of thing in your pages.
    While you are in the template, look at the code just before the <body> tag. There should be something that says
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    Copy the two commented lines and change the word "head" to "body" [<!-- InstanceBeginEditable name="body" -->]. Then put the BeginEditable line just before the <body> tag and the EndEditable line just after it. That should leave your body tag open for editing in Code View. Remember, all you want editable here is the <body> tag, not the whole <body> of the document.
    Be sure to add editable regions in the rest of the page, controlling them as you wish.
    At any rate, have courage...once you have fixed your template, the other 46 pages will fall into line!
    Understand that I am working in DWCS4, so I don't know how this is going to work in DW8. Hopefully, it will work fine.
    (Have you considered upgrading to CS4? You may still be able to do that from DW8 at an upgrade price.)
    Z

  • Way to "anchor" item in a Region Footer so it doesn't move relative ...

    Now: Is there a way to "anchor" and item in a Region Footer so it doesn't move relative to the footer when the IE window is resized?
    Was: Stop Region Footer Items from moving to Header when IE window is resized?
    Using APEX 4.0.x under Oracle 11.2.y on Unix displaying to Windows 7.
    I use #TIMING# in a Region Footer of a chart where it displays in the lower left-hand corner. The chart slightly more than fills the window so I want to shrink it. But when I change the "zoom level" of the IE window (under IE 8.0.7601.17514) to say, 96%, the timing value (e.g., 0.02) displayed moves from below the chart at the left to above the chart on the right-hand side. ???
    Is there java / html that can be put in the Region Footer field with #TIMING# to prevent this?
    Howard
    Edited by: Howard (DBA in Training) on Oct 4, 2012 3:52 PM

    It sounds like you are not running the latest software. Connect to itunes. Go to the summary screen for your ipod and check what version of the software it says you are running. If it does not say 1.1, then you need to update.
    If it says 1.1, then I would suggest restoring.
    If you are running the 1.1 version of the software, if you hold the larger "Sleep/Wake" button down for a few seconds, it should shut down the nano.
    i

  • Unable to create item under a region

    Hi All,
    I wanted to create a item under one region in a seeded page. When I went to Personalize page, next to the region where I need to create the item, I don't see the "Create Item" button. But for the other regions I see that button. Any ideas what could be done to enable this?
    Regards,
    Pradeep

    Hi,
    It could be a dynamic region itself or a region extended.
    If its a dynamic region, you will have to do Controller extension to extend it.
    -Idris

  • How to create "n" number of items in a region?

    Hi All,
    I have a requirement as given below:
    i) I have a table like:
    Col1 Col2
    1 ABC
    1 XYZ
    1 PQR
    2 AA
    2 BB
    ii) Now what I need to do that item - Check Box need to be created on a region of page based on Col2.
    In this case, Check Boxes should be created as below when Col1 is "1":
    ABC
    XYZ
    PQR
    Hope this information is enough for you all to understand the requirement.
    Please let me know input if any one has ever acheived this kind of requirement.
    Thanks,

    Hi,
    You can create the n-items in the region by creating items in the controller. i mena to see say by looping..
    Thanks,
    Kumar

  • Space between Items in a Region

    Hello,
    How do I put a space/whitespace between items in a region?
    For example I have to text fields on top of each other, I want to put some space between them without an input field?
    Regards,
    COlin.

    Hi Colin,
    there is no need to create additional items to increase spaces.
    Beter way to do this ( increase space between two items ) is:
    1. In form - go to Edit Page Item of the second item which folows the first one and put in the HTML Table Cell Attributes something like that: style="width:150";
    That increase label colon of the second item. You must be attentive that the value must be greater than the text in label of second item is.
    2. In report - go to Page Definition -> Report Attributes -> Column Attributes ( of your column ) and than put in the CSS Sytle of Column formating section something like this: width:150px. In this way you would increase you field and in the same way increas space between the columns in report.
    Regards,
    Zlatko

  • Items above/below region content

    Hello ApEx development team,
    What happened with this enhancement:
    Items above/below region content
    I think, this limitation is annoying and needs to be removed. It takes to much unnecessary
    workaround to overcome such a trivial problem.
    Best regards,
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

    Hi,
    Yes, that would be an excellent enhancement!
    I was just struggling with getting a "Display as" item (showing the total of the report) under a report. There was no way, it always displayed above the report, even with "Horizontal / Vertical Alignment: right bottom".
    This post made me try to move the region from "Display Point: Page Template Body (3)" to "Display Point: Page Template Body (2)". Now it works fine...
    Vikas' proposal:
    Yes, I had brought this up more than a year ago. This would allow us to use a WYSIWYG HTML editor to design a region template with #ITEM_NAME# substitutions in it and items with those names would be plopped into those positions.
    ...would be great indeed!
    Regards,
    Roger

  • Items align in region

    Hi all,
    I have 2 regions in my application one is html form region and another is tabular form .
    I created 6 items in html region and created DA for the items to hide according to the value of items and then created tabular form
    find below the sample link
    http://apex.oracle.com/pls/apex/f?p=70633:1:10266218311688:::::
    user name: [email protected]
    psswd: symphony
    once i select the first item(declaration letter) it will show the second item (applicacable) perfectly,but when i select applicable as yes and discrepancy then all the items become misplaced,
    how do i align the region items?
    Thanks,
    Anees

    Hi hari,
    I want to get that tabular form parallel to the first region.
    actually i am using apex 4.1 version, in that i created the tabular form as column region (display point is same and column=2)
    but still getting the problem of misplacing the items.
    if there is any way to align items in column regions??
    regards,
    Anees

  • Help,JSP and SERVLETS!

    hello:
    i've downloaded ECLIPSE 3.2,TOMCAT 5.5 .
    i tried to build simples examples o servlets but i failed could you please tell me how to proceed?i'm new at this plus i've got a project to do with all this so plz can you give some links to go,i tried but no links was clear.
    i've got to give to my professor an examples executed (servlets,jsp)
    thank you

    HISSO wrote:
    i wil give up on talking about stupid gossip
    you must act professional and i you can't help it's ok
    so plz i juste want help
    i'm so busy finishing my studies
    when it comes to talk about development with tomcat and eclipse together i'm new so i need some advices,so plz let's be serious!
    i'm working hard to finish my project!Try to communicate less like a monkey with electrodes attached to it's genitals. This means stop using words like "plz" and write "please" instead.
    If you want specific help with a specific problem then you should ask a specific question. "help, JSP and SERVLETS" is not a specific question. And you should also note that if your specific question is about Tomcat specifically or Eclipse specifically then you are in the wrong place to begin with.
    So do you want to try again?

  • Need help using list item as to filter hire_date

    hi to all, how can i use the list item as to filter hire_date based on the elements inside the list item
    it goes something like this
    HIRE_DATE----------------LIST_ITEM=JAN
    01-JAN-10
    02-JAN-10
    03-JAN-10
    HIRE_DATE----------------LIST_ITEM=FEB
    01-FEB-10
    02-FEB-10
    03-FEB-10
    the sorting will do after i press the button
    thanks in advance :)

    sir i tried the code and it says: FRM-41003: This function cannot be performed here.
    what im really want to do is that after retrieving the dates from a push button, (remember yesterday where you help me retrieving multiple data).... i have a list_item where it has the elements JAN,FEB,MAR,APR,MAY.
    and then after selecting different month from the list_item the values that ive retrieve will be filter according to the value in the list_item
    it looks something like this:
    stud_id = 1001
    time_in
    01-JAN-10
    02-JAN-10
    03-JAN-10
    01-FEB-10
    02-FEB-10
    03-FEB-10
    after selecting FEB from the list_item it will goes like this
    time_in
    01-FEB-10
    02-FEB-10
    03-FEB-10
    thanks..
    -charles

Maybe you are looking for