Drop down box
I am using ACrobatX pro. I am a determined novice and any help is appreciated.
Before I added any code I created my PATTERN drop-down box and my ColorSelect drop-down box. For the ColorSelect box, which is the one I want to vary depending on the Pattern selected, I have not entered any items since this is what I want the JavaScript to do after the pattern is selected.
Next I went to TASKS, OTHER TASKS, JAVASCRIPTS, DOCUMENT JAVASCRIPTS
I used the article Programming List and Combo fields in Acrobat and LiveCycle forms - Part 1
Thom Parker – September 18, 2007 which I was referred to by GKaiseril, and added the following code which I modified slightly changing the field names and eliminating the reference to a 2nd field for price.
SetColorEntries()
var oPatternColors = {
Alamos: [
["Champagne"],
["Winter White"]
Alana: [
["Champagne"],
["Winter White"]
Altoona: [
["Barley"],
["Marble"],
["Winter White"]
Ama: [
["Marble"]
Anlu: [
["Champagne"],
["Marble"]
function SetColorEntries() {
if(event.willCommit) {
// Get the new color list from the Pattern List
// Since the selection is being committed,
// event.value contains the pattern name
var lst = oPatternColors[event.value];
// Clear the Colors list if there are no colors for the selected pattern
if( (lst != null) && (lst.length > 0) )
this.getField("ColorSelect").setItems(lst);
else
this.getField("ColorSelect").clearItems();
Then I selected the PATTTERN drop-down box properties, and picked Actions. Under select trigger I thought Mouse exit (kind of like after update) made the most sense. For select action I picked run a Javascript. Then in the pop up window where it says Create and Edit Java Scripts I typed SetColorEntries();
The system accepted my code; however, when I try to run it, nothing happens. Well actually I get the dreaded error beep.
I am hoping someone sees what I am doing wrong, and can offer some help. This order form will be very useful to my company and once I get it, I am hoping to apply to various other order forms I am creating for our customers
Thanks
Use the inspector for the cell you want the "Pop-Up" menu. Select Cell Format "Pop-Up". Then enter the list of items required. You can copy this cell to other cells with the same requirements.
Regards,
Similar Messages
-
How to get ALL values as default for a drop down box in JSF
Hi,
I have a drop down box in JSF page which retrieves values from LOVCache.java. I have values like Company, Client, User, ALL in the drop down box.
By default blank value is selected for the drop down box. I want to make ALL(which retrieves data for all the values) as default value for the drop down box.
Could any body help me? Any help must be appreciated.
Thanks,
AseetThanks Nikhil. But I am fetching the values from the LOVCache.java.
I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
I mean to say can I write
unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
where LOVCache.entityTypeSelectionList is used to populate the drop down box.
Regards,
Aseet -
HELP!!! Can anyone please provide some guidance on how to create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box.
I have a form which – based on the department that's selected from a drop-down box – will have different form fields/text boxes, etc, made available.
Is this possible in LiveCycle, if so, can you please provide the script/info - as needed.
Thanks,In the preOpen event of the second dropdown list you put something like (in formCalc):
if (dropdown1 == 1) then
$.clearItems()
$.setItems("Year, 2 Year, 3 Year")
elseif (dropdown1 == 2) then
$.clearItems()
$.setItems("3 Year, 4 Year")
endif -
Hebrew fonts from drop-down box not displaying in text box.
I am using InDesign CS 5.5 on a Mac 10.8.4.
When in ID, the fonts I am seeing on the Font dropdown menu when I try to use in a text box are not displaying correctly. They only display as boxes. The fonts are in the Hebrew language. They are properly installed in the FontBook.
Please help!! Thank you.Reema,
I followed most of your steps. I have a question reg. step 3 ie populating data in node 1.
Here is my code:
method WDDOINIT .
types: begin of zs,
zktokd type kna1-ktokd,
end of zs.
data: handle1 type ref to if_wd_context_node,
begin of zstruct,
zktokd type kna1-ktokd,
end of zstruct,
zitab type table of zs.
handle1 = wd_context->get_child_node( name = 'NODE1' ).
*select ktokd into corresponding fields of zstruct from kna1.
*append zstruct to zitab.
*endselect.
zstruct-zktokd = 'Sold-to party'.
append zstruct to zitab.
zstruct-zktokd = 'Goods recipient'.
append zstruct to zitab.
zstruct-zktokd = 'Payer'.
append zstruct to zitab.
zstruct-zktokd = 'Bill-to party'.
append zstruct to zitab.
zstruct-zktokd = 'Prospective Customer'.
append zstruct to zitab.
zstruct-zktokd = 'Competitor'.
append zstruct to zitab.
zstruct-zktokd = 'Sales partners'.
append zstruct to zitab.
zstruct-zktokd = 'Hierarchy Node'.
append zstruct to zitab.
zstruct-zktokd = 'Named List of Accounts'.
append zstruct to zitab.
zstruct-zktokd = 'Distribution center'.
append zstruct to zitab.
zstruct-zktokd = 'Payer'.
append zstruct to zitab.
handle1->bind_table( new_items = zitab ).
endmethod.
Please let me know if this is the best way to populate the node and then bind the table values from the node to the drop down box.
Thanks and Regards. -
How to get values from a multiple drop-down box.
On my first page, I have a multiple drop-down box as the following code.
<select name="selInterMethod" class="textbox" multiple>
<option selected value="CH">Chicago</option>
<option value="NY">New York</option>
<option value="SF">San Francisco</option>
</select>
On my second transaction page, I need to save "CH-NY" into my Database column: city if the user selected Chicago and New York.
How can I accomplish this in JSP?
Thanks for your help.I figured out the solution. Here it is. FYI
String inter_method = "";
String Inter_Method[]=request.getParameterValues("selInterMethod");
if( Inter_Method.length > 0 ) {
for (int i = 0; i < Inter_Method.length; i++) {
inter_method = inter_method + '-' +Inter_Method;
inter_method = inter_method.substring(1,inter_method.length());
System.out.println("trx inter_method = " + inter_method); -
How to show the selected item in a drop-down box......
hi,
i m using the following code for selecting from the drop-down box...
<html:select property="lddate" style="width:160">
<html:options collection="load_dt" name="AlmCurrencyRiskAnalysisBO" property="load_dt" labelProperty="load_dt"/>
</html:select>
but what happng when i m select any date from the dropdown box it does not show that date. it only shows the last entry date in the load_dt arraylist.
i m trying to implement this on a jsp page..can anyone plz tell me what shuld i do to show selected date...plzz help..its vry urgent.........Vini,
He seems to be using Struts not ADF Faces.
Seems, you have given list to to property and labelProperty, Can you re-check these properties?
Sireesha -
How to get th selected value of a Drop Down Box
hi,
i have a drop down box with two items. each item contains a text and a value.
i tried to get the actual value of a dropdown box but i get the value of the first item.
in the change event of a dropdown box i entered the following code:
app.alert(this.boundItem("text of an item"));
this messagebox shows everytime the value of fist item in my drop down box.
any idea?
thanksMake sure you use xfa.event.change to get the correct value from the change event on the drop-down listbox
I have the following
xfa.host.messageBox("Data Value is " + this.boundItem(xfa.event.change));
on the change event (javascript) of a dropdown list box and it returns me the correct value -
How can we get a value in a drop down box without refreshing the page
In my application i am having 14 drop down boxes. On selcting a particular value in a drop down box i am doing its corresponding functionality. I would like to get these values without refreshing the page each and every time i select a text box, Is it possible to get these values without refreshing the page each and every time.
RaghuThere is a new hype going on called AJAX. It is either that, or dumping a lot of information in javascript arrays and reading the information from there when you make selections. I would choose AJAX.
-
How to create a drop down box and text box in screen painter?
Hi i am totally new to this concept of screen painter..please can any tell me
how to create drop down box in screen painter?
How to create or display default date and time values?
How to create text box for giving comments?
How to store the records that we are entering in a table?
Please can any one send me the procedure for creating all these its very urgent useful information will be surely rewarded.Hi,
Check all these.
1.how to create drop down box in screen painter?
To get Drop Drown Box on screen .
Follow these steps.
1.
Go to T.Code SE51 and Select Laypout for the Screen.
2.
Double click on the field for which u want Dropdown box.
3.
Then U will see Name ,Text ,DROPDOWN.Click on that and select List Box or ListBox with key . Better to to select first one.
4.
Save and Activate ur screen .
5.
Enter the following piece of code in the PBO of the screen.(Change for ur requirement).
6.
The following code should be written under PROCESS BEFORE EVENT in the MODULE.
TYPE-POOLS :vrm.
DATA:
i_natio TYPE vrm_values, "-->Table that is passed through FM vrm_set_values
w_natio LIKE LINE OF i_natio.
DATA:
BEGIN OF i_t005t OCCURS 0,
land1 TYPE t005t-land1,
natio TYPE t005t-natio,
END OF i_t005t.
IF i_t005t[] IS INITIAL.
SELECT land1 natio
FROM t005t
INTO TABLE i_t005t
WHERE spras = sy-langu.
IF sy-subrc = 0.
LOOP AT i_t005t .
w_natio-key = i_t005t-land1.
w_natio-text = i_t005t-natio.
APPEND w_natio TO i_natio.
CLEAR w_natio.
ENDLOOP.
ENDIF.
ENDIF.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'I_IT0002-NATIO' "-->Field for which dropdown is needed.
values = i_natio
EXCEPTIONS
id_illegal_name = 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.
2.1.How to create or display default date and time values?
1.
create input field for DATE and TIME on screen.ex. DATE1 and TIME1 are screen field names .
2.
Just assign SY-DATUM to DATE1 and SY-UZEIT to TIME1 under PROCESS BEFORE EVENT.
3.How to create text box for giving comments?
1.
Define one variable in the TOP include with type STRING means Global variable.
2.
Create one input field by giving screen field name which u have defined in the above step.
4.How to store the records that we are entering in a table?
For this case.. Create one table control. you can select one record and create record in the Z table by pressing button on Application toolbar..
Check the following steps to handle Table control.
1).
U should take one variable in your internal table or in structure which
is used for table control fields
ex :
data :
begin of itab occurs 0 ,
mark type c , "This is to select the record.
matnr like mara-matnr ,
matkl like mara-matkl,
maktx like makt-maktx,
end of itab .
Controls: TABC types TABLEVIEW using screen 100.
2).
This mark variable should be given in Table control properties.
follow the path
double click on the table control-->attributes .->select
w/SelColumn and in that itab-mark. Check in the figure.
[Table control properties screen|http://bp2.blogger.com/_O5f8iAlgdNQ/R99gOUH8CXI/AAAAAAAAA9I/d3gOum1fJ6s/s1600-h/pic28145-796618.jpg]
3).
After that. Take this example.
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
LOOP AT ITAB WITH CONTROL tabc
ENDLOOP.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
LOOP AT ITAB.
Module read_table_control.
ENDLOOP.
module user_command_0100.
In this Module read_table_control, You should write the following code
MODULE read_table_control INPUT.
MODIFY itab INDEX tabc-current_line."( This will update the
"ITAB table MARK field with 'X ' whatever we have selected
"on table control.)
ENDMODULE.
4)
If you want to Delete some of the records from Table control
follow this code Create one pushbutton and give Fucnction code to that
and write below code
CASE OKCODE.
WHEN 'CREATE'.
LOOP AT itab WHERE mark = 'X'.
"Use UPDATE statement to create new record.
ENDLOOP.
ENDCASE.
I hope that you will get something.
Regards,
Venkat.O -
Fetching values from database into a drop down box
in my JSP page there are 3 drop down boxes for date of birth......
what i need is i want to get the values from database into that drop down box when i access the JSP page.......
session is there....'m getting all other values.......
I will attach the JSP page.....
Please help me...........
Thanks in Advance......
<%@ taglib uri='/WEB-INF/taglib/struts-bean.tld' prefix='bean'%>
<%@ taglib uri='/WEB-INF/taglib/struts-logic.tld' prefix='logic'%>
<%@ taglib uri='/WEB-INF/taglib/dyna.tld' prefix='dyna'%>
<%@ taglib uri='/WEB-INF/taglib/struts-html.tld' prefix='html'%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><bean:message key="page_title"/></title>
<link href="<bean:message key="context"/>/CSS/default.css" rel="stylesheet" type="text/css" />
<script src="<bean:message key="context"/>/js/AC_RunActiveContent.js" type="text/javascript"></script>
<link href="<bean:message key="context"/>/CSS/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<%!
Membership mShip = null;
%>
<script language="javascript" >
function checkDate(Form){
var d;
d = Form.year.value+"-"+Form.month.value+"-"+Form.day.value;
alert("Date is:"+d);
Form.dob.value = d;
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<jsp:include flush="true" page="../templates/header.jsp"/> </td>
</tr>
<tr>
<td class="menuTD">
<jsp:include flush="true" page="../templates/menu.jsp"/> </td>
</tr>
<tr>
<td class="sub_menuTR"> </td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="column" valign="top" width="170"><jsp:include flush="true" page="../templates/left_panel.jsp"/></td>
<td valign="top" align="left">
<dyna:message error="error" warning="warning" message="message"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="80%" valign="top" align="left">
<%
if(session != null){
mShip = (Membership)session.getAttribute("member");
%>
<form action="updateContactDetails.dy" method="post" name="form1">
<input type="hidden" name="m" value="<%=request.getParameter("m")%>" />
<table width="100%" border="0">
<tr>
<td>First Name</td>
<td><input name="first_name" type="text" id= "first_name" value = "<bean:write name = "member" property = "first_name" />" /></td>
</tr>
<tr>
<td>Last Name </td>
<td><input name="last_name" type="text" id="last_name" value = "<bean:write name = "member" property = "last_name" />" > </td>
</tr>
<tr>
<td>Address</td>
<td><input name="address1" type="text" id="address1" value = "<bean:write name = "member" property = "address1" />" ></td>
</tr>
<tr>
<td> </td>
<td><input name="address2" type="text" id="address2" value = "<bean:write name = "member" property = "address2" />" ></td>
</tr>
<tr>
<td>Suburb/City </td>
<td><input name="city" type="text" id="city" value= "<bean:write name = "member" property = "city" />" ></td>
</tr>
<tr>
<td>State/Territory</td>
<td><input type="text" name="state" value = "<bean:write name = "member" property = "state" />" ></td>
</tr>
<tr>
<td>Postcode</td>
<td><input type="text" name="postcode" value = "<bean:write name = "member" property = "postcode" />" ></td>
</tr>
<tr>
<td>Contact Phone</td>
<td><input type="text" name="home_phone" value = "<bean:write name = "member" property = "home_phone" />" ></td>
</tr>
<tr>
<td>Mobile</td>
<td><input type="text" name="mobile" value = "<bean:write name = "member" property = "mobile" />" ></td>
</tr>
<tr>
<td>Date of birth</td>
<td nowrap="nowrap"><select name="day">
<option>Day</option>
<option value="01">1</option>
<option value="02">2</option>
<option value="03">3</option>
<option value="04">4</option>
<option value="05">5</option>
<option value="06">6</option>
<option value="07">7</option>
<option value="08">8</option>
<option value="09">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="month">
<option>Month</option>
<option value="01">January</option>
<option value="02">February</option>
<option value="03">March</option>
<option value="04">April</option>
<option value="05">May</option>
<option value="06">June</option>
<option value="07">July</option>
<option value="08">August</option>
<option value="09">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">Decembber</option>
</select>
<select name="year" onChange = "checkDate(this.form);" >
<option>Year</option>
<option value="1957">1957</option>
<option value="1956">1956</option>
<option value="1955">1955</option>
<option value="1954">1954</option>
<option value="1955">1955</option>
<option value="1956">1956</option>
<option value="1957">1957</option>
<option value="1958">1958</option>
<option value="1959">1959</option>
<option value="1960">1960</option>
<option value="1961">1961</option>
<option value="1962">1962</option>
<option value="1963">1963</option>
<option value="1964">1964</option>
<option value="1965">1965</option>
<option value="1966">1966</option>
<option value="1967">1967</option>
<option value="1968">1968</option>
<option value="1969">1969</option>
<option value="1970">1970</option>
<option value="1971">1971</option>
<option value="1972">1972</option>
<option value="1973">1973</option>
<option value="1974">1974</option>
<option value="1975">1975</option>
<option value="1976">1976</option>
<option value="1977">1977</option>
<option value="1978">1978</option>
<option value="1979">1979</option>
<option value="1980">1980</option>
<option value="1981">1981</option>
<option value="1982">1982</option>
<option value="1983">1983</option>
<option value="1984">1984</option>
<option value="1985">1985</option>
<option value="1986">1986</option>
<option value="1987">1987</option>
<option value="1988">1988</option>
<option value="1989">1989</option>
<option value="1990">1990</option>
<option value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
<option value="1995">1995</option>
<option value="1996">1996</option>
<option value="1997">1997</option>
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
</select ></td></tr>
<tr>
<td><input type="hidden" name = "dob" /> </td>
<td nowrap="nowrap"><input type="submit" value="Submit" /></td>
</tr>
</table>
</form>
</td>
<td width="40"></td>
<td width="200" valign="top">
<div id="headlines">
<jsp:include flush="true" page="../templates/profile.jsp"/>
</div>
</td>
</tr>
</table>
</td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td><jsp:include flush="true" page="../templates/footer.jsp"/></td>
</tr>
</table>
</body>
</html>i think normally u will get data from databsae as objects.they are like java beans having getter and setter methods.so you create a collection of those objects like collect all the objects coming from database into an arraylist or....
suppose you want to populate the dropdown box with say "username" from database object s, your code will look like that
<html:select property="name">
<html:options collection="databaseList" property="username" />
</html:select>
"databaseList" is collection(say.. ArrayList) of objects you are getting from database.this dropdown will contain all the "usernames" you are getting from database. -
How to create a drop down box values on design time?
Hello,
I have a drop down box that I would like to edit on design time to have the valus 1 to 10.
Is it possible to doo it on design it or do I have to create a loop in the code to do that?See go to LocalDictionary->Data Type-> SimpleType Right Click and create a Simple Type giving some Package Name
Once u have created
There u will see Enumeration Tab and give Key Value Pairs by pressing New Button
Now Create a Context Attr and at Type property select that three dots
Then go to Dictionary Simple Type and select the Package u have given
then select the Simple type u have created
Then assign the context Attr to the UI Element
Message was edited by: krish kanth -
How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address
Hello,
Try Mail>Preferences>Accounts icon>Account Information tab>Click on the Outgoing SMTP server drop down, choose edit Server list, highlight the old one & click Remove.
(Such convolution is worthy of Windows® in my estimation) -
Adding '-Select-' on top for a drop down box
Hello,
I have a drop down box mapped to a field in the context, the field has some domain values and are populated in the run time. but I have to add another top row '-Select-' indicating to the client that the field need to be selected.
To add 'Select', I can write a method in the WDDOINIT method of the controller and also loop through the domain values and append to the drop down box. But I don't want to do too much of d/b interaction, as the fields are anyway loaded to the dropbox by mapping.
Is there a way in web dynpro, that we could do like in normal ABAP reports, to Loop at the screen and identify all the drop down boxes and add a 'select' row at the top?
I really appreciate any help.
Thank you
KV.Hi Kiran,
Can you make your requirement more clear to me?
As much I understand from your message is that you want to add a dynamic Text on the top of Dropdown.Like Select the field need to be selected.
from where you will get this field information?
what message you want to add?
If you have the field information then
(a)Create a textView on the top of Dropdown
(b) Bind it's property "Text" to the context attribute say Text .
(c) now set this value like
wdcontext.currentcontextelement().setText("Select "+field);
If this is not the right interpretation of your problem then please explain it in detail and tell me step by step what you want to do?
Regards,
Praveen -
How to Change a Default Value from Drop Down Box displayed in Web Dynpro?
Hi,
How to Change a Default Value from 'High' to 'Low' in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component. I saw a Default Value set for a RANGE field in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
I appreciate your help!
Thanks,
Monicahi,
use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
// u can use the code wizard( control +f7) this code will be auto generated when u select the
//radio button to read the context node
DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
DATA ls_cn_node TYPE wd_this->element_cn_node.
* navigate from <CONTEXT> to <CN_NODE> via lead selection
lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
* get element via lead selection
lo_el_cn_node = lo_nd_cn_node->get_element( ).
* set single attribute
lo_el_cn_node->set_attribute(
name = `ATTribute name.`
value = 'LOW' ).
it will solve ur query ..
also refer to this component
wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
regards,
amit -
How do i change the backgrond color of a drop down box.
I'm creating a form which has a colored background and a drop down box with 5 choices. The problem is the font color in the drop down box is white and so is the background color of the drop down box so the selections are not visible unless you scroll over them. I would like the background of the drop down box to match the background of the form.
Also, can the font size of a selection in a drop down box be different then what is displayed. The font is set to 35 so it's huge when displayed in the drop down box. It would be nice if the selections were displayed in the drop down box in size 10 font but displayed on the form once selected as size 35.
Thanks!
MikeYou can set the background colour with (in formcalc):
$.fillColor = "5,5,5" // obviously changing the numbers to the RGB colour you want
or if it is not going to change just set it in Border tab under Background fill.
For the size of the font - set the dropdown box to size 10 font and then in the exit event of the dropdown list put (in formcalc):
$.font.size = "35pt" -
How to fill a drop down box in a webdynpro application
Hi friends ,
i am facing one problem while filling a dropdown box with some hot coded values : " High","Medium","low"..etc..
drop down box having fixed elements always.....
means all values should be static and i have to fill it at design time only..
can any body pls reply for the above same......
Thanks and Regards
Ratnakar reddyHi Ratnakar,
If u r using Dropdown By Key, u can use the method that Armin suggested.
If u r using Dropdown By Index, then do the following
Let ur View Name be 'MyView'
1. In ur View Context,Create a Node(Say Root) of Cardinality 0..N
2. Create a value attribute(Say Name) in 'Root'.
3. In wdDoInit(), add the following code
IPrivateMyView.IRootNode rNode=wdContext.nodeRoot();
IPrivateMyView.IRootElement rEl=rNode.createRootElement();
rNode.addElement(rEl);
rEl.setName("HIGH");
rEl=rNode.createRootElement();
rNode.addElement(rEl);
rEl.setName("MEDIUM");
rEl=rNode.createRootElement();
rNode.addElement(rEl);
rEl.setName("LOW");
Hope this be Helpful
Fahad Hamsa
Maybe you are looking for
-
How can I apply existing WCS "WLAN Config" templates to a new WLC?
We've been running a pair of WLC 4402s managed by WCS, thus we are still on the older 7.0.235.0 (WCS) / 7.0.235.3 (WLC) release. I'm trying to add an additional WLC 4402-50 as a hot spare. I first ran the manual setup steps to give it an IP in our ra
-
In BizTalk Send port, we have an option to enable service window but it works if we need to make a call with in a specific period. My requirement is, For instance to make a call at 9:00 AM, 11:00 AM, 02:00 PM, 04:00 PM like that. Is there a way to im
-
I can't get the colours of my slide show to match my mac when using a projector
I created a presentation using Keynote 6. It worked perfectly with a projector until a disorganized presenter asked to use my computer to present his powerpoint presentation. When I ran mine directly afterwards the colours had been affected. I don't
-
Project taking 5 minutes to load
Hi, I just publisehd a course with 190 slides. It has some short videos embedded and simple animations. Althought the project loads fast on my desktop, it is taking 5 minutes to load over the web. My users are not gonna want to wait this long. Any s
-
Crystal : input parameters in Infoview
Hello, I meet Some problem to display correctly the input parameters in BOBJ infoview : [http://img356.imageshack.us/my.php?image=infoviewcrystalkh0.jpg] i need them to be displayed like the integration in SAP portal like that : [http://img228.images