-
Problem is with the Set accessor of property
I have a class inside a get/set property called IsSomethingCool of type Boolean. The Set accessor resembles this:
private var _isSomethingCool:Boolean = false;
public function set IsSomethingCool(value:Boolean)
{
_isSomethingCool = value;
If (_isSomethingCool)
coolStatusColor = 0 x 008000; Green
on the other
coolStatusColor = 0xff0000; Red
trace ("this isn't");
}
Inside this class theres also a test function (): void which basically looks like this:
public function Test (): Boolean
{
var result: Boolean = false;
do a few tests to determine if the object is cool
result set
trace ("what's happening");
IsSomethingCool = result;
}
This function will fire periodically every second or two and the wird thing is instruction trace Test function fires every time, the function of trace inside the Set accessor of property don't shoot any. Lol I ve been doing flex/as3 for 2-3 years now and I just feel like a donkey atm how is this possible?
Well, I found the solution. If the property (or class and therefore property) is set to bindable, the setter is ignored IF the value passed in is the same as it is already. Found a good explanation and the solution here: http://nwebb.co.uk/blog/?p=227
-
Error: ORA-16757: failed to get the value of this property
Hi all
I have an error:
DGMGRL > see the database dbname_stb LogXptStatus;
Error: ORA-16757: failed to get the value of this property
I check:
DGMGRL > see the configuration;
Configuration - dbname_dg
Protection mode: MaxPerformance
Databases:
dbname_pr - primary database
dbname_stb - physical of the standby database
Fast-Start Failover: DISABLED
The configuration status:
SUCCESS
drcdbname_stb.log:
RSM0: Received the request the property Get: rid = 0 x 01010000, pid = 54
2012-10-17 15:21:14.702 of database Resource: get the LogXptStatus property
RSM 15:21:14.702 2012-10-17 error: trying to interview a 'LogXptStatus' primary type property on a standby database resource.
2012 10-17 error 15:21:14.702 database resource GetProperty (16501,16757)
I don't understand this error?
Thank you all. Take a look on this
Re: ORA-00254 | Trouble with dataguard
-
Get the &; quot; Type &; quot; property using Introspection
Is there a way to get the "type" of the property of an object using introspection?
I can get the classInfo object by using mx.utils.ObjectUtil.getClassInfo and then get the properties of the object, but I can't find a way to get the type of each property. If you don't find it already, look in "describeType".
Tracy
-
How to access the attribute accessor in script expressions
Hello
I'm trying with validations of the entity at the attribute level. I have defined an accessor from view on the purpose of the entity. I write from validation script expression rule and it is necessary for me to access one of the attributes of the accessor of the view.
How to get the value of the attribute accessor in the script expression.
For example, I created the object of the entity for the employees table and created the accessor for job posting view. I need to get the jobs view accessor job description in the validation script expression. In the tokens of messages I can able to refer the accessor view using the following, but the same does not in the script expression.
JobsAccessor.first (). JobDescription
Thank you and best regards,
S R Prasad Please check this post - where is the exact scenario specified by you:
http://www.gebs.ro/blog/Oracle/ADF-BC-viewlink-viewlinkaccessor-and-Groovy/
Thank you
Nini
-
Get accessor can be linked
I have a getter bindable which returns an ArrayCollection collection.
[Bindable]
public function get myArr():ArrayCollection {
return _myArr;
}
public function set myArr(value:ArrayCollection):void {
_myArr = value;
}
documentation:
""a call to ArrayCollection.addItem() , ArrayCollection.addItemAt() , ArrayCollection.removeItem() , and ArrayCollection.removeItemAt() all trigger data binding " "
The Bindable Get accessor will trigger an event when I do this?
_myArr.addItem(myItem);
No, it won't, as _myArr is a private property. You must use myArr.addItem (myItem)
Dany
-
The term 'Select-Object-property' is not recognized as a cmdlet, function, script file or executable program. Check the spelling of the name, or if a path has been included, make sure the path is correct, and then try again.
I have a fairly new version of PowerCLI (5,5 Rel 1) 5.5 being ESXi and vCenter.
I also checked that automation. Core is installed:
PowerCLI C:\Windows\system32 > Get-PSSnapin VMware.VimAutomation.Core
Name: VMware.VimAutomation.Core
PSVersion: 2.0
Description: This Windows PowerShell snap-in contains the Windows PowerShell cmdlet
TS of vSphere management.
but after connecting to vCenter, I get error trying to run:
PowerCLI C:\Windows\system32 > $Results = ForEach ($DRSRule to $DRSRules)
> > {}
> > «|» Select-Object-Property @{N = 'Cluster'; E = {(Id-vue-Get $DRSRule.Clust)}
amplifier. {{ID). name}}.
> > @{N = "Name"; {E = {$DRSRule.Name}}.
> > @{N = "enabled"; {E = {$DRSRule.Enabled}}.
> > @{N = 'Type of DRS'; {E = {$DRSRule.KeepTogether}}.
> > @{N = "MV"; E = {$VMIds = $DRSRule.VMIds - split ","}
> > $VMs = ForEach ($VMId to $VMIds)
> > {}
> > (Get-View-Id $VMId). Name
{> >}
{{> > $VMs - join ","}}
{> >}
> >
The term 'Select-Object-property' is not recognized as a cmdlet, fu
function, script file or executable program. Check the spelling of the name, or if
a path was included, make sure the path is correct and try again.
On line: 3 char: 32
+ "" | Select-Object-Property < < < < @{N = 'Cluster'; E = {(Get-view-Id $DRSRule
. {{Cluster.Id). name}}.
+ CategoryInfo: ObjectNotFound: (Select-Object-property string :)
[], CommandNotFoundException
+ FullyQualifiedErrorId: CommandNotFoundException
PowerCLI C:\Windows\system32 > Add-PSSnapin VMware.VimAutomation.Core
Is ' Select-Object-Property not installed? If not, where I get it, please?
see you soon
KC
Note, I received this Dean here code: PowerCLI: extraction rules DRS; Deans blog
There should be a space between the - Property parameter and Select-Object
-
[APS] get XMP AsString property (get 'author' of...)
Hi all
I have a situation here. I extract images XMP data. Everything is ok for one major exception. AppleScript don't give me what I want, if I specifically requested an XMP property. Ex:
get description of link xmp or link...
The fact is that this application may change according to the preferences of the user. The chosen field is stored as a string in the document (insertLabel) with a JS interface.
Then, I can retrieve this string with APS, no problem.
The fact is that I end up with something like
get "description" of link xmp of link...
This APS refuse to consider.
So my question is how do I APS eat my channel? Is there an any eval or anything that might make APS understand the string as a property query?
TIA Loïc
App.doScript use...
Tell application "Adobe InDesign CS4"
applescript script 'get my name' language
end say
Dirk
-
Change/scaleX scaleY on parent puts children nationwide but don't update the height-to-width property?
created a custom component - MyImage - who has two children, a Bitmap, but also a Sprite.
My screen object hierarchy is as follows:-
mx:Canvas
view:MyImage
mx:Bitmap
my:Sprite
If I change the MyImage.scaleX, scaleY property, children at the level that I expect.
However when I try to place children at the centre using placeAgain() on obtaining a resize event:
public function placeAgain():void
{
if (image==null) return;
var pCanvas:Canvas = this.parent as Canvas;
if (image.width <= pCanvas.width)
{
pCanvas.horizontalScrollPolicy="off";
image.x = (pCanvas.width -image.width)/2;
}
else
{
pCanvas.horizontalScrollPolicy="on";
image.x=0;
}
if (image.height <= pCanvas.height)
{
pCanvas.verticalScrollPolicy="off";
image.y = (pCanvas.height -image.height)/2;
}
else
{
pCanvas.verticalScrollPolicy="on";
image.y=0;
}
alignKids();
}
I find the image.height & width have not changed despite the image getting scaled!
Isn't the child supposed to have its bounds changed after scaling its
parent ? Especially after the child has actually been scaled correctly ?
Why are bounds of the child stuck at the same value as before scaling? I
am not caching the Bitmap, have not turned on caching of bitmaps.
The getBounds() method shows the same dimensions.
It seems scaleX/Y only changes the display but does not update fields of any object with the exception of
parent where scaleX/Y has been changed.
-
Problems to show the driver IVI and property loader error messages when you use a type of operator interface
I use UI operator (programmed in ICB, with asynchronous timer) in the folder OP1 in attached zip file. This operator interface does not have the error message from the driver of the IVI, properts, charger etc. on the screen (messages as in the photo attached error.jpg in zip file attached). Due to stability problems, I use this operator interface, but I need these error message. One other operator interface is OP2 in attached zip file. This operator interface puts the error message from the driver of the IVI, charger properts... on the screen (messages as in the photo attached error.jpg in zip file attached). Now, I want to have this feature with OP1 for reasons of stability I use OP1. How can I implement this in OP1? I tried and tried a lot of time, but I have not found a method to implement this. can someone help me? Thank you kind regards Samuel
Hello, Johann,.
I'm not sure you understood my problem. My problems are not the IVI and loader drivers error messages property! But my problem is, that errors of the IVI drivers and property loader operator interface does not bring on the screen. So to test this situation, cause an error of the driver of the IVI or shipper of property, then you can see that with a PC, you have an error message and with another IO no error message takes place and the test of stocks without a message. Do you know why this OI does not show the error messages and how showing the error message can be implemented in this operator interface
concerning
Samuel
-
How to change the value of string clustered, to implement using the node value of property instead of writing directly on the flow of data or using the variable
new to labview :-) and I have a problem when I want to change the value of a string in bunches, and I want to implement this using the node value of property instead of writing directly to the stream or by using the variable, enclosed is the picture. No matter, I have change in cluster (control) or value of Popery out (indicator) cluster, the value (sensor 7) dataflow keeps unchanged even I gave the new value by value of property node. Thank you to give me some advice about this.
Hi GerdW
Thanks a lot for your answer. The reason I'm stubbornly tring to break the flow of DATA is: we have a test system that have about 100 screws, they have a few connected flow, some of them will be unbundling a cluster dataflow chain to check the value in order to make the different cases. Now I want to insert user event by changing the control and influential cases during run time.
As I initially uses a global variable (to control cases) instead of unbundle string data flow, it works well. But then, I found there are a lot of screws that are using the string unbundle. One of the 'lazy' means, I tried is to change the value via the property node (because that way, I did not need to find all the places where using the unbundle string and replace them with the global variable), then I noticed a problem with "dataflow", the value in the stream of cluster in fact will not be changed by changing the value of the property node.
I did a test with VI simple (like the picture in last post), and after reading your advice, I tell myself that I need to understand the concept of "DATAFLOW" in labview, it seems that my "lazy" way can not work in this scenario.
I have attached the criterion VI here, have you furthur suggestions on what I can do in this case?
Mant thanks!
Minyi
-
Other control problem faced in the tab with flashing property control...
Ay one can help me?
I send you a vi, in that I face a problem with the tab control. So I put a list on page1 tab control multi-column box and apply the flashing on her property that at run time the flashing can visible on all pages of the tab control. It shouldn't be like that. The flashing can only visible on page 1. Is this a bug in Labview? or is this only? How solv it?
Thank you for your support
Marlow
-
100.0 Mbps, but not the acquisition of intellectual property
100.0 Mbps, but not the acquisition of intellectual property
Hello manicuredlawns,
This sounds like the behavior of the specific virus. You have already run a full system scan with your anti-virus security software?
You may need to do this in Mode without failure to a complete analysis of the system:
I suggest to choose Safe Mode with network on see if the network connection works differently.
Also try a restore of the system in safe mode to see if it makes no progress:
-
Protection of the rights of intellectual property in file Bar
Hello
I generate file *.bar for my application of stunts, but I decovert that the file (* .bar) can open by WinRAR and all my *.qml files can be read!
So, where is the protection of intellectual property rights?
You cannot access bar files on the device, and that the apps are distributed only by using bb world usually there is no other way to access as well.
-
What determines the order that CSS styles class and/or target rule are listed in the menu of the class of the HTML or CSS property inspector in Dreamweaver CC?
Using Mac OS 10.10.4 and Dreamweaver 8 and Dreamweaver CC 2015 or Mac OS 10.6.8
What determines the order that CSS styles class and/or target rule are listed in the menu of the class of the HTML or CSS property inspector in Dreamweaver CC?
Is it possible to change the order in the drop-down list so that a frequently used class style/Targeted rule is listed first (to the top of the list)?
I just have an attached style sheet and which shows alphabetically in the drop-down list. Maybe, if you have more than one style sheet, the styles appear in the load order of the leaves and alphabetically within each worksheet.