Several object add to one object problem

Hi All
I learn Java object concept from Beginning Java Object Book. I have a question to solve the exercise problem (chapter 14).
I have 10 Classes, Some of them are : Section , SchedulleOfClasses, Course Class.
The relationship between Section and SchedulleOfClasses is aggregation, and One Course can have several course.
Now, i try to make two schedulle semester (ex SP2005 and SP2006) instance fo ScheduleOfClasses and each of schedulle has the same section ( i just make intance from Section in one time), for example for Section sec1 will be use for both semester (SP2005 and SP2006). However while i try to getSemester(), the result just print SP2006.
May be this code will help to figure out it
Main Method:
    public static ScheduleOfClasses scheduleOfClasses =
              new ScheduleOfClasses("SP2005");
    public static ScheduleOfClasses scheduleOfClasses2 =
              new ScheduleOfClasses("SP2006");
Section c1,c2,...,c7;
sec1 = c1.scheduleSection('M', "8:10 - 10:00 PM", "GOVT101", 30);
sec7 = c5.scheduleSection('M', "4:10 - 6:00 PM", "ARTS25", 40);
        // Add these to the Schedule of Classes.
        scheduleOfClasses.addSection(sec1);
        scheduleOfClasses.addSection(sec2);
        scheduleOfClasses.addSection(sec3);
        scheduleOfClasses.addSection(sec4);
        scheduleOfClasses.addSection(sec5);
        scheduleOfClasses.addSection(sec6);
        scheduleOfClasses.addSection(sec7);
      // Add these to the Schedule Of Classes2
        scheduleOfClasses2.addSection(sec1);
        scheduleOfClasses2.addSection(sec2);
        scheduleOfClasses2.addSection(sec3);
        scheduleOfClasses2.addSection(sec4);
        scheduleOfClasses2.addSection(sec5);
        scheduleOfClasses2.addSection(sec6);
        scheduleOfClasses2.addSection(sec7);
        System.out.println("====================");
        System.out.println("Schedule of Classes:");
        System.out.println("====================");
        System.out.println();
        scheduleOfClasses.display();
        scheduleOfClasses2.display();
{code}SchedulleOfClasses.java
{code:java}
public void addSection(Section s) {
        // We formulate a key by concatenating the course no.
        // and section no., separated by a hyphen.
        String key = s.getRepresentedCourse().getCourseNo() +
                 " - " + s.getSectionNo();
        sectionsOffered.put(key, s);
        // Bidirectionally link the ScheduleOfClasses back to the Section.
        s.setOfferedIn(this);
public void display() {
        System.out.println("Schedule of Classes for " + getSemester());
        System.out.println();
        // Iterate through all the values in the HashMap.
        for (Section s : sectionsOffered.values()) {
            s.display();
            System.out.println();
{code}
Section.java
{code:java}
public void display() {
          System.out.println("Section Information:");
          System.out.println("\tSemester:  " + getOfferedIn().getSemester());
          System.out.println("\tCourse No.:  " +
                       getRepresentedCourse().getCourseNo());
          System.out.println("\tSection No:  " + getSectionNo());
          System.out.println("\tOffered:  " + getDayOfWeek() +
                       " at " + getTimeOfDay());
          System.out.println("\tIn Room:  " + getRoom());
          if (getInstructor() != null)
               System.out.println("\tProfessor:  " +
                       getInstructor().getName());
          displayStudentRoster();
{code}The result after i instance the Student Class and other class
Line:-----
Schedule of Classes for {color:#ff0000}*SP2005*{color}
Section Information:
Semester:  SP2005
Course No.:  CMP283
Section No:  1
Offered:  M at 6:10 - 8:00 PM
In Room:  GOVT101
Professor:  Jacquie Barker
Total of 0 students enrolled.
Section Information:
Semester:  SP2005
Course No.:  CMP101
Section No:  2
Offered:  W at 6:10 - 8:00 PM
In Room:  GOVT202
Professor:  John Smith
Total of 1 students enrolled, as follows:
Fred Schnurd
Section Information:
Semester:  {color:#ff0000}*SP2006*{color}
Course No.:  CMP101
Section No:  1
Offered:  M at 8:10 - 10:00 PM
In Room:  GOVT101
Professor:  Snidely Whiplash
Total of 2 students enrolled, as follows:
Joe Blow
Mary Smith
Schedule of Classes for SP2006
Section Information:
Semester:  SP2006
Course No.:  CMP101
Section No:  1
Offered:  M at 8:10 - 10:00 PM
In Room:  GOVT101
Professor:  Snidely Whiplash
Total of 2 students enrolled, as follows:
Joe Blow
Line:-----
The Schedule of Classes for SP2005 still have SP2006 inside, i need someone to explain it to me?
any answer will be appreciated

take a look a Spry widgets - http://labs.adobe.com/technologies/spry/   or   Widget Browser - http://labs.adobe.com/technologies/widgetbrowser/

Similar Messages

  • Add Tags to Document tool put one object behind another or just deletes page content?

    Using Acrobat XI Pro to make documents 508 compliant PDF. I've had a number of issues went using Add Tags to document option, it’s put one object behind another or deleting it all together. Also had issues when trying to adjust the reading order, content is moved or deleted. This PDF is created from InDesing CS5
    Anybody know what I'm talking about or have any ideas about how to fix it? Thank

    Content should not ever be deleted by adding tags, but it may appear so since - as you note - objects may go into hiding behind other objects. In theory you can bring them out of hiding by rearrange things in the Order pane, but I have much better luck using the Content pane - it provides a much finer level of control. If text is hidden behind a shaded box, for example, I will move the box above the text in the Content order, then usually convert the box to an artifact if it is not one already.
    Hope this helps.
    a 'C' student

  • Can I have multiple stream types in one object?

    For my final project in my data commucnications class I'm writing a client/server socket application that will allow multiple clients to play TicTacToe simultaneously against the game on the server. The teacher is a C/C++ jock, and knows very little Java. We're free to choose any language that will do sockets, and I love Java and don't love C++.
    I've built the GUI, and got it to the point that I can reliably connect multiple clients on different machines in the school lab to the Server object, which accepts the new sockets and creates a new thread of ServerGame to do the playing in response to the client's moves. A mousePressed() detects clicks in the grid, and modifies a string to contain the status of the game. I've used a BufferedReader and PrintWriter combination on both sides, to send the GameString back and forth, starting with "---------", then the client makes a move and it changes to "X--------" and the PrintWriter sends it over and the ServerGame makes a move to "X---O----" and send it back, etc, etc. You get the idea. I have a ways to go with the implementation of strategy stuff for the ServerGame's moves, but I like it so far. But now I realize it would be really cool to add to it.
    What I want to do, since there can be multiple players, is have a way that it can be like a TicTacToe club. At any one time, it would be nice to be able to know who else is playing and what their won/loss record is. I plan a Player object, with String name, int wins, losses, ties, gets and sets. With Textfields and a Sign In button I should be able to send the Player name to the Server, which can look up the name in a Vector of Player objects , find the one that matches, and sends the Player object for that name over to the Client, and also provide it to the ServerGame. Each player's won/loss record will be updated as the play continues, and the record will be "stored" in the Server's vector when he "logs off". Updates shouldn't be too hard to manage.
    So, with that as the description, here's the question -- most streams don't handle Objects. I see that ObjectInputStream and ObjectOutputStream do. So -- am I headed for trouble in using multiple stream objects in an application? I suppose I could just use the object streams and let them send out a serialized String. In other words, I want to add this to my program, but I don't want to lose too much time finding out for myself if it works one way or the other. I already have working code for the String. Without giving too much away, can anyone give me some general guidance here?

    Anyway, here's the present roadblock that's eating into the time I have left. I've spent many happy hours looking for what I'm missing here, and I'm stumped, real-time.
    I found it was no problem to just send everything over and back with ObjectInputStream and ObjectOutputStream. From the client I send a String with the state of the game, and can break it down and code for decisions in the server as to a response and send the new String back to the client. I now have a Player class with Strings name and password, ints wins, losses, ties. I have a sign-in in the client GUI and old "members" of the club are welcomed and matched with their Player object stored in a Vector, and new members are welcomed and added to the Vector. My idea is to make the Vector static so the clients can have access to the Vector through their individual threads of the Game in the server. That way I should be able to make it so that any one player can have in his client window a TextArea listing who's playing right now, with their won-loss record, and have it updated, real-time.
    The problem is that in my test-program for the concept, I can get a Player object to go back and forth, I can make changes in it and send it back and have it display properly at either end after a change. What I'm aiming at in the end is the ability to pass a copy of the Vector object from the server to the client, for updating the status of everyone else playing, and when there's a win or loss in an individual client, it should be able to tell its own server thread and through that update the Vector for all to access. Sounds OK to me, but what's happening is that the Vector that goes into the pipe at the server is not the same as the Vector that comes out the pipe into the client. I've tried all the tricks I can think of using console System.out.println()'s, and it's really weird.
    I build a dummy Vector in the constructor with 4 Players. I can send a message to the server that removes elementAt(0), and tell it to list the contents of the Vector there, and sure enough the first element is gone, and the console shows a printout of the contents of all the remaining Player objects and their members. But when I writeObject() back to the client, the whole Vector arrives at the client end. Even after I've removed all the Player elements one by one, I receive the full original Vector in the client. I put it into a local Vector cast from the readObject() method. I believe that should live only as long as the method. I even tried putting clear() at the end of the method, so there wouldn't be anything lingering the next time I call the method that gets the Vector from the server.
    What seems the biggest clue is that now I've set up another method and a button for it, that gets the elementAt(0) from the server Vector, changes the name and sends it back. Again, after the regular call to get the Vector sent over, it shows in the server console that one element has been removed. And one by one the element sent over from (0) is the one that was bumped down to fill the space from removeElementAt(). But in the client, the console shows 4 objects in the Vector, and one by one, starting at (0), the Player whose name was changed fills in right up to the top of the Vector.
    So something is persisting, and I just can't find it.
    The code is hundres of lines, so I hesitate to send it in here. I just hope this somewhat lengthy description tips off someone who might know where to look.
    Thanks a lot
    F

  • Methods that return more than one object.

    Hello everyone,
    I don't know if this has ever been proposed or if there's an actual solution to this in any programming language. I just think it would be very interesting and would like to see it someday.
    This is the thing: why isn't it possible for a method to return more than one object. They can receive as many parameters as wanted (I don't know if there's a limit), but they can return only 1 object. So, if you need to return more than one, you have to use an auxiliary class...
    public class Person {
       private String name;
       private String lastName;
       public Person(String name, String lastName) {
          this.name = name;
          this.lastName= lastName;
       public String getName() {
           return name;
       public String getLastName() {
           return lastName;
    }So if you want to get the name of somebody you have to do this, assuming "person" is an instance of the object Person:
    String name = person.getName();And you need a whole new method (getLastName) for getting the person's last name:
    String lastName = person.getLastName();Anyway, what if we were able to have just one method that would return both. My idea is as follows:
    public class Person {
       private String name;
       private String lastName;
       public Person(String name, String lastName) {
          this.name = name;
          this.lastName= lastName;
       public String name, String lastName getName() {
           return this.name as name;
           return this.lastName as lastName;
    }And you would be able to do something like:
    String name = person.getName().name;and for the last name you would use the same method:
    String lastName = person.getName().lastName;It may not seem like a big deal in this example, but as things get more complicated simplicity becomes very useful.
    Imagine for example that you were trying to get information from a database with a very complex query. If you only need to return 1 column you have no problem, since your object can be an array of Strings (or whatever type is necessary). But if you need to retrieve all columns, you have three options:
    - Create 1 method per column --> Not so good idea since you're duplicating code (the query).
    - Create and auxiliary object to store the information --> Maybe you won't ever use that class again. So, too much code.
    - Concatenate the results and then parse them where you get them. --> Too much work.
    What do you think of my idea? Very simple, very straight-forward.
    I think it should be native to the language and Java seems like a great option to implement it in the future.
    Please leave your comments.
    Juan Carlos García Naranjo

    It's pretty simple. In OO, a method should do one thing. If that thing is to produce an object that contains multiple values as part of its state, and that object makes sense as an entity in its own right in the problem domain--as opposed to just being a way to wrap up multiple values that the programmer finds it convenient to return together--then great, define the class as such and return an instance. But if you're returning multiple values that have nothing to do with each other outside of the fact that it's convenient to return them together, then your method is probably doing too much and should be refactored.
    As for the "if it increases productivity, why not add it?" argument, there are lots of things that would "increase productivity" or have some benefit or other, but it's not worth having them in the language because the value they add is so small as to no be worth the increase in complexity, risk, etc. MI of implementation is one great example of something that a lot of people want because it's convenient, but that has real, valid utility only in very rare cases. This feature is another one--at least in the domain that Java is targetting, AFAICT.

  • Using one object in multiple threads

    Are there any drawbacks in using one instance of an object in several threads simultaneously, if this object has no instance variables?
    I need to implement DAO in my project and I just wonder why DAOFactory every time creates a new DAO object, when DAO object doesn't have any instance variables?

    Are there any drawbacks in using one instance of an
    object in several threads simultaneously, if this
    object has no instance variables?
    I need to implement DAO in my project and I just
    wonder why DAOFactory every time creates a new DAO
    object, when DAO object doesn't have any instance
    variables?I don't think there are any problems with this. Since you have no instance variables there isn't really any overlap between the two threads.

  • ADF how to add an existent object to collection

    I have three tables,
    PRODUCT, PRODUCT_GROUP, PRODUCT_GROUP_LINK.
    relationship between tables is
    PRODUCT_GROUP (one-to-many) PRODUCT_GROUP_LINK (many-to-one) PRODUCT
    Problem is,
    I can not add a new record to the PRODUCT_GROUP_LINK table with ADF :(
    If I use "Create" button for Iterator "ProductGroupLinkCollection",
    after "Commit" command ADF automatically try add new PRODUCT_GROUP,
    but I need to use existent PRODUCT_GROUP from PRODUCT_GROUP table.
    What do you think about this problem?
    Thanks.

    Hi Arum,
    What I would most suggest is reading the ADF Developer's Guide (For Forms/4GL developers, if that describes your background). Before you start creating your web UI, you need to create business components. From your description of this problem, you'll need at least the following:
    - An entity object based on PRODUCT_GROUP_LINK (by default, it will be called ProductGroupLink).
    - A view object based on that entity object (by default called ProductGroupLinkView).
    - A view object based on a query along the lines of "SELECT ID, NAME FROM PRODUCT_GROUP" (say, ProductGroupView)
    - A view object based on a query along the lines of "SELECT ID, NAME FROM PRODUCT" (say, ProductView).
    - An application module with instances of all three view objects
    When you have all that, you'll want to let the user select a row from ProductGroupView and one from ProductView, and use the ID attributes for those rows to create a new row for ProductGroupLinkView. (You could make the ProductGroupLinkView instance a detail of either ProductGroupView or ProductView, which would automatically populate one of the attributes. There's a way to make a VO instance a detail of two others, but IIRC it's a lot more trouble than just populating the other attribute manually.) That will have the effect of adding an existing product to an existing product group.
    But check out the ADF developer's guide first. There's also a very good book, by Peter Koletzke and Duncan Mills, called "Oracle JDeveloper 10g for Forms Developers", that is very useful if you're not very familiar with business components.
    Best,
    Avrom

  • When I create a scorm object there is one issue with browser IE and one error message appairs

    Hi at all,
    I have one great problem with IE browser.
    My name is Dario and I work for one italian's society that occupated to training for employees.
    Now I have created any scorm objects with several parts of video of 14 minutes each one.
    When I use Chrome or Firefox I have no problem and all work fine. But with IE (many versions for example 8,10,11) there is one issue.
    When the user has finished to watch all videos, close the window and one window's error appairs with this wording.
    commit failure: typerror: impossibile recuperare la proprietà first child di un riferimento nullo o non definito
    xml parser error:
    code= -1072896682
    reason= non valido al primo livello del documento
    line=1
    srscText= malformed request
    xml_file= malformed request
    What's the problem? How Can I solve?
    I am desperate, I hope that everybody help me
    Thanks a lot
    Best regards
    Dario

    Re:  filtering with merged cells
    I suspect you just added some merged cells that span more then one row.
    The best solution is use a backup copy of your workbook from a previous day and to stop merging cells.
    Centering text across columns creates an appearance similar to merged cells and doesn't cause problems.
    If you don't have a workbook backup copy and can confirm that the problem is caused by merging multiple rows, I have a possible vba code solution for you.
    Jim Cone
    Portland, Oregon USA
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

  • How can you copy properities from one object to another?

    If you create a number of boxes and then decided to change the color of all of them (or add a stroke, shadow, etc), is there a way to copy your style from one to the others?  In Photoshop you can copy layer styles, so you don't have to re-do everything for every layer you want the styles to be on.  How is this done in InDesign (CS3)?
    Thanks.

    From the object styles panel. Click on the object, define style (new object style), click on the next object, apply that new style. Even quicker than copy/paste. Then, if you make a change to the style, all objects are updated. Just want to do one?  Alter the object itself (and create a new style while you're at it ).

  • How do I display AS3 Object in only one state?

    I created a AS3 object from a SWFLoader class as an animation, which I then place in a Flex stage.  I need to display the object programmatically in only one state but there is no "includeIn()" method to include it in just one state.
    Right now, it is showing up on all of the flex states.  I add this object at different times and positions in the state.  Everything is fine except it displays in all the states.
    How do I display a AS3 object in only one state?
    Thank you.

    When i use visible property as you suggested, it works, but only on one object.  I am generating more than one of these objects, so there could be 3 or 4, etc of these objects displaying concurrently at different x y positions in the state.
    Is there a way to grab all of the objects created by this AS3 class at once and apply the visible property?
    thanx

  • How-to move objects (users) from one ou to another using Powershell and an XLSX

    Hi all,
    I have a spreadsheet that has headers. I need to move all of the objects on this exception report to the proper OU (all going to the same OU).
    The header that validates the need to move is called "Display Name".
    The process now is as follows.
    1) Copy displayname
    2) Open AD search
    3) enter display name in find box
    4) locate object
    5) right click object in results and click move.
    6) move to the OU "Home.test.com/uk Online/Users OU/Business Process"
    --- How can i use Import-CSV to automate this process?
    Thanks for any help, there is about 4K lines on this sheet and it normally takes about 25 days of "busy work" to accomplish this, then 5 days later I have to re-run the report and start over.
    Josh
    Josh Borges

    Hi Josh,
    This assumes that you can save your file as an actual CSV file:
    $skippedUsers = @()
    Import-Csv .\userList.csv | ForEach {
    $displayName = $_."Display Name"
    $user = Get-ADUser -Filter "DisplayName -eq '$displayName'" -Properties DisplayName
    If ($user.Count) {
    $skippedUsers += $displayName
    Else {
    $user | Move-ADObject -TargetPath 'OU=Business Process,OU=Users OU,OU=uk Online,DC=home,DC=test,DC=com' -WhatIf
    If ($skippedUsers) { Write-Host 'The following users could not be moved automatically:' -ForegroundColor Red ; $skippedUsers }
    Do you have to use the display name property? That's not guaranteed to be unique, so you might run into problems. The script above will not attempt to move the user if more than one is returned by the command.
    EDIT: I've also added -WhatIf to Move-ADObject. Now the command won't actually move your users, it will just tell you about it. Remove it if you're happy with the output.
    Don't retire TechNet! -
    (Don't give up yet - 12,420+ strong and growing)

  • How to add an item object as a child for a specified parent node in AdvancedDataGrid in Flex?

    Hi all,
              This is the code, to add a object as a child into a specified parent node in AdvancedDataGrid in flex.
    <?xml version="1.0" encoding="utf-8"?><mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onCreationComplete()" width="100%" height="100%">
    <mx:Script><![CDATA[
    importmx.controls.Alert; 
    importmx.collections.IHierarchicalCollectionViewCursor; 
    importmx.collections.IHierarchicalCollectionView;  
    importmx.collections.ArrayCollection; [
    Bindable]private var objectAC:ArrayCollection = newArrayCollection(); 
    //This method is used to construct the ArrayCollection 'flatData' 
    private function onCreationComplete():void{
    var objOne:Object = newObject(); objOne.name =
    "Rani"; objOne.city =
    "Chennai";objectAC.addItem(objOne);
    var objTwo:Object = newObject(); objTwo.name =
    "Rani"objTwo.city =
    "Bangalore";objectAC.addItem(objTwo);
    var objThree:Object = newObject(); objThree.name =
    "Raja"; objThree.city =
    "Mumbai";objectAC.addItem(objThree);
    //This method is used to add one object as a child item for the parent node 'Rani' 
    private function addChildItem():void{
    var dp:IHierarchicalCollectionView = groupedADG.dataProvider asIHierarchicalCollectionView;  
    varcurent:IHierarchicalCollectionViewCursor = groupedADG.dataProvider.createCursor();  
    var dummyParentNode:Object = {name:"Rani", city:"New Delhi"};  
    var obj:Object = null; 
    while(curent.current){
    // To get the current node objectobj = curent.current;
    // Add Child item, when depth = 1 and Node name should be "Rani" 
    if (curent.currentDepth == 1 && obj["GroupLabel"] == "Rani"){
    dp.addChild(curent.current, dummyParentNode);
    curent.moveNext();
    groupedADG.dataProvider = dp;
    groupedADG.validateNow();
    groupedADG.dataProvider.refresh();
    ]]>
    </mx:Script> 
    <mx:AdvancedDataGrid id="groupedADG" x="10" y="15" designViewDataType="tree" defaultLeafIcon="{null}" sortExpertMode="true" width="305" > 
    <mx:dataProvider> 
    <mx:GroupingCollection id="gc" source="{objectAC}"> 
    <mx:grouping> 
    <mx:Grouping> 
    <mx:GroupingField name="name"/> 
    </mx:Grouping> 
    </mx:grouping> 
    </mx:GroupingCollection> 
    </mx:dataProvider> 
    <mx:columns> 
    <mx:AdvancedDataGridColumn headerText="Name" dataField="name"/> 
    <mx:AdvancedDataGridColumn headerText="City" dataField="city"/> 
    </mx:columns> 
    </mx:AdvancedDataGrid> 
    <mx:Button x="10" y="179" label="Open the folder 'Rani'. Then Click this Button" width="305" click="addChildItem()" /> 
    </mx:Application> 

    Hi,
    It's not possible to 'append' a StringItem or a TextField (or any other lcdui.Item object) to a Canvas or GameCanvas. You can only draw lines, draw images, draw text, etc etc, on a Canvas screen. So, you can only 'simulate' the look and feel of a TextField (on a Canvas) by painting it and adding source code for command handling (like key presses). However, this will be quite some work!!
    lcdui.Item objects can only be 'appended' to a Form-like Displayable.
    Cheers for now,
    Jasper

  • How to add a field object to group header section in crystal report document?

    Hi All, I have got two questions mentioned below, please share your inputs. 1)I want to know whether it is possible to add a field object to header section in crystal report document programmatically? I am using crystal runtime for visual studio. I know that using RAS we can do it, but I want to do it using managed library of crystal runtime. Please suggest. 2) I am doing a POC where I am using RAS (unmanaged library) to manipulated crystal report document. Please see code below: var dbTable = _reportDocument.ReportClientDocument.DatabaseController.Database.Tables[0]; var dbField = dbTable.DataFields.FindField(item.ColumnName,                         CrystalDecisions.ReportAppServer.DataDefModel.CrFieldDisplayNameTypeEnum.crFieldDisplayNameName,                         CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleEnglishUS); CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject fieldObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();                     fieldObject.DataSourceName = dbField.Name;                     fieldObject.FieldValueType = dbField.Type; var groupHeaderArea = _reportDocument.ReportClientDocument.ReportDefController.ReportDefinition.GroupHeaderArea[0].Sections[i]; _reportDocument.ReportClientDocument.ReportDefController.ReportObjectController.Add(fieldObject, groupHeaderArea); In above code last line throwing exception : "The report field type is not valid." at CrystalDecisions.ReportAppServer.Controllers.ReportObjectControllerClass.Add(ISCRReportObject ReportObject, Section Section, Int32 nIndex) Thanks, Jai

    Hi Jaikumar
    As per the SCN Rules of engagement, one question per thread please.
    Re. your 1st question. Adding a field to a report is considered to be a report creation APIs (RCAPI). Only the RAS SDK has RCAPIs, so you can not use plain jane crystal APIs. For how to with RAS, see the examples here: NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Also, consult the Developer Help Files:
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Re. your second question, please create a new discussion.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to add a container object in a station globals

    Hi,
    How to add a container object in a station globals

    Hi radlou,
    This might be what you're looking for:
    NewSubProperty Method
    Syntax
    PropertyObject.NewSubProperty ( lookupString, ValueType, asArray, typeNameParam, options)
    Purpose
    Creates a new subproperty with the name the lookupString parameter specifies.
    Parameters
    lookupString As String
    [In] Pass the lookup string for the new subproperty to be created. If you pass a lookup string with multiple levels (such as "x.y.z"), this method creates all of the necessary intermediate container objects. Refer to lookup string for more information about the strings you can use.
    ValueType As PropertyValueTypes
    [In] Pass the type of value you want the new subproperty to store.
    asArray As Boolean
    [In] Pass True to make the new subproperty an array whose elements are of the type you specify in valueType.
    typeNameParam As String
    [In] Pass the name of an existing type if you want to create the new subproperty as an instance of a named type. Otherwise, pass an empty string. If you pass a type name, you must pass PropValType_NamedType for the ValueType parameter. Refer to NamedPropertyTypes for a list of built-in named types.
    options As Long
    [In] Pass 0 to specify the default behavior, or pass one or more PropertyOptions constants. Use the bitwise-OR operator to specify multiple options. You do not need to pass the InsertIfMissing option to create the new subproperty. Pass DoNothingIfExists if you want the method to not report an error if the subproperty already exists.

  • What's your fastest way to center align two objects without moving one of them?

    I will greatly appreciate your tips.

    Use the align palette and set one object as a key object. Choose align to: and set that to key object(if not already set)
    Select one group
    Shift click to add the next group to the selection
    then click on an group again to set this as a key object (the outline will turn bold since CS4 to signify the is a key object)
    choose an alignment in the align panel

  • Add more hot objects

    Hello,
    I'm trying to add more than the default 8 Hot Objects to one
    interaction. I actually need 16 options. I've looked through the
    help files and can't find anything that will allow me to add more
    objects. I've created them, but they don't show in the Component
    Inspector even after all the instances have been properly named.
    Any suggestions or am I just out of luck on this one?
    Thanks!

    It is the File->New, Templates Tab "Quiz" Select any quiz
    ( I choose 1) and
    it is frame 4.
    It appears it only handles 8. Select the off stage "Hot
    Objects Interaction"
    and Modify->Break Apart and then explore it in the
    Windows->Components
    Inspector where you link the Hot Object instances.
    Lon Hosford
    www.lonhosford.com
    Flash, Actionscript and Flash Media Server examples:
    http://flashexamples.hosfordusa.com
    May many happy bits flow your way!
    "Chris Georgenes" <[email protected]> wrote in
    message
    news:e6l8gk$l0q$[email protected]..
    > thanks for the clarification - i have never heard of a
    Hot Objects
    > Learning Interaction before - is that a special
    component or template?
    >
    > ******************************************
    > --> **Adobe Certified Expert**
    > --> www.mudbubble.com
    > --> www.keyframer.com
    >
    >
    >
    >
    > gjq wrote:
    >> Hi Chris,
    >> I'm developing an online course using a Hot Objects
    Learning
    >> Interaction. When you break the interaction apart
    and the Component
    >> Inspector opens, the developer screen only shows 8
    possible hot object
    >> options (default 8). I need to add 8 add'l hot
    objects to this one
    >> interaction and even tho' I have changed the the
    action script in the
    >> super class and hot objects action scripts to call
    for 16 hot objects,
    >> the component inspector interface still only
    displays 8 possible objects.
    >> I am not an expert in any of this and I was hoping
    someone could help add
    >> the add'l objects and correct the AS to work
    properly.
    >>
    >> Hope this answered you question.
    >> GJQ
    >>

Maybe you are looking for

  • Which noises made by the laptop's HDD are considered normal, and which shouldn't be?

    I got a replacement for a rather recent MacBook Pro 2012 model, which is the one that corresponds to the 15-inch screen, 2.3 Ghz Intel Core i7 processor. This new computer probably has around 3 weeks since I got it from the store. I have to clarify t

  • File to File - no mapping

    Hi,     I want to transfer files from one FTP location to another FTP location. No Mapping is involved, just file transfer. Please let me know the steps. Is Interface mapping & Message Interface is required ??  Is it possible to transfer without crea

  • CS4 crashing problems - will the update help

    hi I upgraded to CS4 early this year, but have long since given up on it, since every time I use CS4, either on my (Toshiba Qosmio) laptop or on my (Dell 690) Desktop PC, it crashes with ridiculous regularity (I think around 20 mins is I think the lo

  • Cracked version

    I had a cracked version of Photoshop 8. I delete it, clean applications file with cleanmymac2. Now I pay for Adobe CC, but I can't open Photoshop. when it open a window appears and it's written: impossible to initialize Photoshop because of an progra

  • Credit card info

    How do I remove my credit card information?