|
From: adamw <do-...@jb...> - 2006-06-07 14:56:18
|
Hello, as Pawe? already told you, the menu definition has changed :). And I think if we are supposed to have only one file, we should do the admin interface quickly ... Another thing about the structure of the internal Projects class (and ProjectsDescriptor). Over time, these classes became quite messy. Projects is almost only a go-through to Project(s)Descriptor. And in ProjectDescriptor, we sometimes have to use ugly hacks to parse things like menu or repository information. So maybe it's time for a change :). As I already wrote in reply to Adrian's post, we could make the Projects class behave like a service (though it wouldn't be a service in the JBossAS sense). Then we would not only have "Semantic Labs" but also "SOA Labs" ;-). Parts of it are there already: the Projects class enables to access things like Menu, Repository and Jira information - these are simple beans. Why not the rest should be like this? Just have projects.getProject(prjId).getInformation() would return a bean containing project id, info etc. Same for other parts - downloads for example. This would simplify things a lot. What do you think? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949632#3949632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949632 |