Creating a cusotm button for Portlet Titlebar

I am trying to create a custom button for our help system. The Help System is being
hosted external to the portal. Ideally when a user clicks on the help icon a new
window will appear with help relevant to that portlet.
I can update a skeleton's titlebar.jsp to add this button and pull details from
the portlet preferences to makes sure the relevant url is generated. The issues
i see with my code are that they may not leverage the skin api very well to retreive
the correct help images or apply the correct style to the border of the image.
I see there are objects out there like ButtonPresentationContext and ToggleButtonPresentationContext
that appear to retrieve look-and-feel information. Is there a way for me to populate
my own ButtonPresentationContext to represent this custom button?

I am currently trying to implement the help button on the title bar (I have suppressed the portlet title bar). I am able to add the portlet button, but am not able to get the help URL specified in the webservices advanced url settings page.
Sample code
<TABLE cellSpacing="0" cellPadding="0" width="100%">
     <TR>
          <TD class="platportletHeaderBg platportletWideHeader portletTitle" vAlign="middle" align="left">Test Page</TD>
          <TD align="right" valign="middle" nowrap class="platportletHeaderBg customappText portletButtons">
               <span class="portletHelpButton"><img src="images/action_portlet_help.gif" alt="Test Help." border="0" align="absMiddle"
                         height="13" width="13"></A></span>
          </TD>
     </TR>
</TABLE>

