Need help on Combo Box
Hi,
I am currently developing a application using Flex. In my
application i am using ComboxBox but i am not able to adjust the
spacing between the values present inside the combobox. currenlty
when the clicks on the combo box even thought there are two values
the height looks very big. Is there way i can control it.
hi
thanx to all who sees my forum.
now i was able to create a depenent box but now i'm facing two problems
1. when i submit the form my previous value from the combo box is not selected
2. when i first load the page the value in the 2nd combo box doesn't has the value as null...
my code
function display()
var index=document.form1.drug.value;
document.form1.hid.value=index;
form1.submit();
function refresh()
var val;
val=document.form1.hid.value;
drug.SelectedIndex=value;
<div class="tr1">
<td>Product Name</td>
<%
//query for selecting the values from the database
rs=stm.executeQuery("select DrugName from ProductMaster");
%>
<!-- Displaying the values in the combo box -->
<form name="form1" method="post" action="">
<select name="drug" id="drug" onChange="display()">
<option value="">-- select -- </option>
<%
while(rs.next())
%>
<OPTION VALUE="<%=rs.getString("DrugName")%>"><%=rs.getString("DrugName")%></OPTION>
<%
%>
</select>
<input type="hidden" name="hid">
</div>
</tr>
<tr>
<div class="td1">
<td>NDC code #</td>
<%
//query for selecting the values from the database
String sql1 = "SELECT ProductCode from ProductMaster where DrugName='"+request.getParameter("hid")+"' ";
rs=stm.executeQuery(sql1);
%>
<SELECT NAME='ndc'>
<% while (rs.next())
String val1=rs.getString("ProductCode");
out.println ("<OPTION VALUE='" + val1 + "'>" + val1 + "</OPTION>");
%>
</div>i don't know wht to do...
pls help me as soon as u can...
Thanks & Regards
kalai
Similar Messages
-
Need help @ listening combo box
Hi Everyone,
below is my code. Please find my question between '?'ed lines.
// CREATE COMBO BOX
if(obj.equals(CSV_COMBO_BOX))
_combobox[_combobox_count] = new JComboBox();
//get possible value for combo box
String [] possible_values = get_possible_values(val[i]);
for(int i=0; i < possible_values.length; ++i)
_combobox[_combobox_count].addItem(possible_values[i]);
//set the default value to usr_val[i]
_combobox[_combobox_count].setSelectedItem(usr_val[i]);
// add to panel
panel.add("tab",_combobox[_combobox_count]);
// listner
_combobox[_combobox_count].addItemListener(new ItemListener(){
public void itemStateChanged(ItemEvent e)
// ? I WANT TO UPDATE usr_val[i] here ?
// ? how could i get the value of "i" or
// combobox_counter in this block?????????
// ???????????????????????????????<?????
comboboxcount++;
Thanks & Regards
Vikas TalwarHi Everyone,
below is my code. Please find my question between '?'ed lines.
// CREATE COMBO BOX
if(obj.equals(CSV_COMBO_BOX))
_combobox[_combobox_count] = new JComboBox();
//get possible value for combo box
String [] possible_values = get_possible_values(val);
for(int i=0; i < possible_values.length; ++i)
_combobox[_combobox_count].addItem(possible_values);
//set the default value to usr_val
_combobox[_combobox_count].setSelectedItem(usr_val);
// add to panel
panel.add("tab",_combobox[_combobox_count]);
// listner
_combobox[_combobox_count].addItemListener(new ItemListener(){
public void itemStateChanged(ItemEvent e)
// ? I WANT TO UPDATE usr_val here ?
// ? how could i get the value of "i" or
// _combo_box_counter in this block?????????
// ???????????????????????????????<?????
_combobox_count++;
}I have two arrays: one called "val" which is an array of string arrays that you use to populate a JComboBox, and the other one is called "usr_val" that holds strings and is used to set the JComboBox default values. You want to change the default value when the selected item in the corresponding JComboBox has changed. To manage your arrays and JComboBoxes, you have
one counter "i" which seems to count the arrays of string arrays and the array with the default strings and one counter "_combobox_count" which counts the JComboBoxes that have been genererated with the help of these arrays. Obviously, the arrays could be used to generate a different JComponent as well, in which case "i" and "_combobox_count" will have different values. Both "i" and "_combobox_count" are clearly available within the if-block, so you don�t need any extra tricks to access them. What happens if you directly access "i" or "_combobox_count" from within the "itemStateChanged"-method?
Thanks & Regards
Vikas Talwar -
Need help on combo box validation in jsf
Hi All,
I have a combo box with some options. User has to select one option and has to submit the form. If he doesnt select any option and submit the form i need to display an error message saying that PLEASE SELECT AN OPTION AND SUBMIT.
I am using RATIONAL APPLICATION DEVELOPER 6.0 as my IDE.
please help me its an urgent requirementOn submit check if he has an option selected.
If not do the following:
FacesContext.getCurrentInstance().addMessage(componentId,
new FacesMessage(FacesMessage.SEVERITY_ERROR,
errorMessage,
errorMessage));
return null;
The componentId is the id of the selectOneMenu -
Need help on combo box problem
hi ,
i have two combo box..... eg..c1,c2
i retrieved data from database to display it in combo box c1.now my problem is using the selected value from combo box c1 i have to display the respective value in c2..
eg.
if Product type=injection (in combo box c1)
then
in c2 the product name for injection available should be displayed by retrieving it from database...
this is my code
<%
//query for selecting the values from the database
stm=con.createStatement();
ResultSet rs=stm.executeQuery("select Dosageform from ProductMaster");
%>
<!-- Displaying the values in the combo box -->
<form name="form1" method="post" action=""> <select name="eid" id="eid" onchange="display(this)">
<%
while(rs.next())
%>
<OPTION VALUE=""><%=rs.getString("Dosageform")%></OPTION>
<%
%>
</select>
<select name="combo2">
</select>i don't know how to write the function display for this....
can any one help me...
Thanks
kalaihi
thanx to all who sees my forum.
now i was able to create a depenent box but now i'm facing two problems
1. when i submit the form my previous value from the combo box is not selected
2. when i first load the page the value in the 2nd combo box doesn't has the value as null...
my code
function display()
var index=document.form1.drug.value;
document.form1.hid.value=index;
form1.submit();
function refresh()
var val;
val=document.form1.hid.value;
drug.SelectedIndex=value;
<div class="tr1">
<td>Product Name</td>
<%
//query for selecting the values from the database
rs=stm.executeQuery("select DrugName from ProductMaster");
%>
<!-- Displaying the values in the combo box -->
<form name="form1" method="post" action="">
<select name="drug" id="drug" onChange="display()">
<option value="">-- select -- </option>
<%
while(rs.next())
%>
<OPTION VALUE="<%=rs.getString("DrugName")%>"><%=rs.getString("DrugName")%></OPTION>
<%
%>
</select>
<input type="hidden" name="hid">
</div>
</tr>
<tr>
<div class="td1">
<td>NDC code #</td>
<%
//query for selecting the values from the database
String sql1 = "SELECT ProductCode from ProductMaster where DrugName='"+request.getParameter("hid")+"' ";
rs=stm.executeQuery(sql1);
%>
<SELECT NAME='ndc'>
<% while (rs.next())
String val1=rs.getString("ProductCode");
out.println ("<OPTION VALUE='" + val1 + "'>" + val1 + "</OPTION>");
%>
</div>i don't know wht to do...
pls help me as soon as u can...
Thanks & Regards
kalai -
i am having a heck of a time writing the php and actionscript
to get a combo box to load a list from a data base. And then once
that list is loaded into cb_combo1 based on the users selection
loading the appropriate list into cb_combo2 , so for example
user is asked to select a state.
once a state has been selected a list of schools from a
database is loaded into the cb_combo2 based on the users selection.
after the user selects the school , he is redirected to
another URL.
Let me know if anyone can help. Its for a project in school
and i could really use the A. and the knowledge. I have been
googleing for about 7 days now.
Thanks all :-)
CHThe perfect tutorial for you:
http://www.adobe.com/devnet/flash/articles/flash_xmlphp.html -
Hi! I am newbie to Reports need help with check boxes
Hi! I am newbie to Reports need help with check boxes. I am try-in to make a new check boxes that will validate in runtime. I have created two frames and one frame is dummy and other frame has big X line on it with conditions. Is this a right way to create check box! Please help thanks!
and one frame is dummy and other frame has big X
line on it with conditions. Is this a right way to
create check box! Please help thanks!Instead of creating a frame for X, you can create Ractangle and place X in it. Rest is fine. -
Help needed: triggering a combo box selection
I'm new to creating forms in Acrobat (Acrobat 9 on Mac). I'm trying to create a form for my department where a student selects a faculty name from a combo box, and once the value is selected, another field is filled with an int value (course section number).
Question: what is the correct trigger for executing the javascript for this? Mouse up seems to trigger too early and the others don't seem appropriate.
I think my rudimentary JavaScript knowledge can get me far enough to check the value and the use a switch/if to prefill the int value in the other field, so the correct trigger is my current issue.
Thanks in advance.I found where it's supposed to be stored, but I'm having some issues with missing (). I'm using Acrobat X Pro for Windows Vista. There was a post that I've spent the last 2 hours looking for that had a modified code that added in missing (), and now I can't find it Any help would be greatly appreciated. Anyway, here's my code:
function mater list for Alpha1()
var oAlpha1 = {
ACC: [
["-","None"], ["201",Intro to Financial Accounting], ["202",Intro to Managerial Accounting], ["-96",Selected Topics], ["-99",Directed Reading and Research]
ANTH: [
["-","None"], ["151",Emerging Humanity], ["152",Culture and Humanity], ["210",Archaeology], ["215",Physical Anthropology], ["215L",Physical Anthropology Lab], ["310",Human Origins], ["313",Culture Through Film], ["321",World Archeology], ["342",Indigenous Peoples & Modernity], ["350",Pacific Islands Cultures], ["351",Culture Thought and Behavior], ["358",Myth, Symbol, and Ritual], ["362",Gender, Culture, and Society], "380",Field Archaeology], ["383",Museum Studies], ["384",Human Skeletal Biology], ["415",Human Ecological Adaptation], ["420",Culture & Communication], ["422",Magic Witchcraft & Supernatl], ["423",Social and Cultural Change], ["437",Pacific Archaeology], ["447",Polynesian Cultures], ["448",Micronesian Cultures], ["457",Okinawans Locally & Globally], ["458",Forensic Investigations], ["460",Adv Tech in Forensic Anth], ["474",Culture and Mental Illness], ["483",Archaeology of Hawaii], ["487",Philippine Culture], ["490",History & Theory Anthropology], ["495",Research Seminar], ["496",Selctd Tpcs:], ["499",Directed Reading & Research], ["296F",Intro to Field Archaeology], ["496A",Culture Through Film], ["496B",Phillipines Studies], ["496C",Museum Studies], ["496D",Okinawans Locally & Globally], ["496E",Pacific Island Cultures]
APSC: [
["-","None"], ["486",Senior Project-Applied Sci], ["490",Senior Practicum], ["486C",Senior Project-CENT], ["486I",Senior Project-IT], ["486M",Senior Project-CULM], ["486R",Senior Project-RESP], ["490C",Admin Practicum-CENT], ["490I",Admin Practicum-IT], ["490M",Admin Practicum-CULM], ["490R",Admin Practicum-RESP]
ASTR: [
["-","None"], ["110",Survey of Astronomy]
It goes on like this through all our subjects. I then modified the next bits of code in thomp's doc to reflect what I need to be pulled and populated:
var nACCItems=oAlpha1["ACC"];
var n201Title=ACCItems[1]; var n202Title=ACCItems[1]; var n-96Title=ACCItems[1]; var n-99Title=ACCItems[1];
var nANTHItems=oAlpha1["ANTH"];
var n151Title=ANTHItems[1]; var n152Title=ANTHItems[1]; var n210Title=ANTHItems[1]; var n215Title=ANTHItems[1]; var n215LTitle=ANTHItems[1]; var n310Title=ANTHItems[1]; var n313Title=ANTHItems[1]; var n321Title=ANTHItems[1]; var n342Title=ANTHItems[1]; var n350Title=ANTHItems[1]; var n351Title=ANTHItems[1]; var n358Title=ANTHItems[1]; var n362Title=ANTHItems[1]; var n380Title=ANTHItems[1]; var n383Title=ANTHItems[1]; var n384Title=ANTHItems[1]; var n415Title=ANTHItems[1]; var n420Title=ANTHItems[1]; var n422Title=ANTHItems[1]; var n423Title=ANTHItems[1]; var n437Title=ANTHItems[1]; var n447Title=ANTHItems[1]; var n448Title=ANTHItems[1]; var n457Title=ANTHItems[1]; var n458Title=ANTHItems[1]; var n460Title=ANTHItems[1]; var n474Title=ANTHItems[1]; var n483Title=ANTHItems[1]; var n487Title=ANTHItems[1]; var n490Title=ANTHItems[1]; var n495Title=ANTHItems[1]; var n496Title=ANTHItems[1]; var n499Title=ANTHItems[1]; var n296FTitle=ANTHItems[1]; var n496ATitle=ANTHItems[1]; varn496BTitle=ANTHItems[1]; var n496CTitle=ANTHItems[1]; var n496DTitle=ANTHItems[1]; var n496ETitle=ANTHItems[1];
var nAPSCItems=oAlpha1["APSC"];
through all our subjects. Do I need to leave the lists of var nSUBJItems and var nNUMTitle separate, or is the way I have them (subject followed by titles in each subject) okay?
Then, I made the keystroke codes. Do they go in the Document level as well, or do they go in the keystroke event or both? Right now, I just have them as a doc level code because I can't save the document level code without fixing the () error. I'd just like to know ahead of time.
Number Keystroke Event
function SetNumberEntries()
if(event.willCommit)
// Get the numbers list from the Master List
// Since the selection is being committed,
// event.value contains the Alpha1 name
var lst = oAlpha1[event.value];
// Clear the Number list if there are no numbers for the selected alpha
if( (lst != null) && (lst.length > 0) )
this.getField("NumberSelect").setItems(lst);
else
this.getField("NumberSelect").clearItems();
// We have a new number list and the first entry is
// is a non-selection, so clear the title field.
this.getField("Title").value = 0;
Uncommitted Keystroke Event
function SetTitleValue()
// In order to get easy access to the export value, i.e. Title. This
// function needs to be run on the un-committed change event.
// This field is set up for Commit on select so we know the value
// will be committed anyway.
if(!event.willCommit)
// If the export value is Not written then
// set the title to --.
var nSelExp = --;
if(!isNaN(event.changeEx))
nSelExp = event.changeEx
this.getField("Title").value = nSelExp; -
I am currently building a site with flash / dreamweaver and
am attempting to add two or three combo boxe that will display data
and pictures from a database. Any ideas or assistance would be much
appreciated...
Many thanks in advanceSunil,
I'm attempting to use the data binding technique but I'm perhaps not understanding exactly where this should go. For now I'm fine with having a static array that just lives locally on the page. Each of my combo boxes are being populated using the
mx:Array --> mx:Object logic.
I need to fire off an event to a function that is able to determine which selection(s) from the combination of the two combo boxes were chooses. I'm accomplishing that by using selectedIndex property of the combo boxes id. I then have 'n' number of unique Array Collections that are basically a three dimensional array containing the numeric percentage that I need to display graphically. I need my function to be able to choose the appropriate Collection based on the combination of selected index(es) and then update my column chart accordingly.
My other confusion is how to do use my data binding at the chart level. So my page is really nothing more than two combo boxes and chart that I need to change dynamically as the selections in the combo boxes changes. Eventually I will use a webservice to connect to a .jsp page that is using DAO to retrieve the values from the database but right now I'm fine with fetching them locally just so I'll know I'm on the right track.
If it would help I can include the snippet of the code that I'm working on.
Thanks for your help
-->Nash -
I am creating an application with comboboxes and using action
script to load them. I can figure out how to change text color of
the choices in the combo box, but can anyone tell if it is possible
to make the text choices appear as different colors. For instance
if I wanted all of the choices to be black text, but for the third
choice down to appear red.
Thanks for the help.You can set the backgroubd color if that helps.
To set the second item to have a red background, attach this
to the combobox:
on(open){
dropdown.setPropertiesAt(1,{backgroundColor:0xFF0000})
} -
Need Help: Use Combox Box + List Builder + Column chart!
Hi experts,
I'm a novice in Xcelsius but i met some problems in encountering it, therefore, i would like to seek some assistance from the experts, Thanks!
These are my data for F1 race. And I have 10 years data and below is an example of my data. I would be using 2 years data as an example first.
Year Country Driver Point Laps Time/Retired No.of Driver Position
2009 Australia Jenson Button 10 58 1:34:15.784 22 1
2009 Australia Rubens Barrichello 8 58 +0.8s 23 2
2009 Australia Jarno Trulli 6 58 +1.6s 9 3
2009 Australia Timo Glock 5 58 +4.4s 10 4
2009 Australia Fernando Alonso 4 58 +4.8s 7 5
2009 Malaysia Jenson Button 5 31 55:30.622 22 1
2009 Malaysia Nick Heidfeld 4 31 +22.7s 6 2
2009 Malaysia Timo Glock 3 31 +23.5s 10 3
2009 Malaysia Jarno Trulli 2.5 31 +46.1s 9 4
2009 Malaysia Rubens Barrichello 2 31 +47.3s 23 5
2009 China Sebastian Vettel 10 56 1:57:43.485 15 1
2009 China Mark Webber 8 56 +10.9s 14 2
2009 China Jenson Button 6 56 +44.9s 22 3
2009 China Rubens Barrichello 5 56 +63.7s 23 4
2009 China Heikki Kovalainen 4 56 +65.1s 2 5
2009 Bahrain Jenson Button 10 57 1:31:48.182 22 1
2009 Bahrain Sebastian Vettel 8 57 +7.1s 15 2
2009 Bahrain Jarno Trulli 6 57 +9.1s 9 3
2009 Bahrain Lewis Hamilton 5 57 +22.0s 1 4
2009 Bahrain Rubens Barrichello 4 57 +37.7s 23 5
2009 Spain Jenson Button 10 66 1:37:19.202 22 1
2009 Spain Rubens Barrichello 8 66 +13.0s 23 2
2009 Spain Mark Webber 6 66 +13.9s 14 3
2009 Spain Sebastian Vettel 5 66 +18.9s 15 4
2009 Spain Fernando Alonso 4 66 +43.1s 7 5
2009 Monaco Jenson Button 10 78 1:40:44.282 22 1
2009 Monaco Rubens Barrichello 8 78 +7.6s 23 2
2009 Monaco Kimi Raikkonen 6 78 +13.4s 4 3
2009 Monaco Felipe Massa 5 78 +15.1s 3 4
2009 Monaco Mark Webber 4 78 +15.7s 14 5
2009 Turkey Jenson Button 10 58 1:26:24:848 22 1
2009 Turkey Mark Webber 8 58 +6.7s 14 2
2009 Turkey Sebastian Vettel 6 58 +7.4s 15 3
2009 Turkey Jarno Trulli 5 58 +27.8s 9 4
2009 Turkey Nico Rosberg 4 58 +31.5s 16 5
2010 Bahrain Fernando Alonso 25 49 1:39:20.396 8 1
2010 Bahrain Felipe Massa 18 49 +16.0s 7 2
2010 Bahrain Lewis Hamilton 15 49 +23.1s 2 3
2010 Bahrain Sebastian Vettel 12 49 +38.7s 5 4
2010 Bahrain Nico Rosberg 10 49 +40.2s 4 5
2010 Australia Jenson Button 25 58 1:33:36.531 1 1
2010 Australia Robert Kubica 18 58 +12.0s 11 2
2010 Australia Felipe Massa 15 58 +14.4s 7 3
2010 Australia Fernando Alonso 12 58 +16.3s 8 4
2010 Australia Nico Rosberg 10 58 +16.6s 4 5
2010 Malaysia Sebastian Vettel 25 56 1:33:48.412 5 1
2010 Malaysia Mark Webber 18 56 +4.8s 6 2
2010 Malaysia Nico Rosberg 15 56 +13.5s 4 3
2010 Malaysia Robert Kubica 12 56 +18.5s 11 4
2010 Malaysia Adrian Sutil 10 56 +21.0s 14 5
2010 China Jenson Button 25 56 1:46:42.163 1 1
2010 China Lewis Hamilton 18 56 +1.5s 2 2
2010 China Nico Rosberg 15 56 +9.4s 4 3
2010 China Fernando Alonso 12 56 +11.8s 8 4
2010 China Robert Kubica 10 56 +22.2s 11 5
2010 Spain Mark Webber 25 66 1:35:44.101 6 1
2010 Spain Fernando Alonso 18 66 +24.0s 8 2
2010 Spain Sebastian Vettel 15 66 +51.3s 5 3
2010 Spain Michael Schumacher 12 66 +62.1s 3 4
2010 Spain Jenson Button 10 66 +63.7s 1 5
2010 Monaco Mark Webber 25 78 1:50:13.355 6 1
2010 Monaco Sebastian Vettel 18 78 +0.4s 5 2
2010 Monaco Robert Kubica 15 78 +1.6s 11 3
2010 Monaco Felipe Massa 12 78 +2.6s 7 4
2010 Monaco Lewis Hamilton 10 78 +4.3s 2 5
2010 Turkey Lewis Hamilton 25 58 1:28:47.620 2 1
2010 Turkey Jenson Button 18 58 +2.6s 1 2
2010 Turkey Mark Webber 15 58 +24.2s 6 3
2010 Turkey Michael Schumacher 12 58 +31.1s 3 4
2010 Turkey Nico Rosberg 10 58 +32.2s 4 5
2010 Canada Lewis Hamilton 25 70 1:33:53.456 2 1
2010 Canada Jenson Button 18 70 +2.2s 1 2
2010 Canada Fernando Alonso 15 70 +9.2s 8 3
2010 Canada Sebastian Vettel 12 70 +37.8s 5 4
2010 Canada Mark Webber 10 70 +39.2s 6 5
2010 Europe Sebastian Vettel 25 57 1:40:29.571 5 1
2010 Europe Lewis Hamilton 18 57 +5.0s 2 2
2010 Europe Jenson Button 15 57 +12.6s 1 3
2010 Europe Rubens Barrichello 12 57 +25.6s 9 4
2010 Europe Robert Kubica 10 57 +27.1s 11 5
Basically, my requirement is to have year 2009 and 2011 in my component "Combo Box" and when user choose Year 2010, the source data under the component "List builder" shows the FILTERED countries (since i have duplicated countries here) under year 2010 only.
So user can choose the correct countries and view the details of the countries that he/she choose for year 2010 at the column chart.
Pls feel free to clear your doubts if any.
Your assistance will be appreciated!!
Thanks alot!
Best regards,
htohHi Sanjay,
Appreciate your quick response.
However this is what i've set for my combo box and list builder:
Combo box:
Insertion Type: Filtered rows
Source data: Column A & B (Year,Country)
Destination: Some empty cells
List builder:
Insertion type: Row (I can't find Filtered rows as an option)
Source data: From the empty cells i mentioned above ***
Destination: Another Empty cells.
Is there anything wrong with my settings? Pls help, thanks a lot!
Best regards,
htoh -
Hi,
I am trying to create a combo Box at run time.Can anybody tell me how do I get the value the user has selected and then assign it to a EditText. I am doing the coding in C#.
Thanks
Nirmala B.Something like that ?
oNewItem = oForm.Items.Item("12"); // get my combobox in oNewItem
oCombo = (SAPbouiCOM.ComboBox)oNewItem.Specific; // get the combobox
string qry = oCombo.Selected.Description; //get the selected description in qry
Hth
Quentin -
I am having problems with displaying items on a combo box.
The combo box will allow a user to select a fixed list of values for a database column.
I created the combo box and set the dataItemUsageMode property in the property inspector to "USE FOR UPDATE". The list is bound to the corresponding column of the query RowSetInfo.
In the code, I hard coded the items to be displayed using comboboxName.addItem(). When I run the form, the list of hard coded values shows up. However, when I select an item, the selected item is not displayed on the screen.
Could anyone tell me what I am doing wrong?
nullI had a problem like this when I inserted a new row into the given Rowset.
Try setting initial value for the attribute that you are using for update.
eg. if you have this:
comboBoxControl1.setDataItemNameForUpdate("infobus:/oracle/sessionInfo1/rowSetInfo1/Status");
comboBoxControl1.addItem(new String("Silver"));
comboBoxControl1.addItem(new String("Gold"));
comboBoxControl1.addItem(new String("Platinum"));
set the attribute as follows:
StatusrowSetInfo1.getImmediateAccess().setValue(new String("Silver"));
or any other way you can set that attribute.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kms98 ():
I am having problems with displaying items on a combo box.
The combo box will allow a user to select a fixed list of values for a database column.
I created the combo box and set the dataItemUsageMode property in the property inspector to "USE FOR UPDATE". The list is bound to the corresponding column of the query RowSetInfo.
In the code, I hard coded the items to be displayed using comboboxName.addItem(). When I run the form, the list of hard coded values shows up. However, when I select an item, the selected item is not displayed on the screen.
Could anyone tell me what I am doing wrong? <HR></BLOCKQUOTE>
null -
Need help installing Virtual box Windows VM's
I am installing virtual box on wife's mac. I got the instructions here: http://osxdaily.com/2011/09/04/internet-explorer-for-mac-ie7-ie8-ie-9-free/
I did it previously and it all worked well. Recently the windows session license expired so I reinstalled that portion and it worked for about a week. Then the Virtual box program just stopped working. So I uninstalled the virtual box and am attempting to reinstall all components.
First step is install Virtual box from here: https://www.virtualbox.org/wiki/Downloads This went ok andvirtual box runs but there are no VM's.
There is then a script to install the windows VM's. It is failing.
Script is accessed by copyinf this command into terminal:
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash
This is the error I get. It seems there is a file that already exists but I'm stumped as to what to do.
Last login: Fri Mar 28 09:06:48 on ttys000 ROSANNEs-MacBook-Air:~ rosannemcginn$ curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash Checking for VirtualBox Checking for Oracle VM VirtualBox Extension Pack
Pack no. 0: Oracle VM VirtualBox Extension Pack
Building IE6 VM
Checking for existing OVA at /Users/rosannemcginn/.ievms/IE6 - WinXP.ova Checking for existing IE6 - WinXP VM Creating IE6 - WinXP VM (disk: /Users/rosannemcginn/.ievms/IE6 - WinXP-disk1.vmdk) 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/rosannemcginn/.ievms/IE6 - WinXP.ova...
OK.
Disks: vmdisk1 136260878336 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized IE6 - WinXP-disk1.vmdk -1 -1
Virtual system 0:
0: Suggested OS type: "WindowsXP"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: VM name specified with --vmname: "IE6 - WinXP"
2: Number of CPUs: 2
(change with "--vsys 0 --cpus <n>")
3: Guest memory: 512 MB
(change with "--vsys 0 --memory <MB>")
4: Sound card (appliance expects "", can change on import)
(disable with "--vsys 0 --unit 4 --ignore")
5: USB controller
(disable with "--vsys 0 --unit 5 --ignore")
6: Network adapter: orig NAT, config 2, extra slot=0;type=NAT
7: CD-ROM
(disable with "--vsys 0 --unit 7 --ignore")
8: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 8 --ignore")
9: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 9 --ignore")
10: Hard disk image: source image=IE6 - WinXP-disk1.vmdk, target path=/Users/rosannemcginn/.ievms/IE6 - WinXP-disk1.vmdk, controller=8;channel=0 0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Appliance import failed
VBoxManage: error: Could not create the clone medium '/Users/rosannemcginn/.ievms/IE6 - WinXP-disk1.vmdk'.
VBoxManage: error: VMDK: could not create new file '/Users/rosannemcginn/.ievms/IE6 - WinXP-disk1.vmdk' (VERR_ALREADY_EXISTS)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Appliance, interface IAppliance
VBoxManage: error: Context: "int handleImportAppliance(HandlerArg*)" at line 779 of file VBoxManageAppliance.cpp ROSANNEs-MacBook-Air:~ rosannemcginn$Here is how I install mine, for numbers I will assume you have a 100GB HDD and 2GB of RAM:
Boot from Win7 DVD and create two partitions, then install Windows7 on one of them. During the install Windows will create a 3rd partition to boot from. You will now have:
sda1 - 100MB - Windows Boot - boot flag
sda2 - 50GB - Windows 7 - no flags
sda3 - 50GB - Unpartitioned Space - no flags
Next boot into Arch and choose to manually partition the drives using cfdisk, using the unfinished space create 3 logical partitions of the sizes 100MB, 2GB, and 50GB. Mark the 100MB one you just created with a boot flag and unmark the 100MB one Windows created.
Now you should have:
sda1 - 100MB - Windows Boot - no flags
sda2 - 50GB - Windows 7 - no flags
sda3 - 50GB - Unpartitioned Space - no flags
sda5 - 100MB - Linux Boot - boot flag
sda6 - 2GB - Linux Swap - no flags
sda7 - 50GB - Arch - no flags
Click OK/Confirm/Write and then continue to the next step - File Systems and Mountpoints.
Here you need to set the FS for sda5,6,7 and make sure not to touch sda1,2. Choose ext2 for sda5, swap for sda6, and ext3 for sda7. You will also be asked for mountpoints. Pick "/boot" for sda5 and "/" for sda7. Click OK/Confirm/Write and then continue to install Arch like normal, when you get to installing the bootloader make sure to install it on /dev/sda and uncomment the Windows part of the grub/menu.lst file.
Reboot the system and you are done -
Need help with IE6 box drop problem DW CS4
Having a problem with this page: http://www.recoverings.com/tarzan.html in IE6. Maincontent drops below the sidebar menu. Looks fine in FF, Safari, IE7.
All other pages work well. I assume that this has something to do with the width of the .wrapnail and .thumbnail divs, but reducing the margins doesn't seem to help and the images start to get too close together. What am I missing here?
Can someone help me solve this?
I would also appreciate any suggestions on cleaning up my CSS. Seems like I have an awful lot of stuff in there. Maybe it's okay but could it be cleaner?
Thanks for your help,
PhilIE bug Float Drop is fairly common. Make sure your page wrapper division is wider than the combined width of left sidebar + main content + left & right borders if any. If that doesn't help, add an overflow: hidden rule to your floated container and make sure you have cleared both floats.
More about float drop and the expanding box problem can be found here:
http://www.positioniseverything.net/explorer/expandingboxbug.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb -
hi
in my project i am using textbox for address.
in that one check box is there.i checked the checkbox the address are placed in the text box from database and disabled.
after submit the values are not comming the next page because that is disabled.
i want values in the text box after it disabled.
any way is there.
please help meenable it back prior to calling the submit() method
something like
func checkSubmit(){
form.txt.disabled=false
form.action="XXX"
form.submit();
call checkSubmit at the event in which the submit should happen
Maybe you are looking for
-
Help! pc recognizes ipod but not software
I just had my 20 gb ipod replaced with a 20gb color display ipod. Best buy did not give me the software disc according to their "warranty". I used my original disc to download the software, and updated it by using the free download on the apple websi
-
ITunes 12.1 not recognizing iPod Touch 5
I just installed IOS 8.1.3 and iTunes 12.1. Ever since then, my iPod will not sync to iTunes. My computer will recognize an apple device, but when I look in my iTunes nothing is connected. I tried uninstalling and re-installing iTunes, restarting my
-
All of a sudden, my CS4 Photoshop will not print. It gives me the message "Before you can perform printer-related tasks such as page setup or printing a document, you need to install a printer." What has happened? I cannot get into any of the print o
-
Xp_cmdshell proxy account
hello, i have a weird case that i have two accounts on a database server, lets say AD and AL. the AD is a domain account and the AL is a local account. both of them are local administrators on that database server and both of them is a sysadmin on th
-
How can i turn off the shake to undo
how can i turn off the shake to undo button? it annoys me. i don't even shake my phone, but it always pop out. please help me