Calling portlet from an image item

I have two image items and I want to call two report portlets such that If I
click on ImageA, it should call first report portlet and If I click on ImageB,
it should call 2nd report portlet on the same portlet reigon. I mean it should
hide and show the two report portlets on the same page and same region. This is
what I have done so far :-
(1) Created a content area
(2) Created a category
(3) Added two image items in that category
(4) Created two reports and published as portlets
Any help would be much apprecited.
Thanks

Hi
But the values you have given are hardcoded what if i want to capture the value on which i click and then pass it as a parameter.
My problem is i have a chart in a dynamic page when i click on the deptno i want to call the same chart by capturing deptno and passing the value in the call to the chart as an argument.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
Can you show me the PL/SQL code inside
the dynamic page?
Here is an example to pass params to reports
from a dynalic page:
<ORACLE>
declare
l_arg_names hzeng30.wwv_utl_api_types.vc_arr;
l_arg_values hzeng.wwv_utl_api_types.vc_arr;
begin
l_arg_names(1) := '_show_header';
l_arg_values(1) := 'NO';
l_arg_names(2) := 'deptno';
l_arg_values(2) := '20';
scott.rpt_on_emp.show(p_arg_names=>l_arg_names, p_arg_values=>l_arg_values);
end;
</ORACLE> <HR></BLOCKQUOTE>
null

