I guess your point is to have 1 JSP but N images + CSS.

It is good but not enough (can be a first step though)

I think we need to leverage the flexibility offered by JBoss Portal. You can 
define regions + windows.

One should be able to define the design of a region and a window easily. We 
should also be able to define how and where the regions can be rendered.

I'd like to have separate files.

Let's say:
1 file for the general layout
1 file per region
1 file per window

As of today, we can only put a portlet in a region, but we cannot tie a window 
decoration to it (the region is responsible for that)

The general layout, could point to the regions by specifying there name with a 
custom tag.
A region could point to windows specifying their name as well.

For example:


  | nodesk.jsp
  | <html>
  |   <head/>
  |   <body>
  |     <table>
  |       <tr>
  |         <td><jbp:region name="left"/></td>
  |         <td><jbp:maximized"/></td>
  |         <td><jbp:region name="right"/></td>
  |       </tr>
  |     </table>
  |   </body>
  | </html>
  | 

Then we could define left.jsp, maximized.jsp and right.jsp

Those are just ideas. What would be nice, is something simple that works :)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865488#3865488

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865488


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to