How to get selection of a DropdownListBox and its event handler
Hi,
I am trying to get the selection of a DropdownListBox in its event handler. The thing is, that I can´t cast the Component to a DropdownListBox.
DropDownListBox secondDDLB = (DropDownListBox)this.getComponentByName("SecondUserDDLB");
How I can get the selected item in an event handler ?
Regards
Flo
DropDownListBox NO
DropdownListBox YES
Regards
Similar Messages
-
How to get active document swatch color and its value
Hi
i want to get the swatch color of active document
i use 3 to 4 colors both cmyk and pantone which is in swatches
now i want to get their values using script
any one please help me
Thank you
AppuDownload the script "Render Swatch Legend" from the following site: http://www.wundes.com/JS4AI/
This script generates a legend of rectangles for every swatch in the main swatches palette. You should be able to grab the code you need from this. -
How to get selected value from selectOneRadio ???
Hi...i want to how to get selected value from selectOneRadio and use it in another page and in backing bean.
Note i have about 10 selectOneRadio group in one page i want to know value of each one of them.
Plzzzzzzzz i need helpYou have a datatable in which each row is a question, correct?
Also in each row you have 5 possible answers that are in a radio, correct?
So,
You need to put in your datatable model, a question, and a list of answers (5 in yor case) and the selected one.
So you will have a get to the question, an SelectItem[] list to populate the radios and another get/set to the selected question.
ex:
<h:selectOneRadio value="#{notas.selectedString}" id="rb">
<f:selectItem itemValue="#{notas.valuesList}"/>
</h:selectOneRadio>
Search the web for examples like yours. -
How to get documentation of a report with its respective headers?
I know fm, SRTU1_GET_REPORT_DOCUMENTATION, has to be used to get the documentation of a report. But when i print out the result it only shows the documentation data and not the data's respective headers. Without the headers the data looses its meaning.
Any idea on how to get both the report documentation and its respective headers.
Any help will be appreciated.
Thanks
NahmanThe following code downloads program docu as pdf file:
data: header like thead,
options like itcpo.
data: lines like tline occurs 0 with header line,
otfdata like itcoo occurs 0 with header line,
pdflines like tline occurs 0 with header line,
docstab like docs occurs 0 with header line,
binfilesize type i,
filenm type string.
parameters: program like trdir-name obligatory,
filenam like rlgrap-filename default 'c:temppdftest.pdf'.
start-of-selection.
call function 'DOC_OBJECT_GET'
exporting
class = 'RE'
name = program
language = sy-langu
short_text = 'X'
appendix = 'X'
importing
header = header
tables
* RTF_LINES =
itf_lines = lines
exceptions
object_not_found = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
options-tdgetotf = 'X'.
options-tdprogram = 'SAPLSHL2'.
options-TDDEST = 'LOCL'.
call function 'PRINT_TEXT'
exporting
application = 'TD'
* ARCHIVE_INDEX = ' '
* ARCHIVE_PARAMS = ' '
device = 'PRINTER'
dialog = ' '
header = header
options = options
* IMPORTING
* NEW_ARCHIVE_PARAMS =
* RESULT =
tables
lines = lines
otfdata = otfdata
exceptions
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
unknown = 6
format = 7
textformat = 8
communication = 9
bad_pageformat_for_print = 10
others = 11
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
refresh lines.
call function 'CONVERT_OTF_2_PDF'
* EXPORTING
* USE_OTF_MC_CMD = 'X'
* ARCHIVE_INDEX =
importing
bin_filesize = binfilesize
tables
otf = otfdata
doctab_archive = docstab
lines = pdflines
exceptions
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
others = 3
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
filenm = filenam.
call function 'GUI_DOWNLOAD'
exporting
* BIN_FILESIZE =
filename = filenm
filetype = 'BIN'
tables
data_tab = pdflines
* FIELDNAMES =
exceptions
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
others = 22
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Regards
Sridhar -
How to get selected row index of a Table ?
hi gurus,I'm new to Webdynpro for abap
I'm displaying just Flight details in a Table so
how to get selected row index of a Table and need to be display in Message manager.Hi,
For getting the row index use the following code.
DATA lo_nd_node TYPE REF TO if_wd_context_node.
DATA lo_el_node TYPE REF TO if_wd_context_element.
DATA index TYPE i.
* navigate from <CONTEXT> to <NODE> via lead selection
lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_node ).
lo_el_node = lo_nd_node->get_lead_selection( ).
index = lo_el_node->get_index( ).
node is the name of the node which is binded to the table.
For printing the message u can use code wizard.
Press ctrl-F7. Now Select generate message.
IN this select the method REPORT_SUCCESS
In the code now u can give index to Message text Exporting parameter. Comment receiving parameter.
Write the whole code in onLeadSelect of the table.
Regards,
Pankaj Aggarwal -
I forgot my security questions and i dont know how to get to the email rescue and don't think i ever set one up with my account.. Please help me !!!!
The Three Best Alternatives for Security Questions and Rescue Mail
1. Use Apple's Express Lane.
Go to https://expresslane.apple.com ; click 'See all products and services' at the
bottom of the page. In the next page click 'More Products and Services, then
'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
ID security questions' and click 'Continue'.
2. Call Apple Support in your country: Customer Service: Contact Apple support.
3. Rescue email address and how to reset Apple ID security questions.
A substitute for using the security questions is to use 2-step verification:
Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID. -
How to get selected value from OADefaultListBean.
Hi All,
How to get selected value from OADefaultListBean ?
Thanks,Hi,
To identify the user's selection(s) when the page is submitted, you would add the following logic to your processFormRequest() method:
OADefaultListBean list =
(OADefaultListBean)webBean.findChildRecursive("positionsList");
String name = list.getName();
String[] selectedValues = pageContext.getParameterValues(name);
To retrieve all the values in the list box, call list.getOptionsData().
--Prasanna -
Hi, just need to know how to get my music, video, pictures and apps form my iPhone to my new laptop as the old computer, which I used before was stolen. I only have my phone left and if I try to conect it to my new laptop it's trying to delete everything.
I have also noticed all my settings won't stay set, example....I removed the check mark from "third party cookies", the when I close Firefox and reopen the check mark is back, also my tool bar has screwed up....can't reset, been having trouble the up grade.
-
How to get selected row keys from RichSelectManyCheckbox
Adf Table has getSelectedRowKeys but SelectManyChekcbox does not has anything similar. Can you tell me how to get selected row keys programmatically for RichSelectManyCheckbox?
Hi User,
selectManyCheckbox component's value property holds the selected items values. Bind this property to some bean variable(of type list) so that you can get the selected values by accessing the bean property.
Sireesha -
How to get Lion off my computer and go back to Snow Leopard???
How do I get rid of Lion and go back to Snow Leopard PERMANENTLY?
I am not techno.
I need simple instructions with plain descriptions. I do not have any discs. The iMac came with Snow Leopard and I loaded NOTHING.
I should never have bought Lion. It is awful.
Please someone tell me how to get Lion off my computer and go back to Snow Leopard.Can I use time machine to restart the machine before the fateful day when I bought and installed Lion?
Yes, if you have a pre-Lion backup, but you need an installation disc.
Is there anything else I can do? more RAM?
I don't know how much RAM you have. It must be at least 2 GB, or Lion wouldn't have installed. If that's all you have, you might get better performance by adding more. But from your description, I doubt that your problem is due entirely, if at all, to a lack of RAM. If you want to troubleshoot the problem, it will take some patience and effort, and you'll need to be in a calm frame of mind. -
I just downloaded the new iOS 5.0 and did all of the backup prompted steps beforehand, but I can't figure out how to get all of my apps and music back on my iPhone. Where did they go and how can I put them back on my iPhone?
Hi, Abril_Perez17.
This may be related to a new feature embedded in iOS7 that shows all purchased music by default. Go to Settings > Music, then turn off Show All Music. See if the issue ceases once the feature has been disabled. This information is located on page 63 of the user guide below.
iPhone User Guide
Regards,
Jason H. -
i have a problem with mail. the spelling and grammer check box before sending the messege is no longer there. I did everything but cannot get it back. is ther anyone who knows how to get the box with spelling and grammer checks before sending the mail.
Also the mail is acting very funny by not getting the rules work in a proper method. Is ther a software to repair mail.i did both of them, but still the while sending the mail the diolog box is not showing up and also the spelling and grammer does not do the spelling check.
This problem just started for about 3 to 4 days now. earlier it was working normally. -
How to get the all process orders and outbound deliveries based on material
Hi Team ,
I need one help from you regarding the MB 56 transaction.
My doubt is : How to get the all process orders and outbound deliveries based on material, plant and batch?
Please help me regarding this.
Thanks & Regards,
Srikanth.Hi,
You can use ST05,to trace the program and find out,
hope it will help you...
thanks and regards,
veera. -
How to get shipped orders, unshipped orders and orders with open deliverie
Hi
how to get shipped orders, unshipped orders and orders with open deliveries
can anybody answer this.
points would be rewrded
ThanksHi,
You can check in the VBUK table for the status of an order. If you do a Query on VBUK table to get all the orders whose delivery status is not 'C' or the total goods movement status is not 'C' you get to know the orders not yet shipped.
Hope this helps. Reqard points if useful.
David. -
When i update my IOS7 i lost my all pic from my IPAD2 can anyone suggest how to get back those pic? and i don,t think so i did kept back up before i update ios7. can anyone help me for this issue?
The photo's in your camera roll would be in a backup, if you have one (iCloud or iTunes). If you did not keep a backup somewhere, they are gone. Sorry, but that is the way of any data - if you don't have a backup of it somewhere, there is nothing to restore it from.
All other photo's should be on your computer somewhere anyway - whereever you had them to sync to the device originally.
Maybe you are looking for
-
Hello All, I am trying to invoke the SQL Server database from Oracle for which I have done the following: 1) Created DSN for SQL Server database 2) Created the init<DSN Name>.ora file under <oracle home>\database as follows: HS_FDS_CONNECT_INFO = sha
-
Getting only the rows committed in the database
Hi, I have one strange requirement in my application. I need to fetch the rows from a particular table in the database which are committed. I mean there are other view objects for that table and those view objects are manipulating the data in that ta
-
NOW, I can't open any pdf files HELP!
-
Weblogic 11g on Windows - very slow admin server start
Hello, It takes upwards of 15 minutes to fully start the admin server on my Windows box. I have read that it's a bug in the Java security random number/crypto api. There are various work arounds for the Linux environments, but no mention of Windows.
-
Hi I have a view which is obtained by using multiple unions, sub queries which made the query complex. The view works good and gives correct data when i select all the records from the view. But the problem is when I use where clause and filter then