[jboss-dev-forums] [Design of JBoss Profiler] - Re: Current Web app broken due to xhtml filename case issue

jesper.pedersen do-not-reply at jboss.com
Tue Nov 25 16:40:38 EST 2008


anonymous wrote : OK, now just so I get this straight, the all-lower-case xhtml names are intentional and that's the coding convention, is that right? 

Correct for all .xhtml files -- and basically all 'web' based files in the web-frontend - like CSS, Skins, ... Indentation should use spaces.

Additional things to look for

* Access to Agent/Profiler should be done the same way as client/cmd/Client
* The navigation rules are missing in faces-config.xml
* All managed beans are declared in session scope
* Place common functionality (command line / web) in the .client package - the APIs can be changed, but remember that the command line client has to work ;)

Also use the JSF/RichFaces libraries as much as possible -- e.g. <h:outputLink> instead of  and so on - makes it easier to skin later on.

I would rather see a web front-end that is working before making it "fancy" -- e.g. output existing reports inside  tags before using dynamic trees to display the thread reports. Of course it is up to you ;)

Feel free to post questions - I'm happy to help out where I can.

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

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



More information about the jboss-dev-forums mailing list