Trouble passing variable
I have looped item and window to use the same photo in two
different places. I can't get the unique Id for the window loop
clicked into the last line of code to control the alpha:
"_root.project["window" + Id].pix._alpha = 100;" Is there a way to
do? Any help is appreciated.
thanks
yogi b
for(i=0; i < gOverview.itemCount; i++){
_root.project["item"+i]._visible = true;
_root.project["item"+i].description = "<b>" +
gOverview["proName"+i] + "</b>: " +
gOverview["proDescription"+i];
_root.project["item"+i].Id = gOverview["proId"+i];
_root.project["item"+i].imageHolder.loadMovie(gOverview["proImage"+i]);
_root.project["window"+i].pix.loadMovie(gOverview["proImage"+i]);
_root.project["item"+i].item_btn.onPress = function () {
itemClicked (this._parent.Id);
for (var i = 0; i < gOverview.itemCount; ++i) {
_root.project["item"+i].imageHolder._alpha = 100;
_root.project["window"+i].pix._alpha = 0;
this._parent.imageHolder._alpha = 50;
_root.project["window" + Id].pix._alpha = 100;
}
try this
for (i=0; i<gOverview.itemCount; i++) {
_root.project["item"+i]._visible = true;
_root.project["item"+i].description =
"<b>"+gOverview["proName"+i]+"</b>:
"+gOverview["proDescription"+i];
_root.project["item"+i].Id = gOverview["proId"+i];
_root.project["item"+i].imageHolder.loadMovie(gOverview["proImage"+i]);
_root.project["window"+i].pix.loadMovie(gOverview["proImage"+i]);
_root.project["item"+i].item_btn.onPress = function() {
itemClicked(this._parent.Id);
for (var j = 0; j<gOverview.itemCount; ++j) {
_root.project["item"+j].imageHolder._alpha = 100;
_root.project["window"+j].pix._alpha = 0;
this._parent.imageHolder._alpha = 50;
_root.project["window"+this._parent.Id].pix._alpha = 100;
Firas Darweesh
Similar Messages
-
Still having trouble passing variables
So, I read some on the MVC as my problem in my previous post
was trying to pass variables between classes in the same package.
I've got three classes, ListLoader, SectionPanel and TagWidget...
MVC respectively. Or at least I think I've set them up that way.
ListLoader is responsible for querying the db via PHP when
TagWidget asks it to and then supplies a string variable. I'm
trying to get TagWidget to pass that variable to the
viewer/SectionPanel to display in a textfield but can't seem to get
ListLoader to reflect that. Now, the problem is in how I've
formatted ListLoader, I believe so I'll only show that class and
just know that TagWidget is calling the variable using
"trace(loadFTPList.fulllist);" where loadFTPList is the instance
name of ListLoader. What am I doing wrong?
Here is my class in question:You want to dispatch the event after fulllist is ready.
If you do this:
this.dispatchEvent(event.clone());
fulllist = record;
the event is dispatch before fulllist can be properly read,
so your listener
(whatever that may be) will find and empty/null/undefined
list.
but if you do this:
fulllist = record;
this.dispatchEvent(event.clone());
then in your listener
myListLoader.addEventListener(Event.COMPLETE, myListHandler);
function myListHandler(evt:Event){
if(evt.type == Event.COMPLETE)
// the list is ready
trace(ListLoader(event.target).fulllist); -
Trouble passing variable into package
I am having an issue reading a variable in a script task that I'm passing in from a windows service. I should be able to pass the param in from .NET and load it into one of my package vars right? The windows service is a file watcher service.
Windows Service code
Package pkg;
Application app;
DTSExecResult pkgResults;
Variables vars;
app = new Application();
pkg = app.LoadPackage(pkgLocation, null);d because I log it to a log file.
vars = pkg.Variables;
vars["User::FileName"].Value = sFileName.ToString();
pkgResults = pkg.Execute(null, vars, null, null, null);
The sFileName variable in the service is populated because I write it to a log file.
In the package I list the FileName variable as read/write. Have checked the spelling.
package code snippet:
public void Main()
//get file and path info
string sFileName = Dts.Variables["User::FileName"].Value.ToString();
the package fires but the variable is empty and I log an exception to the sysssislog:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at ST_5a4733488a6149abb109d633296e2c38.csproj.ScriptMain.Main() --- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object
target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()
I cannot find what the issue is. In the package I log to a text file the value of FileName variable and as expected it is empty.
I appreciate your help witThe scripting task which is designed to retrieve the file name from the package var User::FileName is listed in the scripting tasks read/write variables and it is a package level variable. Is that what you mean by "expects" Arthur? If so then yes. But is
there a property setting on the script task that has to be set?
I could use the config file but the file name changes daily with a date stamp suffix. I could also just sweep the directory when the file watcher executes the package but that all seems so sloppy considering that I should be able to pass the filename in
as a variable.
Thanks for talking through this with me. I appreciate it. -
I have created a few arrays in a frame and am trying to pass
a variable from the main array to choose a second array by passing
a variable using a function after a button is clicked. I use this
code to select the name of the new array:
_root.m1[name].menuTwoID = homeMenu
[0];
from this array
var homeMenu:Array = [["residential", "resMenu"],
["commercial", "comSubMenu"],.....
That should produce a passed variable "resMenu" correct?
It doesn't work later later in a new function when I put it
into:
_root.m2[name].main_text.text = menuTwoID[count-1][0];
to get the names from the second array.
If I put "resMenu" directly in the code (below) it works
fine.
_root.m1[name].menuTwoID = resMenu;
Any ideas of what I'm doing wrong?
ThanksHere's an example of the idea:
I create a menu and when it's clicked try to use the
menuTwoID to pass the name of the new array to create a new sub
menu. But that doesn't work. Is it that's it's a string and not an
array?
var AllColors:Array = [["reds", "colorsOne"], ["blues",
"colorsTwo"]];
var colorsOne:Array = [["Fire Engine", "colors1a"],
["Sunset", "colors1b"]];
var colorsTwo:Array = [["Sky Blue", "colors2a"], ["Cyan",
"colors1b"]];
function buildAllColors() {
var spacing:Number = 20;
for (var i = 0; i < 2; ++i) {
var name:String = "flipper" + i + "_mc";
var y:Number = i * spacing;
_root.m1.attachMovie("flipper", name, i);
_root.m1[name]._x = 0;
_root.m1[name]._y = y;
_root.m1[name].main_text.text = AllColors
[0];
_root.m1[name].menuTwoID = AllColors[1];
_root.m1[name].item_btn.onPress = function () {
itemClicked (this._parent.menuTwoID);
for (var i = 0; i < 2; ++i) {
_root.m1["flipper" + i + "_mc"].flipper_bg._alpha = 50;
this._parent.flipper_bg._alpha = 100;
buildAllColors();
function itemClicked (menuTwoID:String){
var spacing:Number = 20;
for (i=0; i<2; i++){
var y:Number = i * spacing;
var name:String = "flipper" + i + "_mc";
_root.m2.attachMovie("flipper", name, i);
_root.m2[name]._x = 0;
_root.m2[name]._y = y;
_root.m2.attachMovie("flipper", name, i);
_root.m2[name].main_text.text = menuTwoID
[1];
stop(); -
Trouble Passing URL Parameters between Applications
Hi All,
I am having trouble Passing URL Parameters between Applications for BW queries as data sources. I know I am getting the data from the sending application correctly, because I an printing to the screen using a Text Component.
Date From: 1/1/2008
Date To: 3/14/2014
Here is the code from the sending application On Select :
"http://localhost:56572/aad/web.do?APPLICATION=WIMO_SUMMARY_OPEN_DETAIL&designersessionid=37a1cfaa7e734cd9afa35cb4cd627d41" +
+ DS_1.getVariableValueExt("ZPORDAT3") +
+ DS_1.getVariableValueExt("ZPORDAT5"));
Here is the code from the recieving application Global Script Variable"
Xv_DateFrom String True
Xv_DateTo String True
Here is the code from the receiving application On Startup"
DS_2.setFilter("0CALDAY",[Xv_DateFrom, Xv_DateTo]);
When I click the results of the sending Application the popup window opens for the receiving application but I get all the records for the BW receiving query, it does not restrict to the values in ("ZPORDAT3") 1/1/2008 and ("ZPORDAT5") Date To: 3/14/2014.
So, I would expect it is my receiving code, but I am not sure.
Hope you can help?
NormanHi Norman,
As Jörg said, please put "&" before each of your variable names at your url. For the second part,I didn't try it for date intervals but keep in mind just in case:
APPLICATION.openNewWindow("http://localhost:56572/aad/web.do?APPLICATION=WIMO_SUMMARY_OPEN_DETAIL&designersessionid=37a1cfaa7e734cd9afa35cb4cd627d41" +
"&Xv_DateFrom=" + DS_1.getVariableValueExt("ZPORDAT3") +
"&Xv_DateTo=" + DS_1.getVariableValueExt("ZPORDAT5"));
Here is the code from the recieving application Global Script Variable"
Xv_DateFrom String True
Xv_DateTo String True
Here is the code from the receiving application On Startup"
DS_2.setFilterExt("0CALDAY", {"low": Xv_DateFrom , "high " : Xv_DateTo});
Best regards,
Onur -
Trouble passing a varible to INSERT page
I'm a novice and I'm having trouble passing a varible from
one page into the database.
I ultimately want to pass the word "Appliances" into the
database field name called CATEGORY.
The user clicks on: www.xyz.com/main.cfm?category=Appliances
to go to the next page. Then the next page has a <form> in it
and that same page has <CFSET category=#category#>. But when
the form posts the info into the database with the <CFINSERT>
on the next page, CATEGORY is empty.
I've tried: CFSET form.category=#category#>, CFSET
form.category="#category#"> and some other things. I've even
thought of doing this: <FORM
ACTION="insert.cfm?category=#category#" method="post">, but that
didn't work either (I thought I was pretty smart when I thought of
that). :-)
Now, I have JUST learned that I can use the <INPUT
TYPE="hidden" NAME="category" VALUE="#category#"> to pass it BUT
why didnt a simple CFSET statement set the variable and pass it to
the CFINSERT?
Thanks in advance!! -Tonyyes, <cfinsert> tag only inserts FORM values, that is
values defined in
the FORM scope variables (form fields, effectively). it will
not insert
any values defined in any other scopes.
a form will POST (submit) only data in its fields. that is
why the
variable you set with CFSET is not submitted - it is not a
form field.
so in order to use cfinsert you must have all data you want
to insert
into db in form fields. as you have found out, you can have
hidden form
fields to post/submit data too.
you could also pass the variable as part of the query string
of the
action page: <form
action="youractionpage.cfm?yourvar=<cfoutput>#yourvar#</cfoutput>"
method="post">, but that variable will be available on the
action page
inside URL scope, not FORM scope. in order for CFINSERT to
insert that
variable in this case, just add <cfset form.yourvar =
url.yourvar>
BEFORE your CFINSERT tag on your action page.
et voila - your variable is part of the form scope now and
gets inserted
with cfinsert tag.
hope this helps.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com -
I'm having trouble passing a variable value called from a CFC
into Flex via RemoteObject. Basically I'm trying to pass the
current logged-in user to a Combobox as a string. The Web directory
in IIS is set to dissallow anonymous access and is set to
Integrated Windows Authentication. The CFC is in the secured
directory as well as the Flex app. If I change the CGI variable to
something like #cgi.remote_addr# among others it works fine so I
know it's not the actionScript or CFC code. Any ideas as to why
#cgi.auth_user# is passing as an empty string?? One more caveat. If
I invoke the function in my CFC from a .cfm page the auth_user is
displayed as expected.
------------------------------------------------------------------------------------------ ----------To use RemoteObject with PHP you need to download AMFPHP and
make some settings.
To download go here:
null.
To understand how to use it with Flex go here:
null.
This is a video tutorial of about 7-10 minutes which will show you
all you need you need to know to set AMFPHP in 'conversation' with
Flex.
Good luck! -
Trouble Passing Values Using onClick Event
I have a page with a div, <div id= PF_Text_Panel></>, containing text describing an image, the image is in a separate div. Using CSS the text panel is on top of the image and covers about 1/3 of the image’s left side. A slide effect, handled by the function Slide, targets the PF_Text_Panel div. The function Slide is triggered by an onClick event allowing the user to slide the description to the left and reveal the entire image.
The function Slide contains an if statement. The if statement is used to determine if PF_Text_Panel is open or closed using the variable SldPnlState as a flag like this; if the variable SldPnlState ==1, then run Slide. The other part of this function, which actually slides the div is an instance of the Slide Effect, inserted using Dreamweaver CS4.
The variable SldPnlState is set using the function setSldPnlState
The function setSldPnlState, initiated by an onClick, passes a value to the variable SldPnlState, in this case it can be set to either 0 or 1 by separate onClick events
To test if the variable SldPnlState is being passed from the onClick event to the variable I included the function printVar which writes the value of the variable SldPnlState to the screen.
I believe that the Spry effect Slide portion of the function works because if I go into the code and manually set the variable SldPnlState to 1 the function Slide works and if I set it to 0 the function Slide does not work.
This the bug:
printVar indicates that the value is being passed the variable SldPnlState, it displays either a 1 or 0 as expected.
The function Slide does not work however, when the variable SldPnlState should be set by the onClick event passing the value using the function setSldPnlState. It does not seem like the value is being passed from the onClick event triggering the function or that somehow the script stops running.
You can demo the page at: http://dg-ad.com/Slide_Effect_Logic_Parameter.html
Attached is the code, if anyone has some suggestions I would really appreciate hearing from you
<!--begin setup Spry Effects-->
<script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
<!--Begin pass variable from flagToggle parameter to SldPnlState variable includes printVar function to sent results to screen-->
<script language="javascript" type="text/javascript">
<!--begin set flag using onclick event-->
var SldPnlState = (1);
function setSldPnlState(flagToggle)
SldPnlState = flagToggle;
</script>
<!--end set flag using onclick event-->
<!--begin slider onclick event-->
<script type="text/javascript">
if(SldPnlState==1)
function MM_effectSlide(targetElement, duration, from, to, toggle, transition, fps, horizontal)
Spry.Effect.DoSlide(targetElement, {duration: 500, from: 0, to: 200, toggle: true, transition: 2, fps: 750, horizontal: true});
//-->
</script>
<!--end slider onclick event-->
<!--begin write variable onclick event-->
<script type="text/javascript">
function printVar()
document.getElementById('test_display').innerHTML = SldPnlState
</script>
<!--end write variable onclick event-->
</head>
<body id="wrapper">
<div style="padding-top:50px;">
<a href="#" onclick="setSldPnlState(1);">Set var SldPnlState to Flag Status Set Open (1)</a><br><br><br>
<a href="#" onclick="setSldPnlState(0);">Set var SldPnlState to Flag Status Set Closed (0)</a><br><br><br>
<a href="#" onclick="printVar();">Print Flag Status to Screen</a><br><br><br>
<div id="test_display" style="border:#9CC thick groove; width:50px; height:50px; margin:15px; text-align:center; font-size:36px;"></div>
<a href="#" onclick="MM_effectSlide('PF_Text_Panel');">Slide Panel</a><br><br>
</div>
<div id="PF_Text_Panel" style="border:#9C9 thick solid; height:250px; margin-top:25px;">
<div id="PF_Text" class="PF_Text">
</div>
<script type="text/javascript">
var panelWidget_1=new Spry.Widget.HTMLPanel('PF_Text');
</script>
</div>Thanks so much for taking a look at this. The whole reason I am doing this is that I couldn't find a state indicator flag in the Spry.Effect.DoSlide effect.
I see that the htmlPanel does not have a bearing on the problem as you mentioned but not having the javascript doesn't matter either. I am using the Spry.Effect.DoSlide effect, it is in the head, in the function with the if statement, and it is making the div"PF_Text_Panel slide which works fine including the if statement. If I set the var SldPnlState = (1) it works set it to 0 and the slide effect is disabled. I need to be able to change the variable using an onclick event.
The problem as you mention is with the function SldPnlState = flagToggle; This is what I need to do. I need to pass a value to the variable SldPnlState from an onclick event. As the function Slide is set up, with an if statement, the div will slide if SldPnlState=1 and the slide function will turn off if SldPnlState=0. However when I do the onclick="setSldPnlState(1);"event there is no effect on the Slide function. The value seems to pass to the variable tSldPnlState since I can get the value of this same variable to display using the function printVar() which will display 1 or 0 depending on which onclick event I run. It seems like the I can pass the variable from the onclick event it's just that if statement in the function MM_effectSlide never sees it. I don't know enough to trouble shoot this. But I will take a closer look at the SldPnlState = flagToggle; part as you suggest. -
Passing Variable from frame to frame
Hi-
I have used JFileChooser to let the user select the location of a picture. I have then stored the location of the picture into a String. This is all done on the MainJFrame of the program. I am having trouble passing this string to a different Frame of the program, where the string will be accessed. Could anyone point my in the right direction to help find out how to send this String to the other frame.
Thanks-
MattWhat is the scope of the string that contains the location? If set correctly, the string should be accessible w/o problems. See
[http://java.sun.com/docs/books/tutorial/java/javaOO/variables.html] -
How to pass variable to SQLPLUS in a ksh script?
Hi,
I am writing a ksh script which will use sqlplus to run a sql and pass 2 variables as the SQL request. In the ksh script, I have 2 variables which are $min_snap and $max_snap holding 2 different numbers.
Inside the same script, I am using SQLPLUS to run an Oracle SQL script, which request to enter 2 set of numbers, one at a time. Normally running situation, I can enter the number from the keyboard, but since I am writing a script, I want to pass those numbers by passing variables in the script? How can I do it?
Please help!
here is my ksh script,
#!/bin/ksh
if [ "$1" = "" ]
then
echo "Usage : delete_snapshot.sh <db_name>"
exit
fi
export ORACLE_BASE=/oracle1/app/oracle
export ORACLE_PATH=.:/oracle1/app/oracle/product/8.1.7/tune
export ORACLE_HOME=/oracle1/app/oracle/product/8.1.7
export ORACLE_RDBMS=$ORACLE_HOME/rdbms/admin
export ORACLE_SID=$1
curr_time=`date +"%m/%d/%y %H:%M:%S"`
log_file=/home/mdbtuner/stats/sppurge/log/{$ORACLE_SID}_`date +"%Y%m%d"`.log
#echo $log_file
echo "****** Delete Snapshot for $ORACLE_SID at $curr_time ******" >> $log_file
#echo "****** Delete Snapshot for $ORACLE_SID at $curr_time ******"
#echo $ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID
cd /home/mdbtuner/stats/sppurge
$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << EOF > $min_snap
@min_snapid.sql
exit;
EOF
$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << EOF > $max_snap
@max_snapid.sql
exit;
EOF
echo $min_snap $max_snap
cd $ORACLE_RDBMS
#$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << EOF >> $log_file
$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << !
@sppurge
$min_snap
$max_snap
exit;
#EOF
Thanks in advance!
Robert
Message was edited by:
user168Thank you for response, Paul.
Have you ever used statspack? or sppurge.sql?
When you run $ORACLE_HOME/rdbms/admin/sppurge.sql, it waits for user to enter losnapid and hisnapid manually from the keyboard.
My trouble is to have a script to delete old snapshot which are 3 weeks old. So I create min_snapid.sql and max_snapid.sql to hold two variables.
Based on your solution, I tried it but it doesn't work.
It returns the error messages as following....
Warning
~~~~~~~
sppurge.sql deletes all snapshots ranging between the lower and
upper bound Snapshot Id's specified, for the database instance
you are connected to.
You may wish to export this data before continuing.
Specify the Lo Snap Id and Hi Snap Id range to purge
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for losnapid: Using exit; for lower bound.
Enter value for hisnapid:
User requested Interrupt or EOF detected.
Enter value for hisnapid:
User requested Interrupt or EOF detected.
WARNING: LoSnapId or HiSnapId specified does not exist in STATS$SNAPSHOT
Enter value for hisnapid:
User requested Interrupt or EOF detected.
Purge of specified Snapshot range complete. If you wish to ROLLBACK
the purge, it is still possible to do so. Exitting from SQL*Plus will
automatically commit the purge.
------------------------------------------- -
Passing variables from AS3 to PHP
Hi there
I am having some trouble in passing variables from AS3 to PHP. I am using flash and php both in the same file [try.php].
I've stuck with this for two days.. Here's what I have done. Please help!!!
header.fla [Actionscript in the timeline]
stop();
import flash.events.Event;
import flash.display.Sprite;
import flash.net.*;
var url:String = "http://localhost/0000/try.php";
var req:URLRequest = new URLRequest(url);
var loader:URLLoader = new URLLoader();
var variables:URLVariables = new URLVariables();
send_btn.addEventListener(MouseEvent.CLICK, sendForm);
function sendForm(evt:MouseEvent):void
// add the variables to our URLVariables
variables.asd = "value";
// send data via post
req.method = URLRequestMethod.POST;
req.data = variables;
loader.dataFormat = URLLoaderDataFormat.TEXT;
// add listener
loader.addEventListener(Event.COMPLETE, onLoaded);
loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
//send data
loader.load(req);
function onLoaded(evt:Event):void
var result_data:String = String(loader.data);
if (result_data)
trace(result_data);
else if (!result_data)
trace("error");
function ioErrorHandler(event:IOErrorEvent):void
trace("ioErrorHandler: " + event);
try.php
<body>
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="563" height="280">
<param name="movie" value="header.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="../Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="header.swf" width="563" height="280">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="../Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<?php
if($_POST['asd'])
echo "value of var1 is <b>".$_POST['asd']."</b>";
else
echo "bad luck";
?>
</body>
BIG THANKS!!the problem is nothing your showed. did you see a security warning that you ignored?
to test, if that's the problem go here and adjust your security settings: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.ht ml
if that fails, upload your files to a server and confirm everything works. then start working on your local configuration. -
Passing variable values to the navigation block
Hi WAD Experts,
I have a requirement regarding passing variable values to the navigation block. User requirement is first give the selections on the selection screen and then after executign output should display in browser. In the output page we have a navigation block. So when user gives selections those selections should also populate in the navigation block. Your help will be appreciated.
Prasad.Hi,
if your variable is 'Changeable at Query Navigation' the chosen values will appear in the Navigationblock.
Variables which are 'Not Changeable at Query Navigation'
will not appear.
You can set this Property when you create a Variable.
Kind Regards,
Alican Polat -
How can I pass variables from one project to another using Javascript?
Hi all, I am trying to do this: let learners take one course and finish a quiz. Then based on their quiz scores, they will be sent to other differenct courses.
However, I wish keep track on their previous quiz scores as well as many other variables.
I found this nice widge of upload/download variables by CPguru (http://www.cpguru.com/2011/05/18/save-and-load-data-widget-for-adobe-captivate-4-and-adobe -captivate-5/). However, this widget works by storing variables from one project in local computer and then upload it to another project.
My targeted learners may not always use the same computer though, so using this widget seems not work.
All these courses resided in a local-made LMS which I don't have access to their code. Therefore, passing variables to PHP html files seems not work.
Based on my limited programing knowledge, I assume that using Javascript to pass variables may be the only possible way.
Can someone instruct me how to do this?
Thank you very much.If you create two MIDlet in a midlet suite, it will display as you mentioned means you can't change the display style.
-
Error when executing query without passing variable selection
Hi Gurus
I am getting an error while executing a query with out passing values for variables
When executing the query by passing the filter values report returns the data
When executing the query with out passing variable selections the error message is
Unknown error in SQL interface
Error reading the data of Info Provider ZCRM_O08
Error while reading data; navigation possible
System error in program SSAPLRS_EXCEPTION and form
RS_EXCEPTION_TO_MESSAGE
No Data Available
can any one please help me in resolving this
Thank youHi Srini
Thanks for your quick response
When i am executing the query with selection it is returning the data
giving error when executing with out passing the selection
is there any other cause for this problem
like any particular info object causes this sort of problem
Thank you -
Passing variable having value as whole SOAP request to command while invoking ODI WS call
When passing variable in place of soap request message (variable value is whole SOAP request message prepared using procedure) in ODI Invoke WebService command like -->
OdiInvokeWebService "-URL=url...." "-PORT_TYPE=..." "-OPERATION=..." "-RESPONSE_MODE=NEW_FILE" "-RESPONSE_FILE_CHARSET=UTF8" "-RESPONSE_XML_ENCODING=UTF-8" "-RESPONSE_FILE=..." "-RESPONSE_FILE_FORMAT=SOAP" "-HTTP_USER=..." "-HTTP_PASS=..."
#SOAPREQUESTMESSAGE
Gives error :
ODI-1226: Step OdiInvokeWebService 1 fails after 1 attempt(s).
ODI-1241: Oracle Data Integrator tool execution fails.
Caused By: com.sunopsis.wsinvocation.SnpsWSInvocationException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '#' (code 35) in prolog; expected '<'
at [row,col {unknown-source}]: [1,1]
at com.sunopsis.wsinvocation.client.impl.AbstractMessageImpl.loadFromXML(AbstractMessageImpl.java:333)
at com.sunopsis.wsinvocation.client.impl.AbstractMessageImpl.loadFromString(AbstractMessageImpl.java:348)
at com.sunopsis.wsinvocation.client.impl.AbstractMessageImpl.fromString(AbstractMessageImpl.java:403)
at com.sunopsis.wsinvocation.client.impl.AbstractJWSDLParserImpl.fromXML(AbstractJWSDLParserImpl.java:272)
at com.sunopsis.wsinvocation.client.impl.AbstractJWSDLParserImpl.getWebServiceRequestByOperation(AbstractJWSDLParserImpl.java:260)
at com.sunopsis.dwg.tools.common.WebserviceUtils.getSOAPMessage(WebserviceUtils.java:94)
at com.sunopsis.dwg.tools.common.WebserviceUtils.invoke(WebserviceUtils.java:138)
at com.sunopsis.dwg.tools.InvokeWebService.actionExecute(InvokeWebService.java:327)
at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java:276)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:3437)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeOdiCommand(SnpSessTaskSql.java:1509)
at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:44)
at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Thanks in anticipation...the used variable 'SOAPREQUESTMESSAGE' is being created in a procedure using jython.
1. Can we use this variable (SOAPREQUESTMESSAGE) value in the next step that is while invoking web service request (can it persist) ?
2. If not then how can we use this variable value to invoke ws request in next step ?
Would like to appreciate help.
Pls reply.
Maybe you are looking for
-
Trying to write an if statement around the return value of a CANCEL_OPTION
I am writing a program that takes an input String using JOptionPane. The String can be made of only letters of the A-Z alphabet and the space character. I have written an error-checking loop that will pop another input box up along with an error mess
-
SQL Server 2012- Reporting Services in SharePoint Mode
I would like to use Reporting Services in Native mode but I also installed Reporting Services in SharePoint Mode. Do I need to remove the Shared Feature of Reporting Services in SharePoint Mode and if so how would I do this? Thanks Kit52
-
Select all paths of a specific color in one document
Hi, I'm on Illy CS2, windows xp. I want to open a doc, run a script that selects all paths of a color, say 255,0,0 or 50,0,20,4 and changes that color to black or another color I specify and also changes the stroke. Is this possible? I can't see how
-
Error: Receiver Service Cannot be converted into an ALE logical system
While doing scenario FILE to SAP R/3 by using BPM we get following error message: <IDOC_Adapter> Attribute_INV_REC_SERV SAP system is not able to receive the output.
-
Apple Compressor v3.5, doomed to fail?
Alright everyone I have read the forums so no need to point me in the direction of an old one. I have come to the conclusion that Apple Qmaster 3.5.3 and Compressor 3.5.3 are sabatoging me into buying compressor 4! I am yet again unable to submit