Asa static ip to ios dynamic ip with pki
dear all,
i am trying to establish a site to site ipsec vpn with asa on one end with a static ip and and ios router at the other end with a dynamic ip. iam trying to initiate the tunnel from the router side and when i debug the asa the its gng to default tunnel-group DEfaultRagroup and it sayd defaultragroup doesnt have a trustpoint defined.
i tried creating the tunnel name with the OU name of the certificate on the router and issued tunnel-group-map enable ou on the asa side. also tried to create certificate map with matching subject-name attributes like OU and CN and C but still no luck.
iam posting the config on both the ends please help.
ASA
access-list vpn extended permit ip host 1.1.1.1 host 5.5.5.5
crypto ipsec transform-set vpn-set esp-3des esp-md5-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map vpn-map 10 match address vpn
crypto dynamic-map vpn-map 10 set pfs
crypto dynamic-map vpn-map 10 set transform-set vpn-set
crypto dynamic-map vpn-map 10 set security-association lifetime seconds 28800
crypto dynamic-map vpn-map 10 set security-association lifetime kilobytes 4608000
crypto map vpn-map1 10 ipsec-isakmp dynamic vpn-map
crypto map vpn-map1 interface outside
crypto ca trustpoint router_ca
enrollment url http://10.1.101.1:80
fqdn asa1.micronicstraining.com
subject-name CN=ASA1
serial-number
crl configure
crypto ca certificate map 1
subject-name attr cn eq r5
subject-name attr c eq us
isakmp enable outside
isakmp policy 10 authentication rsa-sig
isakmp policy 10 encryption 3des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
tunnel-group IT type ipsec-l2l
tunnel-group IT ipsec-attributes
peer-id-validate nocheck
trust-point router_ca
tunnel-group-map enable rules
tunnel-group-map 1 IT
ROUTER
certificate info
R5#sh crypto ca certificates
Certificate
Status: Available
Certificate Serial Number: 20
Certificate Usage: General Purpose
Issuer:
cn=ios_ca_r1
Subject:
Name: R5.micronicstraining.com
hostname=R5.micronicstraining.com
cn=R5 C\=US OU\=IT
Validity Date:
start date: 03:24:33 UTC Mar 1 2002
end date: 02:55:29 UTC Feb 28 2005
Associated Trustpoints: router_ca
CA Certificate
Status: Available
Certificate Serial Number: 01
Certificate Usage: Signature
Issuer:
cn=ios_ca_r1
Subject:
cn=ios_ca_r1
Validity Date:
start date: 02:55:30 UTC Mar 1 2002
end date: 02:55:30 UTC Feb 28 2005
Associated Trustpoints: router_ca
RUN CONFIG
rypto pki trustpoint router_ca
enrollment url http://10.1.101.1:80
usage ike
fqdn R5.micronicstraining.com
subject-name CN=R5 C=US OU=IT
revocation-check none
crypto isakmp policy 10
encr 3des
hash md5
group 2
crypto ipsec transform-set tset esp-3des esp-md5-hmac
crypto map vpn-map 10 ipsec-isakmp
set peer 192.168.1.10
set transform-set tset
set pfs group2
match address 126
access-list 126 permit ip host 5.5.5.5 host 1.1.1.1
please help to identify the problem.
THanks
Manek
iam getting only this nothing else.
ASA1(config)# debug crypto Mar 01 04:23:36 [IKEv1]: Connection failed with peer
'10.1.105.5', no trust-point defined for tunnel-group 'DefaultRAGroup'
Mar 01 04:23:36 [IKEv1]: Group = DefaultRAGroup, IP = 10.1.105.5, Removing peer
from peer table failed, no match!
Mar 01 04:23:36 [IKEv1]: Group = DefaultRAGroup, IP = 10.1.105.5, Error: Unable
to remove PeerTblEntry
i dont know why am i getting a full debug and above are logging mesgs.
Similar Messages
-
Problem in aligning dynamic UI with the static UI
Hi All,
I have problem in aligning dynamic UI with the static UI, I am using Matrix layout.
Static fields are spread over 2 colums and 3 rows:
lableA SPACE input field SPACESPACE lable B SPACE input field
lableC SPACE dropdown SPACESPACElableD SPACE dropdown
lableE SPACE dropdown SPACESPACElableF SPACE dropdown
Now when a value is selected in C, than E becomes visible, and depending on the values selected in E, there are dynamic UI generated, i.e dynamic lables and depending on some validation it will be either a dropdowns or input fiels or both.
at run time screen is like this:
lableA SPACE input field SPACESPACE lable B SPACE input field
lableC SPACE dropdown SPACESPACElableD SPACE dropdown
lableE SPACE dropdown SPACESPACElableF SPACE dropdown
dynaSPACEdropdown
dynbSPACEinput field
if I change my selection in E than layout looks like:
lableA SPACE input field SPACESPACE lable B SPACE input field
lableC SPACE dropdown SPACESPACElableD SPACE dropdown
lableE SPACE dropdown SPACESPACElableF SPACE dropdown
dynaSPACESPACEdropdown
dynbSPACESPACEinput field
Requirment: I need all the lables as well as dropdown/ input fiels in line with the static fields irrespective of my selection in E.
Something like this:
lableA SPACE input field SPACESPACE lable B SPACE input field
lableC SPACE dropdown SPACESPACElableD SPACE dropdown
lableE SPACE dropdown SPACESPACElableF SPACE dropdown
dyna SPACEdropdown
dynbSPACESinput field
dyncSPACESdropdown
All this elements are in a group and that group has 2 transparent containers, 1 for static and for holding dynamic UI.
I tried playing with the container properties, and also tried fixing width of dynamic UI but still the alignment issue is encountered.
Can U guys plz give in ur valuable inputs as i need to fix this urgently.
Regards,
JJHi Armin,
Can you please elaborate your solution ?, I do not have an idea of InvisibleElement & IWDView.resetView() ,
If you can give me the exact pointer than it would be great and a good learning exp. for me.
Thanks for the action assignment part, it worked.
if (wdContext.nodeMaterialClass().size() > 0 && wdContext.currentContextElement().getActionMatCls()) {
if (wdContext.currentMaterialClassElement().getMaterialClass_Description() != null || !wdContext.currentMaterialClassElement ().getMaterialClass_Description().equalsIgnoreCase(" ")) {
IWDGroup Searchgroup = (IWDGroup) view.getElement("DynGroup");
Searchgroup.destroyAllChildren();
view.getContext().reset(false);
for (int i = 0; i < wdContext.nodeMaterialCharateristcs().size(); i++) {
//this for label
IWDLabel CharLabel = (IWDLabel) view.createElement(IWDLabel.class, "label" + i);
CharLabel.setText(wdContext.nodeMaterialCharateristcs().getMaterialCharateristcsElementAt(i).getDescr_Char());
CharLabel.setDesign(WDLabelDesign.EMPHASIZED);
CharLabel.createLayoutData(MatrixHeadData.class); CharLabel.setWidth("154px"); Searchgroup.addChild(CharLabel);
further there are conditions to create either dropdown or input field
Can you please point where and how to apply your solution.
Regards,
JJ -
Draw Dynamic Column with Static Columns
Hi All
I have to show dynamic columns with static columns including column header and I am choosing the Cross Tab style. I have done this already in SSRS but failed to do in Crystal Report version (Crystal Report Basic for Visual Studio 2008).
Name Hair Color City Age Mobile Email
Jannie Brown Dublin 15 +353 122 1234567 Email Address
John Black Dublin 20 +353 145 1234567 Email Address
Dynamic Columns
Name , Hair Color , City Age
Static Column
Mobile, Email
I also face empty rows in cross tab report.
Please help and give me a chance of thanks.Thank you very much for your kind response. Actually i have dynamic Store Procedure results based on parameters and yes static column will never changed
Store Procedure Result
Mobile Age Email Key Value
+3531221234567 15 Email Address Name Jannie
+3531221234567 15 Email Address Hair Color Brown
+3531221234567 15 Email Address City Dublin
+3531451234567 20 Email Address Name John
+3531451234567 20 Email Address Hair Color Black
+3531451234567 20 Email Address City Dublin
And I want to draw report in following style
Name Hair Color City Age Mobile Email
Jannie Brown Dublin 15 +3531221234567 Email Address
John Black Dublin 20 +3531451234567 Email Address -
Bug Report: Static LOV's and PDF Printing with Tabular Forms
I have a tabular form, which acts as an editable report. Some columns are 'Standard Report Column' and some are Select Lists, using Static LOV's with the contents of
Yes;Y,No;NThe purpose of the page is to allow users to edit yes/no attributes of a row. Then, they can print the report.
To make the current sort of the report reflect what is being printed to PDF, I've used a Report Layout associated with the report region, as oposed to a report query. A report query in this case would not reflect the sort of the report (all columns are sortable asc/desc).
Anyway, I link my report with the layout created, and go to run it. I get this message.
ORA-06550: line 1, column 50: PLS-00103: Encountered the symbol "," when expecting one of the following: := . ( @ % ; The symbol ":= was inserted before "," to continue.
Error ERR-1000 Unable to determine LOV from "declare function x return varchar2 is begin Yes;Y,No;N return null; end; begin wwv_flow_utilities.g_query := x; end;".
OK
report error:
ORA-20001: Error fetching column value: ORA-01403: no data foundI'm guessing the product is trying to take my static LOV and place it in a function to be able to generate which value is being displayed as text, from the select lists. However, it doesn't work.
I've been able to get around it - by adding a YES_NO domain to my domain_codes table (a table which associates abreviations with full meanings), I can set by select lists to be query based select lists using the SQL select code_meaning, code from domain_codes where domain = 'YES_NO_CODE'. This still allows the user to dropdown Yes/No fields, and the PDF printing doesn't break.
It is just me, or can't the PDF printing handle static LOV's in tabular forms/reports?Hi Patrick.
I've tried STATIC:Yes;Y,No;Nwhile stating it is a Select List (static LOV). The values that are rendered on the page are
[STATIC:Yes]
[No ]
----------I tried the same thing with STATIC2 instead of STATIC, and the same thing happened.
It also broke if I tried STATIC or STATIC2 under Select List (query based LOV). This is within a report where there is no hyperlink to say 'Create/Edit static list' or 'Create Dynamic List', as there is under select list items.
However, I am finding that for some reason, the values being sent to the PDF are not the values in the database (Y/N), but the showing values (Yes/No). This happens when I use the domain_code select query as the query based LOV.
Furthermore, I cannot get any columns not rendering on the page to be generated in the PDF. I have a column that groups items depending on values, and I want this grouping to display in the PDF instead on the original value, ideally.
Cheers,
K. -
Dynamic REPLACE with java.nio.CharsetEncoder
Hi,
I want to write an XML generator. Depending on the Charset,
I have to replace certain characters (for example > 255 in
case of ISO-8859-1) with &#dddd; (dddd being the numeric
value of the character).
It seems that CodingErrorAction.REPLACE would be well suited
for that, but it can only replace static strings and not
dynamically generated strings.
Am I missing something? Or any suggestions how to use the
CharsetEncoder anyways?
Regards,
JochenHello-oooo? Ever heard of xerces? Why write yet another xml generator when there are packages already written out there?
-
Hi all,
I am trying to code a dynamic textview with a menu.
So the point of it would be to click on the textview and get a menu that pops open under the textview.
The menu is an ui element, and when I make it statically everything goes well... but when I try this code, I don't get the menu...
Data lo_txv type ref to cl_wd_text_view.
Data lo_menu type ref to cl_wd_menu.
Data lo_menu_action_item type ref to cl_wd_menu_action_item.
lo_txv = cl_wd_text_view=>new_text_view( ID = 'TEST' TEXT = 'TEXT' ).
lo_menu = cl_wd_menu=>new_menu( ID = 'MENU' TITLE = 'TITLE' ).
lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM1' TEXT = 'ITEM1' ON_ACTION = 'EMPTY_ACTION' ).
lo_menu->add_item( lo_menu_action_item ).
lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM2' TEXT = 'ITEM2' ON_ACTION = 'EMPTY_ACTION' ).
lo_menu->add_item( lo_menu_action_item ).
lo_txv->set_menu( lo_menu )
This code should give me a textview with a menu with 2 items... but it doesn't.
Could someone please help me out ??
Thanks in Advance,
David BellersThanks for your reply,
I didn't write the code down for the matrixlayout, but it is correctly implemented.
Do I have to add the view to the textview?
When programming dynamically I've never had to work with the view itself, most of the time,
I add the elements to a container and that container is in the view...
Just to have everything I'll change the code to do every exact step...
Data lo_txv type ref to cl_wd_text_view.
Data lo_menu type ref to cl_wd_menu.
Data lo_menu_action_item type ref to cl_wd_menu_action_item.
lo_txv = cl_wd_text_view=>new_text_view( ID = 'TEST' TEXT = 'TEXT' ).
lo_menu = cl_wd_menu=>new_menu( ID = 'MENU' TITLE = 'TITLE' ).
lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM1' TEXT = 'ITEM1' ON_ACTION = 'EMPTY_ACTION' ).
lo_menu->add_item( lo_menu_action_item ).
lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM2' TEXT = 'ITEM2' ON_ACTION = 'EMPTY_ACTION' ).
lo_menu->add_item( lo_menu_action_item ).
lo_txv->set_menu( lo_menu ).
cl_wd_matrix_head_data=>new_matrix_head_data( element = lo_xv ).
container->add_child( the_child = lo_txv ). -
Distribute a static library for iOS. Which Apple agreement applies?
There are many third party static libraries for iOS. So distributing a static library (not via App Store) seems to be possible.
Our company has developed a static library for iOS using xcode and wants to distribute it to our customers as part of a commercial product to help our customers to build iOS applications.
Can you please advise which Apple agreement will allow to distribute a static library for iOS?Thanks much Michael,
Do you suggest that the xcode license agreement will be sufficient? However, except the introductory note where it is mentioned that "This software may be used to reproduce, modify, publish and distribute materials", there is no other reference to distribution.
On the other hand, xcode comes with iOS SDK and our static library of course uses it. But in the "iOS SDK Agreement" at the article 3.2 (d) it is stated that:
"d) You will not distribute Applications created with the SDK absent a separate agreement with Apple;"
So, which is this separate agreement? The Program License Agreement allows distribution only along App Store. -
Dynamic action with set value on date field
Hi,
I'm using APEX 4.02
I'm trying to calculate the age based on the date of birth dynamically on a form. I'm trying to do this with a (advanced)dynamic action with set value.
I'm able to get this kind of action working based on a number field etc, but NEVER on a date field.
I've read all posts on this subject but so far no solution. Even if I try to simply copy the value over to another date field or typecast it to a string ( to_char function ) it does not work. So for me the problem seems to be in the source field being a date field.
I've tried using the source value as is in a select statement :
select :P33_GEBOORTEDATUM from dual;
and also type casted based on the date format :
select TO_DATE(:P33_GEBOORTEDATUM,'DD-MON-YYYY') from dual
but still no luck.
On the same form I don't have any issues as long as the calculation is based on number fields, but as soon as I start using dates all goes wrong.
Any suggestions would be greatly appreciated. If you need any extra info just let me know.
Cheers
Bas
b.t.w My application default date format is DD-MON-YYYY, maybe this has something to do with the issue .... ?
Edited by: user3338841 on 3-apr-2011 7:33Hi,
Create a dynamic action named "set age" with following values.
Event: Change
Selection Type: Item(s)
Item(s): P1_DATE_OF_BIRTH
Action: Set value
Fire on page load: TRUE
Set Type: PL/SQL Expression
PL/SQL Expression: ROUND( (SYSDATE - :P1_DATE_OF_BIRTH)/365.24,0)
Page items to submit: P1_DATE_OF_BIRTH
Selection Type: Item(s)
Item(s): P1_AGE
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1 -
APEX V4.2.3
DB 11.2
I have a classic report on page 1. I have a region button called "Export" (defined by a submit dynamic action with "show processing=Yes") that submits the page and then via a branch directs me to page 2 which has a slightly different version of the report on page 1 (i.e. no breaks) which I want to capture as a CSV export. Therefore I've set the report template on page 2 to " Export:CSV".
Now when I click on the page 1 export button the grey screen and loading gif appears indicating that the report is executing and then as expected, page 2 doesn't appear but instead the standard open/save window's dialog box appears asking to open or save the generated CSV file. All good..but the grey loading screen remains. How do I clear this loading screen and get back to the context of page 1 ?
thanks in advance
PaulPHi PPlatt,
We would love to help but you left out one crucial part of the puzzle: namely how does your CSV report get exported. With the way it is setup (a redirect to another page), I'm going to assume you do that because you have some PL/SQL on that page that prints the CSV.
Now there are two questions that are crucial here:
- How do we stop the icon from bugging us on the screen
- How do we communicate with the browser that it should no longer display the loading icon
The first question is rather easy, two simply lines of codes can do that:
$('#apex_wait_popup').hide();
$('#apex_wait_overlay').hide();
But when do we use this code? Quite simple when the document is downloaded. When is it downloaded? At the end of the PL/SQL code that prints the document to the browser.
What you could do is at the end of that code give an application item a certain value. For example :AI_PRINTED := 'Y';
Then all you need to do is let the browser ask for the value. You could do this by using JavaScript to continuously fire AJAX to the server using a JS timing event:
http://www.w3schools.com/js/js_timing.asp
Better would be a Server send event, but since you left out another crucial piece of information: your browser, I will not go deeper into this.
Start this timing event when someone asks for the document, and end it as soon as the process returns that :AI_PRINTED equals 'Y'.
Despite the lack of information, I hope I have given, or at least inspired you to get to the solution.
Regards,
Joni -
after updating to ios 7.1 with my iphone 4 my apps wont update it just loads then stop help please
Reset your iPhone. Hold the on/off and home buttons together for about 10 seconds till the Apple logo appears.
If you continue to have issues, try downloading the apps to iTunes on your computer, then sync your iPhone using iTunes. -
How to create dynamic DataTable with dynamic header/column in JSF?
Hello everyone,
I am having problem of programmatically create multiple DataTables which have different number of column? In my JSF page, I should implement a navigation table and a data table. The navigation table displays the links of all tables in the database so that the data table will load the data when the user click any link in navigation table. I have gone through [BalusC's post|http://balusc.blogspot.com/2006/06/using-datatables.html#PopulateDynamicDatatable] and I found that the section "populate dynamic datatable" does show me some hints. In his code,
// Iterate over columns.
for (int i = 0; i < dynamicList.get(0).size(); i++) {
// Create <h:column>.
HtmlColumn column = new HtmlColumn();
dynamicDataTable.getChildren().add(column);
// Create <h:outputText value="dynamicHeaders"> for <f:facet name="header"> of column.
HtmlOutputText header = new HtmlOutputText();
header.setValue(dynamicHeaders[i]);
column.setHeader(header);
// Create <h:outputText value="#{dynamicItem[" + i + "]}"> for the body of column.
HtmlOutputText output = new HtmlOutputText();
output.setValueExpression("value",
createValueExpression("#{dynamicItem[" + i + "]}", String.class));
column.getChildren().add(output);
public HtmlPanelGroup getDynamicDataTableGroup() {
// This will be called once in the first RESTORE VIEW phase.
if (dynamicDataTableGroup == null) {
loadDynamicList(); // Preload dynamic list.
populateDynamicDataTable(); // Populate editable datatable.
return dynamicDataTableGroup;
I suppose the Getter method is only called once when the JSF page is loaded for the first time. By calling this Getter, columns are dynamically added to the table. However in my particular case, the dynamic list is not known until the user choose to view a table. That means I can not call loadDynamicList() in the Getter method. Subsequently, I can not execute the for loop in method "populateDynamicDataTable()".
So, how can I implement a real dynamic datatable with dynamic columns, or in other words, a dynamic table that can load data from different data tables (different number of columns) in the database at run-time?
Many thanks for any help in advance.flyeminent wrote:
However in my particular case, the dynamic list is not known until the user choose to view a table. Then move the call from the getter to the bean's action method. -
Hello!
I have 3 iOS devices synced with iTunes apps library (OS X 10.10.2)
Can someone tell me how to make not only added but deleted apps be synced also? I mean I want an app deleted in iTunes library be deleted from any iOS devices synced with this library.But it was working some time before! What and when has changed?
There was even a warning popup window something about "this application will be deleted from all the devices synced with this library"
Now there's opposite message - "This application will not be deleted from any device syncing with this account". Isn't it some kind of clue that there can be conrarily circumstances - when application IS deleted from ANY device synced with this computer? -
Dynamic Table with two columns
Hi!
i have to create a Dynamic Table with two columns having 5-5 links each with some text...... three links r based on certain conditions....they r visible only if condition is true...
if the links r not visible in this case another links take it's place & fill the cell.
links/text is coming from database.
i am using Struts with JSP IDE netbeans
Please help me
BuntyIndiai wanna do something like this
<div class="box_d box_margin_right">
<ul class="anchor-bullet">
<c:forEach items="${data.faqList}" var="item" varStatus="status"
begin="0" end="${data.faqListSize/2-1}">
<li>${item}</li>
</c:forEach>
</ul>
</div>
<div class="box_d">
<ul class="anchor-bullet">
<c:forEach items="${data.faqList}" var="item" varStatus="status"
begin="${data.faqListSize/2}" end="${data.faqListSize}">
<li>${item}</li>
</c:forEach>
</ul>
</div>
wanna divide table in two columns....if one link got off due to condition other one take it's position...
I have created a textorderedlist
Bunty -
Dynamic stamps with Acrobat Pro X
Help needed!
How to create own dynamic stamps with Acrobat Pro X, without any knowledge of programming.
It was very easy with the program used before (Nuance); unfortunally it's not possible to export from Nuance to Acrobat.
Thanks in advance
vtosiIt can't be done without using a script, and not a very simple one, either.
There are detailed tutorials about how to do it, for example here:
http://acrobatusers.com/tutorials
If you're interested in someone to create the stamp (and all the required
scripts) for you, feel free to contact me by PM or at [email protected] . -
Dynamic table with dynamic drop-down list values
Hi,
I need to display a dynamic table with 2 columns on an interactive form.
My Context is defined as below:
Root
StudentData 0..n
StudentName
StudentCourses 0..n
Text
Value
The 1st column should display student name, 2nd column should display student courses. The courses will be different for each student. I populated the context properly. I checked it by printing them. My DDL is bound to "Student Courses".
When there is one row -> The DDL is populated with the courses of student 1 (as there is only one).
When there are more rows -> The DDLs for all the students are populated with all the courses of all the students.
I want to see the data populated like:
TEXTFIELD DROP-DOWN LIST
Student 1------Student1-Course1
Student1-Course2
Student1-Course3
Student 2------Student2-Course1
Student2-Course2
Student2-Course3
I tried to do this in plain web dynpro using SVS.. it is also working similarly.
I have set the singleton property of nodes "StudentData" and "StudentCourses" to false.
Could any one tell me where I am going wrong?
Thanks
RamRam,
I'm not sure how much this will help, but I know I had the same problem as you when I tried to get a similar thing working, but I can't remember which of the many changes I made fixed the problem, so I'll just show you my code and perhaps you can see if anything is different than yours.
Here's where I'm creating my dropdown - in my case EastNew_RegOut is the same as your StudentData, and RateTypeDropValues is the same as your StudentCourses (the comments in the code are not meant to sound bossy to you, this is actually an example piece of code that other developers in my company "steal", so I have to put very specific instructions in there!):
int nodeSize = wdContext.nodeEastNew_RegOut().size();
for (int i = 0; i < nodeSize; i++) {
//create an element called "table", that's the element at i. So, basically it's a row. Maybe I should have
//called it "row" instead of table.
IPublicDeviceExchange.IEastNew_RegOutElement table = (IPublicDeviceExchange.IEastNew_RegOutElement)wdContext.nodeEastNew_RegOut().getElementAt(i);
//this line of code just executes an rfc that finds out what rates need to be in the dropdown for this particular row
executeRateTypeDropdown(rateCategory, table.getNum(), wdContext.currentEastNew_MeterOutElement().getReggrp());
//clear out what's already in there before we re-populate it.
table.nodeRateTypeDropValues().invalidate();
//now, I'm looping through all the values in the *actual* rate type dropdown (the one that's an RFC, populated by the above "execute" method)
for (int j = 0; j < wdContext.nodeEastRatetype_DropdownOut().size(); j++) {
//for each element in the *actual* Rate type dropdown, I'm going to create an element in my node that I created
//and set the values from the *actual* one as the values in my node.
IPublicDeviceExchange.IRateTypeDropValuesElement element = wdContext.createRateTypeDropValuesElement();
IPublicDeviceExchange.IEastRatetype_DropdownOutElement rateTypeOut = (IPublicDeviceExchange.IEastRatetype_DropdownOutElement)wdContext.nodeEastRatetype_DropdownOut().getElementAt(j);
element.setText(rateTypeOut.getText());
element.setValue(rateTypeOut.getRatetype());
//here's another key - notice how I don't say wdContext.nodeRateTypeDropValues() - it's the one that's
//directly off that table I created earlier - the thing that's essentially a row in my newReg table.
//So, what I'm doing here is adding that new element I created to the dropdown FOR THAT ROW!
//(btw, if you're trying to duplicate this, and this method does not exist for your "table" object, it's
//probably because you didn't listen to me above and you didn't create your node with the singleton property
//set to false.)
table.nodeRateTypeDropValues().addElement(element);
As for my layout... my table is bound to the EastNew_RegOut node, and the column with the dropdown is bound to RateTypeDropValues.Value (that's probably obvious, but there you have it anyway)
Finally, in my context, EastNew_RegOut is singleton = true (I was surprised about this, actually, I would have assumed it was false) with a selection of 0..1 and RateTypeDropValues has singleton set to false with a selection of 0..1
I hope that helps to some degree!
Jennifer
Maybe you are looking for
-
Yoga 2 Pro "plugged in, charging" even when running on battery
A few weeks ago, my Yoga 2 Pro entered a permanent "plugged in, charging" state whether plugged in or running on just the battery. The battery drains as normal, it just always shows the plugged in icon. It also charges as normal. When I turn it off,
-
How to change process chain in SAP APO, in RSCP tcode.
HI SAP APO Experts I am from SAP ABAP background, I need to change a 'AND' operator in process chain in RSCP tranaaction in SAP APO. I dont have any idea how to change process chain. Could you please help me how to change process chain in SAP APO in
-
Here we are using the feature of document splitting with new GL concept and profit center account is activated. I am using two transaction codes to see general ledger balances i.e FBL3N & FAFLL03 and for generating financial statements I am using T.C
-
32-bit windows 7 install with Mavericks - need Boot Camp 4?
Hello, I've tried fairly extensive searching and can't find precise answers, wondering if anyone can help? I have a retina MBP (mid 2012) with latest OS X (Mavericks) installed, and thus Boot Camp 5 installed. I have an academic version of Windows 7
-
What is tha latet version of Firefox compatile with MAC OS 10.4.11
When I down load the latest version of firefox supposidly compatible with my compute I get a message it is not compatible and I should dowm load the latest version tha tis compatible with my system, 10.4.11 running on a G 5 based machine. NOT INTELL!