How To Add Portlet Order Buttons?
I'm looking to extend MyPortalContentView.GetPortletActions() so there are buttons in the portlet title bars to move portlets up and down in a column without having to edit the page. Figuring out how EditMyPortalPageModel does it is proving to be time consuming, so I'm wondering if someone can just point me in the right direction: where is the order of portlets stored and what interface would I use to change it? Oh, and I'm also looking to add a delete portlet from view button.
sure - you will have to edit the .shell file by hand though
for just the content
<netuix:header>
<netuix:jspContent contentUri="/portlets/login/header.jsp"/>
</netuix:header>
if you need some structure around it (as of sp3 you can add html elements)
<html:table style="vertical-align: top; width: 100%;">
<html:tr>
<html:td style="vertical-align: top; width: 1%;" valign="top">
<netuix:jspContent contentUri="/some.jsp"/>
</html:td>
<html:td style="vertical-align: top; width: 99%;" valign="top">
<netuix:break/>
</html:td>
</html:tr>
this shoudl work for all the orther content tyoes. i ff you actually want the portlet title bar and stuff
just include the markup right from a .portlet file
<netuix:portlet .../>
</html:table>
Similar Messages
-
How to add a custom button in WD screen to call a workflow in siebel?
Hi All,
We have a requirement to have a custom button at the summary screen(after the rule execution) "Create Opportunity", on clicking on it a new opportunity record should be created in Siebel. As we know the "Save" link calls "PolicyAutomationSaveSession" inbound web service method and saves the information in session table and we can modify the PreSession and PostSession workflows. But we are not sure how it calls the service method and where is the mapping defined.
Can you please help me on how to add a custom button and how to invoke a workflow in siebel side to implement this requirement?
Also is there any document which can help me to add a custom button in screen and to add the code behind the button?
Thanks in advance!!
Regards,
SubhradeepSubhradeep,
Closing a Web Determinations window is essentially the same as closing any HTML window. It involves javascript, which you would have to add to the Web Determinations templates.
Essentially the javascript command to close a window is {{window.close}} or {{top.close}}
For timing, you might be able to use the setTimeout function of Javascript (see: http://www.w3schools.com/jsref/met_win_settimeout.asp)
At the risk of exposing exactly how bad my javascript skills are, I have attached a super-simple html fragment, a page that closes itself after 3 seconds. It may help you get started in the right direction. In general closing a window is a fairly dubious activity and is often not permitted by certain browsers. This html page at least works in Internet Explorer.
<html>
<head>
<script language="JavaScript">
setTimeout(closeMe, 3000);
function closeMe() {
alert("This window will close");
top.close();
</script>
</head>
<body><B>This window will close in three seconds</B></body>
</html>
{code} -
How to add the REFRESH button in OOPs ALV grid
how to add the REFRESH button in OOPs ALV grid
Hi Naidu.
Check the below code:
Local Class Definition and implementation For events handeling
CLASS LCL_EVENT DEFINITION .
PUBLIC SECTION.
METHODS :TOOLBAR FOR EVENT TOOLBAR OF CL_GUI_ALV_GRID
IMPORTING E_OBJECT,
USER_COMMAND FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
IMPORTING E_UCOMM.
ENDCLASS.
CLASS LCL_EVENT IMPLEMENTATION.
METHOD TOOLBAR.
WA_TOOL-FUNCTION = 'ZFC1'.
WA_TOOL-TEXT = 'TEST'.
WA_TOOL-ICON = '@EA@'.
APPEND WA_TOOL TO E_OBJECT->MT_TOOLBAR.
ENDMETHOD. "DISPLAY
METHOD USER_COMMAND.
IF E_UCOMM = 'ZFC1'.
ENDIF.
ENDMETHOD. "USER_COMMAND
ENDCLASS. "LCL_EVENT IMPLEMENTATION
MODULE STATUS_0200 OUTPUT.
SET PF-STATUS 'ZALV_BTON'.
SELECT * FROM VBAK INTO TABLE GT_VBAK
UP TO 30 ROWS.
**** CREATE CONTAINER OBJECT
CREATE OBJECT MY_CONTAINER
EXPORTING
CONTAINER_NAME = 'CC1'
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5
OTHERS = 6 .
****** GRID TO CONTAINER
CREATE OBJECT ALV
EXPORTING
I_PARENT = MY_CONTAINER
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
OTHERS = 5.
CREATE OBJECT OBJ.
SET HANDLER : OBJ->TOOLBAR FOR ALV.
SET HANDLER : OBJ->USER_COMMAND FOR ALV.
****** ALV DISPLAY
CALL METHOD ALV->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'VBAK'
CHANGING
IT_OUTTAB = GT_VBAK[]
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
OTHERS = 4.
ENDMODULE. " STATUS_0200 OUTPUT
*& Module USER_COMMAND_0200 INPUT
* text
MODULE USER_COMMAND_0200 INPUT.
IF SY-UCOMM EQ 'BACK'.
LEAVE PROGRAM.
ENDIF.
ENDMODULE. " USER_COMMAND_0200 INPUT
Regards
Kumar M -
How to add a link button in system form?
how to add a link button in system form in the edit text?
HI
see the following code
This creates an item "55" caption, and exittext ("550") and creates linked button "51" linked to "550"
oItem = otmpform.Items.Add("55", SAPbouiCOM.BoFormItemTypes.it_STATIC)
With oItem
.Top = 315 + 30 + 15
.Left = 12
.Width = 100
.Specific.Caption = "Többlet"
End With
otmpform.DataSources.UserDataSources.Add("550", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
oItem = otmpform.Items.Add("550", SAPbouiCOM.BoFormItemTypes.it_EDIT)
With oItem
.Top = 315 + 30 + 15
.Left = 120
.Width = 100
.Specific.DataBind.SetBound(True, "", "550")
.AffectsFormMode = True
.Description = otmpform.Items.Item("55").Specific.Caption
.DisplayDesc = True
End With
oItem = otmpform.Items.Add("551", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
With oItem
.Top = 316 + 30 + 15
.Left = 120 - 14
.Width = 13
.LinkTo = "550"
.Specific.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_GLAccounts
End With
Regards,
J. -
How to add a push button on an ALV grid ?
Hi,
How to add a push button on an ALV grid, using ON_TOOLBAR, ON_USERCOMMAND Methods. Clicking on that push button, a new screen has to be displayed.Hi,
Assuming that you want to have a "push-button" column, i.e. push-buttons within an ALV grid then you need to implement the following steps:
(1) Set the style of the column as button
ls_fcat-style = CL_GUI_ALV_GRID => MC_STYLE_BUTTON.
(2) When the user pushes the button event BUTTON_CLICK is triggered. Thus, define an appropriate event handler method.
<b>Reward points</b>
Regards -
How to Add C3PO Toolbar Buttons with GroupWise in C#
Hello
i try How to Add C3PO Toolbar Buttons with GroupWise in C#. I do all like
i read here
http://support.novell.com/techcenter...a20000906.html
But i can see any result
i create file with Wizard(witout project)
Then i add this file to my EXE project
and add 2 button "Reg C3PO"(RegC3po();) and "Unreg C3PO"(UnRegC3po();)
and init
what i do wrong?
i try find ansver but find only this
http://newsportal.novell.com/article...sup.gwc3po#925
what its mean?
news:SR%Zg.16416$[email protected]:
about this question
http://newsportal.novell.com/article...sup.gwc3po#673
C3POs still don't work in the address book?
KirillKirill wrote:
> Hello and Merry Chritmas :)
>
> regsvr32 onlu for DLL. My project create EXE file :(
>
> Kirill
Ups......
You'll, according to the readme generated by your C3PO Wizard, have to run
Regasm.exe <your C3PO server>
That will create the needed regkeys...
Also, you might have to add the typelib wrapper and assambly to the GAC, bu typing:
Gacutil -i <your C3PO server>
Best Regards
Tommy Mikkelsen
IT Quality A/S
Denmark
Novell Developer Forums SYSOP
Please Report back any success or failure, That way we all learn
Sorry, but no support through email
"I hate bugs".......Tommy Lee Jones, MIB
Be a GroupWiseR, go http://www.groupwiser.net -
How to add a close button to a edge animation ?
How to add a close button to a edge animation ?
Welcome to our community, Laurie
You posted this in the FlashHelp section. Is that your actual
output type? If so, you will need to make edits to the FlashHelp
using Adobe Flash.
Cheers... Rick -
How to add an order disappers in version
hi guru
How do I add an order to this allocation? In changing the version 3 to version 2 for 2011, in this segment, the ZK_AR1 disappears. can you help me out how to add it? It worked fine in version 3, but disappears in version 2.. Please advise I m new to this config.....
Thanks
SanjuPerfect. That's exactly what I was looking for.
Thanks a lot. -
How to make an 'order' button that works?
How do I make an 'order' button, by clicking on it, will post a pre-defined product number in a contactform?
Probably I have to use php, but I do not know how to make the correct script.
Regards, GeraldIf you just need it to pop text into a textfield, you can use javascript, something like this might do the trick for you...
<textarea id="TheText"></textarea>
<select id="DropDown">
<option value="">None</option>
<option value="text-one">Choice One</option>
<option value="text-two">Choice Two</option>
<option value="text-three">Choice Three</option>
<option value="text-four">Choice Four</option>
</select>
<script type="text/javascript">
var thetextbox = document.getElementById('TheText');
var mydropdown = document.getElementById('DropDown');
mydropdown.onchange = function(){
thetextbox.value = this.value;
</script>
The script should come after the textbox and dropdown in your HTML. -
How to add a new button in IC tool bar and handle the event for the button?
Hi,
I am working on CRM 2007 Interaction center. To add a new button to IC toolbar, customizing is available to define a new button and then assign in to the profile.
In SPRO->CRM->IC webclient->Customer Specifc System Modifications->Define Toolbar Buttons, I defined one new button with ID ZSTART.
Now in SPRO->CRM->IC webclient->Basic Functions->Communication Channels->Define Toolbar Profiles , I selected Default profileid and in Generic Layout Buttons Tab, I added the new button ZSTART in Position 3.
So after completing the customizing when the user logs in using role IC_AGENT, the button (with ID:ZSTART) gets displayed in the IC toolbar too.
Now on click of this button, I need to create an object.
To do so, I have to catch the event which is raised by this new button.
Please let me how to implement the event handler for this new button. What will be the event name for this button click event and how I can subscribe for it ?
Please let me know if anyone of you have already worked on similar requirements.
Regards,
Manas.
Edited by: manas sahoo on Jul 22, 2008 7:49 PMHello Manas,
There are a couple of threads in the community that might help you out (if you haven't already found them):
Re: IC Web Client Toolbar
/message/3621917#3621917 [original link is broken]
Regards,
Renee Wilhelm
Edited by: Renee Wilhelm on Nov 6, 2008 7:46 PM -
How to add a Font Button in the Top of the Help File
Dear all,
In some of the Help Files (HTML Help), i've seen a Font
button being added in the top of the Help File (for e.g next to
Home button)...when we click this font button, the font size of the
Content present in the Help File Increases/decreases
accordingly....how to add this button in our Help File.
At present i'm creating a HTML Help using Adobe 6..Kindly let
me know, if there are any options...
Thanks with regardsHi usureka
Take a look at the following link. It should guide you.
click
here
Cheers... Rick -
How to add a push button in ALV Grid Top-of-page
Is it possible to add a push button to the top-of-page in Alv grid display?if yes, then how? I am not using OO ABAP and am using reuse_alv_grid_display with top-of-page event.
Hi,
I am not sure whether we can add push button in top-of -page or not. But instead of that if you want to add button on toolbar as per your requirement then follow below link. it will useful.
http://www.sap-img.com/abap/example-of-a-simple-alv-grid-report.htm
Ram. -
How to add the push button on the apllication tollbar of IL02 tcode
Hi Friends,
I have to add the push button on the application tool bar of the IL02.when that push button is pressed then some operation to be performed.Could you please suggest how to add.Is there any screen exit if yes what is that.
With out screen exits if there is any way ?
Thanks and regards,
shylaHI Vicky ,
if u want an interactive ALV report , there are lot of forums already having the solution for that , but let me give u the solution anyway.
In the function module "REUSE_ALV_GRID_DISPLAY" , import parameters
I_CALLBACK_PF_STATUS_SET = 'FLIGHT'
I_CALLBACK_USER_COMMAND = 'BUTTON_CLICK'
has to be supplied to this function module . The PF status is where u hav created the two buttons , that PF status has to be given here .If the user clicks on the button then it is handled by the form routines . Inside the sub-routine based on the button the user has selected u could perform the action.
FORM FLIGHT USING RT_EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'FLIGHT' EXCLUDING RT_EXTAB.
ENDFORM.
Here the "Flight" is the PF_status .
FORM BUTTON_CLICK USING UCOMM type SY-UCOMM
SELFIELD type SLIS_SELFIELD.
CASE UCOMM.
WHEN 'BUTTON!' .
write ur code for button 1.
WHEN "BUTTON"
*Write ur code for button2 .
end case.
endform.
for any queries reply back.
regards -
How to add "child data" button in Personal information
Hi guys , I m a portal consultant , we are EHP4 portal and ECC 6 in R/3...
In personal Information > Family members/Dependents> there is no Add child tab is there to enter the details of the children...... how to add this??
please help me .......Hi sidhu
have check the tab called "new child" button there you can create the children s
OR check the country specific iview
Go to content admin> content provided by sap>end user >EH3> iview -->check the specific iview
Hope this is help to you.
Thanks& Regards
G.srinu
Edited by: gorlisrinu on Nov 10, 2011 10:29 AM -
How to add sound to buttons in Xcode 5.0.1?
hello
i am wanting to know how to add sound to a button in xcode 5?
its mover 200 sounds of like 1 sec.
i am using storyboards
i need it ASAP please tell me
thanks alotThat's the wrong file path. You want to go to the artwork and effects palette, find the layer styles section, and choose your style there.
Maybe you are looking for
-
Firefox crashed this morning. It will not launch even after being uninstalled and reinstalled. All I can get is a crash box. It will not relaunch in any way == This happened == Every time Firefox opened == this morning -- it did not open == == User A
-
How do i have an ipod touch and an ipad sync to the same pc?
how do i have an ipad and an ipod touch sync on the same computer but they have different apps on them? i knopw it is possible but i just dont no how to do it. as my ipod touch is only 8gb and my ipad is 16gb so everything off the ipad is making the
-
All of a sudden, I can no longer add a Bookmark by selecting 'Bookmark This Page', then select its destination file. Now it's a lot more work to move the new Bookmark to the file I've chosen for its destination. Was this option eliminated, or is some
-
How do I add a fixed object on a smooth scrolling article?
I'm looking to create a smooth scrolling article, but I want to have a button stationery at the top of the screen. The content of the rest of the article will scroll behind it. Is this possible?
-
NWDS version for EP7.0 EHP1 & CE7.1
Hi All, Which NWDS version I need to install to support both EP7.0 EHP1 and CE7.1 for development and deployment of Web Dynpro Java . I am new to CE7.1. I am aware of settings need to done in NWDS for the deployment of WDJ application. For CE7.1 serv