Similar Messages

  • Call query from database as item source

    Hello!
    I have a query that is too long to paste it as the record source for an Apex item. It exceeds the limit of 32K.
    Is there a way to save that query at database level and call it from the apex item?
    If there is, please be so kind and give a small example!
    Thank you,
    Sebastian

    Hello,
    Why not put that code into a PL/SQL packaged function and use the "PL/SQL Function Body" or "PL/SQL Function or Expression" types instead?
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • How to call portlet from image item

    Hello,
    Here is the use case:
    I have a feedback form portlet. I want users to click on an image and open a popup window with feedback form portlet in it.
    How can I do this? Is this possible?
    Thanks,
    -Dong Chen

    Hi Dong Chen,
    As mentioned in the other post, you could just use a simple jsp page to do the job. But if you would like to use a portlet instead, then you will have to construct a link to the portlet's details mode <refer to the documentation for details on this> and use that link for invoking the portlet in the pop-up. The only issue here is that the styles dont get rendered, so you might want to include a reference to the style sheet in your portlet code.
    thanks,
    Harsha

  • Calling Portlet from URL

    Can a report portlet be called from an item URL ?
    Any idea ...

    Hi,
    I guess you are trying to use the URL component under the Applications tab.
    You can specify any URL here ,it can be any external site or even a URL that is equivalent to a RUN ,RUN PORTLET of a component or a page URL.
    Thaks,
    Anu

  • Calling portlet from a normal web application

    I have the following question:
    I would like to deploy portlets on Oracle Portal and "call" them programmatically from a home made web application running on the same Oracle Application Server where the portal runs.
    As I am running my web application on the same server I would like to avoid WSRP and SOAP calls.
    I am aware of the existence of the new Web Center and the possibility it gives to include portlets in web application ... but I cannot use the Web Center for now mainly because of licensing problems and application server versions.
    Is there an API (Java, PL/SQL or anything else) allowing to "call" a portlet deployed on Oracle Portal ?
    Thanks for the help.
    Nicolas

    Hi,
    Well, I did my JSP pages doing selects to OWF tables and OWF java APIs. I used owf pl/sql procedures as my reference. For example, I need to know how to create actions buttons. I looked at wfa_html procedure and looked for how it was doing that.
    Any doubts just ask,
    Regards,
    Luiz

  • Problem Populating Image Item From Database

    Hi All,
    I am using Oracle 9i & Forms 6i on Windows platform & working in client/server model. I created a form in which, I am reading an image file from the file system & then saving it into the database. In the Databse, i created the column as BLOB. But, when I query, this does not retrive the saved image in Image Item. But image is actually saved. When I tried, changing the database column to LONG RAW, it is working. I mean its reading the image in the image item from the database.
    Can anyone pls tell me, is there any problem like this, as we can retrive from LONG RAW but not from BLOB, or I am missin something here.
    Regards

    Hi,
    I use Forms 6i to save and retrieve image in BLOB column without problems.
    Some weeks ago, my column was long raw and I update it without problems. Nothing to do in Forms and juste modifiy query and recompile in Reports.

  • Using the content aware move tool, I want to move an item from one image to another image but it does not seem to work. I think I need two layers on one document so how do I do this

    Using the content aware move tool, I want to move an item from one image to another image but it does not seem to work. I think I need two layers on one document so how do I do this

    Good day!
    A simple Paste does not work for you?
    It should place the clipboard content as a new Layer which you can then move around.
    If there is any chance that the elements need to be scaled, rotated etc. I would prefer to place them as Smart Objects (File > Place …) and do the masking that is specific to the images themselves in those.
    Regards,
    Pfaffenbichler

  • Can we call a pdk portlet from other pdk portlet

    Hi friends,
    Can i call a pdk portlet from other pdk portlet when an event happens.
    Scenario:
    I have a pdk portlet with 10 html links. When anyone clicks on a link then a new portlet should be displayed in the same page.
    Is it possible to call one portlet from others.
    Please help me out with ur ideas or any workarounds.
    Thanks & Rgds,
    Dhanu

    Neeraj,
    Let me state my requirements very clear to u.
    1)I have a search portlet at top right corner.
    2)Below there is a region with 3 tabs(say A, B, C).
    3)When anyone searches for anything in the search portlet then the results should be displayed in new search tab(say D).
    4)If any one navigates to other tab(ie A or B or C) then the search tab(ie D) should not be displayed.
    This is my requirement. Can u please suggest me with how this can be achieved. I am just a beginner to Oracle portals10.1.4 and i am using JPDK to create portlets.
    Please do reply ASAP.
    With thanks & Rgds,
    Dhanu

  • Forms 11gR2 - paste from clipboard into image item

    Hi, how can I paste image from clipboard straight into an Image item on Form?
    If it can't be done via standard Forms functionality, is there any workaround - I mean can Java Bean do it, or maybe drag and drop via Beans Area?
    I know it's quite odd functionality, but any hint is much appreciated.
    Thanks in advance. Jack

    Hello,
    <p>I think that it is not possible. The only ways to populate an Image Item is to use the Read_Image_File() or to query from the database.
    You can use a Java Bean that allows to drag and drop an image file.</p>
    Francois

  • Show image item from table into form's item.

    Hi Friends,
    My problem is:
    I have 1 table with 2 cols:
    eid number
    e_pict blob.
    I created a form (block based on this table). I'm able to show any valid image file stored in disk into e_pict (declared as image item) using the built_in READ_IMAGE_FILE. and also able to save it in the table test. But if I want to do the reverse process I mean retrieve the image from table's field to the image item of form, it creates problem. I even cannot compile the post_text_item trigger of eid:
    select e_pict into :test.e_pict
    from test
    where rtrim(eid)=rtrim(:eid);
    It is giving error:
    bad bind variable 'test.e_pict'
    Pls help me.
    Regards,
    Pragati.

    If I declare the image field as long raw instead of blob then also the same problem.
    I can save the image from file to database through a form but cannot retrieve an image from database to form.
    Pls help.
    Thanks in advance,
    Pragati.

  • How can I take an item from one image and move it to another image?

    How can I take an item from one image and add it to another image, and rotate it to fit?

    Carefully select the objects of interest in one image and then copy, scale and position them into the other image. Then touch up the composite.
    Have to Love Photoshop for Retouching Images!

  • Secure AJAX calls made from a JSR 168 portlet

    I am investigating methods to secure AJAX calls made from a JSR 168 portlet to a servlet using the Direct Web Remoting framework (DWR) and Weblogic Portal. The portlet can have more than one instance and different entitlements depending on the desktop it is available from. The Portal has several desktops and does not require the user to authenticate for some of the desktops.
    So far the only method I have come up with is to pass a token from the portlet to the servlet which indicates the entitlements the user should have to access the documents from the portlet and check in the servlet if the User has the appropriate global roles to access the documents.

    no , that doesn't work, the token passed can be modified by a malicious user (unless the token is random or signed)
    You need to store the desktop(s) the user is on in probably the HttpSession and read that from the servlet and make the decisions accordingly.
    regards
    deepak

  • Bean to load image item from URL?

    Can someone point me to a bean that will allow the loading of an image item from a URL?
    Cheers,
    Gary

    Here is the material:
    <p>
    the screen shot is here : http://sheikyerbouti.developpez.com/forms-pjc-bean/handleimage/getimage.png</p>
    <p>Get the jar file and the form module sample (9.0.2)</p>
    Notice that you could also download the image with the File_Transfert.URL_To_Client() Webutil function then load it with the Client_Read_Image_File() built-in.
    Francois

  • How to load a image from database to image item in oracle 10 g form

    I have stored some images in the Database Table with BLOB datatype. Now I need to load that image in the non database image item. Please advise. Thanks.

    You need to have a print server installed to generate the pdf. Either use BI Publisher and it's desktop development tool or use FOP/Cocoon.. Adding an image with them is a little more involved..
    Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.

  • Paste image from clipboard into image item in Forms10

    Hi all!
    procedure PASTE_REGION work in Forms6 for image item, but i can't paste in Forms10.
    This function is no longer available?
    Valeriy

    Scripting or coding doesn't work with extending the Silverlight webpart. The source code of the Silverlight webpart isn't available by Microsoft. So you can't modify the code of the Silverlight webpart.
    Also it's not supported by Microsoft to modify the Silverlight webpart and it maybe causes trouble with upcoming updates on the webpart as well.
    "Please don't shoot the messenger ;-)"
    Andreas Baumgarten | H&D International Group

Maybe you are looking for

  • Change Gl Account in F-28 Transaction

    Sir, There is File Bank Charge in F-28 T-code, when Post the Document, This Bank Charge in Posting in a GL. but I want to post the this Bank Charge in different GL on some condition. So Plz Guide me how to do. Thanks ! Ram

  • "Open Link in New Tab" doesn't remember first page in history

    I recently noticed that the "Open Link in New Tab" is not remembering the very first page in the tab history. The replication is simple. # Go to any page (Google works well) # Right click and chose to open a link on the page in a new tab # On the new

  • Creating links within a photo gallery

    I created a few albums and I want to know how to create links for specific photos. For example, I would like to link from one of the photos in gallery view to a larger version of that photo. I created another page with the larger photo but I cant cre

  • Windows XP in Boot Camp

    I have Windows XP in Parallels which now won't work in Leopard. Is it possible to use the Windows already installed with Boot Camp ?

  • Best practices available for web channel 2007

    Hi All Is there any best practices available for web channel 2007, can any one please guide where to get them regards Jaju