Detecting when a variable:URLVariables receives data
Hi
Is it possible to add a 'Change' event listener to URLVariables similar to adding addEventListener(Event.CHANGE, function) to a textinput?
I'm loading data and need to detect when it has completed and send those variables to another class.
Basically I need to know when it's 'safe' to retrieve the data from my URLVariables variable and that means I need to detect a change on URLVariables.
I have a workaround using a textinput that is changed in the complete function and then loads the data into a seperate URLVariables var meaning I have a textinput to dedect change and then another variable that hold the actual data which is a waste...
Thanks
you can detect whenever data is received by using the Event.COMPLETE listener and listener function. whether data is new, changed or previously defined and unchanged, you'll need to code yourself after your complete listener function is called.
Similar Messages
-
Be make lost grid in xaml when it be not received data???
I want be make lost #f5f5f5 background of gird when it no having data.How? I used to IConverter but it still that.
Public IdVisiable
get;set;
<Grid.RowDefinitions>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
</Grid.RowDefinitions>
<Grid Grid.Row="0" Visibility="{Binding isVisiable, Converter={StaticResource visisableconvert}}">
<StackPanel Orientation="Vertical" >Hi Grey Herney,
>>I want be make lost #f5f5f5 background of gird when it no having data
Could you please try to describe more about your question? It will be better if you can post a simple complete reproduce project in here.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Variable for Document Date in Customer Receivable Aging
Hi all,
This is regarding u201CCustomer Receivable Aging u2013 Detailsu201D in SBOne.
In the print layout, I found 3 types of date in system variables i.e.
1) system variable 184 = Due Date
2) system variable 185 = Posting Date
3) system variable 187 = The is vary by u201Cage byu201D Date (either document date, posting date or due date)
Regardless the date chosen for aging, we would like to display both Invoice (Document) Date and Due Date permanently on the layout.
Does anyone know what is the system variable for invoice/document date in this layout. Thanks for help in advance.
Regards,
Eric TanSorry this is no right answer. I had test it variable 65 doesn't work.
I found that the System variable 187 will be either document date, posting date or due date based on the aging date selection in Receivable Details Aging Report
Any other advise.How to check the all the variable in Receivable Detals Aging Report.
Thanks. -
Date Field in the Index when Apending Emails to PDF only shows received date
Hi,
I have Adobe Professional X with Outlook 2010 and I need to create a pdf with an index of about 1300 emails that are a mix of send and received items. For legal reasons I need to be able to sort them by sent date, however there is only one date field visible when I look at the columns in the pdf. this field seems to be the received date.
Does anyone know anyway to change this or to add another field so that I can see the send date of emails?
Thanks
LanceHi,
Hi segment E1P0000 is standard segment, you will not be able to make any changes. As per requirement you need to create the z<segment> with required field and assign the corresponding data element(as per your data type requirement).
Thanks,
Asit Purbey. -
Dear Team,
Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type. Could you please do needful. Thank youHello,
most recent patches for IGS and kernel installed. Now it works. -
Hello.
Assuming that I send data into PayPal (with the use of "HTML Variables for PayPal Payments Standard"):
var variables:URLVariables = new URLVariables();
variables.cmd = "_xclick";
variables.business = "A8AJGG5PS2GKE";
variables.upload = "1";
variables.item_name = "some item";
variables.amount = "123";
variables.currency_code = "USD";
variables.lc = "pl";
variables.page_style = "PayPal";
variables.return = "my site";
variables.re = 2;
variables.no_note = 1;
variables.no_shipping = 1;
variables.notify_url = "[email protected]";
var request:URLRequest = new URLRequest("https://www.paypal.com/cgi-bin/webscr");
request.method = URLRequestMethod.POST;
request.data = variables;
navigateToURL(request, "_blank");
Does anyone managed to integrate PayPal IPN - "Instant Payment Notification"-
(https://www.paypal.com/ipn/) with AS3 in order to receive data from PayPal?
Could you please show any example of using it.My idea is as follow:
1. .swf on you page sends variables into PayPal
2. After finishing the payment on PayPal, the customer is auto-redirected to your page ("return" variable)
3. Customer returns to your page. PayPal does NOT send any payment data there.
Separately in the background, you receive a form POST from PayPal at a different URL (notify_url variable) - (here resides the php that I added below).
4. You post back a form with cmd=_notify-validate and all fields you received from PayPal. PayPal responds with a single word VERIFIED or INVALID
5. If you receive VERIFIED, you can process payment
This method means that you can easily update for example your MySQL database but unfortunately you have to reload .swf file each time - and that's why it is not a perfect solution in my opinion;
PS:
- variables.return and variables.notify_url must be absolute urls
- notify_url must also allow anonymous access from outside of your network
- firewall must be opened to host: notify.paypal.com
- in your business PayPal account:
Auto Return = Enabled in account profile
PDT = Disabled in account profile
IPN = Enabled in account profile
- php file:
<?php
// read the post from PayPal system and add 'cmd'
$req = 'cmd=' . urlencode('_notify-validate');
foreach ($_POST as $key => $value) {
$value = urlencode(stripslashes($value));
$req .= "&$key=$value";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://www.paypal.com/cgi-bin/webscr');
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $req);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Host: www.paypal.com'));
$res = curl_exec($ch);
curl_close($ch);
// assign posted variables to local variables
$item_name = $_POST['item_name'];
$item_number = $_POST['item_number'];
$payment_status = $_POST['payment_status'];
$payment_amount = $_POST['mc_gross'];
$payment_currency = $_POST['mc_currency'];
$txn_id = $_POST['txn_id'];
$receiver_email = $_POST['receiver_email'];
$payer_email = $_POST['payer_email'];
if (strcmp ($res, "VERIFIED") == 0) {
// process payment
else if (strcmp ($res, "INVALID") == 0) {
// log for manual investigation
?> -
Script to detect when USB stick is plugged
Script to detect when USB stick is plugged to my mac.
Is it possible?
Thank you!How to invoke a Unix command from Applescript
Name: toggle-hidden
Author: rccharles
Copyright 2010 rccharles
GNU General Public License
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
For a copy of the GNU General Public License see <http://www.gnu.org/licenses/>.
on run
-- Write a message into the event log.
log " --- Starting on " & ((current date) as string) & " --- "
try
set results to do shell script "defaults read com.apple.finder AppleShowAllFiles"
log "results = " & results
on error errorMsg
-- Most likely, the variable AppleShowAllFiles does not exit.
-- AppleShowAllFiles isn't defined in a newly created account.
-- The write command below will create the AppleShowAllFiles variable.
log "Error ..." & errorMsg
set results to "FALSE"
end try
if results = "FALSE" then
display dialog "Displaying all files. Finder will restart." giving up after 2
set the_rc to do shell script "defaults write com.apple.finder AppleShowAllFiles TRUE ;killall Finder"
else
display dialog "Hiding hidden files. Finder will restart.." giving up after 2
set the_rc to do shell script "defaults write com.apple.finder AppleShowAllFiles FALSE ;killall Finder"
end if
end run -
How to detect when a tile fails to load
We currently use SSRS to generate maps w/ custom layers and data. The requests made by SSRS to the Bing Map system occasionally fail when creating PDF versions of the reports under heavy load. I am looking for a way to work around SSRS's limitation
when using Bing Maps.
One approach I am exploring is to create a system that generates my own map images using the Bing Maps Api directly rather than being dependent upon SSRS. However, i can imaging that at some point a request to Bing Maps will result in a failure. Either
the system was unavailable or the request for the map tile timed out.
I would like to be able to detect when a tile failed to be received.Hi Z3M,
Thank you for your question.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Thanks,
Simon Hou -
My version of Essbase is 6.5.1.4. On the server machine it self when I am adding members to outline I get "Can not receive data 10054". To resolve this problem I tried to increase the server page file size but the problem persist.Does anyone know a solution to this problem?SAK
How exactly are you retrieving data; is it smartview, excel addin, forms, reports etc ?
-
Customer not getting displayed in PDF when sales order is received in email
Hi,
We are using a Z smartform for printing order acknowledgement for sales order.When printing the same on paper or in print preview, the output is correctly displayed. However, when automatic pdf is received in email, customer field is missing.
Any suggestion why this could be?
Below are the configurations in nace transaction for this output type:
Output Type YA02
Application V1
Medium Short text Program Form Routine Form Smartform
1 Print output /SMB40/RVADOR01 ENTRY Y_ORDER_ACK_NEW
2 Fax RVADOR01 ENTRY RVORDER01
6 EDI RSNASTED EDI_PROCESSING
8 Special function /SMB40/RVADOR01 ENTRY Y_ORDER_ACK_NEW
A Distribution (ALE) RSNASTED ALE_PROCESSING
TIA
VartikaHi Vartika
Take help of ABAP developer to debug smartform. when Smartform converts data into PDF may be customer number is missing.
Regards
Nagendra -
DEBUG - how can I put a "break-point" when a variable have a certain value
Hi
I need help...
Do you know some kind os instruction or tools to see and stop in debug a program when a variable have a specified value ?
For example:
At debug I want that a program "stop" when likp-vbeln = 70000123000.
Now for do this, I change the code and insert a IF( ), and i put a breakpoint. But i need a way without need change code.
ThanksHi Ricardo,
Use Watch point for this puppose.
Watchpoints allow you the option of monitoring the content of individual variables.
The Debugger stops as soon as the value of the monitored variable arrives.
In addition, conditions can be specified. The Debugger also checks whether such a condition is fulfilled.
Creating a Watchpoint
In the toolbar of the New Debugger, you will find the pushbutton Create Watchpoint . It brings you to the dialog box Create Watchpoint.
Using this function, you can enter the variable to be monitored.
All possible ABAP data structures are allowed here.
Hope this will help.
Regards,
Nitin. -
How to use sda6810 to receive data from a rs485 channel?
I want to use sda6810 to anlyze data from a rs485 bus. So I use Labview to progame the sda6810 with the drivers.Firstly,I intilite the card,then I cofigued an channel to send data from a buffer,and configued another channel to receive data from the first chanel . But unfortunatly the data I received was not equal to the data I sended.And there are not any error messages indicated in Labview
And when I try to use the GP channel,I found it worked properly.please tell me how I can solve the problem?I really apreciate your help.You told me that
I should use the exameples which shipped with sda driver firstly. I do used them,and it worked correctly.So I think the connections was being setup properly.And I
used labview to progame the rs485 channel
. It do received something .But it was incorrect.
I would be grateful if you could send me an
example writted by labview,or you could tell
me you e-mail address.
Here is my code .
Attachments:
youyou2.zip 110 KB -
Problem mapping inputText field to a variable in a data control
I have encountered the following problem. Please help. Any feedback is appreciated.
I have a page that contains first name, last name, address, city, state zip and country input text fields and a submit button. When the submit button is clicked, user entered information will be commited to database. This is easily achieved by using a managed bean.
Now I would like to achieve the same functionality by using data control. The reason I want to use data control is to avoid putting the controls (first name, last name, address, city, state zip and country) in the managed bean. I was hoping that they can be directly mapped to the data control variables. The data control is created from a Java object which contains attributes of first name, last name, address, city, state zip and country. The data control is dragged and dropped to a jsff page and the jsff looks like the following:
<af:inputText label="First Name"
value="#{bindings.firstName.inputValue}"
required="true"
maximumLength="25" autoSubmit="true"
id="it10">
</af:inputText>
When I run the page, I can see the label First name but the input box was not shown. So I removed: value="#{bindings.firstName.inputValue}" and the input box appears.
Why did that happen? Can I directly map a data control attribute to an input text field?
Thank,
CeciliaThanks for the response, Shay. Really appreciate it.
I tried your first solution - modified the property IsUpdateable to Updateable. However the input text box is still not appearing.
My java class is just a simple Java class. In the class all I have is just a get method for a domain model object.
In the jsff, if I assigned a value to the value attribute (value="Jane"), the input text box would appear as updateable.
Any idea? -
Variable Size Item Data in Purchase Requisition
Hi
When ever the Purchase Requisition of the Variable size material is
raised, how do i view,for reference,the Variable Size Item data from
Bill of materials .
Steps for the Reconstruction
1.Create a Variable size Item Bill of material.
2.Run MRP agianst the Variable size material's dependent demand.
3.View the Purchase requisition of the Variable size Item, to take a
note of the Item Data.Thread closed
-
Anyone can help with the below issue please? Much appreciated.
We have about 2k+ messages in sys.transmission_queue
Telnet to the ports 4022 is working fine.
Network connectivity has been ruled out.
The firewalls are OFF.
We also explicitly provided the permissions to the service account on Server A and Server B to the Service broker end points.
GRANT
CONNECT ON
ENDPOINT <broker> <domain\serviceaccount>
Currently for troubleshooting purposes, the DR node is also out of the Availability Group, which means that we right now have only one replica the server is now a traditional cluster.
Important thing to note is when a SQL Server service is restarted, all the messages in the sys.transmission queue is cleared immediately. After about 30-40 minutes, the errors are continued to be seen with the below
The
connection was
closed by the
remote end,
or an
error occurred while
receiving data:
'64(The specified network name is no longer available.)'We were able to narrow down the issue to an irrelevant IP coming into play during the data transfer. We tried ssbdiagnose runtime and found this error:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>SSBDIAGNOSE -E RUNTIME -ID 54F03D35-1A94-48D2-8144-5A9D24B24520 Connect to -S <SourceServer> -d <SourceDB> Connect To -S <DestinationServer> -d <DestinationDB>
Microsoft SQL Server 11.0.2100.60
Service Broker Diagnostic Utility
An internal exception occurred: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
P 29830 Could not find the connection to the SQL Server that
corresponds to the routing address tcp://XX.XXX.XXX.199:4022. Ensure the tool is connected to this server to allow investigation of runtime events
The IP that corresponds to routing address is no where configured within the SSB. We are yet unsure why this IP is being referred despite not being configured anywhere. We identified that this IP belongs to one of nodes other SQL Server cluster, which has
no direct relation to the source server. We failed over that irrelevant SQL Server cluster and made another node active and to our surprise, the data from sys.transmission_queue started flowing. Even today we are able to reproduce the issue, if we bring
back this node [XX.XXX.XXX.199] as active. Since, its a high business activity period, we are not investigating further until we get an approved downtime to find the root cause of it.
When we get a approved downtime, we will bring the node [XX.XXX.XXX.199] as active and we will be running Network Monitor, Process Monitor and the SSB Diagnose all in parallel to capture the process/program that is accessing the irrelevant IP.
Once, we are able to nail down the root cause, I will share more information.
Maybe you are looking for
-
Creating a Windows 7 installation disk for S12-ION (and similar)...
In a recent (now dissapeard) thread the subject of creating a backup Windows 7 Installation disk that will work with the Win7 Home Premuim OA key on the sticker on the bottom of S12-IONs. Unfortunately that thread got stomped on because it strayed of
-
I recently saw a message in the Idea Exchange Make the Class Save dialog more like Save As by Darin.K that made a comment about the file name not completely appearing in the file box in a Saveas Dialog. I had seen similar situations in the past. I'
-
Disabling document downloads while allowing for online editing.
With IRM I know that you can prevent documents from being downloaded as well as printed, but whenever I do so, it disables the ability to edit the document. Is it an integrated setting where I can only have both or neither? I am not concerned with
-
Hi all, We have a User hierarchy ... in that we have User Group,User Territory,User Terr in User names. These User Group,Terr are populating through Customer exit. This hierarchy is working fine Till Bex but when i create Universe on top of this in U
-
Strange TCP/IP Modbus received signal
Hallo everyone: i am confronting a strange problem about TCP/IP modbus communication, we builded the connection and use NI modbus libary to read analog signals, it works, but the return signals seems strange, for example(40A0 for value:5, 3F80 for va