dashcode

Dashcode - How do I get the name of a button from an event?

In Dashcode you can set up a handler for a behavior in the inspector. Here's a sample handler for a button click on a button I've named "mybutton1" in the Inspector: function myGetButtonName(event) { var e = event.target; alert(e.id); } The problem is, when the button is clicked and the alert comes up it says the ID of the bu...

Dashcode webapp flickers upon transition, only in iPhone Safari

I created a simple RSS web app using the template in Dashcode. Problem is, when choosing items in the list from the feed the transition flickers (even with the default settings). I am guessing its because of the images in the posts. I tried disabling the transitions completely but even then I get a flickering when returning to the list...

Dashcode: changing parameter of datasource does not work in Chrome

Hello, If I run the following code in runtime: var scheduleFromTo = dashcode.getDataSource("scheduleFromTo"); scheduleFromTo.setValueForKeyPath(102, "parameters.fromStationNumber"); scheduleFromTo.setValueForKeyPath(103, "parameters.toStationNumber"); it works as expected in Safari, Firefox, Opera and even IE7, but not in Google Chro...

How can I catch mouse drag events in a Dashcode widget?

I have an OSX widget written using Dashcode. Currently any mouse drag event causes the entire widget to move on the desktop. I wish to be able to click and drag within a canvas on that widget, but I don't seem to be able to prevent the OSX dashboard from moving the entire widget instead. I'm already capturing mouse movements quite ha...

Dashcode - fun with Value Transformers

I'm creating a Dashcode App that displays products that have won one or more awards. The Data Source has a column/field for each award that the product may win (products may win multiple awards). The column has 'Y' if they won that award and is null if they didn't. So I'm binding the column from the data source to an image object and ...