@property and @synthesize

Hi there : )
I bought the third edition of the Aaron Hilleglass book 'Cocoa Programming For MacOSX'.
In an application, the author uses the @property/@synthesize keywords instead of implementing accessors in a traditional way. The application illustrates the NSArrayController. The code can be found here : http://www.2shared.com/file/5756321/ce291cd9/RaiseMan.html
But when I implement this code, I get a strange behavior. This application uses a NSTableView to store some objects (person for instance with the person's name and an associated float value). When I change the value of a Cell and I use press "Enter" or "Tab" key, the application crashes.
Here is the strange thing : if I implement accessors the old way, by redefining a set and a get method, the crash is gone. It perfectly works... (the code above is the one where I implemented the accessors. The @property/@synthetize were commented)
Since a new release of XCode was made since the book was published, I wondered if something has changed that could cause the crash. I already contacted the author, but I don't get any answers, so I give it a shot here.
Thanks.

oki doki, I didnt knew the code in brackets. I tried the BBS [code] but it did not work : )
So, here's the Person's Code (h & m in the same code section) :
#import <Foundation/Foundation.h>
@interface Person : NSObject {
NSString* personName;
float expectedRaise;
@property(readwrite, assign) NSString* personName;
@property(readwrite) float expectedRaise;
/-(void)setPersonName:(NSString)name;
-(void)setExpectedRaise:(float)amount;
-(NSString*)personName;
-(float)expectedRaise; */
@end
#import "Person.h"
@implementation Person
// SET et GET
//@synthesize personName;
//@synthesize expectedRaise;
-(id)init
if (![super init])
return nil;
personName = @"Nouvelle Personne";
expectedRaise = 0.5;
return self;
-(void)dealloc
[personName release];
[super dealloc];
@end
Here is the MyDocument code :
#import <Cocoa/Cocoa.h>
@interface MyDocument : NSDocument
NSMutableArray* employees;
-(void)setEmployees:(NSMutableArray*)a;
@end
#import "MyDocument.h"
@implementation MyDocument
- (id)init
self = [super init];
if (self) {
employees = [[NSMutableArray alloc]init];
// Add your subclass-specific initialization here.
// If an error occurs here, send a [self release] message and return nil.
return self;
-(void)dealloc
[self setEmployees:nil];
[super dealloc];
- (NSString *)windowNibName
// Override returning the nib file name of the document
// If you need to use a subclass of NSWindowController or if your document supports multiple NSWindowControllers, you should remove this method and override -makeWindowControllers instead.
return @"MyDocument";
- (void)windowControllerDidLoadNib:(NSWindowController *) aController
[super windowControllerDidLoadNib:aController];
// Add any code here that needs to be executed once the windowController has loaded the document's window.
- (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError
// Insert code here to write your document to data of the specified type. If the given outError != NULL, ensure that you set *outError when returning nil.
// You can also choose to override -fileWrapperOfType:error:, -writeToURL:ofType:error:, or -writeToURL:ofType:forSaveOperation:originalContentsURL:error: instead.
// For applications targeted for Panther or earlier systems, you should use the deprecated API -dataRepresentationOfType:. In this case you can also choose to override -fileWrapperRepresentationOfType: or -writeToFile:ofType: instead.
if ( outError != NULL ) {
*outError = [NSError errorWithDomain:NSOSStatusErrorDomain code:unimpErr userInfo:NULL];
return nil;
- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError
// Insert code here to read your document from the given data of the specified type. If the given outError != NULL, ensure that you set *outError when returning NO.
// You can also choose to override -readFromFileWrapper:ofType:error: or -readFromURL:ofType:error: instead.
// For applications targeted for Panther or earlier systems, you should use the deprecated API -loadDataRepresentation:ofType. In this case you can also choose to override -readFromFile:ofType: or -loadFileWrapperRepresentation:ofType: instead.
if ( outError != NULL ) {
*outError = [NSError errorWithDomain:NSOSStatusErrorDomain code:unimpErr userInfo:NULL];
return YES;
-(void)setEmployees:(NSMutableArray*)a
if (a == employees)
return;
[a retain];
[employees release];
employees = a;
@end
I don't know how to show you the xib file since it's a bit long...
Nothing particular about this code. I really think it comes from the NSArrayController or sometinhg.
Moreover, if I use the author's code, it actually bugs if I remember it well....

Similar Messages

  • I am trying to set up my apple tv on a sony KDL - 40xbr4. The remote is a sony RM-V302. I plugged it into the HDMI IN on the side of the TV but cannot find out how to get to that input. I am at a winter rental property and brought my Apple TV with me.

    I am trying to set up my apple tv on a sony KDL - 40xbr4. The remote is a sony RM-V302. I plugged it into the HDMI IN on the side of the TV but cannot find out how to get to that input. I am at a winter rental property and brought my Apple TV with me. I did check internet for solutions. The instructions I found said to use a "home button" on the remote.  There isn't one. I sure would appreciate help if someone knows a solution.  My first post - hope I did this right.

    if its anything like my Sony, theres a button top left corner that upon each press i get an audible bleep and the AV inputs come up on screen, i then cycle down to whichever input i wish to select!
    in case your remote is different, the button on my remote has a square with a slightly smaller square just overlapping the first square.
    hope that helps?
    rgds Lee.

  • How to add a new user property and then retrieve it  from a portlet

    Trying to add a user property and then retrieve it form a remote web service?
    Add a user property and map it
    1. Create a property2. Go to Global Object Property Map3. Go to users, edit and select the new property.4. Go to User Profile Manager5. For portlets, go to the "Position Information" section and add it. (for the purpose of this test, add it to the profile section as well)6. Under the "User Profile Manager" go to the "User Information - Property Map" step in the wizard and 7. Go to the "User Information Attribute" and add the property.8. Click on the pencil to the right of it and give it a name (The name is what's going to appear in the list of user information under the portlet web service)9. Click finish10. Now create/edit the web service for the portlet from which you want to displays user properties. 11. Under the "User Information", click "add existing user Info" and select the property you want.12. From the portal toolbar, edit the user profile under "My Account" and then "Edit user Profile" and give the new property a value. 13. Test code below: ================================in C# IPortletContext context = PortletContextFactory.CreatePortletContext(Request,Response);IPortletRequest portletRequest = context.GetRequest();System.Collections.IDictionary UserInfoVariables = portletRequest.GetSettingCollection(SettingType.UserInfo);System.Collections.IDictionaryEnumerator UserInfo = UserInfoVariables.GetEnumerator();
    while(UserInfo.MoveNext()){   //to display in a listbox   ListBox1.ClearSelection();   ListBox1.Items.Add(UserInfo.Key.ToString() + ": " + UserInfo.Value);}===========================in ASP: <%Dim objSettings, dUserInfo, sEmpIDSet objSettings = Server.CreateObject("GSServices.Settings") ' get the user info settings, get employee ID from user infoSet dUserInfo = objSettings.GetUserInfoSettings
    for each item in dUserInfo response.Write "<BR>" & item & ": " & dUserInfo(item)next%>

    IPortletContext portletContext = PortletContextFactory.createPortletContext(req, res);
    IPortletRequest portletReq = portletContext.getRequest();
    String value = portletReq.getSettingValue(SettingType.Portlet,settingName);

  • Bean property and public field found with the same name: getid

    Hi all,
    I have a ejb jar file contains some local entity beans and one session bean
    , the session bean has some functions suck as findXXXByQuery() , InsertXXX()
    , and I have created some model class for the entity bean , and use it as
    the parameter or return type of the session bean , then I want to transfer
    the session bean as a webservice , using ant automaticly . All this function
    successfully in weblogic 6.1 , but when I want to run ant command in
    weblogic 7.0 , an error occured :
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property
    and public field found with the same name: getid
    Yes , I have a getid field in table , a getid in entity bean , and a getid
    property in model class , but what different does it make ? Would you mind
    to test my jar file ? I send all files as attachments .
    Any advice will be appreciate .
    lcl
    [build.xml]
    [work.jar]

    In article <[email protected]>, lcl <[email protected]> wrote:
    -=-=-=-=-=-
    Hi all,
    I have a ejb jar file contains some local entity beans and one session bean
    , the session bean has some functions suck as findXXXByQuery() , InsertXXX()
    , and I have created some model class for the entity bean , and use it as
    the parameter or return type of the session bean , then I want to transfer
    the session bean as a webservice , using ant automaticly . All this function
    successfully in weblogic 6.1 , but when I want to run ant command in
    weblogic 7.0 , an error occured :
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property
    and public field found with the same name: getid
    Yes , I have a getid field in table , a getid in entity bean , and a getid
    property in model class , but what different does it make ? Would you mind
    to test my jar file ? I send all files as attachments .
    Any advice will be appreciate .
    lcl
    -=-=-=-=-=-For better or worse the JAX-RPC spec requires this behavior. From
    section 5.4.1:
    "There is no standard mapping for the case when a JavaBean property
    has the same name as a public field. A Java to XML mapping
    implementation is required to flag this case as an error."
    Since you are not the first person to run into this restriction I'm
    beginning to think we need an option to bypass it.
    --Scott

  • Why i have to specify the parameters (property and name) in both tags?

    Recently i learned how to populate a html:select with data from a DB table with a int value and a String value (value and label of an option). For that i create a business object that represent one pair value&label (i called categoryBO) and another business object that contains a list of the business objects categoryBO. So in my JSP i have the next code:
    <html:select name="lista" property="listaPropiedades">
    <html:optionsCollection name="lista" property="listaPropiedades" value="varValor" label="varLabel" />
    </html:select> Well i understand the next: name is the name of the business object that contains the list with the objects that represents the options in the select tag; property is the name of the list object, in the business object i need to have the getters and setters for that list; then value is the name of the variable that contains the data that will be the value of each option and label is the name of the variable that contains the data that will be the value of each label.
    But i have the next questions:
    1. Why i have to establish the parameters property and name for bot html:select and html:optionsCollection? Why not only in html:select or only html:optionsCollection?
    2. In the ActionForm for my JSP i don�t know what data type have to use to declare the variable that's linked with the option or with the select. I'm using Object for now.
    3. Why the only way to populate the html:optionsCollection in the Action is passing the object in the request object as an atribute in the next way:
    request.setAttribute("lista", objectThatContainsList);instead
    ((ActionForm)form).setListaPropiedades(objectThatContainsList);why's that? I have the same question when i'm populatina a normal html table using a logic:iterate tag or using a display:table tag from displaytag library.

    Ok, you have one big misconception here - you're using the same name/property for both the select component and its contents.
    The html:select should refer you to ONE selected value (in this case an int). It should tie to a field on your action form.
    The html:optionsCollection should refer to a list of beans used to populate this select component.
    <html:select property="selectedItem">
    <html:optionsCollection name="myList" property="listOfProperties" value="varValor" label="varLabel" />
    </html:select>
    1. Why i have to establish the parameters property and name for bot html:select and html:optionsCollection? Why not only in html:select or only html:optionsCollection?Because they actually refer to two different things, and should be two different values.
    html:options gets the list of possible values
    html:select stores the "selected" option. (consider what you would have if you just used a standard html:input here, and typed the id directly in - THATS the property to bind to)
    2. In the ActionForm for my JSP i don�t know what data type have to use to declare the variable that's linked with the option or with the select. I'm using Object for now.You do now - because it is declared/mapped seperately
    3. Why the only way to populate the html:optionsCollection in the Action is passing the object in the request object as an atribute in the next way:Its not.
    The way you mentioned is also valid. If both the "selectedItem" and "listOfItems" are properties on your action form, you can leave out the "name" attribute, and they will be found there.
    However if you are dealing with request scoped beans, you will have to populate the list on each access of the page - you will need a "load" action to poupulate the bean with the items for the dropdown, and make sure that it is always populated when you return to it (eg on an error condition).
    That is why setting it as an attribute is sometimes preferable.
    Cheers,
    evnafets

  • How to create a sling:OsgiConfig property and access it in component Jsp ?

    How to create a sling:OsgiConfig property and access it in component Jsp ?
    I have created a OSGI config property under apps/<Project>/config and it is reflected on OSGI console but I am not able to access ie in component jsp.
    Any pointers are appreciated

    Use this code in the scriplet in your required components jsp:
    <%@page import="org.osgi.service.cm.ConfigurationAdmin"%>
    <%@page import="org.osgi.service.cm.Configuration"%>
    <%
    Configuration conf = sling.getService(org.osgi.service.cm.ConfigurationAdmin.class).getConfiguration("Name of the config");
    String myProp = (String) conf.getProperties().get("property key");
    %>

  • [svn] 4074: FxNumericStepper now has a maxChars property, and it now restricts the characters that can be entered into its FxTextInput .

    Revision: 4074
    Author: [email protected]
    Date: 2008-11-11 14:10:34 -0800 (Tue, 11 Nov 2008)
    Log Message:
    FxNumericStepper now has a maxChars property, and it now restricts the characters that can be entered into its FxTextInput.
    Fixed a problem with 'restrict' in TextView. If there are no characters left to insert after restriction, do nothing; don't insert an empty string and thereby delete the insertion.
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: Glenn
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as

    When I installed iTunes 7.3 I noticed some artwork
    was gone. I compared the actual file sizes to the
    backup and there was no change at all. I was able to
    get the covers again from the iTS, but as I really
    want to have the artwork inside the files, I tried to
    paste it into the tags (like I used to do since 7.0).
    That doesn't work, after pasting it, the artwork is
    gone again completely, but the files are now 4mb
    bigger. The artwork of these files (about 300 in
    total, and I cant figure out why some and some not)
    can not be browsed, but the rest of the tags is fine
    and the songs play just normal.
    I trashed one of the affected albums and re-added it
    from the backup. Now the tags in iTunes were gone
    completely! I re-entered the correct tags and let
    iTunes get the artwork from the iTS. The artwork
    shows, but not for all files of the album. So again I
    tried to paste it into the tags of all songs, and
    voila: all artwork of this album is gone again and
    the files are 4mb bigger.
    Same behaviour in iTunes 7.3.1.
    I'm happy I have a good backup of my music, and I
    think the artwork is still inside the files, but
    iTunes 7.3 and 7.3.1 mess it up. From what I see only
    non-iTS files are affected, but only iTS artwork is
    lost. NOT nice.
    Any ideas? I'm no really a friend of downgrading...
    After some more time consuming tinkering I still have no luck in giving certain files their artwork back. I better go back to 7.2 tomorrow... Apple keep that lousy 7.3.1 BS yourself

  • [svn] 4072: FxNumericStepper now has a maxChars property, and it now restricts the characters that can be entered into its FxTextInput .

    Revision: 4072
    Author: [email protected]
    Date: 2008-11-11 14:08:39 -0800 (Tue, 11 Nov 2008)
    Log Message:
    FxNumericStepper now has a maxChars property, and it now restricts the characters that can be entered into its FxTextInput.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-16293, SDK-16627
    Reviewer: Glenn
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16293
    http://bugs.adobe.com/jira/browse/SDK-16627
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as
    Property Changed:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as

    When I installed iTunes 7.3 I noticed some artwork
    was gone. I compared the actual file sizes to the
    backup and there was no change at all. I was able to
    get the covers again from the iTS, but as I really
    want to have the artwork inside the files, I tried to
    paste it into the tags (like I used to do since 7.0).
    That doesn't work, after pasting it, the artwork is
    gone again completely, but the files are now 4mb
    bigger. The artwork of these files (about 300 in
    total, and I cant figure out why some and some not)
    can not be browsed, but the rest of the tags is fine
    and the songs play just normal.
    I trashed one of the affected albums and re-added it
    from the backup. Now the tags in iTunes were gone
    completely! I re-entered the correct tags and let
    iTunes get the artwork from the iTS. The artwork
    shows, but not for all files of the album. So again I
    tried to paste it into the tags of all songs, and
    voila: all artwork of this album is gone again and
    the files are 4mb bigger.
    Same behaviour in iTunes 7.3.1.
    I'm happy I have a good backup of my music, and I
    think the artwork is still inside the files, but
    iTunes 7.3 and 7.3.1 mess it up. From what I see only
    non-iTS files are affected, but only iTS artwork is
    lost. NOT nice.
    Any ideas? I'm no really a friend of downgrading...
    After some more time consuming tinkering I still have no luck in giving certain files their artwork back. I better go back to 7.2 tomorrow... Apple keep that lousy 7.3.1 BS yourself

  • ContainsAllFilter on array property and GreaterFilter on DateTime property

    I am very new to Coherence, trying to learn... We're using Coherence 3.7, and trying to get ContainsAllFilter on string[] property and GreaterFilter on DateTime to work. Java side implements hashCode (using Arrays.equals and RawDateTime) and equals on my POF; dotnet side also implements GetHashCode and Equals; in both cases, filters return with 0 result collection. What am I doing wrong? Thank you very much!

    Thanks for the response. I have included my Java object below.....where in this would I convert to the SQL Timestamp? Do you mean, that I would be storing the SQLTimestamp rather than RawDateTime as part of this object?
    public class RflxJournalEntry implements PortableObject {
         public RflxJournalEntry(){}
         public enum JournalOperation
              INSERT,UPDATE,DELETE;
         private JournalOperation operationType;
        private RawDateTime operationTime;
         private String process;
         private String version;
         private String username;
         private String tradeId;
        private int sequenceId;
         private RflxJournaledTrade updateList;
        private RflxTrade trade;
         @SuppressWarnings("unchecked")
         @Override
         public void readExternal(PofReader reader) throws IOException {
              setOperationType(reader.readInt(0));
              setOperationTime(reader.readRawDateTime(1));
              setProcess(reader.readString(2));
              setUsername(reader.readString(3));
              setTradeId(reader.readString(4));
              setSequenceId(reader.readInt(5));
              setUpdateList((RflxJournaledTrade)reader.readObject(6));
              setTrade((RflxTrade)reader.readObject(7));
              setVersion(reader.readString(8));
         @Override
         public void writeExternal(PofWriter writer) throws IOException {
            writer.writeInt(0, getOperationType());
            writer.writeRawDateTime(1, getOperationTime());
            writer.writeString(2, getProcess());
            writer.writeString(3, getUsername());
            writer.writeString(4, getTradeId());
            writer.writeInt(5, getSequenceId());
            writer.writeObject(6, getUpdateList());
            writer.writeObject(7, getTrade());
            writer.writeString(8, getVersion());
         public void setOperationType(int operationType) {
              this.operationType = RflxJournalEntry.JournalOperation.values()[operationType];
         public int getOperationType() {
              return operationType.ordinal();
         public void setProcess(String process) {
              this.process = process;
         public String getProcess() {
              return process;
         public void setUsername(String username) {
              this.username = username;
         public String getUsername() {
              return username;
         public void setTradeId(String tradeId) {
              this.tradeId = tradeId;
         public String getTradeId() {
              return tradeId;
         public void setOperationTime(RawDateTime operationTime) {
              this.operationTime = operationTime;
         public RawDateTime getOperationTime() {
              return operationTime;
         public void setSequenceId(int sequenceId) {
              this.sequenceId = sequenceId;
         public int getSequenceId() {
              return sequenceId;
         public void setUpdateList(RflxJournaledTrade updateList) {
              this.updateList = updateList;
         public RflxJournaledTrade getUpdateList() {
              return updateList;
         public void setTrade(RflxTrade trade) {
              this.trade = trade;
         public RflxTrade getTrade() {
              return trade;
         public void setVersion(String version) {
              this.version = version;
         public String getVersion() {
              return version;
    }

  • [svn:osmf:] 13227: PARB changes: Rename ViewTrait to DisplayObjectTrait, rename view property to displayObject property, and rename ViewEvent to DisplayObjectEvent.

    Revision: 13227
    Revision: 13227
    Author:   [email protected]
    Date:     2009-12-30 04:28:42 -0800 (Wed, 30 Dec 2009)
    Log Message:
    PARB changes: Rename ViewTrait to DisplayObjectTrait, rename view property to displayObject property, and rename ViewEvent to DisplayObjectEvent. Renaming trait implementing classes accordingly, and updating framework client code and unit tests.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/.actionScriptProperties
        osmf/trunk/framework/MediaFramework/.flexLibProperties
        osmf/trunk/framework/MediaFramework/org/osmf/composition/CompositeMediaTraitFactory.as
        osmf/trunk/framework/MediaFramework/org/osmf/composition/ParallelViewTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/composition/SerialViewTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/content/ContentElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/display/MediaElementSprite.as
        osmf/trunk/framework/MediaFramework/org/osmf/display/MediaPlayerSprite.as
        osmf/trunk/framework/MediaFramework/org/osmf/display/ScalableSprite.as
        osmf/trunk/framework/MediaFramework/org/osmf/image/ImageElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/layout/DefaultLayoutRenderer.as
        osmf/trunk/framework/MediaFramework/org/osmf/layout/ILayoutTarget.as
        osmf/trunk/framework/MediaFramework/org/osmf/layout/LayoutContextSprite.as
        osmf/trunk/framework/MediaFramework/org/osmf/layout/LayoutRendererBase.as
        osmf/trunk/framework/MediaFramework/org/osmf/layout/MediaElementLayoutTarget.as
        osmf/trunk/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/MediaFramework/org/osmf/proxies/ListenerProxyElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/swf/SWFElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/MediaTraitType.as
        osmf/trunk/framework/MediaFramework/org/osmf/video/VideoElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestParallelElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestParallelViewableTrai t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestSerialViewableTrait. as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestTraitLoader.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/display/TestMediaElementSprite.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/display/TestMediaPlayerSprite.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/display/TestScalableSprite.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/gateways/TestRegionGateway.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/layout/TestDefaultLayoutRenderer.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/layout/TestMediaElementLayoutTarget. as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/layout/TesterLayoutTargetSprite.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/MediaTraitResolverBaseTestCase .as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithDynamicStre amingVideoElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithDynamicStre amingVideoElementSubclip.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithVideoElemen t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithVideoElemen tSubclip.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestListenerProxyElementAsSu bclass.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestProxyElementAsDynamicPro xy.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestTemporalProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestSeekTraitAsSubclass.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/DynamicListenerProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/DynamicMediaElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/DynamicProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/video/TestVideoElement.as
    Added Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/composition/CompositeDisplayObjectTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/events/DisplayObjectEvent.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamDisplayObjectTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/DisplayObjectTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestCompositeDisplayObje ctTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestParallelElementWithD isplayObjectTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestSerialElementWithDis playObjectTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/TestNetStreamDisplayObjectTrait. as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestDisplayObjectTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestDisplayObjectTraitAsSubcl ass.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/DynamicDisplayObjectTrait.as
    Removed Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/composition/CompositeViewTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/events/ViewEvent.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamViewTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/ViewTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestCompositeViewableTra it.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestParallelElementWithV iewTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestSerialElementWithVie wTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/TestNetStreamViewTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestViewTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestViewTraitAsSubclass.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/DynamicViewTrait.as

  • Property and Property Definition for a Node

    Hi all,
    While retrieving meta data for each node, I could not understand whether Property for a node represents meta data or Property Definition. Please provide a clear understanding and difference between the two.
    Second, is there a predefined fixed set of Property and Property Definition for a node (for any given portal application)?
    Provide inputs.
    Thanks,
    Shakti

    Hi Shakti,
    A node has two types of metadata -- the built-in system metadata such as node name, node path, node objectClass, create date, modified date, created by, etc -- visible via getXXX methods on the Node object, and the user-defined metadata.
    The system metadata applies to all nodes regardless of ObjectClass (and also to nodes without any ObjectClass).
    The user-defined metadata depends on the Node's ObjectClass. A node with no objectClass cannot have any user-defined metadata. A node with an objectClass can have the metadata defined by the ObjectClass's Property Definitions.
    Suppose Node n has ObjectClass "StringType", and StringType ObjectClass has two property definitions -- StringVal (single-valued string), and BinaryVal (single-valued binary). In this case, Node n can have zero, one, or two user-defined properties from the set 'StirngVal' and 'BinaryVal'.
    In short, a PropertyDefinition is a schema, part of the ObjectClass definition, whereas a Property is an instance of a PropertyDefinition attached to a node of the ObjectClass.
    -Steve

  • Create a property and make it promoted property in decoding stage

    I want to create a new property and make it promoted property in decoding stage.
    Is it possible ?
    If yes,then how it can be possible ?
    Prakash

    Hi Prakash,
    Check Rachit's reference article and code in the referenced website where in the Execute method of the custom decode pipeline you can add/create new property to the message's context. Actual code to do the same is
    inmsg.Context.Promote(_YourPropertyName, _YourPropertyNamespace,_YourPropertyValue);
    But what made you to doubt this functionality in decode stage? Do you have any requirement which made you raise this question?
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Dimension,Dimension Member,Property and Cube in BPC

    I am learning BPC. I've knowledge on relational database.
    Please help me in understanding Dimension,Dimension Member,Property and Cube.

    Hi,
    Please refer to the below link from help.sap:
    http://help.sap.com/saphelp_bpc75/helpdata/en/5A/69200C88AA40C9B18844A25259F147/frameset.htm
    This link will guide you through all the BPC concepts.
    Hope this helps.

  • How to get property and show itself in the Operator interface

    Hello, I suppose it's simple but I don't know to do.
    With Labview opertor interface, I would like to get a property of a step, for example the serial number or a local variable, and show its value in an labview indicator. Only that.
    Thanks.

    Hi,
    You can use UIMessages. See http://zone.ni.com/devzone/cda/tut/p/id/4532
    Example show you how to for TS 3.0 or greater
    Regards
    Tom Andres Lomsdalen, CTD

  • LabVIEW 2009 3D Plot has no Loose Fit property and Axis AutoScale does not function at run time ?

    I cannot find a Loose Fit property for the new 3D plots (waterfall, ribbon) in LV 2009.  As a result, my data range of 1402 to 1407 ends up on a Z axis range of 1400 to 1500 and looks like a flat line.
    The Z Active Axis properties Range Maximum and Range Minimum can be used to set the range but the Z Axis Autoscale property had to be changed to False using either the front panel Plot Properties at edit time or using the Range Auto Scale property at run time on the block diagram.  It could not be changed at run time by popping up on either the plot border or on the Color Palette.
    In edit mode, R-clicking on the Color Palette's AutoScale Z did not make that property toggle or stick and did not change its function.
    At run time, there are two AutoScale Z selections shown.  One along with the X and Y scales and another by itselfat the bottom.  Again, clicking the one that is part of the X and Y axis did not make its setting stick and did not have an effect.  What does happen though is that the other AutoScale Z shown at the bottom of the Color Pallete popup does toggle its state.  But clicking on the AutoScale Z shown at the bottom does not toggle its state.
    The grey border region of the plot area contains at run time, popup setting for X,Y and Z AutoScale that likewise have no effect.
    Or am I missingsomething ?
    Message Edited by SteveP on 08-15-2009 07:55 PM
    Attachments:
    LV 2009 3D Plot Axis Autoscale.vi ‏18 KB

    Steve,
    you should be able to successfully change the scales based on the min and max values as long as you explicitly turn off autoscale. In your program, I just right-clicked the  Range Auto Scale property selected "change to write", then made a control so that I could set the value myself. Clean up the broken wires, and the program runs like it's supposed to - resetting it's scale range: 
    is this the result you wanted? 
    Misha

Maybe you are looking for

  • Internet connection suddenly slow for iMac but OK for iPad and iPod

    A few days ago the  WIFI internet connection on my iMac suddenly became so slow as to be unusable. However my iPad and iPod Touch on the same network still connect as normal. I have tried everything I can think of together with some ideas posted on v

  • Need help setting up WRT54G as wireless bridge/repeater

    I currently use a WRT54GS as a wireless router.  It is located downstairs and can't be moved.  I have a few devices upstairs that can't connect to the router because of a weak signal.  I can not run a cable upstairs and have a second WRT54G router th

  • Blinking templates

    I'm creating a site using templates. When I preview the site in Safari or Firefox, the site blinks every time navigating to a different page. - or actually in Safari it's only the swf animation, inserted in the header as my logo that blinks, the othe

  • Keywords in website now underlined hyperlinks

    In my website, my keywords now have become underlined and are pop-ups to other websites. How do you stop that? This is new. Never did this before.

  • Sequence to installing drivers for my GE60

    What should be the sequence in which I install the drivers? Should I install all the ones by Intel first, or graphics card then network then sound?