widget.newButton 2013.1034 brakes build

I know the Release Notes says Widgets 2.0 and I am very grateful for that, thanks! And maybe the documentation or post will be out later today, but for now I am getting this issue ERROR: widget.newButton: theme data file expected, got nil. I hope this will be explained because my app doesn’t run and I have been waiting for Widgets 2.0 FOREVER. [import]uid: 58885 topic_id: 36199 reply_id: 336199[/import]

Hey Chevol.

If you download the daily build documentation that accompanies each daily build, you will see the updated documentation.

Also if you look under the widget* api section (in the daily build docs) you will see a “V2.0 migration guide” which shows you the differences between the way the library was previously used compared to the new system.
[import]uid: 84637 topic_id: 36199 reply_id: 143740[/import]

Thanks for the response Danny, but I am looking at the accompanied documentation and there is no V2.0 Migration guide under Widget* api section. Maybe the docs didn’t get updated correctly? Idk it does have the correct revision (2013.1034) but I don’t really see any change in the documentation in that daily build. No new widgets listed in the widget section and I can’t find the V2.0 Migration Guide. Guess I’ll roll back to a previous build and await a post on how to use correctly. [import]uid: 58885 topic_id: 36199 reply_id: 143745[/import]

I don’t see the Migration guide either… and it is all sorts of broken without it.
[import]uid: 18783 topic_id: 36199 reply_id: 143747[/import]

Edit: Ok something did go wrong.
Let me check it out. I will get a resolution for you guys asap

[import]uid: 84637 topic_id: 36199 reply_id: 143749[/import]

I “third” that it is missing from the docs. [import]uid: 92150 topic_id: 36199 reply_id: 143748[/import]

The docs were not built at all it seems for the latest widgets.

Whilst this is being resolved you can grab the latest (correct) docs here for widgets in daily build 1034: Latest Docs

Edit: Updated docs in above link [import]uid: 84637 topic_id: 36199 reply_id: 143750[/import]

Thanks Danny!!! [import]uid: 58885 topic_id: 36199 reply_id: 143752[/import]

No newTextField or newTextBox, and radio buttons not fixed… Booooooooooo The Native ones are so bad and radio buttons can’t programmatically select/deselect. We have been told these would be fixed, what is an ETA besides soon? These issues make Corona so hard to use for business apps(not games). Come on guys, this is very disappointing. [import]uid: 58885 topic_id: 36199 reply_id: 143754[/import]

newTextField’s and newTextBox was never planned for widgets at the time of writing.
Did you hear otherwise?

The radio button issue is going to be fixed asap (in widgets v2.01), I can assure you of that.
[import]uid: 84637 topic_id: 36199 reply_id: 143755[/import]

Great work ppl, thanks for the docs link Danny.

How about the searchField widget?
is it work in progress?

/BK [import]uid: 144955 topic_id: 36199 reply_id: 143761[/import]

@Naomi, I just updated the above link to the docs. Please download it again. Let me know if you have any further issues.

@Corona800: That widget isn’t ready for public consumption just yet, due to a textfield issue.

Thanks! [import]uid: 84637 topic_id: 36199 reply_id: 143763[/import]

Urrm, I must be missing something. I downloaded 1034_Docs, but I still don’t see the V2.0 Migration guide under widget section of the API. Edit: I just got Api_Docs_1034. I still don’t see the V2.0 Migration guide… I’m probably not looking at the right place. Please help.

Daily build 1034 totally destroys my UI, so I’d really like to get a hold of this guide asap.

Naomi [import]uid: 67217 topic_id: 36199 reply_id: 143762[/import]

@Danny, I still don’t see the V2.0 Migration guide. I’m probably overlooking something, but clicking on widget section of the API doesn’t really show me where the guide is.

Edit: Duh. I see it now. I had to search “widget” and I found it under “Types” section of the API, not the Library section.

Naomi [import]uid: 67217 topic_id: 36199 reply_id: 143764[/import]

I downloaded from the link provided and see nothing as decribed. Even attempting to follow Naomi’s desciption of finding it produced no results.

I guess I will try again later and hope it’s all been corrected.

[import]uid: 56820 topic_id: 36199 reply_id: 143769[/import]

@Anderoth, here’s what I did to find it:

Open Api_Docs_1034/api/index.html
Use the browser’s search function and enter “widget” or just scroll all the way down to the bottom of the page (right above the Love it feedback buttons) and you’ll see it. No need to jump to “widget” section of the API.

Naomi [import]uid: 67217 topic_id: 36199 reply_id: 143771[/import]

@Naomi thank you!

I see it now. It was obvious but not so obvious I guess. lol [import]uid: 56820 topic_id: 36199 reply_id: 143773[/import]

@Anderoth, it appeared that the link to the migration guide under the widget* section was getting stripped out.

I just updated the docs in the link above again.

If you open api/index.html in your browser and click on the widget* link (either via the left navigation list or at the bottom of the page) you should see the migration guide listed at the top. [import]uid: 84637 topic_id: 36199 reply_id: 143775[/import]

Yes, it is there. (/api/library/widget/migration.html)
How about the searchField widget?
theme_ios.lua listed themeTable.searchField code, how does it work, does it work?
Why is nothing mentioned in the docs about this?
/BK [import]uid: 144955 topic_id: 36199 reply_id: 143776[/import]

@corona800. As I said above, the searchField widget isn’t ready for public consumption yet, hence why it isn’t documented.

Thanks [import]uid: 84637 topic_id: 36199 reply_id: 143777[/import]