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

Lincoln Baxter, III lincolnbaxter at gmail.com
Fri May 27 15:00:45 EDT 2011


Hi,

You'd have to see if metawidget supports this. Otherwise, you'll need to
implement another scaffold-provider that provides the individal control
necessary, unless I am not understanding you correctly.

Feel free to experiment!

~Lincoln

On Wed, May 25, 2011 at 7:03 PM, fluids liu <flowas at gmail.com> wrote:

> 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*/
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>
>


-- 
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20110527/6a0184e9/attachment.html 


More information about the forge-dev mailing list