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?

Similar Messages

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

    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.

    create a stored procedure (f.e. in schema myschema create a stored proc named renderAsHTML)
    code for the procedure :
    PROCEDURE renderAsHTML(p_itemId varchar2,p_pageId varchar2,p_siteId varchar2) IS
        l_displayName  portal.wwsbr_all_items.display_name%type;
        l_name         portal.wwsbr_all_items.name%type;
        l_publishDate  varchar2(10);
        l_url varchar2(250);
    BEGIN
         -- Looking for item datas
         select display_name, name,   to_char(publish_date,'dd/mm/yyyy')
         into l_displayName,l_name, l_publishDate
         from portal.wwsbr_all_items
         where id =p_itemId and language=portal.wwctx_api.get_nls_language;
         -- getting the URL og the item
         l_url := portal.wwpob_page_util.get_page_url(p_pageId, p_siteId);
         -- HTML rendering
    htp.p('<.a href="'||l_url ||'/'|| l_name ||'">' ||  l_displayName ||'</.a><.br/>');
    htp.p('Published on ' || l_publishDate ');
    EXCEPTION
        WHEN others THEN
               htp.p('<.div>Somme error occured , code is ' || SQLCODE || '.</.div>');
    END renderAsHTML;
    please notice that I've added a dot in HTML tags to avoid this forum to interpret them
    note : make sure that you granted "execute" for the public user on teh procedure you've just created.
    go to item properties (navigator>shared objects>item types>modify the one you want
    go to tab3 (procedures)
    set the following options :
    type : PL/SQL
    call proc : myschema.renderAsHTML
    link text : render as HTML
    icon : keep blank
    select the "display proc results with the item" option
    pass the following parameters :
    attribute1 : item ID as p_itemId
    attribute1 : page ID as p_pageId
    attribute1 : pagegroup as p_siteId
    Now, in your custom search portlet, go to results rendering, remove all attributes and add the "associated function" attribute.
    Now, all the HTML generated by the stored proc will be rendered instead of the item.

  • How can I stop the last character of my password from being displayed?

    Sorry, I'm sure this would have been asked before, but I couldn't locate it..
    When unlocking my iPad, how can I stop it from displaying the last character of my password to everyone in the vicinity? This has got to be the fastest way to find out someone's password (just look at the screen as they type their 'secure' password!?). Having the iPad display your password letter by letter is really not acceptable when working in a non-secure environment.
    Is there a setting somewhere, or will this be addressed in a new iOS, or just ignored as a 'that's the way it is'?
    Thanks in advance,
    Andy

    AdventureBear wrote:
    Hi,
    This may have been the way it has been on iOS since 2008 (not sure about that though), however I know (based on working in the IT industry for 20 years) that nobody on this planet can successfully argue that it would be 'acceptable security practice', for me to display 'every last letter' as I type of a secure 'root' password on my screen every day when you log in... Nobody would think it acceptable to display even their LAN/Domain password on the screen in this same manner. So why is iOS different?!
    iOS on a phone (it used to be argued) doesn't need to be very secure as it is almost entirely phone numbers and email addresses that are being stored. However in recent years when the applications got better, and tablets came out, security became a much bigger issue as more and more people started using the functions of 'smart' phones to store more 'sensitive' data.
    Kind regards,
    Andy
    Are you suggesting that someone looking over your shoulder can't see the keys that you're tapping with your fingers? In the interest of security, i would never, under any circumstances, enter a password when others are around.

  • How can i display Value in Report which i select from Multiple select list

    Dear All,
    i am using multiple select List in form with report page.
    When i create new Entry with select Multiple value in Multiple Select List then in report Value display me in below format
    my SQL Query are
    select NAME D, CODE R from  COUNTRY_MAS WHERE ACTIVE_FLG ='Y' order by NAME
    AS:AI:AG:AM these are return value .i want to display NAME in report .
    How can i do this ?
    Thanks
    Edited by: Vedant on Apr 25, 2012 11:14 PM

    Short answer, use the apex_util.string_to_table to convert to a table; then you can either iterate through the table to generate a string of names, or accomplish the same with a bulk operation.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDFEEJD
    Encapsulate all this within a pl/sql function.

  • How can i exclude my macbook backup on time capsule from other imac connected to same time capsule?

    we have several mac connected to same time capsule, how can i exclude one macbook backup from all the others mac accessing same time capsule?
    thanks

    Not exactly clear what you mean.. the TC will keep each Mac backup in its own sparsebundle.. it does this automagically.. The backups are not mixed.. all are kept separate.
    Or is this a security question.. you don't want people looking at the contents of the backup?
    You can increase the security of the TC.. but it is too late.. you should have done it when first installed. If you go to the setup you can change security (Secure Shared Disks) by selecting with Accounts.. the problem is you will lose access to all the existing backups. You really need to do a clean start.. create accounts for all the users and start again.
    Also note security is not a big feature here.. anybody with physical access to the TC can press the reset for 1sec and get access. It is a home device not a business device.

  • How can I make a dropdown box populate with values from other fields?

    I am trying to create a NCAA bracket where they select teams from a dropdown menu. For example, they choose which teams win in game 1 and 2 through a dropdown box. The winner of games 1 and 2 then play each other, so how can I populate the dropbox with their selections for game 1 and 2?
    Game 1 winner --
         (game 9)        |--- Game 9 winner
    Game 2 winner --
    Game 9 winner needs to populate with their selections from game 1 winner and game 2 winner.

    I would look at using the setItems Acrobat JavaScript method.
    Have you considered using  a Mouse Up action for "Game 1" and "Game 2" to fill "Game 9"

  • How can I display the 11000+ "items not shown?"

    I have Elements 7 and running Windows 7 64bit. "Show all" only shows a couple of thousand photos and 11000+ "items not shown."  I have never stacked or hidden any photos.  I've tried everything.  The "show hidden" gives me 0 photos.  When I ask to show a tag of some of the missing photos, I again get 0. The photos are not shown in any of the views.  When I try to reimport the photos, it says they are already there. I need help desperately. I've put too much work into this organizer to start from scratch.

    Thanks for the reply and the terrific FAQ source.  I followed the directions suggested, but things actually got worse.  When I tried display all, I got 0 photos - nada - zip.  I kept messing around and finally success.  I tried so many combinations of things that I'm not sure which actually solved the problem, but I believe it was reconnect all.  I had tried this a couple of times before without success, but this time I deleted from the catalog all items elements couldn't find, even though I knew where they were.  Lo and behold all 13000 photos appeared.  BTW many of those are duplicates.

  • How can i get the last delete picture's info from tlf?

    if i delete the picture from the tlf i can't make the tlf undo
    and I want to get the picture'info with I last time delete from tlf 

    Can you let us know what you are doing to delete the picture, and also how you are undoing it? If it is being deleted through the EditManager delete function, the delete should undo correctly. Some example code to illustrate the problem would help.
    Once the picture has been deleted, TLF has no further reference to it. If you want to keep a reference, you will have to get it before it has been deleted. If you don't have control over the delete, you could find out when the image is deleted by listening for FLOW_OPERATION_END events.
    - robin

  • How can I display a avi-file while acquiring data from a DAQ-CARD at the same time

    While my system is acquiring analog data and controlling a motor, I want to display a avi-film (preferably in full-screen, so that the LabView GUI disapears during this process). Are there any VI's to open external players? May I face some problems to lose samples, due to the calling of external players?

    mhi wrote in message news:<[email protected]>...
    > I've already found this example, but it doesn't work with the latest
    > media-player. Anyhow, thank you for your answer!
    you can also try out this free vi from my website:
    http://www.geocities.com/irene_he/FunStuff.html
    Irene

  • How can I display which frame I want shown and hide others?

    I have a frame which is my login prompt (frmLogin). After the user logs in I need to display frmMain. How do I hide the frmLogin and frmMain? frmLogin could possibly be used again so I don't wish to unload it.

    Will there always be just one frame visible?
      Frame showing = null;
      . . . // build your frames, but don't show 'em
      show( someFrame );
      void show( Frame f ) {
        if ( showing != null ) showing.setVisible( false );
        showing = f;
        showing.setVisible( true );
      }

  • HT2736 How can I gift an iTunes item across different regions?

    I live in the US and my iTunes account is set-up in this region. Is it possible to gift something from iTunes to someone living in the UK who has a British iTunes account and British-bought iPhone?

    At the moment it's only possible to gift items (including gift certificates) to people whose account is based in the same country as your own - if you try it then it may appear to then go through, but the recipient won't be able to redeem it.

  • Display the last item in Content Query web part

    Edited my post
    I was trying to create a CQWP that will display 5 blog posts in the following format:
    Name of the blog                | Previous blog posts:    |
     Post 5                               |  Post 4                     
    |
     Description                        |  Post 3                     
    |
                                             |  Post
    2                      |
                                             |  Post
    1                      |
    --------------------------------------------------------- |
    This was my first time using CQWP and XSLT. So the guys in this forum helped me with the code that finds the last item and splits it from the rest of the posts.
    But when I try to create a format like the table above, is not possible, because <xsl:Template keeps repeating the layout. It seems that CQWP is not made for fanncy layouts. I think it functions in a top-to-bottom fashion.
    If anyone knows how to create the format above, I will be very greatful.
    First post in this threat:
    Can anyone tell me how can I display the last item added using CQWP and XSLT?
    The code below displays all titles. I don't know how can I get the last item. The xslt template below works like a repeater control.
    Any help will be very much appreciated.
         <xsl:template name="abc" match="Row[@Style='abc']" mode="itemstyle">
             <xsl:value-of select="@title"/>
         </xsl:template>
    thank you.

    Try this (you'll need to modify the widths according to your requirements, and sort you're list so that most recent items is returned first)
    <xsl:template name="TestCount" match="Row[@Style='TestCount']" mode="itemstyle">
    <xsl:variable name="DisplayTitle">
    <xsl:call-template name="OuterTemplate.GetTitle">
    <xsl:with-param name="Title" select="@Title"/>
    <xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
    </xsl:call-template>
    </xsl:variable>
    <xsl:variable name="ItemNumber">
    <xsl:number></xsl:number>
    </xsl:variable>
    <xsl:choose>
    <xsl:when test="$ItemNumber = '1'">
    <div style="float:left;width:100px;margin:5px;display:block;">First Item: <xsl:value-of select="$ItemNumber"/> (<xsl:value-of select="$DisplayTitle"/>)</div>
    </xsl:when>
    <xsl:when test="$ItemNumber = '2'">
    <div style="float:left;width:100px;margin:5px;display:block;">Last Item: <xsl:value-of select="$ItemNumber"/> (<xsl:value-of select="$DisplayTitle"/>)</div>
    </xsl:when>
    <xsl:when test="$ItemNumber = $ItemCount">
    <div style="clear:both;float:left;width:100px;margin:5px;left:105px;display:block;">Last Item: <xsl:value-of select="$ItemNumber"/> (<xsl:value-of select="$DisplayTitle"/>)</div>
    </xsl:when>
    <xsl:otherwise>
    <div style="clear:both;float:left;width:100px;margin:5px;left:105px;display:block;">Item Number: <xsl:value-of select="$ItemNumber"/> (<xsl:value-of select="$DisplayTitle"/>)</div>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    Regards, Matthew
    My Blog
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

  • How can i display all the query items to a table?

    how can i display all the query items to a table in a jsp file?
    i always have an out of memory error..

    any body??any idea?
    is it possible thru configuration or i have to write a program by the abaper??
    Biswa

  • How can I display True/False in my dropdownlist as "Yes" and "No"?

    Hi All,
    I want to bind a dropdownlist to a boolean value (so it's either true or false).  I'm particularly interested in using two-way binding to when the user changes from "yes" to "no" the boolean value automatically changes from "true" to "false."  But, I want the user to see "yes" and "no" as the options, rather than "true" and "false".
    How can I display "yes" and "no" and still take advantage of binding?  Or can I not use binding in this circumstance?
      -Josh

    Solution 1:
    In order to display Yes/No for True/False, you may specify labelFunction for the dropdownList.
    In MXML:
    <s:DropDownList labelFunction="myLabelFunction" />
    In actionscript:
    private var arr:ArrayCollection = new ArrayCollection(["true","false"]);
                private function mylabelFunction(item:Object):String
                    if(item.toString() == "true")
                        return "yes";
                    else return "No";
    OR
    Solution2:
    may be u can try making an array collection like
    private var arr:ArrayCollection = new ArrayCollection([{label:"yes",value:"true"},{label:"no",value:"false"}]);
    and specify labelField for the dropdownList like
    <s:DropDownList labelField="label" dataProvider="{arr}" />

  • How can I get the checked item from a list that is generated automatically?

    I am still pretty new a CF and could really use some help. I am trying to get each item that is checked from a page that generates the list automatically from a query and get the associated textbox text with it. For example:
                        <!--- Start Get Data Hierarchy List--->
                                  <cfquery datasource="MyDatasource" name="qry_GetData">
                                            SELECT C.taxonomy_id, C.lvl, C.taxonomy_name, C.taxonomy_tree, C.taxonomy_guid, C.taxonomy_standard_name
                                            FROM dbo.taxonomy AS P
                                            JOIN dbo.taxonomy AS C
                                                      ON P.taxonomy_id = 21
                                                      AND C.hid.IsDescendantOf(P.hid) = 1
                                                      AND C.lvl = 3
                                  </cfquery>
                        <!--- Start Get Data Hierarchy List--->
    <cfloop query="qry_GetData">
    <input type="checkbox" name="cbox_PE_SelTax#taxonomy_id#" value="#taxonomy_name#"><font size="4" color="3399FF"> #taxonomy_name#</font>
    <br />
         - Details of experience with #taxonomy_name#:<input name="tbox_PE_SelTax#taxonomy_id#" id="tbox_PE_SelTax#taxonomy_id#" size="50%">
    <br />
    <br />
    </cfloop>

    Dave,
    Thank you for your help so far. I must not be asking the right question. Here is the whole breakdown. I am writing this page to collect the users information, Name, Title, Company, and technologies they are familiar with. I then want that information emailed to me upon submission. The point I am running into a problem (even with your last post) is how to write the action part of it that will email the checked items to me. I cannot figure out if I need to use CFLOOP (if so, how) or what the best method is. I am a very visual lerner and can understand how code works easily, but I have not found any examples for my situation. Again, I really appriciate all of your help thus far.
    Thank you!

Maybe you are looking for