[forge-dev] If we can add an command to decorate fields of entity in scaffold plugin?

fluids liu flowas at gmail.com
Wed May 25 19:03:21 EDT 2011


Hi all,I need to customize some display of fields and region in list.xhtml
and view.xhtml
for example:
Product.java $ field string --named description;
Product.java $ decorate --field  description --with ckeditor;
Product.java $ region add  --fromXML
//codeFragment[@id='myShoppingActionCode'];

Fragment.java $ field string --named code;
Fragment.java $ decorate --field  code --with syntaxhighlighter;


Where 'myShoppingActionCode' has "Add To ShoppingCart" button and "Add to
Compare" button.
ckeditor :   *http://ckeditor*.com/demo
syntaxhighlighter: http://code.google.com/p/*syntaxhighlighter*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20110526/32afe4d5/attachment.html 


More information about the forge-dev mailing list