How to dspaly the radio buttons on screen
hi experts
i used generating alv list using alv oops . now in my list radio button s to display .
what is the code for that .
Hi,
Refer this http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-RadioButtonsinALVGRIDREPORT
and do search...
regards,
Similar Messages
-
How to deselect the Radio button from htmlb.table.TableView
Hi Experts,
Could you please help me, how to seselect the Radio button from htmlb.table.TableView?
<hbj:tableView
id="tbvCustomer"
model="mcBean.csModel"
design="ALTERNATING"
headerVisible="TRUE"
footerVisible="TRUE"
navigationMode="BYPAGE"
selectionMode="SINGLESELECT"
fillUpEmptyRows="FALSE"
headerText="Searchresults"
visibleRowCount="10"
onNavigate="CustomerSearchNavigate"
visibleFirstRow="<%=mcBean.getCsVisibleFirstRow() %>">
Problem: After searching and selecting the Customer in the table, then again we are searching for another customer. After that the searched customer is displaying in the Table. By default the table Radio button is selected. Because for first Customer we have selected the Radio button. How we can deselect the FRadio button while searching for another Customer.
Thanks In Advance.
Regards,
Vijay.I think it is <2095>.
In SmartForms, go to your text window.
Use the icon on the top left of the text window to switch to the old editor.
INSERT -> CHARACTERS -> SAP ICONS.
Do a FIND on "radio". It's called ICON_WD_RADIO_BUTTON_EMPTY. -
How to set / reset radio buttons in screen..
hi,
i have 4 radio buttons in my screen, initially only the first one must be active and all other must not be in selected state. at any point of time only one must be selected and based on the selection the subscreen area must be filled with the subscreen.
whats the code to check if the radio button is selected or how to set the action for the radio button selection ?
also whats the statement to reset the radio button ?
thksYou put them all in a radiobutton group.
For example:
PARAMETERS: rb_pres RADIOBUTTON GROUP rbf,"Presentation Server Files
rb_app RADIOBUTTON GROUP rbf."Application Server Files
The first one is defaulted to "X", but you can also do that yourself.
You check the value = "X" to see which is selected or say IS NOT INITIAL.
Hope this helps,
Mark -
How to combine the radio buttons in different panels
Hello everyone.I have to have some form of panels, each of which I want to put a radio button. How to make sure that when you select one of the radio buttons, the second was not selected ? Now both are selected. For convenience, made a small example.
var w = new Window('dialog', '');
p3 = w.add("panel", undefined, " panel1 ", {borderStyle:"r"});
p3.orientation = "column";
p3.alignment='left';
p3.preferredSize = [200,107];
p3.spacing=0;
var etProd = p3.add('edittext',undefined,'');
etProd.preferredSize = [170,20];
etProd.alignment = "top";
grProd1 =p3.add('group');
grProd1.orientation = 'row';
grProd1.alignment="left";
btnProd_add = grProd1.add('button',undefined,"Add");
btnProd_del = grProd1.add('button',undefined,"Del");
rb1 = p3.add('radiobutton',undefined,'import');
rb1.alignment='left';
p2 = w.add("panel", undefined, " panel2 ", {borderStyle:"r"});
p2.orientation = "column";
p2.alignment='left';
p2.preferredSize = [200,107];
p2.spacing=0;
var etProd2 = p2.add('edittext',undefined,'');
etProd2.preferredSize = [170,20];
etProd2.alignment = "top";
grProd2 =p2.add('group');
grProd2.orientation = 'row';
grProd2.alignment="left";
btnProd_add = grProd2.add('button',undefined,"Add");
btnProd_del = grProd2.add('button',undefined,"Del");
rb2 = p2.add('radiobutton',undefined,'import');
rb2.alignment='left';
w.show();If you are wanting a toggle them then you could that in the call backs… add above show();
rb1.onClick = function() {
rb2.value = false;
rb2.onClick = function() {
rb1.value = false; -
How to default the radio button confirmation and invoice in shopping cart
Hi Guys,
In the shopping cart for a limit item I need to default the radio button for CONFIRMATION AND INVOICE as it is now defaluted to INVOICE ONLY .
Please let me know how to change as I could not achieve it through UI badi.
Thanks & Regards
ArunDid you try the suggestions mentioned here: To make the field for Display only on the Shopping Cart Portal
I'm looking for a way to restrict the "Invoice Only" option depending on the product category selected. Do you know I would do this?
For example only allow "Invoice Only" to be selected if Product Category X is selected. If product category Y is selected then grey-out "Invoice Only".
Matt -
WPF: How to change the radio button text background?
Is there a simple way that we can change the radio button text background? thx!
JaneCIf you literally mean the text background.
It's a contentcontrol.
You can put whatever you like in it to hold the text.
As illustrated by my article:
http://social.technet.microsoft.com/wiki/contents/articles/30173.wpf-tips-radiobutton-alignment.aspx
Thus:
<RadioButton Name="rbnIsolated">
<TextBlock Text="Isolated Storage" Margin="0,-10,0,0" FontSize="22" Background="Pink"/>
</RadioButton>
Makes just the text background pink
Hope that helps.
Recent Technet articles: Property List Editing;
Dynamic XAML -
How to check the radio buttons in JSP
Hi All,
I am very new to JSP,
I have two forms( addform and deleteform), in addform i have a table which fetch the records from database,
and at the same time I created a radio button for each and every record(eg: If I have 10 records in database, 10 radio button will be created automaticallty).
now I want to delete a row , by selecting correspondig radio button.
how can i get the value of radio button in deleteform, which they checked in the addform,
could anybody help me!!!!!!!
with regards
sureshSomething like javascript
<html>
<head>
<script>
function add() {
for(var i=0;i<document.forms[0].radio.length;i++) {
if(document.forms[0].radio[i].checked) {
document.forms[0].txtName.value = document.forms[0].radio.value;
</script>
</head>
<body>
<form name="form1">
<input type="radio" name="radio" value="Radion 1">Radion 1
<input type="radio" name="radio" value="Radion 2">Radion 2
<input type="radio" name="radio" value="Radion 3">Radion 3
<input type="text" name="txtName">
<input type="button" value="Add" name="b2" onClick="add()">
</form>
</body>
</html>
or take a look a this [link|http://www.java2s.com/Code/Java/JSP/SubmittingRadioButtons.htm] -
How to give the radio button value dml statement
Oracle Forms6i
Hai All
I have created a form I the form i have created two radio button and named as appr, Recmd when i execute the forms appr is marked by default
So now i need to insert or update this radio button value in my Table
how can i insert or update this radio button value
pls tell me the steps to do
Thanks In Advance
Srikkanth.MHi,
:<your_radiogroup_name> will give the selected radiobutton value -
How to disable the radio buttons in alv lsit .
hi experts ,
i created one alv list using oops alv . in list three radio buttons . i used code for that in fieldcat-icon = 'x' .
then in internal table i passed radiobutton icon . using this code i get a radio buttons on list correct .
but when iam displaying the alv list . i some rows i want radio buttons in disable mode .
can any one explainTiberiu,
I think you need to change the webdynpro for java code using NWDI
Thanks
Bala Duvvuri -
How to Disable the radio button on page
Hi All,
We have a requirement to disable or hide a radio button on the standard Noritifacation Reassign page in R12.
The page is /oracle/apps/fnd/wf/worklist/webui/NotifReassignPG.
When I went to 'Personalize Page', I can see a 'messageComponentLayout', when I set the 'Rendered' property to 'false'.
It is hiding out the complete Layout, but I just want to hide only one radio button from that layout.
Can someone please help?
Thanks,
DilipThanks Sandeep and Keerthi,
I got that point but I am facing one more problem, as you said, its creating radio groups dynamically in CO.
Now I am trying to extend the CO and disable the radio butto, But I am getting Null Pointer exception, I guess, I am not able to get the proper handle to that radio button.
Can you please help?
Here is the Controller code where it created buttons dynamically.
==========================================
OAViewObject localOAViewObject = (OAViewObject)localOAApplicationModule.findViewObject("ReassignTypeVO");
localOAViewObject.executeQuery();
OARow localOARow = null;
int j = localOAViewObject.getRowCount();
switch (i)
case 1:
localObject5 = null;
for (int k = 0; k < j; k++)
localOARow = (OARow)localOAViewObject.next();
localObject5 = (OAMessageRadioButtonBean)createWebBean(paramOAPageContext, "MESSAGE_RADIO_BUTTON");
((OAMessageRadioButtonBean)localObject5).setText(paramOAPageContext, (String)localOARow.getAttribute("Meaning"));
((OAMessageRadioButtonBean)localObject5).setValue(((Number)localOARow.getAttribute("LookupCode")).toString());
((OAMessageRadioButtonBean)localObject5).setID("" + k);
((OAMessageRadioButtonBean)localObject5).setName("NtfReassignType");
((OAMessageRadioButtonBean)localObject5).setShortDesc((String)localOARow.getAttribute("Meaning"));
if (k == 0)
((OAMessageRadioButtonBean)localObject5).setSelected(true);
((OAMessageComponentLayoutBean)localObject1).addIndexedChild((UINode)localObject5);
==========================================
Here is the code I have written, but its going into exception.
===========================================
try
OAMessageRadioButtonBean testButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("0");
testButton.setDisabled(true);
pageContext.writeDiagnostics(this,"expMsg: got the testButton",1);
//i tried with OAMessageRadioButtonBean testButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("NtfReassignType");
// and
//OAMessageRadioButtonBean testButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("MESSAGE_RADIO_BUTTON");
//but still its not working and going to exception block
catch (Exception exception)
throw new OAException("Error in NtfReassignFnCO button: "+exception, OAException.ERROR);
===========================================
Please help.
Thanks,
Dilip -
Initialize the radio button in initalization event
How to initialize the radio button in initalization event.
Here the problem is i want to initialize the radiobutton which is in a Logical data base(PNP).
Regards
Vamsihi,
try like this,
parameters: rr1 type radio button group g1 default 'X',
rr2 type radio button group g1,
rr3 type radio button group g1.
or in the event initialization.
CREATE 3 radio buttons and initialize in this event
INITIALIZATION.
RR1 = 'x'.
if helpful reward some points.
with regards,
Suresh Aluri. -
How to Create a Radio Buttons using Personlization
Hi friends ,
We have requierment like , Wanted to havev two radio buttons Employee Relative : YES or NO values.
These radio buttons I wanted to add on Oracle Provided page using personlization. But the Values for the radio buttons should be YES and another button is No.
After addin it , we shall have this selected value handled in Custom Controller. How can I the radio Buttons with the above YES/No Values. Any guidelines would be greatly helpful.
Thanks Guys
Regards
RaghuHi,
Using personalization you can create radio button s, the item style as: Message Radio Button
and then extend the controller and use the below code in processrequest of the extended or custom controller:
OAMessageRadioButtonBean appleButton =
(OAMessageRadioButtonBean)webBean.findChildRecursive("GroupButtonOne"); //First Radio Button
appleButton.setName("Yes");
appleButton.setValue("Yes");
OAMessageRadioButtonBean orangeButton =
(OAMessageRadioButtonBean)webBean.findChildRecursive("GroupButtonTwo"); //Second Radio Button
orangeButton.setName("No");
orangeButton.setValue("No");
May be it will help you.
Regards
Mahesh -
While opening a screen none of the radio button should not selected
Hi,
i have three radio button on the screens.By default the first radio button is getting selected for each and every time when ever i'm opening the screen.i dont want the default select should happen and even i dont want any of the radio button should be selected.
how i can acheive through dialog programming.
kind regards,
Poornima.Hi,
You can have radio buttons with any one field selected from a group .
ex:
selection-screen begin of block b2 with frame title text-042.
parameters:r_detail radiobutton group g2 user-command cmd default
'X',
r_sumry radiobutton group g2,
r_totals radiobutton group g2.
selection-screen end of block b2.
or
selection-screen begin of block b2 with frame title text-042.
parameters:r_detail radiobutton group g2 user-command cmd,
r_sumry radiobutton group g2 default 'X',
r_totals radiobutton group g2.
selection-screen end of block b2.
or
selection-screen begin of block b2 with frame title text-042.
parameters:r_detail radiobutton group g2 user-command cmd,
r_sumry radiobutton group g2 ,
r_totals radiobutton group g2 default 'X'.
selection-screen end of block b2.
Else you can opt for checkbox and have all of them not checked.
Regards,
Dep -
How to handle Radio buttons on screen.(urgant)
Dear all,
my req is : i had a screen , on that there are 3 radio buttons,Based on the radion button selection on that screen i've to trigger the 3 select statements.
if Radio button 1
execute select stmt 1.
if Radio button 2
execute select stmt 2.
if Radio button 3
execute select stmt 3.
how to write this and where.
Pls frnds this is urgant for me.
please help me,
Thanks in advance,
With regards,
Ajay Kumar K,
9908979994.hiii....
you have to remember that you have to define the radio buttons in 1 group.because if changes are made in the group from the elements list then it would affect on all the radio buttons for a particular tasks.
again radio buttons are always been declared with the parameter statements.
for eg..
Parameters:
p_rad1 radiobutton group rad1 default 'X' user-command rad1,
p_rad2 radiobutton group rad1,
p_rad3 radiobutton group rad1.
AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
IF p_rad1 = 'X'.
select statement 1.
elseif p_rad2 = 'X'.
select statement 2.
elseif p_rad3 = 'X'.
select statement 3.
endif.
The group group over here is RAD1.
the default radio button over here is in radio button 1. you can also also check any of the radio buttons as default.
thanks..
any more help pzz revert back... -
HOW TO MAKE THE SAVE BUTTON IN GREY MODE IN QA32 INTIAL SCREEN
Dear friends,
How to make the save button , in the tcode QA32 intial screen in GREY MODE.
As i don't want the screen variant created by me should not be seen by the user.Hi
There is one option ,You can protect yor varient but not hide it.
To protect>QA32>Mydefault>Varient Attibute>click on protect varient.
If you select the field Protect variant, the variant can only be changed by the person who created it or last changed it.
I hope this can be one of the solution
Regards
Sujit
Maybe you are looking for
-
My iPad Air will not recognize my newest Apple ID e-mail address for cloud access. It continually reverts back to an old e-mail address that I no longer have access to and don't remember the PW for. How can I fix this?
-
Freezing Upon Waking Since SL Install
I've had my mac for 3.5 years and have not had to reboot once due to a freeze. I installed SL Friday and have had to reboot regularly. When the computer sleeps, it will not wake properly. I get a black screen with the rolling ball (sometimes I don't
-
Adding Quantity in Sales Order form in 11i
I am trying to use forms personalization (under 11i) to add-up order quantity of multiple item lines to check against certain value. if it is less then let the order be booked, if it isn't then give error and stop processing. Will appreciate if someo
-
Hello</b>, I want to create a JSP using HTMLB tag. My problem is that i'dont how to do this well ? I created some JSP exactly as in the samples I found but it doesn't work when I ran them on my EP6. The view stay empty ?! By default, NWDS don't put t
-
Asset Under Construction Settlement - transaction types 340 & 345
Hi all, My understanding is that a) If an Asset Under Construction (AUC) item is settled completely through transaction AIBU, then transaction type 345 is used to credit the AUC GL Account in asset accounting document b) If an AUC item pertaining to