Depricated Control (Button)


#1

I am trying to do some incremental upgrades on a project. Current code is in 5.0.7.0 When I open this in 5.2.1.3 I get the error "The project uses a deprecated control (Button). Please replace it in the previous version of AppStudio then try again

Same error for (Text)

The button ids the jQuery Module Button.

Is there an incremental upgrade I should save the project in first?


#2

AppStudio 5 deprecated the jQuery Mobile 1.3 and iWebKit controls. They were no longer supported by their developers.

First thing to do is make sure you’re not using any of those old controls.


#3

Thank you, I believe I am, I can see in the deploy folder jquery.mobile.js.
So When I look at the toolbar tools in a 5.2 there are still controls (button etc) under Jquery mobile but I can see that they do not deploy the Jquery.mobile.js, however they look like the exact same controls.

I’m not sure exactly how to switch these out in 5.0 version first to not use the mobile 1.3 version


#4

Does opening the project in Version 4 help?

Mac: https://dl.dropbox.com/u/4451197/AppStudio4.dmg
Win: https://dl.dropbox.com/u/4451197/AppStudio4.exe


#5

The project opens and runs fine in 5.0. It just gave me this error when jumping from 5.0 to 5.2
When I look at the project, how do I determine which version of JQueryMobile the project uses?

Do I just replace the 1.3 .JS files with 1.4.5 versions?

Thanks for your support, I appreciate y’all having this forum for us to use!


#6

I opened the jquery.mobile.js file in the deploy folder and the version looks like 1.4.5 , which I believe is the latest


#7

I agree - something looks odd here. Could you zip up your project folder and send it to me so I can try it here?


#8

deploy.zip (1.2 MB)

thanks!


#9

I loaded your app in 4.2.9. There are a bunch of iWebKit controls.

I would install 4.2.9, load the project and replace the controls with their jQM equivalents. You should then be able to load in AppStudio 5 or 6.


#10

Would it be possible for you to post the link again for 4.2.9 download again? I have another app with this issue and I no longer have that download thanks!


#11

DropBox changed all the links on the weekend. Here are the new ones:

Mac: https://www.dropbox.com/s/hqwzc7qi5s75ri0/AppStudio4.dmg?dl=0
Win: https://www.dropbox.com/s/uqa85qbwheukhku/AppStudio4.exe?dl=0


#12

Thanks, I was able to upgrade as you recommended!
There was one feature in the old buttons that does not appear to exist anymore. The JQM buttons allowed multi line text (word wrap). I cannot seem to find a way to create multi line text, even if I insert a carriage return. Do you have any creative work around?

Appreciate all the help you have given us!


#13

It’s HTML, so you can do this:

Button<br>1