This looks interesting. I'll check it out :) By the way please email me at saeedcs (at) gmail (dot) com , I would like to try to contribute to your project as well. I love seam by Jboss & Gavin as well as appfuse by Matt Raible
Why just don't contribute this to jboss seam?
The aim of myseam is providing many ways to use jboss seam and sharing some using experience.These often are not attentioned by framework itself,because different people or companies are different in ways and habits of using jboss seam.Myseam is just the tools that let people to use jbossseam more flexsible and convenient.
yeah - this looks more like things that should be provided as patches to jboss seam.
Especially 1 and 2 is just about the defaults - no technical limitations and 3 to 8 just sounds like minor adjustements....
8) would be valuable to have in seam-gen I think.
I'm working on Identity Management (8) right now, the user-interface part of it will in fact include a number of JSF-views that will be included in seam-gen.
to 1 and 2,hibernate tools can not support these two functions too,but we need them very much ,so i developped myseam.I love jboss seam very much,but if it can add more characters of appfuse 1.9.x,it'll become more and more perfect.I have to say myseam was supplied to my own company to use at first,and after we used it we found it's very convenient ,so i share it now.if needed,i'd also like to do something to contribute to jboss seam.
chlol, perhaps you can expand on some of what this does so we can evaluate whether to move upstream.
1) Don't understand this one.
2) Again don't understand
4/5/6/7) Sounds like you want to be able to customise the templates easily - perhaps we can make this easier.
to explain 1 and 2:
1). for example, i have three tables:sys_role,sys_user,rs_resource,in myseam,configurate the generate as the following:
<?xml version="1.0" encoding="UTF-8"?> <gen4db> <!-- module configuration --> <!-- one applicatin cant have more than one modules,and in one module can have more than one tables separated by comma --> <modules > <module name="common"> sys_user,sys_role </module> <module name="resource"> rs_resource </module> </modules> <!-- the all tables prefix,separated by comma --> <prefix>sys,rs</prefix> <!-- the primary key generation type,the value must be in IDENTITY,SEQUENCE,TABLE,AUTO --> <primaryKeyType>IDENTITY</primaryKeyType> </gen4db>
and the base package is "com.googlecode.myproject",then the model class of sys_user and sys_role will be generated into com.googlecode.myproject.model.common,and rs_resource's model will be generated into com.googlecode.myproject.model.resource,and the Home bean and list bean will be generated into com.googlecode.myproject.service.common and com.googlecode.myproject.service.resource,and the view will be generated into common and resource.
2).the all code generated don't constain the table prefix,sys and rs,including their name.
complementarity for 2:
the name of the code generated as the following: