<div><div>Dan,</div><div><br></div><div><br></div><div>Thank you for your considerations.</div><div>I&#39;ve never used Metawidget but I&#39;ll take a look</div><div>Certainly, it will be in my &quot;new things to learn&quot; backlog</div>

<div><br></div><div>About the security plugin, I liked the idea of not focusing only in Picketlink, but a general security plugin for different security frameworks would be awesome. </div><div><br></div><div>Anyway, I&#39;ve just joined this list and I&#39;ll try to take a look in JDF and also in Deltaspike,  to see what else would be interesting to be integrated to forge and how this integration could be achieved.</div>

<div><br></div><div>Cheers</div></div><div><br><br><div class="gmail_quote">2012/6/6 Dan Allen <span dir="ltr">&lt;<a href="mailto:dan.j.allen@gmail.com" target="_blank">dan.j.allen@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hey Rafael, welcome!<br><br>I&#39;m going to beat Richard to this one and ask whether you&#39;ve looked at building on MetaWidget [0] as an alternative to composite components to accomplish the goals of XSeam.<br><br>I&#39;ve ventured down a similar path of XSeam at one point, inspired by the very same article. The composite components have improved considerably since then and likely a solution today would be considerably simpler and likely better performing.<br>



<br>However, at some point you find yourself having to do a lot of logic in these generic components and that&#39;s something which is probably better done in Java. Of course, JSF supports building up components dynamically in Java and the Seam Faces code has an example of a hybrid composite component and Java component.<br>



<br>What MetaWidget gives you is the ability to go entirely over to the generation (at runtime) of a component assembled entirely in Java based on, you guessed it, model metadata. Like your x:inputText component, you don&#39;t have to maintain any extra code in the application itself. It&#39;s really a nice foundation for doing exactly what you are talking about. What I hope to encourage you to do is put your minds together and perhaps decide if MetaWidget provides what you need or you want to extend MetaWidget to take it a step further.<br>



<br>To address your other question, we are absolutely interested in a security plugin for Forge. I had hoped to put together a plugin to setup Apache Shiro in a Java EE 6 project, since it&#39;s so drop-dead simple [1] [2]. You may also be interested in taking it a step up and doing a plugin for the DeltaSpike security integration under active development [3]. With some creativity, you might be able to have a generic plugin that let&#39;s you choose your security framework and it will install the necessary configuration bits based on your choice. But we&#39;re excited to see what you invent :)<br>



<br>-Dan<br><br>[0] <a href="http://metawidget.org" target="_blank">http://metawidget.org</a><br>[1] <a href="http://www.infoq.com/articles/apache-shiro" target="_blank">http://www.infoq.com/articles/apache-shiro</a><br>

[2] <a href="http://meri-stuff.blogspot.com/2011/03/apache-shiro-part-1-basics.html" target="_blank">http://meri-stuff.blogspot.com/2011/03/apache-shiro-part-1-basics.html</a><br>

[3] <a href="https://cwiki.apache.org/confluence/display/DeltaSpike/Security+Module+Drafts" target="_blank">https://cwiki.apache.org/confluence/display/DeltaSpike/Security+Module+Drafts</a><br><br><div class="gmail_quote">

<div><div class="h5">On Tue, Jun 5, 2012 at 10:52 PM, Rafael Benevides <span dir="ltr">&lt;<a href="mailto:rafabene@gmail.com" target="_blank">rafabene@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div>Hi people,</div><div><br></div><div>Let me introduce myself. </div><div><br>

</div><div>My name is Rafael Benevides and I started to use JBoss Forge when it was called Seam Forge. I started to use Forge as a way to extend Seam Projects and adds custom components and libraries.</div>



<div><br></div><div>One of the features that brings more productivity to Seam projects is the Facelets Compositions. Based on the &quot;Facelets fits JSF like glove&quot;, I (and some friends) started to write some custom components so instead of write: </div>





<div><br></div><div>&lt;h:outputLabel value=&quot;Label&quot; for=&quot;input&quot; /&gt;</div><div>    &lt;h:inputText id=&quot;input&quot; value=&quot;#{myBackingBean.property}&quot; &gt;</div><div>        &lt;f:convertNumber /&gt;</div>





<div>        &lt;f:validateLength minimum=&quot;1&quot; maximum=&quot;10&quot;/&gt;</div><div>        &lt;a4j:support event=&quot;onblur&quot; reRender=&quot;input&quot;/&gt;</div><div>    &lt;/h:inputText&gt;</div><div>




    &lt;h:message for=&quot;input&quot; /&gt;</div>
<div><br></div><div>We could write only:  &lt;x:inputText label=&quot;Nome:&quot; value=&quot;#{myBackingBean.property}&quot; name=&quot;nome&quot; required=&quot;true&quot;/&gt;</div><div><br></div><div>With this in mind, I started a project called XSeam (focused in Seam 2.x) - I think that Pete heard about it when he came to Brasil and Edgar(Red Hat) talked about - the whole idea could be saw at this 15 min screencast - <a href="http://blip.tv/rafael-benevides/xseam-demonstration-with-subtitles-in-english-1321026" target="_blank">http://blip.tv/rafael-benevides/xseam-demonstration-with-subtitles-in-english-1321026</a></div>





<div><br></div><div>I would like to known what do you think about this concept of XSeam? I am asking that, because last year I started to port XSeam ( <a href="https://github.com/rafabene/XSeam2" target="_blank">https://github.com/rafabene/XSeam2</a> ) as plugin to JBoss Forge ( <a href="https://github.com/rafabene/XSeam3" target="_blank">https://github.com/rafabene/XSeam3</a> ) . This project is in initial state and I have no time to dedicate to it.</div>





<div><br></div><div>Anyway it was a great opportunity to see the big potentials of Forge.  </div><div>With the advent of Java EE 6 and other JBoss productsI I hope to be closest enough to help in other plugins like a Picketlink integration (for example). </div>





<div><br></div><div>Please, feel free to post any comments about the idea of having a plugin (maybe a scaffold provider) similar to XSeam and also about the plan of a PicketLink integration plugin?</div><div><br></div><div>





Thank you all</div></div><span><font color="#888888"><div><br></div><div>Rafael Benevides</div><div><a href="mailto:rafabene@gmail.com" target="_blank">rafabene@gmail.com</a></div><div>@rafabene</div>
</font></span><br></div></div>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br>

<div><a href="http://google.com/profiles/dan.j.allen" target="_blank">http://google.com/profiles/dan.j.allen</a><br>

<a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br></div><br>
</font></span><br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br></div>