MSCA/MWA Hide a button in a extended page
Hi,
I have a custom MSCA page XXDeliveryLinePage which extends the source DeliveryLinePage, and there is a cancel button (mCancelBtn) in the source page. Does anyone knows how can I hide the cancel button from the XXDeliveryLinePage page?
I don't want to directly modified the DeliveryLinePage.
I tried the following logic but it thoughts error, when I log into the custom page
mCancelBtn.setHidden(true);
Regards
Lawrence
Hi,
Either you can go to 'Personalize this page' link and set the rendered property to false from front end.
Or from custom controller, set the handle to the button in PR method and use mCancelBtn.setRendered(false).
--Sushant
Similar Messages
-
How can I hide a button with javascript in Captivate 8?
I need to run some javascript in my project and at the same time I want to hide a button, so I can't use advanced actions.
It is very strange, most users who have focus on JS try to do everything with it, whereas lot of simple actions can easily be done with advanced/shared actions. I will only go to JS when it is not possible with advanced/shared actions.
You are lucky, I was just restarting to work on an advanced training for next week when your question showed up. -
How to hide 'SAVE' button in adobe form layout
Hi Friends,
I have a requirement to hide 'SAVE' button in adobe form layout .They dont want to save the form .
Is there any way to achieve this .I have gone through scn ,but couldnt find the proper solution
Thanks and Regards,
Subeesh KannottilHi Subeesh,
Are you talking about restricting the User from Saving the Adobe Form Output.
Regards,
Sivanand Ala -
How to Hide advance button in input list of values Popup
I am using input List Of Values component to select value from search Pop up, in that popup i need only basic search only , i am unable to hide advance button... plase tell me how to hide this advance option
I haven't tried this, but check
How to remove basic/advanced button in inputListOfValues search dialog
This does not have complete solution, but might give you some lead. -
I have simulated what I'm trying to do here:
http://jsfiddle.net/dayjuuk5/
Let me know if you can't see it for any reason.
My question- I'm not sure I understand why this method of hiding this td tag doesn't work. I'm looking for a way to hide this button on page load (not click driven).
Thank you for your time.
SamirHi Samir,
Thanks for your sharing.
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
SHOW ALL / HIDE ALL BUTTONS produce error in chm but not in "View Selected Item"
My SHOW ALL and HIDE ALL buttons work in the View Selected
Item mode. However, the compiled version generates an error tag:
Line: 72
Char: 1
Error: Object expected
Code: 0
URL:
mk:@MSITSTORE:C\Documents%20and%20Settings\glenn_michaels\RoboHelp%206.0\TCA\!SSL!
In short, the the compiled chm is located in the SSL. I tried
adding showhide.js and ehlpDhtm.js to the SSL folder, but that
didn't make a difference. What is missing? How do I fix this?
Many thanks in advance...
glennitoMr. Grainge,
I've tried to follow your instructions to the letter, but I'm
not having any luck.
1) I copied the showhide.js to
a) RoboHelp 6.0 > Project Folder
b) RoboHelp 6.0 > Project Folder > SSL
c) RoboHelp 6.0 > Project Folder > SSL >
MicroSoft_HTML_Help
2) I pasted btnhideall.gif, btnshowall.gif, printerblue.gif
into
a) RoboHelp 6.0 > Project Folder > SSL
b) they are also listed in RoboHelp 6.0 > Project Folder
3)The Project Manager > Baggage File originally displayed
a
a) Project (Name) folder
b) ehelp.xml
c) RoboHHre.Ing
I opened the Baggage File > Project (Name) folder,
selected New Baggage File, and added, respectively:
i. btnhideall.gif
ii. btnshowall.gif
iii. ehlpDhtm.js
iv. printerblue.gif
v. printerred.gif
vi. showhide.js
vii. TCA.fpj
vii. root.fpj
4) I also opened rhbag.apj in Notepad. It shows
a) ehelp.xml and RoboHHRE.Ing accompanied by
<usercreated>false</usercreated> tags
b) the remaining baggage files are accomanied by
<usercreated>true</usercreated> tags
5) Finally, I used Notepad to display two topic files in
which the error message identified a Line: XX. In one case the line
# is 42, in another, 19. In both cases, when I counted lines,
starting with <body>, I ended up on:
onClick="JavaScript:hideEm()"
However, I am none the wiser for my effort and don't know
what (5) might be telling me.
6) The only thing I can think of is that the compiled chm
file is two levels away from the Project Name directory that holds
all the files. The files live in Robohelp 6.0 > Project Name
while the compiled help is found in Robohelp 6.0 > Project Name
> SSL! > MicroSoft_HTML_Help > Project Name.chm.
Should I be adjusting the Relative Path within the topics?
Many thanks for your attention and assistance.
glenn -
How to hide all button except one in a PageButtonBar
Hello,
I am newbie to OAF.
And i am trying to do is, when i would clink on a submit button of my Update page(page is using Train. All the buttons are in a TrainFooter Region, whose lay out is pageButtonBar and Submit button only visible when i am on the last page of train, i.e. Summary Page) then all the button except one (Back to Search Page) will get hide.
Pls let me know where i need to work to do this, i try to do it in PR but no change get reflect.
Thanks,
UditHello Abdul,
Yes, i want only "Back to Search" Button on last page when i press "Submit" Button.....but before pressing submit...all button should be there on Summary(last) page except "Back to Search" Button....and when i press Submit Button then only page buttons get hide without any change in whole pageLayout.
Here is CO of my TrainFooter===========
PR====
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OATrainBean trainBean=
(OATrainBean)pageContext.getPageLayoutBean().getLocation();
trainBean.prepareForRendering(pageContext);
int step = trainBean.getSelectedTrainStepRenderedIndex();
if(step + 1 != trainBean.getNumberOfRenderedTrainSteps()){
OASubmitButtonBean submitButton =
(OASubmitButtonBean)webBean.findIndexedChildRecursive("Submit");
submitButton.setRendered(false);
PFR==========
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("Cancel") != null)
pageContext.forwardImmediately("OA.jsp?page=/oracle/apps/ak/Emptry/webui/EmpTrySearchPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
if(pageContext.getParameter("Submit") != null){
am.getOADBTransaction().commit();
throw new OAException ("Current Record is Updated!!", OAException.CONFIRMATION);
Pls let me know in any other confirmation.
Thanks,
Udit -
JavaScript in the PDF can hide toolbar buttons
Hi Leonard,
You mentioned in http://forums.adobe.com/message/2161074#2161074 that "JavaScript in the PDF can hide toolbar buttons."
According to the Javascript docs for Acrobat 7 the App.HideToolbarButton function only runs at AppInit. Which means that I would have to have the javascript in a file. How can I do that from within the document? Is there another way to to do set this from our web application?
RobPerhaps that's simply a feature that isn't supported by presenting a Captivate intended for the web from inside a PDF?
Just guessing... Rick -
Access to buttons in a extended JPanel!!
I'm making a GUI and my problem is that I can not access buttons in an extended JPanel from the GUI class.
I want to have access to these buttons so that when one click on them, they can perform some event to the components in the GUI class.I have a a GUI that contains a splitpane. In one of these panels I have a JTable MyJTable that contains a panel MyJPanel with buttons ( edit and remove buttons).
When I click on one of these buttons, the rightpanel in the splitpane is going to change to a different panel.
The problem is that the MyJPanel inside the MyJTable has to extend JPanel. The result of this is that I can not change panels in the rightPanel. This is because MyJPanel inside MyJTable does not contain any reference to the rightPanel.
I have put a the rightpanel in the constructor like this: MyJTable( rightPanel, .., ..) but I think it gets a little bit messy..
It is a bit hard to explain, but I hope you will understand it. -
How to hide default buttons on WD selection screen
Hi Experts,
Is there a way to hide default buttons ( Cancel, Check, Reset, Copy ) on web dynpro selection screen ??
Please let me know how can I achieve this..
Thanks in advance !
AnandBy selection screen do you mean the select-options reusable component? If so, then there is an API of the component that you can call to disable these fields. Use the SET_GLOBAL_OPTIONS method of the select-options API to acomplish this:
data: l_ref_cmp_usage type ref to if_wd_component_usage.
l_ref_cmp_usage = wd_this->wd_cpuse_select_options( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
wd_this->lv_wd_select_options =
wd_this->wd_cpifc_select_options( ).
* init the select screen
wd_this->lv_sel_handler =
wd_this->lv_wd_select_options->init_selection_screen( ).
wd_this->lv_sel_handler->set_global_options(
EXPORTING
* i_display_btn_cancel = ABAP_TRUE " Displays "Cancel" Button
* i_display_btn_check = ABAP_TRUE " Displays "Check" Button
* i_display_btn_reset = ABAP_TRUE " Displays "Reset" Button
i_display_btn_execute = abap_false " Displays "Apply" Button -
I have a scenario where the ITS Template OK CODE is working in ECC 6.0 so we have had decided to Hide Push Button.Plz can any one give the solution for this
Check for the authorization using AUTHORITY CHECK and accordingly fill the itab for excluding the buttons.
SET PF-STATUS 'MENU' EXCLUDING ITAB.
ITAB will have the lis to the function codes that you don't want the user to acess.
Regards,
Ravi
Note - Please mark all the helpful answers -
How can hide the buttons based on condition
Dear all
I have to hide the button based on condition
When I open the third page directly I want to hide that button
When I open the third page via first and second page I need to visible that button
I pass spell parameter from first to second and second to third
In third page I get the value using pagecontext
I write the code in third page co
If I go directly third page it is null
If I go to third page via first the value is Y
If(“Y”.equals(pmode))
OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
If(!btn=null)
btn.setrendered(true);
else
btn.setrendered(false);
but the button is not hiding
Regards
SreekanthHi Srikanth,
I have modified ur method:
OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
If(btn !=null)
If(“Y”.equals(pmode))
btn.setrendered(true);
else
btn.setrendered(false);
Thanks,
'Kumar
Edited by: Kumar Kovela on Aug 3, 2009 5:53 AM -
Hi experts!!
We have a report ZREPORT for which we have created 2 t-codes ZCODE1 and ZCODE2. Now, ZCODE1 should start with variant TEST and should not be changed by any means. And hence we are planning to hide variant button only for ZCODE1 t-code. But for ZCODE2 t-code variants can be changed.
Can somebody suggest how this can be handled?
Thanks a lot!!Try something similar to
AT SELECTION-SCREEN OUTPUT.
IF sy-tcode = 'ZCODE1'.
DATA: status TYPE sy-pfkey,
prog TYPE sy-repid,
excl_tab TYPE rsexfcode OCCURS 1 WITH HEADER LINE.
" identify current status
GET PF-STATUS status PROGRAM prog EXCLUDING excl_tab.
" disable some function codes
excl_tab-fcode = 'GET'. " Get Variant...
APPEND excl_tab.
excl_tab-fcode = 'VSHO'. " Variants, Display...
APPEND excl_tab.
excl_tab-fcode = 'VDEL'. " Variants, Delete...
APPEND excl_tab.
excl_tab-fcode = 'SPOS'. " Save as Variant...
APPEND excl_tab.
SORT excl_tab.
DELETE ADJACENT DUPLICATES FROM excl_tab.
" update status
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = status
p_program = prog
TABLES
p_exclude = excl_tab.
ENDIF.
Regards,
Raymond -
How to hide sort buttons in BEx Web?
Hi,
I've got an input-ready query with hierarchy on lead column and key figures on data columns. I'd like to hide sort buttons in column headers to decrease the space required and make the screen simpler. Any possibilities to get rid of these, in this case useless, arrows?
Thanks!
AkiHi,
Create a new GUI Status for your program.. put whatever button you require for it..
In the AT SELECTION-SCREEN OUTPUT event..
SET pf-status xxx.
Regards,
Anand -
How to hide refresh button in crviewer?
Hi,
I want to hide refresh button when view the crystal report in webi, but don't know how to do that
Pls give me some advice,thanks~Hi Julian,
I tried, but the fresh button is still there. Just when click this button,it says you have no right to refresh the report.
i guess if we want to hide the refresh button,we may edit the viewer.js in Crystal reports web application folder,but not sure and don't know how to do that, pls help me~
Maybe you are looking for
-
How to get a variable into another block?
Hello, (I am from Germany, so be patient due my english please) We do a project at our University where we have to do with wordfrequencies. The app works fine, but it cannot works with the variable wich contains the information to analyse. Look, I am
-
Hi I am new to Georaster. I have an ArcInfo grid which I exported to Tiff and loaded to Oracle as a Georaster using Mapbuilder. The Mapbuilder does not seem to create color map table as SDO_GEOR.getColorMapTable returned null. The Tiff has floating n
-
SunOS 5.8 Database version: 9.2.0.4.0 Customer shutdown database every night for backup the datafiles to disk. For your information, 2 weeks ago customer moved datafiles to a new disk. The stoppscript has worked for a week. And after a week the datab
-
BDOC ERROR ( storage form )
Hello All While running SDIMa header comparion inbound Queues of the CRM system was in status " Sysfail ' giving error msg " error in mapping detail transacion SMW01 . In the bdoc product_mat errot segment shows as " No storage form defined for prod
-
Upgrade from CS3 Windows to CS4 Macintosh
Hello, it's going to look weird and like a question coming back from a few years ago but it would help me a lot if any one had the answer... I have a WebDesign Premium CS3 for Windows and an upgrade from any CS3 to Design Premium CS4 for Macintosh. B