Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Metadata
Metadata [message #474084] Fri, 30 March 2007 19:52 Go to next message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
Are there any tools that would help in creating a metadata file based on
a TLD and faces-config?

I am sure you used something to create RI and Tomahawk metadata, didn't you? :)

Can you share?
Re: Metadata [message #474089 is a reply to message #474084] Tue, 03 April 2007 23:41 Go to previous messageGo to next message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
Hi Yury,

There's not much to share. All I used was the SSE XML Editor which worked
fine for me.

It may be wise to start off by copying one of our metadata files as a
starting point just to get the nsURIs correct.

Regards,
Gerry Kessler
WTP JSF Tools Team
Re: Metadata [message #474091 is a reply to message #474089] Thu, 05 April 2007 20:42 Go to previous messageGo to next message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 4/3/2007 7:41 PM, Gerry Kessler wrote:

> There's not much to share. All I used was the SSE XML Editor which worked
> fine for me.

I hoped you had automated it somehow. I had 3 taglibs to create metadata for,
and didn't want to do all the work manually in the editor, so I wrote a simple
Java class that creates metadata skeleton based on a tld file -- all tags and
attribute are listed, and standard basic attributes (such as id, value, binding,
rendered etc) are filled in.

I'd be happy to contribute or share if anybody's interested.
Re: Metadata [message #474093 is a reply to message #474091] Sun, 08 April 2007 05:46 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Yury,

We have the same need with our tlds and we'd be happy if you could share
that tool/class.

Cheers
/Eike



Yury Kats schrieb:
> On 4/3/2007 7:41 PM, Gerry Kessler wrote:
>
>
>> There's not much to share. All I used was the SSE XML Editor which worked
>> fine for me.
>>
>
> I hoped you had automated it somehow. I had 3 taglibs to create metadata for,
> and didn't want to do all the work manually in the editor, so I wrote a simple
> Java class that creates metadata skeleton based on a tld file -- all tags and
> attribute are listed, and standard basic attributes (such as id, value, binding,
> rendered etc) are filled in.
>
> I'd be happy to contribute or share if anybody's interested.
>


Re: Metadata [message #474095 is a reply to message #474093] Mon, 09 April 2007 20:12 Go to previous messageGo to next message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
What would be the best way to contribute something like this, a helper
dev utility? My initial thought was a wiki, but this project's wiki
says it's for "release planning".

Any suggestions?

On 4/8/2007 1:46 AM, Eike Stepper wrote:
> Yury,
>
> We have the same need with our tlds and we'd be happy if you could share
> that tool/class.
>
> Cheers
> /Eike
>
>
>
> Yury Kats schrieb:
>> On 4/3/2007 7:41 PM, Gerry Kessler wrote:
>>
>>
>>> There's not much to share. All I used was the SSE XML Editor which worked
>>> fine for me.
>>>
>> I hoped you had automated it somehow. I had 3 taglibs to create metadata for,
>> and didn't want to do all the work manually in the editor, so I wrote a simple
>> Java class that creates metadata skeleton based on a tld file -- all tags and
>> attribute are listed, and standard basic attributes (such as id, value, binding,
>> rendered etc) are filled in.
>>
>> I'd be happy to contribute or share if anybody's interested.
>>
Re: Metadata [message #474097 is a reply to message #474095] Mon, 09 April 2007 21:33 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
Registered: July 2009
Senior Member
Can you attach it to a bug? That's usually the best way to share code
contributions with the community. We may be able to incorporate either as
an SDK tool add-on or right into the code base of JSF tools project if it
helps tag developers.

One other possibility that someone could look into is using the EMF
generator to create a default editor that understands metadata EMF models.
The reason we haven't proceeded further on this (other than resource
constraints) is that there is a problem to be solved in supporting dynamic
models loaded for different user-defined metadata schemas (external
genmodels). In theory though, it should be possible.


--Cam
Re: Metadata [message #474098 is a reply to message #474095] Mon, 09 April 2007 22:12 Go to previous messageGo to next message
Raghu Srinivasan is currently offline Raghu SrinivasanFriend
Messages: 265
Registered: July 2009
Senior Member
Hi Yury,

The right way to contribute is to launch a bug,
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Java%20S erver%20Faces

and attach your code. We will use the bug to track feedback and progress
on the contribution.
-Raghu Srinivasan
Project Lead - JSF Tools Project


Raghu Srinivasan,
Project Lead - JSF
Re: Metadata [message #474100 is a reply to message #474097] Mon, 09 April 2007 22:13 Go to previous messageGo to next message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 4/9/2007 5:33 PM, Cameron Bateman wrote:
> Can you attach it to a bug? That's usually the best way to share code
> contributions with the community. We may be able to incorporate either as
> an SDK tool add-on or right into the code base of JSF tools project if it
> helps tag developers.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=181674
Re: Metadata [message #474103 is a reply to message #474100] Mon, 09 April 2007 22:38 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
Registered: July 2009
Senior Member
Thanks Yury, this looks great! I can see how we could plop a Wizard on
top of this in the future.


--Cam


Yury Kats wrote:

> On 4/9/2007 5:33 PM, Cameron Bateman wrote:
>> Can you attach it to a bug? That's usually the best way to share code
>> contributions with the community. We may be able to incorporate either as
>> an SDK tool add-on or right into the code base of JSF tools project if it
>> helps tag developers.

> https://bugs.eclipse.org/bugs/show_bug.cgi?id=181674
Re: Metadata [message #474138 is a reply to message #474103] Tue, 10 April 2007 00:14 Go to previous message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 4/9/2007 6:38 PM, Cameron Bateman wrote:
> Thanks Yury, this looks great! I can see how we could plop a Wizard on
> top of this in the future.

Well, this is really a "do once" kind of operation, so I don't
see a lot of benefit in creating extra artifacts around it, especially
given the tight resources on the project.

Besides, there's still a lot of manual work to do after the skeleton
is generated.
Re: Metadata [message #608887 is a reply to message #474084] Tue, 03 April 2007 23:41 Go to previous message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
Hi Yury,

There's not much to share. All I used was the SSE XML Editor which worked
fine for me.

It may be wise to start off by copying one of our metadata files as a
starting point just to get the nsURIs correct.

Regards,
Gerry Kessler
WTP JSF Tools Team
Re: Metadata [message #608890 is a reply to message #474089] Thu, 05 April 2007 20:42 Go to previous message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 4/3/2007 7:41 PM, Gerry Kessler wrote:

> There's not much to share. All I used was the SSE XML Editor which worked
> fine for me.

I hoped you had automated it somehow. I had 3 taglibs to create metadata for,
and didn't want to do all the work manually in the editor, so I wrote a simple
Java class that creates metadata skeleton based on a tld file -- all tags and
attribute are listed, and standard basic attributes (such as id, value, binding,
rendered etc) are filled in.

I'd be happy to contribute or share if anybody's interested.
Re: Metadata [message #608892 is a reply to message #474091] Sun, 08 April 2007 05:46 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Yury,

We have the same need with our tlds and we'd be happy if you could share
that tool/class.

Cheers
/Eike



Yury Kats schrieb:
> On 4/3/2007 7:41 PM, Gerry Kessler wrote:
>
>
>> There's not much to share. All I used was the SSE XML Editor which worked
>> fine for me.
>>
>
> I hoped you had automated it somehow. I had 3 taglibs to create metadata for,
> and didn't want to do all the work manually in the editor, so I wrote a simple
> Java class that creates metadata skeleton based on a tld file -- all tags and
> attribute are listed, and standard basic attributes (such as id, value, binding,
> rendered etc) are filled in.
>
> I'd be happy to contribute or share if anybody's interested.
>


Re: Metadata [message #608895 is a reply to message #474093] Mon, 09 April 2007 20:12 Go to previous message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
What would be the best way to contribute something like this, a helper
dev utility? My initial thought was a wiki, but this project's wiki
says it's for "release planning".

Any suggestions?

On 4/8/2007 1:46 AM, Eike Stepper wrote:
> Yury,
>
> We have the same need with our tlds and we'd be happy if you could share
> that tool/class.
>
> Cheers
> /Eike
>
>
>
> Yury Kats schrieb:
>> On 4/3/2007 7:41 PM, Gerry Kessler wrote:
>>
>>
>>> There's not much to share. All I used was the SSE XML Editor which worked
>>> fine for me.
>>>
>> I hoped you had automated it somehow. I had 3 taglibs to create metadata for,
>> and didn't want to do all the work manually in the editor, so I wrote a simple
>> Java class that creates metadata skeleton based on a tld file -- all tags and
>> attribute are listed, and standard basic attributes (such as id, value, binding,
>> rendered etc) are filled in.
>>
>> I'd be happy to contribute or share if anybody's interested.
>>
Re: Metadata [message #608897 is a reply to message #474095] Mon, 09 April 2007 21:33 Go to previous message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
Registered: July 2009
Senior Member
Can you attach it to a bug? That's usually the best way to share code
contributions with the community. We may be able to incorporate either as
an SDK tool add-on or right into the code base of JSF tools project if it
helps tag developers.

One other possibility that someone could look into is using the EMF
generator to create a default editor that understands metadata EMF models.
The reason we haven't proceeded further on this (other than resource
constraints) is that there is a problem to be solved in supporting dynamic
models loaded for different user-defined metadata schemas (external
genmodels). In theory though, it should be possible.


--Cam
Re: Metadata [message #608899 is a reply to message #474095] Mon, 09 April 2007 22:12 Go to previous message
Raghu Srinivasan is currently offline Raghu SrinivasanFriend
Messages: 265
Registered: July 2009
Senior Member
Hi Yury,

The right way to contribute is to launch a bug,
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Java%20S erver%20Faces

and attach your code. We will use the bug to track feedback and progress
on the contribution.
-Raghu Srinivasan
Project Lead - JSF Tools Project


Raghu Srinivasan,
Project Lead - JSF
Re: Metadata [message #608900 is a reply to message #474097] Mon, 09 April 2007 22:13 Go to previous message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 4/9/2007 5:33 PM, Cameron Bateman wrote:
> Can you attach it to a bug? That's usually the best way to share code
> contributions with the community. We may be able to incorporate either as
> an SDK tool add-on or right into the code base of JSF tools project if it
> helps tag developers.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=181674
Re: Metadata [message #608904 is a reply to message #474100] Mon, 09 April 2007 22:38 Go to previous message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
Registered: July 2009
Senior Member
Thanks Yury, this looks great! I can see how we could plop a Wizard on
top of this in the future.


--Cam


Yury Kats wrote:

> On 4/9/2007 5:33 PM, Cameron Bateman wrote:
>> Can you attach it to a bug? That's usually the best way to share code
>> contributions with the community. We may be able to incorporate either as
>> an SDK tool add-on or right into the code base of JSF tools project if it
>> helps tag developers.

> https://bugs.eclipse.org/bugs/show_bug.cgi?id=181674
Re: Metadata [message #609306 is a reply to message #474103] Tue, 10 April 2007 00:14 Go to previous message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 4/9/2007 6:38 PM, Cameron Bateman wrote:
> Thanks Yury, this looks great! I can see how we could plop a Wizard on
> top of this in the future.

Well, this is really a "do once" kind of operation, so I don't
see a lot of benefit in creating extra artifacts around it, especially
given the tight resources on the project.

Besides, there's still a lot of manual work to do after the skeleton
is generated.
Previous Topic:JSF tutorial doc
Next Topic:2.0M6 JSF Content Assist issues
Goto Forum:
  


Current Time: Fri Apr 26 20:47:09 GMT 2024

Powered by FUDForum. Page generated in 0.04603 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top