Similar Messages

  • How To Create On Submit Button For Master_detail Page ?

    I have adf page that is master And detail view.
    i want to have one submit button for master and detail block

    Duplicate of  How To Create On Submit Button For Master_detail Page ?
    Please don'r post your question multiple times.
    Timo

  • How to create a help button for downloading a help file in OA Framework

    Hi all
    I want to create a help button for downloading a help document.Plz suggest me how to do it.
    Thanks
    Bhupendra

    Create a button of type "button",set the destination url property to the place u have kept the file.But ur file should be anywhere in Common_top.If this file is stored as blob u can use messagedownload bean.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can we create a OCA button for Overview page?

    Hi Experts,
       Please help me with all the steps for creating an OCA button for Overview page. I have already tried it for table view in Viewset and it is working fine but how to do that in Overview page.
    Thanks and Regard,
    Pranoy Kumar

    Hi Pranoy,
    You need to redefine two methods of OVP view's _IMPL class and paste this code:
    METHOD if_bsp_wd_toolbar_callback~get_buttons.
      DATA:  ls_button    TYPE  crmt_thtmlb_button_ext.
    Ls_button-on_click = 'EDIT'.
         ls_button-type = cl_thtmlb_util=>gc_icon_edit.
         ls_button-page_id = me->component_id.
         ls_button-enabled = abap_true.
        APPEND ls_button TO rt_buttons.
      ENDMETHOD.                    "if_bsp_wd_toolbar_callbacku2014get_buttons
    method IF_BSP_WD_TOOLBAR_CALLBACK~GET_NUMBER_OF_VISIBLE_BUTTONS.
    *CALL METHOD SUPER->IF_BSP_WD_TOOLBAR_CALLBACK~GET_NUMBER_OF_VISIBLE_BUTTONS
    *  RECEIVING
        RV_RESULT = 6.
    endmethod.
    And write the event handler method for here in my case EDIT, or you can write depending on your requirement.
    Regards,
    Vishal.

  • How to create a flash button, for mobile phones?

    i want to know the way how i can create a flash button for mobile in flash CS4.

    Create a button of type "button",set the destination url property to the place u have kept the file.But ur file should be anywhere in Common_top.If this file is stored as blob u can use messagedownload bean.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do I create a submit button for my form? I would like it to send the completed PDF to an email address

    Hi everyone,
    I recently upgraded to Adobe XI and I can't find a "submit by email" button for my form. I created a button and tried to set up some actions but, I can only get the button to direct the user to a URL. How do I make it send the completed PDF to our designated company email address? I'm not too familiar with JAVASCRIPTS so I haven't tried that plus I heard it may not work with users with adobe reader.
    Any help would be appreciated.
    Thanks,
    Matt

    Thanks for the input. I think you might have a different version of LiveCycle than the copy I have since it looks a little different. However, I found the answer in Adobe help. I had to type "mailto:" before the email address to indicate it's an email and not a URL. See below.
    To collect form data as attachments to email, type mailto: followed by the email address. For example, mailto:[email protected]

  • How can I create a custom button for opening a form?

    I have a parent form having child forms. In my main form I want to create custom buttons for opening child forms. I want to use master-detail form but there are more than one child forms, and in master-detail form I can only create one detail form. So I will create a form based on a table and in that form I will call the child forms by custom buttons. Can I do that?
    Thanx,
    Gulsah.

    This can be easily done. First open up two instances of your Portal. In one window, you will need to go into your component you wish to link FROM. In the other window you will need to go into your component you wish to link TO. In the component you wish to link TO there will be a moduleid. Note this somewhere. Then, you will see an area that says: "Call Interface: Show". Click on this. (In the window you are linking to.). In this window, you will see a bunch of stuff. At the bottom you will see a URL call. This is the call you need to use. At the top, it explains each piece of the URL call. Just subsitute YOUR appropriate information into the URL call. In the form you wish to link FROM, create a button. Once you create this button, it will appear at the bottom, click on it and you will see an area to insert a Javascript. Click the onClick and insert:
    //this is the variable you want to pass from one form to the other
    get_field_name = getField(this.form,'COLUMN_NAME_IN_DATABASE');
    //this is so you can open the "child" form
    window.open('/pls/cc_prod/DAD_NAME.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=MOD_ID_HERE&p_arg_names=_sessionid&p_arg_values=&p_arg_names=COLUMN_NAME_IN_DATABASE&p_arg values='+GETFIELD_NAME+'&p_arg_names=_COLUMN_NAME_IN_DATABASE_cond&p_arg_values=%3D');
    In the fourth tab, where it says, "....before displaying form" insert the following: (This will tell the form how to handle the getField function.)
    htp.p('<script language="JavaScript1.3">
    < !--
    function getField(form,fieldName)
    var objName = "";
    var tmp = "";
    var dAction = "";
    var sel_idx = 0;
    var cnt = 0;
    var instance = 0;
    var slicedName;
    var fillData = new Array();
    for (var i = 0; i < form.length; i++)
    slicedName = form.elements.name.split(".");
    tmp = slicedName[2];
    instance = parseInt(slicedName[3],10);
    if (!tmp)
    continue;
    objName = tmp;
    if (objName == fieldName)
    return form.elements[i].value;
    //-->
    </script>');
    I hope this helps.
    null

  • Creating a mute button for video in as3

    I would like to create my own mute button in as3. I have created a video object which plays my video fine. I'm having trouble finding information on how to create a mute button that mutes the audio but the video continues to play. All documentation that I've read relates to controlling sound from an loaded .mp3 file. Does anyone know how I can do this? The gotoandlearn.com site explains it using as2 only.
    Thanks

    I figured it out:
    sound_mc.addEventListener(MouseEvent.CLICK, soundOFF);
    function soundOFF(e:MouseEvent) {
         var transform:SoundTransform = new SoundTransform();
         transform.volume = 0;
         stream.soundTransform = transform;
    Thanks for all your help on this. You'll probably see more of my post as I struggle with AS3 and my flash project.

  • Create custom Edit button for list on SharePoint 2013 page

    Hi
    I have a custom list which holds contact information such as name, telephone, address.  I am displaying the custom list webpart with using a custom view on the site home page which only shows name and telephone.  It should only
    have 1 item so 'New Item' is not needed.  However I still need to be able to edit the item.  If I click 'Edit' on the list view on the home page, it will open a quick edit box only showing name and telephone. 
    How can I create a custom button on the home page that will open the custom list item form instead?  Therefore all columns will be editable and I can remove the "New and Edit" toolbar from the webpart.
    Marc Collins www.QGate.co.uk

    Hi,
    According to your post, my understanding is that you want to open the custom list item form.
    Per my knowledge, there is out of box method to achieve it.
    After you insert the web part to a page, you need to edit the web part and change List Views as below, then it will remove the "New and Edit" toolbar from the webpart.
    In the page, if you click the web part , the ribbon will appear. After you select the item and click Edit Item, the edit form with all fields will be displayed.
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Request more info for how to offer a 'Reset to Default' button for portlets

    Hi,
    I would like to provide a 'Reset to Default' button for the customization function of my java portlets and URL portlets. However, I don't know what necessary codes do I need to write or to include to enable such function? Would anyone help to give me some guideline? If possible, would you please give me some code sample?
    Thanks a lot!

    you either have to code for everything to reset or you can reload your current page:
    loadMoveNum(this._url,0);

  • Creating DVD Templates buttons for use in Premiere Elements

    I have tried to create buttons for use in the "DVD create template" function.
    Everything goes fine apart from the fact that, when I add the button (within the wizard) it becomes part of the background.
    Does anybody out there know if it is possible to create new buttons in PE4.0 and, if yes, how to do it?
    Thanks

    Even though this function is in PS Elements 4, I suggest that you look in the Premiere Elements forum where you might find an existing thread on this topic. If not, ask your question there because the primary audience for this function is people who have both products.
    http://www.adobeforums.com/cgi-bin/webx?14@@.3bb574e6
    Barb O

  • Controlling display of maximize Minimize buttons for Portlet desktop

    I am consuming non-weblogic producer in a weblogic based federated portal. Just wondering if this possible for a proxy portlet running in a streaming desktop. I Would like to remove the maximize and minimize buttons.
    For a file based proxy portlets, I control the icons using this fragment in .portlet file of the proxy portlet.
    <netuix:titlebar><netuix:minimize/><netuix:maximize/></netuix:titlebar>How do I achieve this in my scenario as i am using streaming?

    Hi
    I would have tried this on my side, but I DO NOT have any portal domain running right now. Basically, when you create a proxy Consumer Portlet, can you open that .portlet file in the IDE. And on right side, can you see any Properties like Show Minimize, Maximize, Help, Edit icons like that with drop down values as true/false. I know that for normal NON Proxy portlet, we do see these options on right side. So when we check/uncheck them, we can see those icons or hide those icons.Thats when it updates the .portlet xml file also. But I do not remember on top of my head for proxy portlets.
    Thanks
    Ravi Jegga

  • Creating a Replay Button for a Flash Video

    I want to replay a flash video by clicking on a "replay" button. I know how to creat the buttons. I can't figure out how to create the action script. Thanks in advance for any help.
    I know how to create the Action Script to replay flash, but when I have a flash video that I want to replay that's when I run into trouble.

    Hi,
    This snippet should hint a solution to you (NetStream class):
    netStream.seek = 0;
    netStream.resume();
    Anyway, you would need to know when the movie has finished playing.
    On a Flash Media server, there should be an event just for that.
    If you are not running on such a kind of server, make yourself a cuepoint to listen to, at the very last frame of the movie, so your app knows when its time to offer the replay functionality. You can insert cuepoints in a movie when you are in the Flash Video Encoder options.
    Design Cyboïde
    Création de sites web Montréal

  • How do I create a play button for movie clip using AS3

    Hello.
    Bit new to this and have been searching the adobe forums and google. I am trying to create a button that will play an imported MovieClip.
    I have a movie clip that I've imported into it's own layer (Layer1) Frame 1.  I've given the MovieClip an instance name of foundationMovie.
    I've created a button and have that on its own layer(Layer2) above layer1, it is also in Frame 1.
    I've added a
    stop (); action to layer2
    The video is not set to autoplay.
    I want the video to start playing when the viewer clicks the button.  I know I've got to put some kind of event listener using AS3 in my timeline somewhere.
    I've found some code and I've been trying to work with it.  I'm sure I've mutilated it beyond usability but this is what I've got.
    stop ();
    player.addEventListener(MouseEvent.CLICK,play);
    function play(event:MouseEvent)
    gotoAndPlay("foundationMovie");
    If someone could point me the right direction or help me with my code I would really appreciate it.  Thanks.

    First, you need to clear up what you are working with... a movieclip and a video are usually entirely different things.
    Next, your code may get you started on your way with some changes.   You shouldn't use "play" as a function name due to there already being a play() method/function in Flash.
    If the movieclip is a movieclip and has an instance name of "foundationMovie", and your button has an instance name of "player" then the following adjusted code would normally work...
    stop ();
    player.addEventListener(MouseEvent.CLICK,playMovie);
    function playMovie(event:MouseEvent)
         foundationMovie.play();

  • How do I create a print button for use in Interactive PDF?

    I have a document created in InDesign CS4 which I will be converting into an interactive PDF (which has various links added on a master page so they appear on every page), one of which I would like to be a "Print" button.
    I know how to do this in Acrobat Pro, but I don't want to have to create a button in Acrobat and then copy/paste it onto all pages in my document. Surely there must be a way to create a button of this type in InDesign CS4. Any help would be greatly appreciated.

    Sorry, no. Print button functionality must be added in Acrobat.

Maybe you are looking for

  • Authentication and authorization for AD users in UCM11g

    Hi all we are using webcenter content server 11g. I read some where that for 11g users authentication is done in weblogic server environment, mean content server for 11g in now managed by weblogic server only, am i right?. we have successfully integr

  • TV SHOW ORDER

    I just updated my second generation ipod touch and now all my tv shows are out of order. they used to be fine and be in episode and season order now theyre all random. how do i fix please help. thanks

  • Single Stack with orientation change

    We are working on a portrait only folio with seven stacks.  However, if and when a user changes orientation to horizontal, we've created a single auto-play slideshow. Rather than create seven separate files to accompany the portrait stacks for the ho

  • MuVo Sport C100 and MMC c

    I have a new kingston 52mb MMC card. My pc sees the card 'out of the box', the Muvo indicates that a card is there and when conected via usb card shows, however attempt to access it (write to it) io error. PC writes no problem, muvo does not see any

  • My ipod nano needs restoring but isn´t recognized by my windows xp

    my ipod nano was plugged to a mac computer for the first time and loaded with music from that computer now that computer is gone and i'm trying to load my nano with the music i have on my pc at home, that pc is used by my sister who has ipod mini and