Questions tagged [dashcode]

Dashcode is a graphical IDE bundled in Apple Developer Tools and aimed at the development of Dashboard widgets and Safari Web applications (for both Mobile Safari and standard Safari browser).

Dashcode to create two types of projects:

  • Dashboard widgets—simple, lightweight applications that perform a single task in the Mac OS X Dashboard environment. Widgets are actually packaged webpages powered by standard web technologies such as Hypertext Markup Language (HTML), Cascading Style Sheets (CSS), and JavaScript.
  • Web applications—webpages that provide discrete functionality to users. Web applications also make use of web technologies such as HTML, CSS, and JavaScript. Dashcode helps you create mobile Safari web applications, which are also known as iPhone web applications (that is, web applications optimized to run in Safari on iPhone), and Safari web applications (that is, web applications optimized to run in Safari).

Dashcode’s integrated environment allows you to lay out, code, and even test widgets and web applications without opening any other applications. Its layout tools, composers, and editors simplify the process of creating all the resources these projects need. Dashcode also includes handy coding and debugging tools that help you manage and test the code you write.

166 questions
0
votes
2 answers

Dashcode mysql datasource binding

Hi I've got a tricky question (aren't they all tricky?) I'm converting a database driven site that uses php, to a site being built with Dashcode. The current site selects data held in a mySQL database and dynamically creates the page content.…
T9b
  • 3,312
  • 5
  • 31
  • 50
0
votes
1 answer

Apple Dashcode and Webservices

I am developing my first Dashboard Widget and trying to call a webservice. But I keep on getting XMLHTTPRequest status 0. Following is the code var soapHeader = '\n' …
0
votes
0 answers

Notification Widget in yosemite os

I want to create a notification widget (Using todays extension) which will have a dynamic layout. Example my layout will be like a table with two rows and 3 column, which can change to a table with 3 rows and 5 column in the future. Can we do this…
Vaibhav
  • 771
  • 2
  • 11
  • 23
0
votes
2 answers

Mobile Safari iPhone Development - Multiple buttons in a row

I'm an iPhone developer, but new to web development. I've done some basic HTML websites and made one in iWeb as well. I'm trying to branch out to mobile web development now, so I checked out Dashcode. Anyway, I'm trying to put a Call Button, Mail…
Thomas
  • 5,810
  • 7
  • 40
  • 48
0
votes
1 answer

How can I get Dashcode to open JSP files?

A simple tools question but it's driving me nuts. I have some .jsp files on my computer that I associated with Dashcode, figuring it would be a suitable editor. But when I try to open the files, all I get is a dialog box that says, "Dashcode cannot…
user332000
  • 187
  • 1
  • 1
  • 9
0
votes
2 answers

iAd Producer checkbox radio buttons?

I'm new to iAd Producer - what I'm really looking for is a replacement for Dashcode, since Apple seems to have abandoned it. But while it looks as though iAd Producer CAN produce iBooks Author widgets, it seems to be missing a few fundamental…
0
votes
2 answers

Using HTML from bundle to save cookies in UIWebView?

So I have a web page inside my bundle, which I load in a UIWebView. However, the page doesn't seem to be able to store any cookies, even though other (online) websites can. How do I get it to store my cookies?
tmoc
  • 1
  • 1
0
votes
2 answers

How do I embed a quicktime movie into an iphone web app using javascript?

I'm creating an iphone webapp in dashcode for the first time and I can not figure out the code for embedding a video into the webapp.I have an html file and have a few pages it switches between but I need to create a function in javascript so when I…
Colin Gray
  • 79
  • 2
  • 11
0
votes
1 answer

RSS feed dashcode confusion

Does anyone know how I can parse an RSS feed, but using dashcode? I cannot for the life of me figure out a way to bypass the blocking.
GH.
  • 11
  • 1
0
votes
1 answer

Local HTML 5 database usable in Mac Dashboard wigdets?

I'm trying to use HTML 5's local database feature on a Mac Dashboard widget. I'm programming in Dashcode the following javascript: if (window.openDatabase) { database = openDatabase("MyDB", "1.0", "Sample DB", 1000); if (database) { …
Pompair
  • 7,083
  • 11
  • 60
  • 69
0
votes
3 answers

How to set popup menu values programmatically in Dashcode

I am trying to set the values for a popup menu in Dashcode programmatically. I can change the text/value of some statically defined default ones (from the inspector), but not add or remove them. When the view is initialised it must take a variable…
gub
  • 5,079
  • 3
  • 28
  • 33
0
votes
1 answer

How to add more than 2 views to a view stack?

I have been having problems simply adding more than 2 views to the stack through the Dashcode GUI interface. I have seen how to do that programmatically, but is there a way to statically keep extra views within the stack? I am actually okay with…
ConnorD
  • 21
  • 3
0
votes
5 answers

How might I populate an object property using a JSON-encoded server response?

How can i turn this: ...into this: _rowData: [ { name: "Most Recent", view: "recentView" }, { name: "Most Popular", view: "popularView" }, { name: "Staff Picks", view: "staffView" } ], My script…
tarnfeld
  • 25,992
  • 41
  • 111
  • 146
0
votes
1 answer

Dashboard: providing user feedback by changing button label

What I want is to provide user feedback about operation status through button label. Initially the button says "save", once clicked I want to change the label to "saving..." enter another function and once the function returns change the label to…
Zsolt
  • 423
  • 1
  • 4
  • 4
0
votes
1 answer

Switched to Snow Leopard: HTTP-Requests stopped working in simulator (WebApp)

I've created a web app in Mac OS 10.5 which receives data by sending http requests like this: var http = new XMLHttpRequest(); var url = "http://www.test1234.com/data.php?param1=" + param1 + "¶m2=" + param2 + "¶m3=" +…
user214570