Programmatically display edit link to a portlet

I am using Oracle Portal Version: 10.1.2.0.2 (Build: 139).
I have successfully added a portlet to a portal page using pl/sql.
Does anyone know how to display the edit link for a portlet using pl/sql?
Thanks

hi,
could you please post this question in the portlet development forum ?
http://forums.oracle.com/forums/forum.jspa?forumID=4
thanks,
christian

Similar Messages

  • Edit link in item region portlet is displayed with unwanted banner

    I have several item repositories in the form of pages published as portlets. When adding these portlets I often check the option to display the edit link. When the link is displayed on the page it always shows up with a banner in a completely different color than what is set in the page style. How do I get rid of this, or where can i find the default setting for this so I can hard code it to white or something?

    You cannot change the style of the edit banner in the page portlet.
    Regards,
    Jerry
    PortalPM

  • Adding a portlet to a page like the customize or edit link

    I hope somebody else out there has seen or tried this...
    I would like to have a list of portlets, similar to the way the repository displays them, inside of a portlet on a page. Each entry would be a link, that when clicked, would add the selected portlet to a different region on the page. Basically it would be a way to do the customize (add/remove portlets) function without having to click customize and drill into the repository. Is there anything in the PDK APIs or something that can do this?
    Thanks,
    Mike

    Hi Mike -
    What version are you using? The Portlet Repository Page group in 9.0.2.6+ is what you see when you add portlets through the normal UI. You can have a look in there and see what they call.
    Hope this helps,
    Candace

  • Hide Edit links not displayed in IE8 with Theme 2

    Hi All,
    when i use theme 2 from APEX and i am building an application, i can click on the "Show Edit links" button and normally the "Hide Edit Links" button is then displayed, but in this case no button "Hide Edit links" is displayed.
    When i switch the theme to Theme 1 then the button is displayed correctly, Swithing back to theme 2 then the button is again not displayed.
    When using FireFox the button is normally displayed. in both Themes.
    Is this a bug ?
    Regards,
    Marco

    Hi,
    I think it is a IE behavior about jQuery :visible selector.
    I resolved by replacing in $x_toggle function from apex_4_0.js (from images/javascript) :
    if (apex.jQuery(c).filter(':visible').length === 0)
    with
    if ($.trim(apex.jQuery(c).css('display')).toLowerCase() == 'none')
    I use OHS to access APEX . If you use embeded gateway you need to update the resource from XML DB repository .

  • Folder region edit links disappear!

    All,
    3.0.7.6.2 + 8.1.6.2 NT 4.0
    Created a custom tabset and added it as a portlet to the content area page. then moved the nav bar and folder portlets around. Now when I go to edit the folder style (to edit the folder layout), I don't see the edit links for the folder regions.
    I did this twice and get the same problem. Also, when I click on the edit defaults for the content area folder (while editing the CA page), I get a no data found error. I am able to edit defaults for the nav bar.
    Any tips ?
    Thanks

    Jerry,
    I tried this in multiple ways and have been able to narrow it down to the following case - "It occurs only if you have more than one regions in your page that is placed in place of the Navigation bar portlet". Please try the following steps and see if you can reproduce the bug...
    1. Create a page and
    a) select the Display No Banner option in the Main tab.
    b) add a new region to the page(Now there will be two regions). Don't place any portlet on the page.
    c) select the Publish as Portlet option for the page.
    d) save the page and go back to Navigator.
    2. Create a new content area.
    a) Edit the page of this new content area and remove the Navigation bar portlet.
    b) Now add the page created in step #1 (above) to the region where the Navigation portlet was.
    c) Save the content area page and go back to Navigator
    3. Click on the contents for the content area created above
    a) select the Styles.
    b) Click on the Edit link for the style
    c) select the Folder Layout tab.
    .... do you see the "Edit Folder Region" icons in the folder portlet?
    null

  • When i click on edit link a popup has to open and i have to show the inform

    Hi all,
    i have an arraylist with instances of Sectionbean.java class.
    I created a panelgroup layout to display all the variable inside Sectionbean.java class. and a link called "edit".
    i kept this panelgrouplayout as a child for iterator .
    out put is like this
    1 aaaa abc edit
    2 bbb abc edit
    3 ccc abc edit
    I am getting all the values and rendering in the ui properly like above.
    here when i click on edit link a popup has to open and i have to show the information related to the selected edit link in that row.
    can anyone give me suggistion that how to sove this .

    in the command link.. create a clientAttribute settign the value.. and use it in the popup using the source
    <af:commandLink id="cl2">
    <af:outputText value="#{row.Title}"
    id="outputText1"/>
    <af:clientAttribute name="title"
    value="#{row.Title}"/>
    <af:showPopupBehavior popupId="::p1"/>
    </af:commandLink>
    <af:popup id="p1" contentDelivery="lazyUncached" eventContext="launcher"
    launcherVar="source">
    <af:dialog id="d1" type="ok" title="Popup" contentWidth="300"
    contentHeight="200">
    <af:panelGroupLayout id="pgl4" layout="vertical">
    </af:panelGroupLayout>
    </af:dialog>
    <af:setPropertyListener from="#{source.attributes.Title}"
    to="#{pageFlowScope.Bean.contentId}"
    type="popupFetch"/>
    </af:popup>
    here the client attribute is set with the row.Title and later in the popup we are fetching the same using.. source.attributes.Title

  • Can I disable an "edit link" that is a column in a report?

    Hi -- I have a report page whose first column is a link -- it links to a form to edit the selected row.
    When the user's privileges are insufficient for editing, I want to display the link column, but disable
    it. I can completely NOT display it (using conditions) but don't like this option.
    I've tried setting both the item attribute and the link attribute to: id='EditRow', and then using
    a conditional region to disable it: document.getElementById("EditRow").disabled = true;
    This approach is working for HTML buttons, but not for this report column. How can I do this?
    Thanks,
    Carol

    Carol-
    I think that I had a similar requirement of a report where the user wanted links to display on certain records and on on others. I got this to work by putting the link HTML code in my SQL query. Here is a simplified version of my SQL:
    SELECT id
         , description
         , CASE WHEN nvl(l.letter_seq,0) = 1 then
                  '<a href="f?p=&APP_ID.:<APEX_PAGE_TO_NAVIGATE_TO>:&SESSION.::&DEBUG.::<Page Item Parameters>:<Parameter Values>"'
                ELSE
                  NULL
           END my_link
      FROM my_table
    WHERE ...
    So, if my LETTTER_SEQ=1, then I display a link, else I don't have a link. This way, you can also have links to different pages, based on the CASE statement. You don't need the double-quotes around the "f?p=" stuff, I couldn't get the string to display correctly without the double-quotes. Sorry for all of the editing and re-posting.
    Hope this helps.
    Dan
    Edited by: DTP on Sep 13, 2008 10:57 PM

  • Dynamic hide edit link in report, how?

    regarding apex 3.2
    in a standard report i use the first column to provide an edit link (url redirecting to another page), this far nothing mind-boggling.
    but the edit link should only be available if the actual row meets special creteria, e.g. if the value of a colum equals 'S'.
    how can this be solved?
    any help is very welcome
    peter

    ok, now i understand.
    i never thought of replacing the '#' by the real url to the page, because it worked without any change. maybe becaus of the report column defined like this: [http://yfrog.com/cbsnag0077j]
    now as the case statement looks like this
    case when ADRTYP ='M' then '<a href=f?p=&APP_ID.:25:&SESSION.:EDIT:&DEBUG.::P25_BELEGDID,P25_LFDNR,P25_ADRTYP_EDIT:#BELEGDID#,#LFDNR#,#ADRTYP#>Edit</a>' else ' ' end
    LFDNR_DISPLAY,even ie displays the cell correct.
    now a, final, problem:
    to build a secure app, i need to generate a checksum for this url. do you know how to append that to the url?

  • Always Get Edit Link When Item Level Permissions Set

    We've enabled item-level permissions in a folder, and all users receive the "edit folder" button, regardless of whether we've given them "manage" access. Turning off item-level permissions removes the edit link.
    Is this a known issue? Any workaround/solution?

    That's just a "feature" of item level security, I don't think Oracle has any plans to fix it in 3.0.9X they probably have resolved the issuse in 9.0.2 ..... If you really need it gone you can click "Edit Defaults" when editing the page, right next to the portlet and uncheck the box that says show "Show Edit Link".. But then you just taken away the easy ability of editing the items through the portlet and you have to go back to the Content Area to update anything.
    brad

  • Displaying a link in a tableView

    Hi,
    I am trying to display a link in column of a tableview in a jsp page.
    the source code is:
         public void initAttachmentsModel() {
              Vector colName = new Vector(2);          
              colName.addElement("File Name");
              colName.addElement("URL");
              attachmentsModel = new DefaultTableViewModel(attachmentsList, colName);
              TableColumn col = attachmentsModel.getColumn("URL");
              col.setType(TableColumnType.LINK);
              col.setEncode(false);
    But no link is displayed within the tableview.
    I also tried setUserTypeCellRenderer() and still no results.
    Message was edited by: Mark Finnern

    Hi Aviad,
    You can do this in two ways. Populate the value of all columns in Table Model.
    <u>I Way</u>: Set the column type as Link in TableView Model.
    <hbj:tableView  id="myTableView"
                    model= "myTableViewBean.model"
                    design = "ALTERNATING"
                    headerVisible = "true"
                    footerVisible = "true"
                    fillUpEmptyRows = "true"
                    selectionMode = "MULTISELECT"
                    navigationMode = "BYLINE"
                    headerText = "<h3>tableView</h3>"
                    visibleFirstRow = "1"
                    visibleRowCount = "4"
                    onNavigate="onNavigate" >
    <%
    myTableView.setColumnType(TableColumnType.LINK,column no);
    %>
      </hbj:tableView>
    <u>II Way</u> Set the column type as TableColumnType.USER and write the cell renderer.
    <%
    myTableView.setColumnType(TableColumnType.USER,column no);       
    myTableView.setUserTypeCellRenderer(new TableViewCellRenderer()); %>
    In Cell Renderer "TableViewCellRenderer.java"
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.rendering.IPageContext;
    import com.sapportals.htmlb.table.ICellRenderer;
    import com.sapportals.htmlb.table.TableView;
    public class TableViewCellRenderer implements ICellRenderer {
        public void renderCell(int row, int column, TableView tableView, IPageContext rendererContext) {
            if (column == 1) {
             Link mylink = new Link();
             String linkText = tableView.getValueAt(row, 
                               column).toString();
             mylink.addText(linkText);
         // Set the renderer
                ddlb.render(rendererContext);
    Hope this helps.
    Regards,
    Praveen
    PS. Dont foget to award points if it is useful/solved

  • Display a form as a portlet in a page

    Is it possible to display a form as a portlet in a page and pass it parameters?
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ben Segers ([email protected]):
    Is it possible to display a form as a portlet in a page and pass it parameters?<HR></BLOCKQUOTE>
    It's very much possible to publish the Form as a Portlet. Do the following things:
    1) Select the Application in which your Form is residing.
    2)In front of your Form name,in the Actions cloumn, Click the link named "Grant Access".
    3) In the page that is presented to you you will see a title "Portal Access" below which there is a Check Box named "Publish to Portal".
    Check this Box and Click "Apply" and then "Close"
    This will create a Portlet of that Form which you can use in your Page
    Also I am struggling about passing the parameters from one Form to another. I have posted this in the Forum but the things that they advise to try from the FAQ have not yet worked properly for me as yet. Also if you come across any solution pl. let me know

  • Edit link problem

    Hi
    I have a created a form with report page in my application.
    Now the report has got a edit link based on one column.
    when we click this link, the form displays containing the record values for the fields.
    now over here the table based on which i have created this form/report consists of
    a composite key. say a & b.
    now the problem is that 'a' has two different values so when u try to edit this record
    it throws an error -'more than one rows returned'.
    now how can i edit the record based on linking of the 2 columns both a & b
    rather than only 'a'.
    Thanks
    Ameya

    You first need to change your fetch process for the form by adding the second key field, column. Second, you can edit the link and add additional column value to be included in the link.
    Denes Kubicek

  • ERROR Executing when Display/Edit

    Hi Experts,
    When Iam trying to EDIT in Message Mapping it does not allowed to edit. This below message will displayed.
    ERROR Executing when Display/Edit
    Message Mapping: delivery_Mapping | http://testscenarios.com/SAP/TEST is already locked in change list Standard change list by user. If necessary, you can reassign the other users change list to yourself.
    Thanks
    Hari

    Hi,
    first you unlock the the mapping.
    on your home page i.e http://<host>:<J2EEport /dir/start/index.jsp, there will be a link named as 'Administration' open that link and then there you can look for LOCK OVERVIEW (for both ESR & ID sererately), use lock overview to unlock your objects.
    regards,
    ganesh.

  • XML Content Editing - link disappeared

    Greetings,
    We have recently upgraded our portal from SP11 to SP19, and several KM functionalities changed.
    Beforehand we had an "edit" link while displaying XML forms (left bottom corner), and clicking the link opened an XML editor for that specific document.
    I am 99% sure that this is one of settings under /etc/xmlforms/... folders, which was overwritten during the upgrade, and that this link appeared in SP11 becuase of customization.
    Did anyone ever had to implement such a functionality?
    Thanks in advance!

    Hi Ivan,
    In my opinion this upgrade should not affect on your customized  xml form or KM content. But if in upgrade the template is deleted or overwritten by transporting the old data then your expected result will hamper.
    As you are mentioning about  "/etc/xmlforms/.." folder structure; it is a folder in which actual xml code of your xml form template is stored & we don't  have to do any changes here.
    If you have created edit button functionality  in your code then just look it again. And if you have made provision of it in xml form only then check it the form again & add the ' edit ' functionality by opening it in xml form builder.Or transport the (backup) old xml form templates again by ice package.

  • Link to another portlet

    Hello, how can I make a link to another portlet? Both portlets resides in the same project. We run 9iAS 9.0.2.3.

    Ok, I will try it.
    <br><br>
    Nx = Link in the navigation
    <br>Px = Portlet
    <br><br>
    The first site (with active link N2, that means this site will display by clicking N2):
    <br><br>
    N1 P1 P2 P3
    <br><b>N2</b> P4 P5 P6
    <br>N3
    <br>N4
    <br><br>
    The second site (with active link N3):
    <br><br>
    N1 P7 P8 P9
    <br>N2 P10 P11 P12
    <br><b>N3</b>
    <br>N4
    <br><br>
    Now, will be set a link in a portlet (eg. P2) in the first site to forward to the second site, that means by clicking P2 of the first site it will be display the second site.<br>
    I hope this explanation is a little bit better.
    <br><br>Bye Oliver

Maybe you are looking for

  • When I send a text message to my wife, it comes across on her ipad and not her phone

    When I send a text message to my wives phone, It comes across on her ipad and not her iphone.  I want it to go on the phone and not the ipad.  Can anyone help? Thanks, Bob

  • Program not working ib background

    Moderator message: background/foreground/GUI problems = FAQ, please search before posting. Hi All, I have a program which is not working in background.It actuly takes the file and using GUI_upload i upload it into ITAb and then modify the database ta

  • WRT54G Disconnects when another computer connects

    Hello, I have a WRT54G v5 Wireless-G Broadband Router. My 100MB fiber optic line is connected directly to the router and the router connects to my internet account with no problem. The main computer that I use is directly connected to the router via

  • There was a problem inserting the Service Request: null

    I am trying out service desk. When I try to create a request I get: There was a problem inserting the Service Request: null I can't see what the issues is. All fields marked in red are filled. Tom

  • I am not able to scroll in Bridge CS5

    Hello Everyone, With my version of Adobe Bridge CS5, there is no scroll bar on the right-hand side of the window. Therefore I can not see the icons which are on the far right of the screen unless I make everything so small that it is hard to differen