Thank you Lincoln & Richard for your answers and for your help.
I'm actually creating a custom WidgetBuilder based on Primefaces components
as with RicheFaces one.
Once finish the module, I will integrate the jar in the metawidget-all-2.4, and
then I'll edit the file metawidget-entity.xml, and also the two classes
EntityWidgetBuilder to adapt them to the changes.
But an other question concerning forge sources, should i use those of
) or those
of 1.1.2.Final that we use actually ?
Thank you so much in advence.
2013/1/2 Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Well... it probably won't happen until we get Forge 2 out the
unless someone out there has some time to contribute to make it happen.
Forge 2 will make this much easier to do and hopefully we will re-design
the whole scaffold architecture so that resources can be made available to
metawidget from other addons more easily (actually this is already working
as seen in the resource addon.)
If we just want to be able to add template resources from disk, then that
would be fine as well, but I'd want to know what folks think is a
reasonably friendly way of doing this for end users. I really don't know
what would be good/acceptable.
On Wed, Jan 2, 2013 at 5:08 PM, Richard Kennard <
> Yes - much of what you want to accomplish can be done by writing a custom
> WidgetBuilder (see http://metawidget.org/doc/**reference/en/html/ch02s04
> and then modifying metawidget-entity.xml to hook it in. You may also modify
> the /resources/scaffold/faces templates (create.xhtml, search.xhtml etc).
> The hard part is how to actually *get at* these files to modify them.
> This has been an outstanding issue for some time. Lincoln can we make a New
> Years resolution to get some movement on this? https://issues.jboss.org/*
> *browse/FORGEPLUGINS-68 <https://issues.jboss.org/browse/FORGEPLUGINS-68>
> For now you probably need to repackage your own plugin.
> On 3/01/2013 8:05 AM, Lincoln Baxter, III wrote:
>> Hello Ahmed,
>> Welcome to the list.
>> At first glance, it seems that you should be able to do this relatively
>> simply by modifying the metawidget XML configuration, and perhaps providing
>> your own generation class, but I will need to defer you to Richard Kennard,
>> the author of Metawidget, since he will know the answer (and hopefully be
>> able to tell you how to proceed without too much trouble on his part.)
>> I am not too knowledgeable about this part of Forge. I've also copied a
>> few people who might be able to give advice with their experience writing
>> custom scaffolds.
>> On Wed, Jan 2, 2013 at 6:19 AM, Ahmed ELJABIRI
>> a.eljabiri(a)gmail.com>> wrote:
>> Lincoln Baxter, III
>> "Simpler is better."
Lincoln Baxter, III
"Simpler is better."
forge-dev mailing list
Ahmed EL JABIRI
Senior JEE Developer at Ardass Conseil
e-mail : ahmed.eljabiri(a)ardassconseil.com
Phone : +212 668 204 835