Popup List works bad in multirecord report
This is an strage behaviour:
If I use a popuplist in a report that can be modified, it shows correctly the Description I want to show, but when I select one choice, it returns Code instead of Description into the text box.
My query is very simple:
select dsmuni , idmuni
from int_localidad
order by 1
Please, any ideas?
Thanks in advance.
David.
Hi David,
Ok, now I know what you mean... unfortunately that is the way it works! As you said, kind of useless really. What is the point of displaying the key value which usually is meaningless for the user when what you need to display is the description associated with that key value?
That is why I rarely use tabular forms, and when I have to, I never use pop up LOVs with them. I try to use select lists instead (if possible) or simply add an "Edit" icon and use a normal form (in the same page or in a separate page) to edit the record.
There are workarounds though, I don't remember any from the top of my head but you can search the forum for them...
Good luck!
Luis
Similar Messages
-
Steve, "Simple JSF Popup List of Values Page " does not work..
Hi Steve,
I read "Not Yet Documented ADF Sample Applications" #80 : "Simple JSF Popup List of Values Page " and download SimpleADFBCLOVJSF.zip, but when I try to run the sample, I get this error :
JBO-33001: Cannot find the configuration file /xxx/common/bc4j.xcfg in the classpath
What is wrong ?
Thank you,
xtantoThanks for reporting this. I've uploaded a newer version of the zip file that fixes this issue.
It was due to a last-minute refactoring of my model project from having the application module living in a package named "xxx" to another package named "example.model" -
Using multiple LOV popups in a multi-row updatable report but save to 1 col
Hi,
I'm trying to generate a multirow updatable report, which has only 1 writeable column. There is a read-only column that indicates the type of value that the writeable column should contain (it's a varchar2). The second column will be a LOV popup.
I can create the report by setting the 2nd column to a LOV and it's fine, however I really want the LOV to be different, depending upon the value of the first column for the row.
For example, if the first column is "list" then I want the popup to show all my "lists"
If the first column is "role" then I want to the popup to show all my "roles".
There will be a mixture of values within the entire rowset.
I've so far managed to use a case statement to generate different LOV popups, which are displayed as required but the returned data isn't written back to the correct field.
If I use the same p_idx value then there is only one javascript function created and it always stores the data in the first rows column.
If I use unique p_idx values, then it works better but selecting a value for the 2nd row will store it there but also overwrite the 1st rows value as well.
My SQL for the report currently looks like this (cut down for clarity)
SELECT RULACTPRMIDD, /* PK */
CASE PRMNME /* type */
WHEN 'list' THEN
APEX_ITEM.POPUPKEY_FROM_QUERY(2,rulactprmval,
'SELECT LSTNME r, LSTNME d FROM LSTLST', 0)
WHEN 'role' THEN
APEX_ITEM.POPUPKEY_FROM_QUERY(2,rulactprmval,
'SELECT ROLNME r, ROLNME d FROM PDRROL', 0)
END dynamic_popup
FROM CPNRULACTPRM
I can't think of an example where i've seen this done within the Apex development environment otherwise I would refer you to that.
An alternative option would be to pass the type of value required to the same LOV and then get the LOV query to only show the appropriate values - i'll look into this as a workaround option.
thanksUser478832,
I didn't look thru all the code but I have a feeling your problem is the 9th line in the On Demand process. (the 9th line in this post anyway)...
htp.prn('<option value="' || rec.cpc_name|| '">' || rec.cpc_name|| '</option>');
You modified your query to get a different column but your returning the same column later: rec.cpc_name x2
I assume you want to display NAME and return ID so change it like this...
htp.prn('<option value="' || rec.cpc_id || '">' || rec.cpc_name|| '</option>');
Let me know if that helps...
Dan -
Web.Show_Document does not work with long running reports
I am using Web.Show_Document() to call reports from Forms. Everything works fine for smaller reports. However for long running reports I do not get the output instead get the page "This page cannot be displayed.". On checking the job status on the report server I find that report is still running and completes after some time but by that time my http request has already timed out. What configuration do I have to change to make my long running reports work.
ThanksSo, looks like this is an IE issue. I need to add the form server site to my list of Trusted Sites. Once I did that, everything started to work fine. Thought I'd share in case anyone is really interested.....
-
Why Dynamic Parameter is not working, when i create report using stored procedure ?
Post Author: Shashi Kant
CA Forum: General
Hi all
Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
is not shown to me when i referesh the report for viewing the results.
I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
============================================================================================
1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
Dynamic Parameters in Action
My question is that whether dynamic parameter is working with storedprocedure or not.
When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
Please reply soon , it's urgent
Regards
shashi kantHi Kishore,
I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
=lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
As to the second issue, please try to use the following expression:
=Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl file with all the size properties to us by the following E-mail address? It is benefit for us to do further analysis.
E-mail: [email protected]
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Refresh popup list of values javascript
I try to change value of popup list of values with javascript.
When i set it with javascript i get only return value visible in popup list of values (display). When i add refresh in dynamic action item is clean..and dont have any value..
How to set display and return value correctly...
Thanks...
Edited by: Nihad Haskovic on Jul 18, 2012 3:18 AMI am not sure if I understand your question, but if you want to show two display value columns you can use a concatenation, for example:
select raum||' - '||some_other_column display_value, raum return_value from standort order by 1
You can also build a custom popup LOV picker. If you wanted to have popup list of values that selected a number of columns and contained custom report filters you could do so by:
1. create a report page which queries the table you wish pick from
2. change the page template to be a popup lov style template
3. in the "Post Element Text" attribute put a link to the new popup page using javascript similar to: javascript:popupURL('f?p=&APP_ID.:10:&SESSION.')
( you may wish to wrap it around an image such as this one )
<img src="#IMAGE_PREFIX#htmldb/icons/view_small.gif" />
4. make one of the columns in your report a link to javascript to passback the value and close the popup window. A good example of this javascript can be viewed by viewing the HTML page source of the popup page finder which is linked from the APEX page definition page. -
Select list to popup list of values
Hi
i am doing without refresh by using two select list.
as i choose class from first select list related section to that class comes into second list
it is working fine .
if i change item type select list to popup list of values.
then it is not working fine
what i change into code so that it works fine by using popup list of values.
javascript-------------------------------------------------
<script language="JavaScript1.1" type="text/javascript">
function get_select_list_xml(pThis,pSelect){
var l_Return = null;
var l_Select = html_GetElement(pSelect);
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=CASCADING',1);
get.add('SELECT1',pThis.value);
gReturn = get.get('XML');
if(gReturn && l_Select){
var l_Count = gReturn.getElementsByTagName("option").length;
l_Select.length = 0;
for(var i=0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("option");
appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
l_Opt_Xml.firstChild.nodeValue)
get = null;
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
if(document.all){
pSelect.options.add(l_Opt);
l_Opt.innerText = pContent;
}else{
l_Opt.appendChild(document.createTextNode(pContent));
pSelect.appendChild(l_Opt);
</script>
application process------------------------------------
BEGIN
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
htp.prn('<data>');
HTP.prn ('<select>');
HTP.prn ('<option value="' || 1 || '">' || '- All Section -'|| '</option>');
FOR c IN (select DISTINCT(section) ,CLASS_ID from class_details where class_id=:SELECT1 ORDER BY SECTION ASC)
LOOP
HTP.prn ('<option value="' || c.section || '">' || c.section || '</option>');
END LOOP;
HTP.prn ('</select>');
htp.prn('</data>');
END;
calling statement-------------------------------------------------
onChange="javascript:get_select_list_xml(this,'P134_SECTION');"
Thanks & Regards
VedantI 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. -
You know that popup list of methods you get when you type a variable name then a dot?
It doesn't work for this case:
variable.getTable().getMo
The list of methods starting with getMo are the methods of "variable", not what variable.GetTable() returns.You know that popup list of methods you get when you type a variable name then a dot?
It doesn't work for this case:
variable.getTable().getMo
The list of methods starting with getMo are the methods of "variable", not what variable.GetTable() returns. -
Hello people,
do you have a list of BADIs in EBP environment with the name and an explanation?
Thanks a lot,
CristianaHi
All SRM5.5 BADIs with their documenattaion are here.
BAdI Definition Name Description
BBP_ACCCAT_MAP_EXP Exit for changing account assign. cat. by mapping EBR to R/3
BBP_ACCCAT_MAP_IMP Exit for changing account assign. cat. by mapping R/3 to EBR
BBP_ACC_CHECK_ICC Account Assignment Check
BBP_ALERTING Alerting
BBP_APPEND_ITEM Exit while creating a shopping basket item
BBP_ARCHIVING_BADI BAdI Implementation for Archiving Contracts
BBP_ATT_CHECK Attachments
BBP_AUTHORITY_CHECK Further Authorization Checks f. Documents in EBP
BBP_AVL_DETERMINE Determination of Sourcing via AVL
BBP_BADI_SUPP_MONI Activate Customer Monitor
BBP_BIDDER_USER Also Create User When Bidder Is Created
BBP_BID_DET_PROCTYPE Determine Bid Invitation Transaction Type
BBP_BID_EVAL_DISPLAY Bid Comparison: Display Control
BBP_BS_GROUP_BE Grouping of Shopping Cart Items for Follow-on Documents
BBP_BUDGET_CHECK Deactivate Automatic Budget Check
BBP_BUHI_VEND Definition of Vendor Hierarchy Types
BBP_BUPA_GET_CUF Customer Fields for Vendor Master Data
BBP_CATALOG_TRANSFER Exit for transferring catalog shopping cart
BBP_CATEGORY_ENABLE Is 'category specials' released ?
BBP_CAT_CALL_ENRICH BAdI for Transfer of Additional Parameters to Web Service
BBP_CCM_CHAR_MAINT Transfer of Additional Characteristics to SAP CCM
BBP_CFOLDER_BADI BAdI Definition for cFolder Integration
BBP_CHANGE_APPLKEY Change PPF Application Key
BBP_CHANGE_SF_BID Smartform for E-Mails to Bidder
BBP_CHANGE_SF_CTR Change Smart Form for Contract Output
BBP_CHANGE_SF_ERS Change Smart Form
BBP_CHANGE_SF_SC Smart Form Shopping Cart Print
BBP_CHANGE_SF_VERS Change Smart Form for Version Comparison
BBP_CHANGE_SSF_ERS Test
BBP_CHANGE_URL bbp_change_url
BBP_CHNG_AGNT_ALLOW Allow Change/Add Approver
BBP_CHNG_AGNT_GET Approver Selection when Approver Changed/Added
BBP_CND_UI_CTRL BBP Conditions: UI Control
BBP_CREATE_BE_PO_NEW Exit while creating a purchase order in the backend system
BBP_CREATE_BE_RQ_NEW Exit while creating a purchase requisition in backend system
BBP_CREATE_BE_RS_NEW Exit while creating a reservation in backend system
BBP_CREATE_PO_BACK OLD Exit while creating a PO in the backend system
BBP_CREATE_REQ_BACK OLD Exit while creating a purch. req. in backend system
BBP_CREATE_RES_BACK OLD-Exit while creating a reservation in backend system
BBP_CREAT_RFQ_IN_DPE Change Bid Invit. Data Before Transfer to Dynamic Bidding
BBP_CTR_BE_CREATE Exit when Creating a Contract in the Backend System
BBP_CTR_INIT_UP BAdI to upload Contracts and GOAs to SRM
BBP_CTR_MAIL_BADI BAdI for Changes Regarding Sending Mails
BBP_CTR_MASS_BADI Implementation of Mass Change Parameters
BBP_CTR_STAT BAdI to enable changes in the contract status
BBP_CT_PROD_ST_RULES BAdI for Implementation of Additional Product Staging Rules
BBP_CT_PROD_TRANSFER Exit Before Transfer of Product Data to Product Master
BBP_CUF_BADI Customer Fields. Call-up of User-Defined Screen
BBP_CUF_BADI_2 Customer Fields. Use of Standard Table Control
BBP_DETERMINE_ACCT Exit while determining G/L account for account assignment
BBP_DETERMINE_DYNATR Determine Attributes in Bid Invitation
BBP_DETERMINE_LOGSYS Exit while determining target system of item
BBP_DET_TAXCODE_BADI Exit for Determination of Tax Code
BBP_DOC_CHANGE_BADI BAdI for Changing EBP Purchasing Documents
BBP_DOC_CHECK_BADI General BAdI in Cross-Check for Message Returns
BAdI Definition Name Description
BBP_DOC_PRINTPROC BADI for Output Processing of Office Document Attachments
BBP_DOC_SAVE_BADI General BAdI for Additional Checks
BBP_DP_PROD_CHK_BADI Exit for Check if Product can be a Direct Material
BBP_DRIVER_DETERMINE Determine Driver Function Modules
BBP_EBPXML_OUT_BADI EBPXML BADI for Outbound Messages
BBP_ECS_PO_OUT_BADI ECS: PO Transfer to Logistics Backend
BBP_EXTLOCALPO_BADI Control Extended Classic Scenario
BBP_F4_GET_ADDR_MODE Should Address Selection Be Restricted to Company?
BBP_F4_MEM_UPDATE Write New/Current Favorites to Function Group Memory
BBP_F4_READ_ON_ENTRY Filling of Input Helps, Initial Defaults
BBP_F4_READ_ON_EXIT Filling of Input Helps, Final Restriction
BBP_F4_SAVE_DB Writing of Favorites for Input Helps to Database
BBP_FAV_DBHINT Determine Whether Database is Called with HINT
BBP_FILE_UPLOAD_BADI Upload File to an SRM Application
BBP_FREIGHT_BADI Treatment of Freight Costs in Tax Calculation
BBP_GET_VMDATA_CF BAdI for Replication of Customer Fields
BBP_GROUP_LOC_PO Exit Grouping of Items for Local Purchase Orders
BBP_IMS_CONTACT Changes the Contract for the E-Mail
BBP_ITEMS_COMPLETE_X Completion of Document Items
BBP_ITEM_CHECK_BADI Gen. BAdI in Item Cross-Check for Message Return
BBP_IV_IMS_MAIL_LAN Definition of Language for E-Mail and PDF Form
BBP_IV_NUMBER_SET BADI for Vendor Invoice Number
BBP_LONGTEXT_BADI Long Texts in SRM Documents
BBP_MESSAGES_BADI Check of account assignment data and message output
BBP_MON_SC Exit for Shopping Cart Monitor
BBP_NONR3_ADDRESS Master Data Handling: Addresses
BBP_NONR3_PARTNER Master Data Handling: Business Partners
BBP_OFFLINE_APP_BADI Customer-Specific Modification of E-mail Approval
BBP_OUTPUT_CHANGE Change Output Parameters
BBP_OUTPUT_CHANGE_SF Change Output Parameters
BBP_PC_ACLPAY_BADI BAdI to Fill ACLPAY Segments from PCard
BBP_PD_DOWNLOAD Download Purchasing Document - Renderer
BBP_PD_SDLN_BADI Exit to Change Schedule Line
BBP_PGRP_ASSIGN_BADI EBP Purchasing Documents: Assign Purchasing Group(s)
BBP_PGRP_FIND Shopping Cart: Determine Responsible Purchasing Group(s)
BBP_PG_REASSIGN_BADI EBP Purchasing Documents: Assign Purchasing Groups(s) (SOCO)
BBP_PM_COMP_CHK Check and Complete Component Data
BBP_PM_DEFAULT_VAL Setting default values for Component Planning
BBP_PRICEDATA_READ Pricing: Read Price Data (simplified pricing)
BBP_PRIO_DISPLAY Determines Display of Priorities
BBP_PROCESS_AUC Process Smart Form with Changed Interface
BBP_PROCESS_BID Process Smart Form with Changed Interface
BBP_PROCESS_CTR Process Smart Form with Changed Interface
BBP_PROCESS_PO Process Smart Form with Changed Interface
BBP_PROCESS_QUOT Process Smart Form with Changed Interface
BBP_PRODCAT_HIER Adaptation of Product Category Hierarchy
BBP_QA_REDETERM_CTR Redefine the Contract to be Used (Quota Arrangement)
BBP_RESERVATION_GRP Grouping of Reservations
BBP_ROUNDING_BADI Rounding of Quantity Fields
BBP_SAPXML1_IN_BADI BAdI for changing the SAP XML inbound mapping
BBP_SAPXML1_OUT_BADI BAdI for changing the SAPXML outbound mapping
BBP_SAVE_BID_ON_HOLD Control of Bid Invitation Publication
BBP_SCREENVARIANT BAdI for Defining Screen Variants
BBP_SC_MODIFY_UI BADI to Change Shopping Cart Layout
BBP_SC_TRANSFER_BE Exit for Transferring Shopping Cart to the Backend
BAdI Definition Name Description
BBP_SC_VALUE_GET Determine Shopping Cart Value for User Budget
BBP_SEARCH_SEPARATOR Definition of Separator Characters for the Search
BBP_SEND_MEDIUM_MODE Determines the Default Settings for the Send Medium
BBP_SEND_SUPP_TO_EXT Settings: Send BP from ROS System to External System
BBP_SKILLS BAdI: Create Skills Profile
BBP_SOS_BADI BAdI to Search for and Check Sources of Supply
BBP_SOURCING_BADI Process Control in Sourcing Cockpit
BBP_SRC_DETERMINE Determine Sourcing for an Item
BBP_STOCH_CUST_BADI Read Frequency, Workflows from Stochastic Customizing
BBP_SUS_BP_DUPLCHECK SUS/BP Enhancement for Finding Duplicate Records
BBP_SUS_BP_TAXNUMMAP Enhancement for Mapping Tax Number
BBP_SUS_DOWNLD_FILES SUS: Download Documents as Files
BBP_SUS_FILTER_SCHAR Filter Scheduling Agreements
BBP_SUS_MAIL_DESCR Change Subject Field Text for E-Mail Notification in SUS
BBP_SUS_QUAN_PROPOSE Propose Quantities for Service Items
BBP_TARGET_OBJECTS Exit while determining target objects in backend
BBP_TARGET_OBJTYPE Exit while determining target objects in backend
BBP_TAX_MAP_BADI Exit for mapping during tax calculation
BBP_TRANSDATA_PREP BADI for processing data in replication/update
BBP_TRANSFER_GROUP Subsequent Split of Grouping
BBP_TREX_BADI BAdI for Time Recording (Presets and Time Proposal)
BBP_UI_CONTROL_BADI BAdI for Control of Fields in a Document
BBP_UNPLAN_ITEM_BADI BAdI for Unplanned Items: Screen Control and Presets
BBP_USE_XI Use XI
BBP_VERSION_CONTROL Control: Generate a Version from a Document
BBP_VE_QSTN_DET_BADI Control Questionnaire Definition for SRM Vendor Evaluation
BBP_WFL_ADMIN_APPROV Defermination admin. approver for invoice/confirmation
BBP_WFL_APPROV_BADI Determin. Approv. for n-Level. Dynamic Approval WFL
BBP_WFL_EMPL_WI_BADI Determins Whether a Creator Receives a Work Item
BBP_WFL_SECUR_BADI Overwrites the authorization level of the approver
BBP_WF_LIST Change Worklists and Search Results Lists
BBP_WS_AGENT_SEARCH BAdI Determines who can use the Cross-Catalog Search
BBP_XML2PDF Use XML Data for PDF Generation
BBP_XML_CONF_LOGSYS XML Outbound Confirmation: Changing the Logical System
BBP_XML_CONF_SEND XML Outbound Confirmation: Send Document?
BBP_XML_DET_SYSTEM Send inbound XML messages to planning system too?
Please reward suitable points.
Regards
- Atul -
Displaying the list of values in the Report
Hi All,
Is there any possibility to include the scrollable list on the face of report(Not in the left side i.e as input control)
For example If I have a country with different counties.
Based on the country selection in the block it should display the list of counties as scrollable list.
Would it be possible.
Please help
thanks
Edited by: VP S on Sep 1, 2010 2:45 PMNot sure if you are looking for the same..
Have you tried applying the filter at the filter pane..i.e.
Click on the the show\hide filter pane (filter icon is present nearby the drill icon)
Now drag the required object on this pane.
It will create the dropdown filters on top of the report.
Regards,
Rohit -
Select list works for some users not for others
Apex 3.2, Oracle 10g
I have a page with a select list. (other select lists work fine) This view is a based on a view over a dblink with the chain being (public synonym -> dblink view -> dblink real view )
One user logs into the Apex app and the select list populates.
I log in to the app, either through the developer login or the app login, navigate to the same page and the select list does not populate.
What can cause this in Apex or is it a database issue.
Someone said it may be a rights issue, but I thought all Apex users appeared as the same 'user' to the database.
Miscellaneous points: The app authentication is via LDAP/OID and I can get the select list code work in SQL Developer.
Thanks,
Samnot sure what you are asking
It is a "Select List"
The sql is
select x d, x r
from view
wher x is not null
order by 1
The view is a synonym in the application schema, points to a view on the same database instance (different user) which points to the real view via dblink to a different database instance. -
Eliminating the null values from popup list item
Dear All,
i create a popup list,at runtime it shows a null blank value among the values i specified while the combo box is not,
i want to eleminate the blank null value from the popup list.
Need Help.
Thanks & Regards.Okay,
i create a popup list, populate it in runtime with create_group_from_query builtin.
now when i run the form and click the list item, it display a null value among the other values which are
return from the create_group_from_query .
the procedure is below
procedure Department_proc is
rg recordgroup;
n number;
begin
remove_record_group('RG');------ this is another procedure which checks for Record group existance and remove it.
rg=:=create_group_from_query('RG4','SELECT NAME,TO_CHAR(DEPT_ID) FROM TAB_DEPT_SECTION
UNION
SELECT '||'''All Departments'''||'as name,'||'''0'''||' as name from dual');
n:=populate_group(rg4);
populate_list('control_block.department',rg4);
end;
it display a null value among the other values for the first time is run the form,but when i click it and select a value from it
and the onward click dont show the null value.i want to eleminate the null value even for the first time when the user run the
from.
Best Regards -
JComboBox popup list remains open after losing keyboard focus
Hi,
I have noticed a strange JComboBox behavior. When you click on the drop down arrow to show the popup list, and then press the Tab key, the keyboard focus moves to the next focusable component, but the popup list remains visible.
I have included a program that demonstrates the behavior. Run the program, click the drop down arrow, then press the Tab key. The cursor will move into the JTextField but the combo box's popup list is still visible.
Does anyone know how I can change this???
Thanks for any help or ideas.
--Yeath
import java.awt.*;
import javax.swing.*;
import java.util.*;
public class Test extends JFrame
public Test()
super( "Test Application" );
this.getContentPane().setLayout( new BorderLayout() );
Box box = Box.createHorizontalBox();
this.getContentPane().add( box, BorderLayout.CENTER );
Vector<String> vector = new Vector<String>();
vector.add( "Item" );
vector.add( "Another Item" );
vector.add( "Yet Another Item" );
JComboBox jcb = new JComboBox( vector );
jcb.setEditable( true );
JTextField jtf = new JTextField( 10 );
box.add( jcb );
box.add( jtf );
public static void main( String[] args )
Test test = new Test();
test.pack();
test.setVisible( true );
test.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
}ran your code on 1.5.0_3, observed problem as stated.
even though the cursor is merrily blinking in the textfield, you have to click into
the textfield to dispose the dropdown
ran your code on 1.4.2_08, no problems at all - tabbing into textfield immediately
disposed the dropdown
another example of 'usual' behaviour (involving focus) breaking between 1.4 and 1.5
the problem is that any workaround now, may itself be broken in future versions -
Hello everybody> my itunes has stopped working and the problem report stated the following:
Problem signature:
Problem Event Name: APPCRASH
Application Name: iTunes.exe
Application Version: 10.5.3.3
Application Timestamp: 4f14cc3d
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.17514
Fault Module Timestamp: 4ce7b8f0
Exception Code: 80000003
Exception Offset: 0003381b
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
can anybody help me?Are you seeing a similar message when launching QuickTime Player?
What security software is installed on the computer? Have you tried testing in an admin account or after uninstalling tthe security software?
Use one of the following articles to guide you through removing iTunes and the related QuickTime files.
Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7 -
How to delete empty element in popup list
I have a question about a suspicious behaviour in Forms Builder 10.1.2.0.2.
When I have a list object (pop up list) I can define some values in the attribute palette of the object.
So you can set a shown name and a value behind. In this little window to set the items of the popup list you get automatically a white empty item at the end of the list. When I click now on this empty item (you do so, when you want to add an item) Forms Builder automatically adds an new empty item at the end.
When I click this new empty item, Forms Builder adss another empty one ... and so on.
It´s very suspicious because, when I end this dialog with "OK", it will be saved and when I open the form (over web) I have at the end of the list one, two (or more) empty elements in list.
But I can´t delete this empty ones from the list in Forms Builder.
So my question:
how can I delete empty items in a popup list??
I try it with hit "del" button at keyboard or delete the set value for the item (I hope Forms Builder delete items without value). But all does not help.Thanks jwh for this great solution! :)
On my german keyboard it is:
ctrl+< for deleting a line
ctrl+> (= ctrl+shift+<) for adding a new line
Thanks! :)
I have another question (you can maybe help me, too?).
On this popup lists you can have several items. When you open a form (via web) and the list has more than x items (maybe 5 or 6) the form shows a scroll bar on the right side.
Is there any poosibility to set how much items has to show and only show a scroll bar when there are more items in the list?
Or other way: set the maximum of shown items so big, that there will be no scroll bar.
Message was edited by:
ulfk
Maybe you are looking for
-
Drill down Error in Report Generation
Hi, I've a problem with a Report generation. The ERROR Message is the following one: Odbc driver returned an error (SQLExecDirectW). Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10
-
Replaced my iMac optical drive with ssd - now I can't create a bootcamp partition
I have a late 2009 imac 27". Recently my imac hard drive crashed so I used this opportunity to replace the broken hard drive and also replacethe iMac optical drive with a SSD drive. The idea was to use the ssd drive as my bootcamp partition and boost
-
Hi I am using oracle 11.2.0 version I need help in pivoting the values. Here is the sample data looks like with t as SELECT 'JACK' C1,'RAM' C2,'LAND' C3,'KELLY' C4, 'WORKING' STATUS FROM DUAL UNION ALL SELECT 'JAMES' C1,'NAREN' C2,'SRUJAN' C3,'GANA'
-
Hi All, I have a question. I have a CSV file that contains data to create Sales Order. I have a BizPackage and define process that creates one Sales Order. I wonder if it's possible to create different Sales Order from one CSV file? For example - the
-
Hey Is there a way to add key to attribute of infoobject for example 0material (text) **** 0material__attr1 key text 10 car1 **** car big 20 car2 **** car small i want to see 0material__attr1 10 car big 20