View Full Version : [CLOSED] userClassName, userAlias not in Configpanel and not able to add them
23 Aug 2012, 6:24 AM
Architect Build tested:
userClassName and userAlias aren't shown in the Config Panel. When I try to add them, then I get the message "Attempted to add a property that allready exists"
Steps to reproduce the problem:
add a grid to the canvas, try to set userClassName
The result that was expected:
as in the description
The result that occurs instead:
as in the description
Screenshot, Project, or Video:
23 Aug 2012, 7:25 AM
I really need a solution for this ASAP.
What should I do, reinstall SA?
Can somebody confirm this bug on the GridPanel?
23 Aug 2012, 1:49 PM
Cannot confirm this bug. Can you create some screenshots/video? I suspect you're doing something unexpected in your workflow.
23 Aug 2012, 11:04 PM
As you see, the Viewport has the properties in Config, but the GridPanel.
I'm was not able to update to 558 over SA, I had to download an replace the ion file.
23 Aug 2012, 11:56 PM
I uninstalled SA and removed all the files from its directory and users AppData on Win7 then I reinstalled it again an have now the same issue. I'm not able to use the userAlias and userClassName of GridPanel in Config.
I'll send you the project archive too.
24 Aug 2012, 7:21 AM
This is not a bug, this is by design. userClassName and userAlias are only configurable on top level classes.
If you look at the code view you will see that these configurations go into the top of a class definition.
With the above example, MyChart is the userClassName and mychartalias is the userAlias.
Why are you trying to set these configurations? If its so you get a more meaningful name in the inspector, you should use the displayName config. This allows you to name the particular component you're working with, without affecting the code gen at all.
If you truly need a full subclass, you can right click on an individual node and click "Promote to Class". Once it has become a full subclass it will then have userClassName and userAlias.
26 Aug 2012, 9:53 PM
Yes, you have right. I forgot to promote my grid to a class :) - beginner trip, sorry
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.