Tim, I looked at the pull request, this looks like this will definitely fit our needs for the mobile app. Thank you for sharing the source code. :)
Aaron On Thu, Oct 30, 2014 at 10:25 AM, Tim Levett <[email protected]> wrote: > Hi Aaron, > > > That sounds like a great alternative call to the layout REST controller. > At UW we have made a decent amount of changes to the REST API and I'm > working on spiffing up a PR to master with them. One of the changes is a > optional variable called tab on the layout call. This will return all the > portlets for that given tab. More to come shortly. > > > Thanks, > > > Tim Levett > tim.levettATwisc.edu > MyUW-Infrastructure > > > ------------------------------ > *From:* [email protected] < > [email protected]> on behalf of Aaron Grant < > [email protected]> > *Sent:* Thursday, October 30, 2014 7:12 AM > *To:* [email protected] > *Subject:* [uportal-dev] uPortal 4.1 layout.json / uMobile issue > > Hi Everyone, > > With uPortal 4.1 I noticed we are now including more information in the > layout.json file. I think the inclusion of regions is great, although it > will have an interesting effect on some mobile apps when generating native > lists. There is not really a way to in uMobile currently to figure out what > is a tab or a region (besides hard coding regions in uMobile, yuck), so all > portlets jn the template and tabs are being included in the list view in > uMobile and it really hurts the experience. I was wondering what everyone > though if we could do something like this instead, adding new content types > like regions in its own section outside of folders: > > { > > - user: "guest", > - locale: "en-US", > - layout: > { > - header: { > > > - portlets: [ ] > > }, > > - folders: { > > > > - portlets: [ ] > > }, > > - footer: { > > > - portlets: [ ] > > }, > > - regions: { > > > - portlets: [ ] > > } > } > } > > Thanks, > Aaron > > -- > Aaron Grant > Senior Applications Architect > Oakland University - UTS <http://oakland.edu/uts> > > -- > > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/uportal-dev > > -- > > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/uportal-dev > > -- Aaron Grant Senior Applications Architect Oakland University - UTS <http://oakland.edu/uts> -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
