Author Archives: pgfeldman

Mike 2.12.10

Started work on a way to upload and manage custom map icons:

  • Created a new upload servlet similar to the file ingest one
  • This one also manages an index xml file which contains the filename and a title designated by the user
  • The index file will be required by the Flex component for loading the icon files

Dong 02.12.2010

  • cleaned up DataTypes.as
  • set default data type to VARCHAR in TableMgmtDG
  • separated all inline item renderers from TableMgmtDG and put in renderers directory
  • tested IngestManager with Phil’s new changes; seems to be working fine…
  • having weird problem with TableMgmtDG again….. It seems that the reloading of the same table wipes out the TextInput enable/disable control. Tried various things; cleaning out dataProvider, invalidateEVERYTHING. It looks like the DataGrid controls keeps haunting me. Ugh!
  • resolved the above problem by setting the enabled property explicitly by looking at the “VARCHAR” in data setter. The problem is that sizeEnabled = true in DataTypes in initialization and the ItemRenderer and DataGrid doesn’t want to create new components for the new data provider if there is existing components! It just replaces the data for existing components and creates new ones if new rows are needed.

Phil 2.12.2010

7:30 – 3:30

  • Tried to go to the Fort this morning, but traffic was *terrible* will swing by on the way home
  • Looking into why panels don’t show their graph properly when reloaded. Fixed, I think.
  • Having Dong test Ingest Manager after I removed about 500 lines from UsersAndRoles.java
  • More stuff with Dave Roche. I got his data uploaded and working. Added a “hexColor” magic word for maps
  • Need to make sure that panels don’t load data that the user doesn’t have the role to see.

Phil 2.11.2010

3:00 – 4:00

  • Worked with Dave Roche on getting a VISIBILITY compatable spreadshhet. Got it. Need to fix a few things and read in tomorrow
  • Talked to Dong about a flex problem he was having

Phil 2.10.2010

9:00 – 5:00

  • Remarkably, it’s snowing again. So work will be interspersed with shoveling. Sort of the lunchtime ride
  • Spent about ½ hour getting everything set up, but everything seems to be working now. Note: don’t deploy! The edge repo is not visible! Seeing if Mike can help with the VPN.
  • Now that group load is working, going to work on group save
  • Got the saved group dashboards showing. Need to know which context – group or individual- is selected so that the appropriate save can be made (addDashboard() vs. addGroupDashboard(). Done!
  • Look through load to make the decision on which chart to display based on strings? There is a lot more going on with QueryWidgets and TrendWidgets. This may be a better thing for Mike to take a look at?
  • Need to make sure that user roles are used when getting the data from a table. It’s possible with saved dashboards to get at information that you shouldn’t see.

Dong 02.11.2010

  • Spent some time trouble shooting TableMgmtDG’s ComboBox item renderer; turned out, overriding of data setter and IList(DataGrid(owner).dataProvider).itemUpdated(this.selectedIndex) are required to properly update the datagrid’s all components (item renderers).
  • Fixed a bug not updating table structrures
  • Enabled the changing of existing table structure, but decided to leave it for later

Dong 02.10.2010

  • validator for date and time format on DataEditorField using 2009-08-24 13:01:36.0 format returned from MySQL
  • rework CreateTableCanvas and ManageTableCanvas for new layout and added icons
  • added uid for CreateTableCanvas, but decided to make it invisible for both creation and modification
  • trouble shooting the TableMgmtDG not working correctly; whenever data type changes, cannot get the size to update correctly.

Dong 02.09.2010

  • basic layout and navigation of data finished on DataEditorWindow
  • added _queryStr to DatabaseList to refresh the data with stored query
  • DataEditor can now store edited data; varchar and int working

Phil 2.9.2010

11:00 – 4:00

  • Spent the morning shoveling my folks out.
  • Infotek meeting was canceled. May reschedule or try as a phone call.
  • Working on Group Save/Load. Load is done. Save next.

Dong 02.08.2010

  • cleaned up in DBFormBuilder and other panels to use default width and height of 100%
  • fixed datagrid displaying the columns in wrong order by pre-setting the column headers
  • need to figure out how to set column header for DatabaseList
  • basic layout and navigation of data complete for DataEditorPanel
  • started on DataEditorWindow

Phil 2.8.2010

11:00 – 3:30

  • Snowpocalypse. Not easy getting in today.
  • Rolling in Mike’s changes – all the changes work, though we lost which chart is being shown on the load dashboard. Need to look at that
  • Deployed to Laureldemo and burned a disk for S2F
  • Back to group dashboards – nearly have the group dashboard pull working. After that, I need to be able to do the save, which is going to need to use the pull for the categories.
  • Removed some duplicate code. Dong and I are kind of stepping on each others work %-b
  • Helped Mike with maps. He’s up and running now.

Phil 2.5.2010

7:30 – 12:30, 2:30 – 6:30

  • Quiet day, waiting for the snow to start.
  • Talked to Dong about how to do alerts. We talked about having a table (table_alerts?) having an id, state (RELEASE, DEBUG, DISABLED, etc), time to execute, and a script. After poking around for a while, I think jython might be good for this. Here’s a description of how to call the jython interpreter on some python code within java: http://www.seanet.com/~bugbee/python/jython4.html. More later, after the group save.
  • Got Mike’s additions to the code that fix the number/string issue. Need to incorporate and validate. Also spent some time corresponding about the KF system project.
  • More work on group save. Needed to change how the test code created a user with groups, which led to some other things, etc. The next steps are going to be to build a list of all groups that the user can ‘see’, and then compare them against the FlexTree that comes back from the getGroupDashboardTree() method. Which means I need a way to look through the FlexTree. Monday.
  • Leaving early because of snow.
  • Worked from home, trying to get code talking to the SpaceNavigator. I can talk to it, but I can’t get any readings. Grr.

Dong 02.05.2010

  • added Rebuild Database to main menu
    • only accessible through root account
  • added createDatabase to re-create the database structure
  • fixed a bug in TableManagement; unable to change field type on new tables
  • working on table data editor
    • DataGrid editor or individual record editor?
    • this requires an unique id for each record
    • started with individual record editor

Phil 2.4.2010

7:30 – 4:00

  • Worked on getting “go visibility” working
  • Adding in group dashboard save. While I’m at it, adding in some better testing for UsersAndRoles.java
  • Got the “AddGroupDashboard()” method working and tested. Next is to return a group tree like the user tree. Can’t use the getDashboardTree() method becuase we’re federating across groups rather than users. The groups returned need to be the one’s that are visible to the user as well, so that makes things different.

Dong 02.04.2010

  • added executeMultiple to Query to handle set of SQLs to be executed, this cuts down number of response event handlers.
  • created SQLIf to generalize SQLs
  • tested creating and exploring database views…. not very workable on inserting