|
|
|
| The following comment has been added to this issue: |
[ Permlink ] |
|
Author: Jean-Marc Orliaguet
Date: 20/06/07 17:19
Comment:
The rendering of links using <h:commandLink> somehow doesn't work as expected in action fragments because like all dynamic fragments they are rendered in a separate viewRoot. The markup is generated correctly but the URLs don't work when they are clicked on.
What I'm trying to do is to obtain real URLs from the action API, instead of getting links that need to be interpreted by JSF.
This can be postponed until web content management issues are tackled, for instance using links that depend on _javascript_ is a bit of a problem. Also in terms of performance, each links costs two requests, instead of only one.
|
|
The "action fragment" in nuxeo-platform-webapp-core/src/main/java/org/nuxeo/ecm/webapp/theme/ActionFragment.java) isn't completely implemented (action urls are not transformed into links).
the fragment generates a MenuItem tree (org.nuxeo.theme.models.MenuItem) and can be presented using the "Horizontal menu" and "Vertical menu" widgets.
more widgets representing menu items can be created.
|
|
|
|
![]() |
|
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets