Using text items in portlets

Hi,
If you upload an image, you can use the virtual path of that image to display it in an HTML portlet.
Does the same apply for text? Is it possible to add a text item in a content area and have it displayed in an HTML portlet?
Thanks in advance,
Joey

Yes, you have to create a folder for each textportlet.
This method also gives you very nice "render within portlet" opportunities. Surf to www.PlanMySport.com, click tab "Informatie" and click the link "Lees hier meer over..." in the upper left portlet. It's in Dutch, but it's just to show the functionality.
The link "Lees hier meer over..." is a subfolder in the folder displaying the announcement "Waarom gebruikt u als sportorganisatie PlanMySport?".
Just try this method - it's very powerful.

Similar Messages

  • Linked list to string coercion doesn't use text item delimiters: bug?

    set AppleScript's text item delimiters to {"; "} -- well-known technique
    {1, -1, "c", "d"} as string -- curly braces specify a vector, delimiters work
    -- result: "1; -1; c; d"
    {1, -1, "c", "d"} as linked list as string -- if coerced to linked list, delimiters ignored
    -- result: "1-1cd"
    [1, -1, "c", "d"] as string -- square brackets specify a linked list, delimiters ignored
    -- result: "1-1cd"
    [1, -1, "c", "d"] as vector as string -- coercing linked list to vector first works
    -- result: "1; -1; c; d"

    Hello
    It appears that linked list to string coercion does not respect the AppleScript's text item delimiters which are set to list of Unicode text. (Unicode TIDs have no effects in coercion as if it were set to {""})
    I can confirm this behaviour in both AppleScript 1.8.3 (OS9) and 1.9.1 (OSX10.2.8) at hand.
    So it has been as such for a long time. Bug I'd call it.
    By the way, although this is not the point, linked list is a historical residue and of little use in real scripting. After all, it is much slower than vector with appropriate coding. So we may always coerce it to vector without losing anything.
    Regards,
    H
    Linked list to string coercion & AppleScript's text item delimiters (TIDs).
    When AppleScript's TIDs are set to list of Unicode text,
    the TIDs have no effect in coercion from linked list to string as if they were set to {""}.
    set aa to [1, 2, "a", "b"]
    --set aa to {1, 2, "a", "b"} as linked list
    set t1 to list2text(aa, ";") -- "1;2;a;b" -- in pre-AppleScript 2.0
    set t2 to list2text(aa, ";" as Unicode text) --"12ab"
    return {t1, t2}
    on list2text(aa, delim)
    list aa : source list
    string delim : a text item delimiter
    return string
    local astid, astid0, t
    set astid to a reference to AppleScript's text item delimiters
    set astid0 to astid's contents
    try
    set astid's contents to {delim}
    --set t to aa as string
    --set t to aa as Unicode text
    set t to "" & aa
    set astid's contents to astid0
    on error errs number errn
    set astid's contents to astid0
    error errs number errn
    end try
    return t
    end list2text

  • Text items larger then 32K

    Greetings all
    On our project we are using the RTE inside portal to allow our content managers to edit the contents of the page. This works fine in version 9, but in version 10 we have a small problem. While the information is saved correctly inside the database when it's larger then 32K in length and it shows correctly on the page, the item can't be modified anymore, since you get a character string to long error.
    After logging a TAR on metalink, they know the bug is related to this one: Bug 2346039 - TASK: TEXT ITEMS CANNOT EXCEED 32K IN SIZE. The biggest problem at this time for our content managers that they have no clue at all they are entering an item that is too large to edit, since everything is saved correctly in the tables.
    We've added some JavaScript code to the buildUIembed.html file so that the users get a popup window that tells them the item is to large, but untill now, we're unable to stop oracle for saving the item in the database.
    Does anyone know a way to stop the default action of oracle so that people can copy/paste their work to a safespot to split it up in 2 to avoid this bug?
    Best regards
    Johan Van Volsem

    Hell christian
    Thank you for your response, but when you use a the rich text editor, you don't use text items (oracle does internaly). Because the item of over 32K is nicely stored in the table without any errors. If we don't use the RTE, then when you save the item, the browsers return an error, the RTE doesn't which makes it more confusing for content managers, since they don't even know something is wrong when they save the item.
    Hence why oracle has added my bug from the tar to this ER.
    Thanx for your input anyhow.
    Regards
    Johan

  • Trying to make new text item in Pages 5.2 using Applescript

    I am trying to upgrade(?) from Pages 3 to Pages 5 and have a script that used to make a new document with text boxes. Previous line was:
      make text box with properties {object text:receiptDD, vertical position:6.9, horizontal position:2.7, height:0.5, width:1, extra space:0}
    Have the line changed to:
                                  make new text item with properties {object text:receiptDD, position:{6.9, 2.7}, height:0.5, width:1}
    but fails with error "Pages got an error: Don't know how to create TMAScriptInfoProxy" number -2763
    Not sure where to go from here,  searched various forums but cannot find a solution, any guidance gratefully received.

    Does your Photoshop menu bar have a 3D item? If not make sure you machine meets CC requirements and thatou GPU is enabled in you Photoshop preferences performance section

  • Using Page Text Item in an Authorization Scheme

    Hello,
    I will be having a text item is every page say, Px_RESP_ID (hidden and its value set in an earlier page), and want to use its value in an authorization scheme to verify if the user has an access to the page.
    I'm using the following SQL in the authorization scheme -
    Apex Version: Apex 3.2
    Scheme Type: Exists SQL Query
    SQL:
    SELECT 1
    FROM zs_users zu
    , zs_responsibilities zr
    , zs_user_resp_groups zur
    WHERE
    zu.user_name = :APP_USER
    AND zr.resp_id = '&P'||:APP_PAGE_ID||'_RESP_ID.'
    AND zu.user_id = zur.user_id
    AND zr.resp_id = zur.resp_id
    For some reason this approach is not working. Any ideas to help me move forward will be greatly appreciated.
    Regards,
    Seshu

    AFAIK an application item, or maybe a page 0 item, is the only way to do this (as those items effectively exist across all pages of an application). Unfortunately since authorization schemes are application-level, you can't really effectively reference page items at runtime since you aren't necessarily on that page.
    The other option is an ugly one. Instead of creating one auth scheme (e.g.: "user_has_whatever_authority"), create one for every page (e.g.: "user_has_whatever_authority_1", "user_has_whatever_authority_2", etc.) and attach each auth scheme to each page by matching up the number in the name with the page. But this is a maintenance nightmare and terrible style IMHO, but it'll work. Your colleagues will hate you for it when you're gone though.

  • Controling space between Text Items when using htp.p('HTMLDB_ITEM.TEXT')

    I'm using the following code inside a table tag within a loop to generate a multi-row printable form
    htp.p('<td cellspacing="0" align="right" width="100%" style="font-size:8pt">'||HTMLDB_ITEM.TEXT(p_idx=>2,p_size=>1)||'</td>');
    I'm still getting gaps between rows.
    How do I control the space between each row ? I want each text item row packed up like a spreadsheet with no gaps between rows. Although not shown (border="0") there is the enclosing table cell for each field, so what I want is no cellspacing and maximized item height within each cell.
    But with the above code I'm getting...
    etc.
    but I want
    Anyone know how to do this?
    regards
    Paul P

    Hi Chris , how's it goin'...
    thanks for the response. I know how to control a table cell area's height but it's the height of the inner textitem that I'm having trouble with. When I turn on border="1" There's not much space left between cells, just the default width of a line. I just don't know how to expand the height of the text item. The CSS code you suggested, where do I put the code and how do I apply it?
    Here is the guts of the PLSQL report code
    for des_rec in des_cur loop
    htp.p('<table height="100%" width="95%"border="0">');
    htp.p('<tr>');
    htp.p('<td style="font-size:8pt;font-family:Arial" width="80%" nowrap >'||
    des_rec.DES_SERVICE_DESC||'</td>');
    htp.p('<td cellspacing="0" align="right" width="5%" style="font-size:8pt">'||
    HTMLDB_ITEM.TEXT(p_idx=>2,p_size=>1)||'</td>');
    htp.p('<td cellspacing="0" align="left" width="5%" style="font-size:8pt">'||
    HTMLDB_ITEM.TEXT(p_idx=>3,p_size=>1)||'</td>');
    htp.p('</tr>');
    htp.p('</table>');
    end loop;
    regards
    Paul P

  • Purpose and use of item category Text (6)

    What is the Purpose and use of item category Text (6).
    it is meant for which biz scenario?

    Thanks for your explanation.
    Sorry I am not convinced on this biz scenario what has been posted. Why to enter just the text in the form of PO and maintain record in the system . One can send a word document or simply put a call to outside party for sending legal document.
    Moreover it hardly matters whether the PO is of less value or nil value. In standard also we use free goods in PO also. SAP, I think without any specific reason will not provide item category Text "T"- there must be some strong reason for it.
    Also please note that item category text T is also allowed in scheduling agreement for document type LP and LPA. then simply entering text in scheduling agreement for item category does not make any business sense.
    If anybody has come across the biz scenario, please share in the forum. I searched and went to thread on similar topic but could not find any convincing answer on this.

  • Which situation should we use the text item with the item category TATX

    Dear experts!
    Thank you for your attention!
    I am confused with text item (TATX).
    which situation should we use the text item with the item category TATX????
    Someone told me that the text item is dummy and should be used as a manual of certain standard item. But the manual may be a book or several papers and it also takes up some inventory not a dummy.
    So, could some body tell me what the text item (TATX) exact is and what function it has.
    Best regard!
    Tangdark

    Hi,
    you can use TATX if you like to enter a text and to print some information between the item lines.
    Regards
    William

  • Read only text Items uses the maximum width

    Folks,
    I have a form with 3 regions and each region has 6 or more text items each with a different width (40, 30 24, 2...). I am using a Read Only Condition Type on all these items to disable them. I am setting the background color as bgcolor="#DCDCDC" in the Read Only Element Table Cell Attributes.
    All my elements are disabled (Gray color) but with the maximum width of 40 bytes. I don't want a 2 byte text item 40 bytes long and grayed out. How can I set a specific width for individual items in Read only Condition? Please help
    Thanks
    Raje.

    Try this alternative by disabling the HTML Form Item at the required process point.
    I added this JavaScript to the HTML Header of the page which will allow me to disable the required item, plus set its background and color:-
    <script language="JavaScript1.1" type="text/javascript">
        function disableFormItem(p_item, p_background, p_color){
                        disItem = document.getElementById(p_item);
                        disItem.style.background = p_background;
                        disItem.disabled = true;
                        disItem.style.color = p_color;
    </script>In the Region Footer of the Region where my items are located I added this JavaScript code:-
    <script language="JavaScript" type="text/javascript">
       ** Only disable the required Form Items if the Primary Key value is present,
       ** in this case it is P12_UEI. (Won't be present for new records as populated
       ** by on-insert db trigger and sequence.)
       if (html_GetElement('P12_UEI').value > 0)
          disableFormItem('P12_URESI', 'lightyellow', 'black');
          disableFormItem('P12_UZI', 'lightgray', 'black');
          disableFormItem('P12_UBI', 'lightgray', 'black');
    </script> The resulting page is a lot better looking than using the APEX read only text item.
    Regards,
    Phil

  • How to insert values using pushputtons in text item & fetch data based on

    Dear friends,
    I want to insert values in the Text item using pushbutton e.g to insert 05CST884 into text item using pushbuttons '0' '5' 'C' 'S' 'T' '8' '8' '4' (alpha numeric buttons) in the layout editor and then fetch data based on the number entered with that of one in the table in the another text item2 in the layout editor.
    Suggestions regarding how to develop and use effective triggers are welcome.

    At the block level (for the control block where all your push buttons are, let's call it block1) create a WHEN-BUTTON-PRESSED trigger. Your [A-Z] and [0-9] buttons should be on a dedicated non-database datablock to reduce problems. As stated previously, this trigger should just contain the code:
    :block2.text_item := :block2.text_item||get_item_property(:system.trigger_item, label);
    Also on the pushbutton block, create a backspacve button with its own dedicated WHEN-BUTTON-PRESSED trigger containing:
    if length(:block2.text_item) > 0 then :block2.text_item := substr(:block2.text_item, 1, length(:block2.text_item)); end if;
    This will hopefully erase the last character entered.
    block2 should be based on the database table (see Property Palette --> Database) you wish to query and text_item should be based on the database item which contains the code you entered. All the other database items you wish to displayshould also be added to block2.
    Add another FIND push button to block1 with the code:
    go_block('block2');
    execute_query;
    Without writing the whole thing for you, I'd suggest you get a decent Forms tutorial book to guide you through the basics (Oracle Forms Developers Handbook).

  • Would like to use apex_item to popup a calculator for a text item field, is this possible in apex 4.2.2?

    would like to use apex_item to popup a calculator for a text item field, is this possible in apex 4.2.2?

    I imagine you could reverse engineer what APEX delivers when you declaratively choose text field with calculator.
    For example, the generated source includes an event:
    onclick="calculatorPopUp_p_t01();"
    These get added to the attributes of your apex_item.text() call.
    Alternatively you just paste the entire generated content, escaping the necessary data.

  • Cocoa Applescript can't use AppleScript's text item delimiters

    Here is my code
    if (track_name_html as text) contains (publisher_name as text) then
                try
                    set s to track_name_html as text
                    set AppleScript's text item delimiters to "- "
                    set track_name1 to text item 2 of s
                    on error
                    set track_name1 to track_name_html as text
                end try
                else
                set track_name1 to track_name_html as text
            end if
            track_name_ui's setStringValue_(track_name as text)
    When I try to log track_name it returns blank. It's very important for my Cocoa-Applescript App.
    Thnaks in advance

    After looking documention I found insertText()
    Then I make a handler for quick insertion to text view
    on statusin(statustx)
            set my statuseditable to true
            set timetx to do shell script "date +'%H:%M'"
            status's insertText_(timetx & " - " & statustx & return)
            set my statuseditable to false
            end statusin

  • Error creating text item in portal

    Hello forum, I am having an error creating a text item in portal. I'd like the item to be displayed directly on the page. However, the item is greater than 32K. This is the error in the log file: portal: [module=RepositoryServlet, ecid=83707100943,1] ERROR: Repository Gateway error: Request Processing Error: Value param too long. Length is 189640. Upper limit is 32512
    Does anybody know of a work around this issue?
    Thanks

    There's not a workaround, per se, for this. The 32K is a hard and fast (and very annoying) limit. Depending on the item and display you'd like to use, you could put it in a dynamic page and display it as a portlet, or split it up into different items.

  • Display Text Items in New Page

    I am currently designing a Content Area for our new site and have come across a problem which I really need to find a way round.
    I am adding HTML articles as text items into the Content Area. For the interface, I am using a Portal page and publishing the Content Area as a portlet onto this page. I need to do it this way rather than exposing the actual Content Area page as our organisation needs to use an external style sheet on the page for accessibility purposes.
    What I need to be able to do is when a user clicks on the link for the item, it will open up inside a blank page inside the same browser window, preferably with a template added to it. I know there is actually an option to set the item to display inside a blank page but this 'blank' page is actually the Content Area page and this uses the internal Portal style.
    There doesn't seem to be any way of specifying your own template for a Content Area page which is pretty much what I need to do.
    Thanks in advance for any help!
    Richard

    Erik:
    Very good to know! I ended up logging an SR after all, and included your post to help guide the support rep.
    I'm pretty sure it's a server side problem, because the MIME type is served up incorrectly. IE seems to handle text/plain encoded that are actually HTML more gracefully than Firefox.
    (As for handling anything else gracefully, well... that's another story :-) )
    Thanks!
    -John

  • Css and js in simple text items.

    Portal 9.0.2.3
    I've read in other threads that you can add javascript and css into simple text items by clicking the 'View HTML Source' checkbox and adding the js or css code.
    When I do this then apply it the code that I have added disappears and therefore has no effect on the item.
    Any ideas what I'm doing wrong?
    Cheers,
    Steven.

    That's a known problem with the IE rich text editor that would require a fix from Microsoft. In 9.0.2.6 we allow you to disable the editor at the page group level as a workaround to this problem, but then all users have to enter plain HTML.
    As an alternative, you can use the HTML portlet or a dynamic page portlet to enter script and other problematic HTML code. In 9.0.2.6, you can disable the editor for a page group that is used to maintain banners and nav bar, and then publish those pages as portlets.
    Regards,
    Jerry
    PortalPM

Maybe you are looking for

  • Help needed regarding creation of report

    Hi all I am using apex 4.0 and oracle 10g I am creating a classic report and I have columns to display in the report. ex col A, Col B and Col C I am getting the values of Col A and Col B values from the table. I need to get the value of Col C from a

  • How to set JTextField length?

    pnlBkBorrow = new JLabel("Book borrowed"); pnlMain.add(pnlBkBorrow); textBkBorrow = new JTextField(25); pnlMain.add(textBkBorrow);I am using GridBagLayout, but the length is only 1 after compling

  • ACS 3.3 abnormality

    My configuration is as follows: 2 ACS servers which authenticate through a 2003 DC. Everything seems to be working fine, but every once in a while the authentication service fails to authenticate users. It says: External DB [NTAuthenDLL.dll]: MprAdmi

  • HELP! After Effects CS6 "Background Color" Rendering Problem!

    Of all my years of using Adobe After Effects, I have never encountered this problem before. First of all, this is what it looks like when I'm normally editing in my composition. Click the image to view in a higher resolution. When I add this composit

  • SAP controlling XI

    Hi guys, One simple question, SAP charges XI for the ammount of messages that are sent, right? Imagine that the price is xxx euros for 5Gb of messages. What are those messages? How can SAP control this messages? Thanks in advance