Intellij license
by Julien Viet
It should expire next week.
I asked for a one year renewal.
I'll keep you informed.
Julien
11 years, 3 months
Mobile Updates
by Matt Wringe
I have been a bit quiet on this, I guess I need to communicate more on
the lists. There has been a bunch of work done on the mobile front and
we are getting close to be in a state to do a push to get this into
gatein master. There are still a bunch of issues we are currently fixing
and it will have a lot of limitations. I will create another email
thread to discuss the separate mobile site (which has been mostly
separated out into its own extension).
There are some things we would like to get changed in the current gatein
code base to make it work better with the new mobile site and to work
with mobile devices better in general. Things which currently don't work
well and we would like to modify:
1) the login.jsp page (shared between all the sites) needs to be written
to be mobile friendly. Villiam has already done this and should probably
be able to do a PR for this.
2) popups and modals. These currently don't work on mobile devices since
we have js to reposition the popup on a scroll event, and mobile devices
automatically scroll when entering forms to reposition the keyboard.
These both fight against each other and the forms are constantly being
hidden behind the keyboard. Having the js reposition also has latency
issues. I would like to remove the js positioning and position this
purely in css.
3) using hover with menu elements doesn't work nicely on mobile devices.
We would like to change the portlets in the shared menu so that this
works better on mobile devices. For example, clicking 'site' would
toggle a menu with the site names and a 'edit site' element. Clicking
'site' would no longer take you to the portal navigation page.
4) change some of the layout of the shared layout portlets and combine
the features of the banner portlet (ie login/register/language).
Basically just clean this up a bit and make it more consistent to where
things are done. The other option for this would be to remove the shared
layout for a particular site, but I don't know how much effort this
would entail (for the separate mobile site we have, we just set the css
for the shared layout to hidden and do everything in a header portlet).
5) mobile sites need to configure the viewport of a page, which is set
by a meta tag in the header. Any objections to add a viewport properly
to a sites settings or properties? This would just be a string property
that an admin could set. Or does anyone have an idea on how to add this
in a better manner or a more general option for adding things to the head?
6) adding javascript to a particular portal/site. For mobile sites you
usually can add a small sniplet of javacode to scroll the page to the
top when loaded (to scroll past the browser url bar and buttons). For
this I guess the best way is to use the resource manager and use the
portal scope
There has also been some suggestions to make some mobile friendly
enhancements to the classic site. These would be fairly simple changes,
and not something we would want to spend a lot of time on.
- a flexible (non-fixed-width) classic skin. Essentially the current
skin but where the width for UIWorkingWorkspace is set to its max-width
instead.
- a flexible container. This container would switch from a column layout
to a row layout depending on the current width of the container (note:
obviously only works if the site is not fixed width). This would just be
something simple to use with the non-fixed-width classic skin and would
be really useful for the mobile site.
Sorry for the long email. Any thoughts or objections to the proposed
changes?
Thanks,
Matt Wringe
11 years, 9 months
CDI Support in GateIn
by Ken Finnigan
All,
I've put together a specification on adding support for CDI in non JSF portlets in GateIn, and for adding some new CDI scopes catered to portlet lifecyles -> https://community.jboss.org/wiki/CDISupportInGateInPC
Feedback and comments welcome.
Regards
Ken
========================
Senior Software Engineer / JBoss Enterprise Middleware Red Hat, Inc.
11 years, 10 months
GateIn 4.0.0
by Julien Viet
Just to let you know that I'm starting 4.0.0 in my github repository :-)
Initial plan is to come with a basic implementation rapidly (1 month?) and then make it formal with a spec when it becomes complex but for now:
- get away from UI component oriented programming and uses simple MVC programming
- rely Juzu for the web application framework
- uses javax.inject for IOC controllers and bridge with the kernel
- uses Arquillian for developing with testing
- reuses existing services (i.e stuff in components/*)
For now dev is there https://github.com/vietj/gatein-portal/tree/4.0.0 but it can be moved to the gatein organization any time.
The current stuff of course is quite empty but I hope it will become quickly something, but there is Juzu and Arquillian which are very productive.
If you want to help, it's open for business!
Julien
11 years, 10 months
Update - GateIn Public API
by Nick Scavelli
All,
We're getting ready to release 1.0.0.Alpha01 of the public API which
aims to support all that is required for portal navigation. Whether that
be creating a custom navigation menu or writing an application to
administer navigation nodes of the portal. Pull request for
implementation to merge to upstream can be found here
https://github.com/gatein/gatein-portal/pull/324
Some quick highlights:
Simple access to navigation structure of portal
Navigation navigation = PortalRequest.getInstance().getNavigation();
Node rootNode = navigation.getRootNode(Nodes.visitChildren()); //
Retrieves root node and loads it's children
Complete control on what is loaded
Node rootNode = navigation.getNode(NodePath.path("foo", "bar"),
Nodes.visitChildren()); // Retrieves the /foo/bar node and loads it's
children
Refresh current node with backend
navigation.refresh(rootNode)
Easy iteration
for (Node child : rootNode)
Build in filtering
Node filter = rootNode.filter().showDefault(); // Filters like the
current navigation menu (based on if the current user has access to the
page the node is pointing to)
Node filter = rootNode.filter().showHasEdit(user).showVisibile();
// Same as above but instead of access permission, it checks edit permission
These are just some examples and I encourage anyone to check out the
java docs http://gatein.github.com/gatein-api-java/ and the project on
github https://github.com/gatein/gatein-api-java
- Nick
11 years, 11 months