Oracle ADF Mobile #{row.index} is Not Supported After Installing Upgrade Patch

You had a great application working in ADF Mobile, you updated to the latest ADF Mobile patch, and then suddenly the actions you perform on a list item aren’t working anymore?

We had an ADF Mobile application, developed in JDeveloper 11.1.2.4, that worked great. In that application there is a list of items, and when you click on a list item, the header of the Panel Page changes to the name of the selected item.

Everything worked really well. We upgraded the Oracle ADF Mobile extension plugin, and suddenly this functionality stopped working!

When clicking on a list item, the item’s name was supposed to appear on the Header of the page, but after the upgrade this has not been happening.

We went over the code and we noticed that the #{row.index} code set  under the  “Set Property Listener” property was circled with a red border. This means that #{row.index} is not supported anymore. We replaced #{row.index} with #{row.rowKey} across our whole project, and now everything is working as it should be.

To sum it up: Search your code for appearance of  #{row.index} and replace it with #{row.rowKey} so you won’t have similar issues!

After this went to print our ADf Guru Steven Davlar shared his code for a more generic solution that will work if the view object have a primary key as well. See his comments below.

His suggested code is:

change amx:setPropertyListener   from=”#{row.rowKey}”  type=”action” to=”#{bindings.<view>Iterator.iterator.currentIndexWithKey}” id=”spl2″ />

Comment if you have an other patch or upgrading issues!

Oracle ADF Mobile #{row.index} is Not Supported After Installing Upgrade Patch
Article Name
Oracle ADF Mobile #{row.index} is Not Supported After Installing Upgrade Patch
Description

You had a great application working in ADF Mobile, you updated to the latest ADF Mobile patch, and then suddenly the actions you perform on a list item aren’t working anymore? We had an ADF Mobile

Author
Publisher Name
auraplayer
Publisher Logo

David Buch
Senior Products Manager

David, our Senior Products Manager, is a highly experienced professional specializing in product definition, innovations, and development, with broad customer understanding, and skillful people management. He has over 20 years of R&D work experience, and continues to excel in his expertise. Before starting his career, David attended Bar-Ilan University where he studied computer science and economics. When he is not working, David enjoys spending his time as a professional tuba player joining symphony orchestras and chamber ensembles.

Elizabeth Pearl
Relationship Manager

A Relationship Manager, but a teacher by degree, Elizabeth is passionate about technology and always seeks to educate and improve the lives of others. During her years as a teacher, Elizabeth learned valuable skills that she applies to everyday life and her role at AuraPlayer: active listening, organization, preparation, and clear communication. Elizabeth is originally from the United States but currently resides in England. In her spare time, she loves exercising, spending time with her family and friends, and playing volleyball.

Nathalie Wasserman
CFO & Operations Manager

Natalie is proud to be AuraPlayer’s Operations and Chief Financial Officer. She takes pride in her work, and loves being a part of the AuraPlayer family. Prior to working at AuraPlayer, Nathalie worked at various companies as an accountant. She attended the University College London (UCL), where she graduated with a Bachelor’s Degree in economics and business. She then went on to pursue a Master’s degree in Political Economies in Eastern Europe. 

Gwen Edwards
VP Business Development

An expert in helping businesses seize their potential and grow, Gwen is committed to take AuraPlayer to the next level. With over 30 years of experience in the high technology sector and working with Fortune 500 companies, she works as an advisor for growing businesses to help enhance their value and reach their business objectives. She’s a dynamic member of our team, leveraging her sales and marketing, and P&L experience to our current and future product suite.

Gwen also serves on a several private company boards in Silicon Valley, and is an active member of the angel investment network, Golden Seeds.

Yossi Nakash
CTO & Co-Founder

A true developer, Yossi has been developing and coding in Java / J2EE, C++, .Net, and C# for over 15 years, focusing mainly on the RD side of things. Entering the Oracle World about 5 years ago, Yossi immersed himself in the world of Oracle SOA, Weblogic, ADF and ADF Mobile, as well as the Java side of things.

Prior to joining Mia to found AuraPlayer, Yossi held the role of RD team leader at RadView and was a Java developer at Motorola.