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
1 answer

ready-to-use xmlRequest snippet returns status code 0 on a call

I'm creating a very basic dashcode widget. I'm using customized snippets from Apple: xmlRequest setup and xmlLoaded. Below is my code function sendURL(){ // Values you provide var textField = document.getElementById("searchqeue"); //…
xaddict
  • 1,302
  • 3
  • 19
  • 38
0
votes
1 answer

Dashcode and Adobe Air

Can Dashcode be used to compile and run Adobe Air projects? If so, how?
Ken
  • 30,811
  • 34
  • 116
  • 155
0
votes
1 answer

Dashcode widget for displaying HTML

I need a Dashcode widget to display basic HTML like 5 bronze badges Result: 5 bronze badges It should be something like a text label, but modifiable by JS code.
yolo
  • 2,757
  • 6
  • 36
  • 65
0
votes
1 answer

How to fetch the selection of pop-up menu and then zoom out?

How can I fetch the selection of a pop-up menu after the user has selected "his" item and then pressed "Done"? The selected can be displayed with: var clicked = document.getElementById("popup").value; alert(clicked); And, how can I zoom out,…
Bosstone
  • 189
  • 1
  • 12
0
votes
2 answers

Dashcode - how do you combine two values from one datasource

In Dashcode, if I have a dataSource that has, for example, 2 fields called 'FirstName' and 'Last Name', how do I concatenate the 2 fields into one text field in a list view? I'm fairly sure it must be to use a value transformer, so say that I assign…
MikeyB
  • 138
  • 2
  • 8
0
votes
1 answer

Plain text automated email encoding

Have made an automated plaintext email in php to be sent to the user upon registration. However, the sign off includes an en dash. I have tried &ndash ; &# 8211; and &# x2013; (without spaces) but none of those are working and just showing the code.…
Matt
  • 11
  • 3
0
votes
2 answers

Trying to get environment variables from a Widget widget.system()

I'm attempting to write some Dashcode to but can't seem to get the environment variables when I run the /env command. The environment doesn't appear to be sourced because it always returns "Undefined". Below is my code and I'm open for any…
Rick
  • 1
0
votes
1 answer

Dashcode XML Youtube Data API help?

For the past month I have been trying to get my head around dashcode (i'm a web developer thats new to the Mac). I have been trying to create a simple application, I am sick of youtube's interafce and have been trying to build a application to solve…
Simon
  • 11
  • 1
0
votes
1 answer

How to add (remove) new items to an existing dataSource in Dashcode?

I have a question concerning DashCode and dataSources: I have defined an JSON object in javascript file, linked it to a dataSource and connected the company names to the user interface (a 'list' element). The JSON object looks like: { items: [ …
gonzo007
  • 36
  • 3
0
votes
1 answer

Saving Information in Dashcode for app closing/syncing information

I am VERY new app development, Java, and databasing! I am having a hard time understanding what I can do to save information that has been entered into text fields. Basically, if a user enter info in to let's say "textField01" - Then another user…
0
votes
3 answers

Dashcode project opening in xcode problem

If we make our Dashcode application open in Xcode then are we making a native app....
neha
  • 47
  • 1
  • 6
0
votes
1 answer

dashcode loading htm file problem

is there anything like webview in dashcode. I am trying this for so long now. I get a htm link while parsing my xml file and i need to load this htm link in next subview in stacklayout template, i am not able to figure out which component i should…
neha
  • 47
  • 1
  • 6
0
votes
1 answer

Dashboard widget: how to bind a list to a non-web XML datasource

I have an XML file located on my desktop that I would like to bind to a dashboard widget list (tableview). Although I am able to bind this file if it's within the widget's bundle folder, I am unable to bind the XML file to the list externally. A…
Mr. N
  • 1
  • 1
0
votes
2 answers

Simple paragraph break

I am trying to make a simple paragraph break in my text file (name.js) so that when the iphone pulls the information (name.js) there is not one big run on paragraph. I have looked and looked and cannot find this information can you help me project…
Vande
  • 1
0
votes
1 answer

Is there a standard way to check for updates in a Dashboard widget?

I'm writing a Dashboard widget in Dashcode, and I'd like to add some sort of check-for-updates functionality. I already looked into Sparkle, but AFAICT it's not applicable to widgets like this. Is there a commonly-used library to do update…
bdesham
  • 15,430
  • 13
  • 79
  • 123