[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1189) Editor for Seam, pages.xml files

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Apr 22 10:27:45 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1189?page=comments#action_12410007 ] 
            
Max Rydahl Andersen commented on JBIDE-1189:
--------------------------------------------

Summary of discussion between Christian, Pete and I in NE:

Version 1:
single file pages.xml should be focused on first (scanning for *.page.xml and overlay them on the result would be a nice addon but not a musthave for now)

The view should be multi-tabbed, "Source" and "Graphical" where there would be a node for each <page> and <exception> tag.
For each <navigation> would be an arrow to the target view-id (that view-id might not exist in the pages.xml so should be shown as "dimmed out")

On the arrow we should show a textual rendering of the conditions relevant for following this path (e.g. if-outcome, if, etc. attributes on navigation)

Note: each <page> has a view-id that can be virtual, meaning it does not need to exist on the filesystem plus the view id can also be "matching", e.g. "edit_*.xhtml" is valid.

<exception> should be also rendered as nodes (e..g with a bomb icon ;) and have the same kind of links to the redirected view-id with conditions rendered on the arrow line.

<param> elements should be shown below the page as a "fly-out" (something that can be hidden/expanded)

Basic autolayout is a must. Similar layout/work as the faces-config editor.

Version 2:

Add in .page.xml as nodes in the pages.xml editor  (not sure if we should allow edits here but at least allow the user to double click)

Overlay conversation information, e.g. have a "show conversation boundary" button that when enabled clicking on a node will highlight the arrows/nodes on the conversation possible paths. Use <begin-conversation> as markers etc. 


Resources:
For test try out the examples in seam for real examples.
Seam reference manual has some coverage about page and pages.xml, http://shrubbery.mynetgear.net/wiki/Seam_pages.xml even has more.

> Editor for Seam, pages.xml files
> --------------------------------
>
>                 Key: JBIDE-1189
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1189
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Seam
>            Reporter: Gavin King
>         Assigned To: Max Rydahl Andersen
>             Fix For: 2.2.x
>
>
> Most Seam users do orchestration in pages.xml, not in faces-config.xml.
> We need a faces-config-like editor for pages.xml. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list