In scripting how you enable Button,and if I click the
button popup mesage should come.
Answers were Sorted based on User's Feedback
Answer / carolene
In the Pre Can Invoke 1method of the BVC or Applet specify
if Method Name =(<name of the method specified in the
button control>)
Can Invoke = "True"
| Is This Answer Correct ? | 7 Yes | 3 No |
Taking with an example as when clicking a button "Currency
Popup Applet 2" should appear to fill in Currency code.
In control create
Name = Currency Popup,
Caption String Override = Currency Popup
HTML Type = MiniButton
Method Invoked = ShowPopup
HTML Only = Yes
Show Pop UP = Yes
Visible = Y
Visible Language Over Ride = Y
-------------
Select newly created Field (Currency Popup) In Applet
control User Property Create 2 new records.
REcord 1
Name = Mode
Value = Edit
Record 2
Name = Popup
Value = Currency Popup Applet 2
(Popup applet that appears when the button is clicked.)
Compile
Name = Mode
| Is This Answer Correct ? | 7 Yes | 3 No |
Answer / kavitha devarajan
function WebApplet_PreCanInvokeMethod (MethodName,
&CanInvoke)
if(MethodName == "ButtonMessage")
{
CanInvoke = "TRUE";
TheApplication().RaiseErrorText("Thanks..!");
}
| Is This Answer Correct ? | 9 Yes | 6 No |
Answer / suryaa
Without Script enable a Button.
EG >
I an New Button is created with a name "TestMethod",
in the "Method Invoked = EventMethodTestMethod".
No need to write a code in WebApplet_PreCanInvokeMethod.
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / satish
We can enable custom button using Eventmethodtestmethod
after enabling button in control user property we need to
give like
MODE: EDIT
POPUP: MESSAGE/Any Applet to show
| Is This Answer Correct ? | 1 Yes | 3 No |
in a three level hierarchial picklist say country,state,city how do we perform pickmap 2)say if we have values same for country (having value 'A') and for state (having value 'A') and for city having value 'B' and in parent Lic we give value for city as 'A' how do it recognise it as State any other solution
What is the relationship between a view and a b/o?
what is difference between bounded and unbounded picklist?
When querying for a data in Siebel, what kind of operators can we use?
In case only Gateway server goes down, then what is the impact in existing on new users trying to login the Siebel application?
What is the significance of eapps.cfg file?
Explain how to improve your performance in views?
when you have pre default value and post default value for a field, which one will be stored in the database?
How to invoke workflows using userproperty
what is the value for applet user property "CanInvoke" and how do we write expression for this
I checked out one object from server to my local, after checking out my local Database and userid has been corrupted. now i want to release the lock. How can i do this, can any one help me regarding this?
What is complex join? Difference with foreign key primary key join?