Re: [uportal-dev] uPortal 4.1 layout.json / uMobile issue

2014-11-04 Thread Andrew Petro
I'm calling Lazy Consensus on this changeset:

https://github.com/Jasig/uPortal/pull/449

If not otherwise actioned by tomorrow (2014-11-05) I will feel free to hit
the big green happy Merge button.

Andrew


On Fri, Oct 31, 2014 at 8:18 AM, Aaron Grant asgr...@oakland.edu wrote:

 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 tim.lev...@wisc.edu 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:* bounce-37487810-70367...@lists.wisc.edu 
 bounce-37487810-70367...@lists.wisc.edu on behalf of Aaron Grant 
 asgr...@oakland.edu
 *Sent:* Thursday, October 30, 2014 7:12 AM
 *To:* uportal-dev@lists.ja-sig.org
 *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 uportal-dev@lists.ja-sig.org as: 
 tim.lev...@wisc.edu
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/uportal-dev

  --

 You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
 asgr...@oakland.edu
 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 uportal-dev@lists.ja-sig.org as: 
 apetro.li...@gmail.com
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/uportal-dev



-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

[uportal-dev] uPortal 4.1 layout.json / uMobile issue

2014-10-30 Thread Aaron Grant
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 uportal-dev@lists.ja-sig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Re: [uportal-dev] uPortal 4.1 layout.json / uMobile issue

2014-10-30 Thread Tim Levett
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: bounce-37487810-70367...@lists.wisc.edu 
bounce-37487810-70367...@lists.wisc.edu on behalf of Aaron Grant 
asgr...@oakland.edu
Sent: Thursday, October 30, 2014 7:12 AM
To: uportal-dev@lists.ja-sig.org
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 - UTShttp://oakland.edu/uts


--

You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
tim.lev...@wisc.edu
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev