dashcode

Dashcode: mailto error cause internal links to not work

I am making a mobile webapp in dascode, I used mailto and it pulls up the email client like expected but when you click cancel it goes back to the page and none of my internal links work any ideas on how to fix this? ...

Dashcode development for iPhone resources

I've been developing web applications and iPhone applications for years. Now I want to create a web application oriented to the iPhone browser. I willing to use Dashcode, since it seams to have tons of cool features that make my web app look like an native iPhone app. The problem I face is twofold: On one side I don't know it Dashcode...

Changing a checkbox's state programmatically in dashcode

Okay, so I'm trying to change a checkbox's state programmatically in dashcode. I've tried: var checkbox = document.getElementById("checkbox"); // I have tried all the following methods. checkbox.checked = false; checkbox.selected = false; checkbox.value = false; ...

Dashcode and firefox compatibility

Hi all, I started to use Dashcode with a Safari Custom Project, my apps work fine, but StackLayout Object does not work in Firefox. I know Dashcode use many wekbit-specific things but is there any way I can get StackLayout object o work in Firefox? I would not mind losing some fancy stuff like transition-animations as long as my Views c...

How to disable scrolling on a div on dashcode

Hi, is it possible to have a div which is not scrollable with dashcode? I mean, I want to create a top menu which still always on the top of the window but the rest of the window can be scrolled Thank you ! ...

Launching a Youtube video with Dashcode

Hi! I've run into an issue and have been unable to find documentation to answer my question. I was hoping someone could help... Basically, I'm making a iPhone Web App which has a button which needs to link to a Youtube video. I'd like to press the button and have the video load in the Youtube app on the iPhone. I cannot figure out how t...

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 open files of this type". I thought there'd be an easy way to fix this but I can't find ...

Use of XMLHttpRequest in Dashboard widget failing

I am unable to get an XMLHttpRequest object to work correctly in a Dashboard widget I am writing. I've isolated it to a trivial example not working in the global scope of the main.js file: xhr = new XMLHttpRequest; xhr.open( 'GET', "http://google.com", false ); xhr.send(''); When the last line is executed I get the error ...

Set selection in Dashcode List Controller

I have a list controller in my Dashcode project, it pulls its data from a dynamic source. After my list controller has loaded its data I'd like to set it's selected index to 0 - so that information for the first item in the list is shown. I can't for the life of me figure out how to do this. I've tried: function load() { dashcode.s...

Mobile Safari iPhone Development - Multiple buttons in a row

Hello all: 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 Button, and Map Button in horizontal alignment. I realize that I can add a Colu...

reload list in dashcode 3.0

hi. i am developing web app in iphone using dashcode 3.0 and i am completely new for it. I have one problem. I have created one search button for searching particular city which inserted in search Field. List items which having cities bounded using binding datasource which is running successfully but when i want to search particular city...

Apple Dashcode and Webservices

Hello All, 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 = '<?xml version=\"1.0\" encoding=\"utf-8\"?>\n' +'<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"...

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. Originally this was done to reduce site maintenance because all the current content could be ...

How do I add a youtube video into my browser using dashcode?

I can't find a way to open just a youtube video with the click of a button using browser template in dashcode. Please help? ...

How to change the vibility of a button in dashcode programmatically ?

Hello Everybody, i'm using dashcode for a webapp and in order to add a + button in the browser bar to a specific view i need to hide and unhide that + button. The problem is i really don't know how to do this. I tried to write on the screen all the button's properties and in fact there is a visible parameter but when i display the value ...

Dashcode Widgets Datasource

Hi, I would like to know if there is a Reference manual somewhere for Dashcode 3.0 Widgets' datasources. I need to know the following: How to refresh (requery) a datasource How to listen for datasource events (onsuccess, onerror) How to pass parameter to datasource query It's being very difficult for me to find this very basic info...

Dashcode Lists in Firefox

I have a list in dashcode where I update a parameter for the datasource and tell the list to reload. The code is fully functional when view from Safari but the reload command does not appear to work when the same page is viewed in Firefox. The code I am using to update my data source is: dataSource.setValueForKeyPath("keyboard/build/", ...

Programmatically selecting item in Dashcode list

Is their a way to programmatically select an item in a dashcode list with having the user click on the list? Something like: var list = document.getElementById("list"); list.select_item(3); ...

Dynamic Pop-up Menu (Select box) in Dashcode

I'm trying to use Dashcode to create a drop-down list for an iPhone Web app. I want the list to be set dynamically based on a data source, and for the selected item to be set by a separate data source. I've figured-out how to set the parameters on the data source to get it to alter the contents, and have the data in valid JSON, but can'...

Incorrect touch events from Android's browser with Dashcode mobile projects.

Hi- I'm developing an HTML/Javascript mobile web application using Dashcode. Normally I wouldn't use such WYSIWYG stuff, but I've found it a very rapid development process. Unfortunately it seems like I can't get it to run on Android's browser currently. The main display loads and all the correct data is pulled from web services, but y...