XForms in OpenOffice 2.0

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

XForms in OpenOffice 2.0

Colin O'Brien
Hello All

I noticed the other day that OpenOffice 2.0 was now available for the
Mac so I downloaded it to try out the XForms capabilities.

Has anyone taken a serious look at this?

I was impressed to see that File>New included the option for a new
XForm.

But I wasn't too clear on what to do next.
Added a few fields (or so I thought) and tried saving it.
I thought OO2 native file formats were now XML, but they seemed to be
binary still.
I could export it to xhtml, but the file didn't have any XForm content,
so probably I hadn't made as much progress as I hoped in adding content
to the document.

No problem I thought, I'll just open an existing XForms file, and see
what that looks like in OO2.
Except that there was no explicit way I could find to open/import an
XForms/xhtml file.
Everything I tried just ended up as a regular text document.

Has anyone had any better progress?
Any pointers on how to get something useful going would be much
appreciated.

Regards
Colin




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms in OpenOffice 2.0

Alessandro  Vernet
Administrator
Colin,

I didn't get a chance to try OpenOffice 2.0 yet, but I looked a while
ago at the OpenDocument specification and they are using the XForms
model but use OpenDocument-specific controls, instead of using the
XForms controls. Some of OpenDocument controls do not exist in XForms
(e.g. the grid control), but most do and it might be possible to
convert automatically an OpenDocument file into an XForms file.

Alex

On 11/2/05, Colin O'Brien <[hidden email]> wrote:

> Hello All
>
> I noticed the other day that OpenOffice 2.0 was now available for the
> Mac so I downloaded it to try out the XForms capabilities.
>
> Has anyone taken a serious look at this?
>
> I was impressed to see that File>New included the option for a new
> XForm.
>
> But I wasn't too clear on what to do next.
> Added a few fields (or so I thought) and tried saving it.
> I thought OO2 native file formats were now XML, but they seemed to be
> binary still.
> I could export it to xhtml, but the file didn't have any XForm content,
> so probably I hadn't made as much progress as I hoped in adding content
> to the document.
>
> No problem I thought, I'll just open an existing XForms file, and see
> what that looks like in OO2.
> Except that there was no explicit way I could find to open/import an
> XForms/xhtml file.
> Everything I tried just ended up as a regular text document.
>
> Has anyone had any better progress?
> Any pointers on how to get something useful going would be much
> appreciated.
>
> Regards
> Colin
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Tools (was XForms in OpenOffice 2.0)

Colin O'Brien
In reply to this post by Colin O'Brien
Hello All,

I'm thinking I would perhaps have been better to ask this more
generally...

what do you use to create your XForms?

A plain text editor?
An XML-aware editor?
An XFORMS-aware editor?
OPS Studio in Eclipse?

What are the good and bad parts of what you are doing, and how does it
mesh with developing for OPS?

Thanks again for any help/comments
Colin

On Nov 2, 2005, at 1:36 PM, Colin O'Brien wrote:

> Hello All
>
> I noticed the other day that OpenOffice 2.0 was now available for the
> Mac so I downloaded it to try out the XForms capabilities.
>
> Has anyone taken a serious look at this?
>
> I was impressed to see that File>New included the option for a new
> XForm.
>
> But I wasn't too clear on what to do next.
> Added a few fields (or so I thought) and tried saving it.
> I thought OO2 native file formats were now XML, but they seemed to be
> binary still.
> I could export it to xhtml, but the file didn't have any XForm
> content, so probably I hadn't made as much progress as I hoped in
> adding content to the document.
>
> No problem I thought, I'll just open an existing XForms file, and see
> what that looks like in OO2.
> Except that there was no explicit way I could find to open/import an
> XForms/xhtml file.
> Everything I tried just ended up as a regular text document.
>
> Has anyone had any better progress?
> Any pointers on how to get something useful going would be much
> appreciated.
>
> Regards
> Colin



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms in OpenOffice 2.0

Colin O'Brien
In reply to this post by Alessandro Vernet
Well, if anyone is interested in trying XForms in OpenOffice, they  
might find this useful

http://blogs.sun.com/roller/page/dancer?
anchor=just_switch_xml_form_documents

Colin

On Nov 2, 2005, at 11:38 PM, Alessandro Vernet wrote:

> Colin,
>
> I didn't get a chance to try OpenOffice 2.0 yet, but I looked a while
> ago at the OpenDocument specification and they are using the XForms
> model but use OpenDocument-specific controls, instead of using the
> XForms controls. Some of OpenDocument controls do not exist in XForms
> (e.g. the grid control), but most do and it might be possible to
> convert automatically an OpenDocument file into an XForms file.
>
> Alex
>
> On 11/2/05, Colin O'Brien <[hidden email]> wrote:
>> Hello All
>>
>> I noticed the other day that OpenOffice 2.0 was now available for the
>> Mac so I downloaded it to try out the XForms capabilities.
>>
>> Has anyone taken a serious look at this?
>>
>> I was impressed to see that File>New included the option for a new
>> XForm.
>>
>> But I wasn't too clear on what to do next.
>> Added a few fields (or so I thought) and tried saving it.
>> I thought OO2 native file formats were now XML, but they seemed to be
>> binary still.
>> I could export it to xhtml, but the file didn't have any XForm  
>> content,
>> so probably I hadn't made as much progress as I hoped in adding  
>> content
>> to the document.
>>
>> No problem I thought, I'll just open an existing XForms file, and see
>> what that looks like in OO2.
>> Except that there was no explicit way I could find to open/import an
>> XForms/xhtml file.
>> Everything I tried just ended up as a regular text document.
>>
>> Has anyone had any better progress?
>> Any pointers on how to get something useful going would be much
>> appreciated.
>>
>> Regards
>> Colin
>>
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the  
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page:  
>> http://www.objectweb.org/wws
>>
>>
>>
>
>
> --
> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/
>
>
> --
> You receive this message as a subscriber of the  
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

Pascal Heus
In reply to this post by Colin O'Brien
Colin & all:
another interesting option is the IBM XForms Generator:
http://www.alphaworks.ibm.com/tech/xfg
Its a component of the Emerging Technologies Toolkit (ETTK) that converts XSchema into XForms.
Runs under Eclipse 3.1 (not 3.2) and must use the 1.4.x JRE (not 1.5).
Havn't tried it with Orbeon yet but might give it a shot soon. If succesful, will make sure to document the procedure.
cheers,
Pascal

Colin O'Brien wrote:
Hello All,

I'm thinking I would perhaps have been better to ask this more generally...

what do you use to create your XForms?

A plain text editor?
An XML-aware editor?
An XFORMS-aware editor?
OPS Studio in Eclipse?

What are the good and bad parts of what you are doing, and how does it mesh with developing for OPS?

Thanks again for any help/comments
Colin

On Nov 2, 2005, at 1:36 PM, Colin O'Brien wrote:

Hello All

I noticed the other day that OpenOffice 2.0 was now available for the Mac so I downloaded it to try out the XForms capabilities.

Has anyone taken a serious look at this?

I was impressed to see that File>New included the option for a new XForm.

But I wasn't too clear on what to do next.
Added a few fields (or so I thought) and tried saving it.
I thought OO2 native file formats were now XML, but they seemed to be binary still.
I could export it to xhtml, but the file didn't have any XForm content, so probably I hadn't made as much progress as I hoped in adding content to the document.

No problem I thought, I'll just open an existing XForms file, and see what that looks like in OO2.
Except that there was no explicit way I could find to open/import an XForms/xhtml file.
Everything I tried just ended up as a regular text document.

Has anyone had any better progress?
Any pointers on how to get something useful going would be much appreciated.

Regards
Colin



-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

Adrian Baker-2
In reply to this post by Colin O'Brien
As far as I'm concerned you can't beat an XML+XML Schema aware editor, but that's partly because we nest XForms markup in our own XML document with it's own schema, rather than XHTML.

But even for creating XHTML+XForms documents I can't see any compelling alternatives to editing by hand. I can see it being a (interesting) challenge to create a generic XForms aware editor because the spec doesn't prescribe any particular container document (perhaps XHTML is a safe assumption though).

XForms markup really isn't that complex though, so I'm not sure what an 'XForms aware' editor really can offer over and above what a good schema-aware editor will give you already (validation, tag completion). Using Eclipse WTP to edit a xml document with a schema even gives you a basic GUI interface to maintain the document, if you're that way inclined.  (Although I believe the approach for combining the XHTML+XForms schemas is still a little unclear).

Adrian

Colin O'Brien wrote:
Hello All,

I'm thinking I would perhaps have been better to ask this more generally...

what do you use to create your XForms?

A plain text editor?
An XML-aware editor?
An XFORMS-aware editor?
OPS Studio in Eclipse?

What are the good and bad parts of what you are doing, and how does it mesh with developing for OPS?

Thanks again for any help/comments
Colin

On Nov 2, 2005, at 1:36 PM, Colin O'Brien wrote:

Hello All

I noticed the other day that OpenOffice 2.0 was now available for the Mac so I downloaded it to try out the XForms capabilities.

Has anyone taken a serious look at this?

I was impressed to see that File>New included the option for a new XForm.

But I wasn't too clear on what to do next.
Added a few fields (or so I thought) and tried saving it.
I thought OO2 native file formats were now XML, but they seemed to be binary still.
I could export it to xhtml, but the file didn't have any XForm content, so probably I hadn't made as much progress as I hoped in adding content to the document.

No problem I thought, I'll just open an existing XForms file, and see what that looks like in OO2.
Except that there was no explicit way I could find to open/import an XForms/xhtml file.
Everything I tried just ended up as a regular text document.

Has anyone had any better progress?
Any pointers on how to get something useful going would be much appreciated.

Regards
Colin



-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

shaworth
In reply to this post by Pascal Heus
I've built a tool that I could release as open-source.  It is a code generator.

The generator is written as a java servlet (a ugly hack that evolved from something else, otherwise I would have released this already) that takes a SQL query, and db connectivity info.   It contacts the database and generates a result set.  The result set is then used to generate XSLT/XPL/INSTANCE STUBS/XFORMS for the entire CRUD lifecycle. The necessary xml files are packaged in a zip file (with a directory structure that begins with the db table name) and sent back to the user.

The generated code is basic but complete.  Two screens are generated, the first is a list of records with add/edit/delete buttons.  The seconds is a "edit" screen with save and cancel buttons.  All of the artwork is packaged, so the zip-files are self-contained and can all be unzipped directly within the resources directory.  The structure is such that they can co-exists.  Of course the page-flow docs must be combined if you need to combine the code from more than one table.

The servlet code is embarrassing, however the results are really kinda of cool and have cut my development time.  The real value is that it provides my junior staff with a working starting point.  Which really cuts down on the flailing around.  A whole lot can be accomplished with cut and paste.

With a bit of work it could evolve into something quite sophisticated.

Thoughts?

Shannon

Pascal Heus wrote:
Colin & all:
another interesting option is the IBM XForms Generator:
http://www.alphaworks.ibm.com/tech/xfg
Its a component of the Emerging Technologies Toolkit (ETTK) that converts XSchema into XForms.
Runs under Eclipse 3.1 (not 3.2) and must use the 1.4.x JRE (not 1.5).
Havn't tried it with Orbeon yet but might give it a shot soon. If succesful, will make sure to document the procedure.
cheers,
Pascal

Colin O'Brien wrote:
Hello All,

I'm thinking I would perhaps have been better to ask this more generally...

what do you use to create your XForms?

A plain text editor?
An XML-aware editor?
An XFORMS-aware editor?
OPS Studio in Eclipse?

What are the good and bad parts of what you are doing, and how does it mesh with developing for OPS?

Thanks again for any help/comments
Colin

On Nov 2, 2005, at 1:36 PM, Colin O'Brien wrote:

Hello All

I noticed the other day that OpenOffice 2.0 was now available for the Mac so I downloaded it to try out the XForms capabilities.

Has anyone taken a serious look at this?

I was impressed to see that File>New included the option for a new XForm.

But I wasn't too clear on what to do next.
Added a few fields (or so I thought) and tried saving it.
I thought OO2 native file formats were now XML, but they seemed to be binary still.
I could export it to xhtml, but the file didn't have any XForm content, so probably I hadn't made as much progress as I hoped in adding content to the document.

No problem I thought, I'll just open an existing XForms file, and see what that looks like in OO2.
Except that there was no explicit way I could find to open/import an XForms/xhtml file.
Everything I tried just ended up as a regular text document.

Has anyone had any better progress?
Any pointers on how to get something useful going would be much appreciated.

Regards
Colin



-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms in OpenOffice 2.0

Erik Bruchez
Administrator
In reply to this post by Colin O'Brien
Good intro.

Alex is correct, if I understand correctly, you end up with an Open
Document file containing some XForms, but not the standard XForms
controls. Then a converter or other type of tool could be written or
used to display the document with a regular XForms engine. An
interesting topic.

-Erik

Colin O'Brien wrote:

> Well, if anyone is interested in trying XForms in OpenOffice, they  
> might find this useful
>
> http://blogs.sun.com/roller/page/dancer?
> anchor=just_switch_xml_form_documents
>
> Colin
>
> On Nov 2, 2005, at 11:38 PM, Alessandro Vernet wrote:
>
>> Colin,
>>
>> I didn't get a chance to try OpenOffice 2.0 yet, but I looked a while
>> ago at the OpenDocument specification and they are using the XForms
>> model but use OpenDocument-specific controls, instead of using the
>> XForms controls. Some of OpenDocument controls do not exist in XForms
>> (e.g. the grid control), but most do and it might be possible to
>> convert automatically an OpenDocument file into an XForms file.
>>
>> Alex
>>
>> On 11/2/05, Colin O'Brien <[hidden email]> wrote:
>>
>>> Hello All
>>>
>>> I noticed the other day that OpenOffice 2.0 was now available for the
>>> Mac so I downloaded it to try out the XForms capabilities.
>>>
>>> Has anyone taken a serious look at this?
>>>
>>> I was impressed to see that File>New included the option for a new
>>> XForm.
>>>
>>> But I wasn't too clear on what to do next.
>>> Added a few fields (or so I thought) and tried saving it.
>>> I thought OO2 native file formats were now XML, but they seemed to be
>>> binary still.
>>> I could export it to xhtml, but the file didn't have any XForm  content,
>>> so probably I hadn't made as much progress as I hoped in adding  content
>>> to the document.
>>>
>>> No problem I thought, I'll just open an existing XForms file, and see
>>> what that looks like in OO2.
>>> Except that there was no explicit way I could find to open/import an
>>> XForms/xhtml file.
>>> Everything I tried just ended up as a regular text document.
>>>
>>> Has anyone had any better progress?
>>> Any pointers on how to get something useful going would be much
>>> appreciated.
>>>
>>> Regards
>>> Colin
>>>
>>>
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the  
>>> [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> ObjectWeb mailing lists service home page:  http://www.objectweb.org/wws
>>>
>>>
>>>
>>
>>
>> --
>> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/
>>
>>
>> --
>> You receive this message as a subscriber of the  
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

Erik Bruchez
Administrator
In reply to this post by Pascal Heus
I tried to install this last week, and had no luck: the Eclipse update
complained that I was missing a component (for XML Schema validation),
but in fact I had that component.

-Erik

Pascal Heus wrote:

> Colin & all:
> another interesting option is the IBM XForms Generator:
> http://www.alphaworks.ibm.com/tech/xfg
> Its a component of the Emerging Technologies Toolkit (ETTK) that
> converts XSchema into XForms.
> Runs under Eclipse 3.1 (not 3.2) and must use the 1.4.x JRE (not 1.5).
> Havn't tried it with Orbeon yet but might give it a shot soon. If
> succesful, will make sure to document the procedure.
> cheers,
> Pascal
>
> Colin O'Brien wrote:
>
>> Hello All,
>>
>> I'm thinking I would perhaps have been better to ask this more
>> generally...
>>
>> what do you use to create your XForms?
>>
>> A plain text editor?
>> An XML-aware editor?
>> An XFORMS-aware editor?
>> OPS Studio in Eclipse?
>>
>> What are the good and bad parts of what you are doing, and how does it
>> mesh with developing for OPS?
>>
>> Thanks again for any help/comments
>> Colin
>>
>> On Nov 2, 2005, at 1:36 PM, Colin O'Brien wrote:
>>
>>> Hello All
>>>
>>> I noticed the other day that OpenOffice 2.0 was now available for the
>>> Mac so I downloaded it to try out the XForms capabilities.
>>>
>>> Has anyone taken a serious look at this?
>>>
>>> I was impressed to see that File>New included the option for a new
>>> XForm.
>>>
>>> But I wasn't too clear on what to do next.
>>> Added a few fields (or so I thought) and tried saving it.
>>> I thought OO2 native file formats were now XML, but they seemed to be
>>> binary still.
>>> I could export it to xhtml, but the file didn't have any XForm
>>> content, so probably I hadn't made as much progress as I hoped in
>>> adding content to the document.
>>>
>>> No problem I thought, I'll just open an existing XForms file, and see
>>> what that looks like in OO2.
>>> Except that there was no explicit way I could find to open/import an
>>> XForms/xhtml file.
>>> Everything I tried just ended up as a regular text document.
>>>
>>> Has anyone had any better progress?
>>> Any pointers on how to get something useful going would be much
>>> appreciated.
>>>
>>> Regards
>>> Colin
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>--
>>You receive this message as a subscriber of the [hidden email] mailing list.
>>To unsubscribe: mailto:[hidden email]
>>For general help: mailto:[hidden email]?subject=help
>>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>  
>>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

Hank Ratzesberger

I was only able to install from scratch, renaming my old
install directory.  The context menu has a "validate xml"
and "validate xml schema" and "generate xml" ( from schema)
which creates a kind of XForms model file).

Using schema uri's that are not published and unable to
get past an /org/apache/xml/PrefixResolver error though.

Also a "Convert for XForms renderer" option for Chiba,
Novel and others.

--Hank





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

damonrand
In reply to this post by shaworth
Hi Shannon,

    It sounds like what you are doing is really neat. Your approach seems to
have a lot in common with Ruby on rails and trails..

http://www.rubyonrails.org/
https://trails.dev.java.net/

The idea is you start with a database (or a domain model in the case of
trails) and autogenerate entire crud applications from it.. The issue comes
when you try to generalize and customize these applications.. The xforms
approach could well be more powerful and easily customized than the Tapestry
views used in trails though.

Damon.


----- Original Message -----
From: "Shannon Haworth" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, November 03, 2005 8:35 PM
Subject: Re: [ops-users] Tools (was XForms in OpenOffice 2.0)


> I've built a tool that I could release as open-source.  It is a code
> generator.
>
> The generator is written as a java servlet (a ugly hack that evolved
> from something else, otherwise I would have released this already) that
> takes a SQL query, and db connectivity info.   It contacts the database
> and generates a result set.  The result set is then used to generate
> XSLT/XPL/INSTANCE STUBS/XFORMS for the entire CRUD lifecycle. The
> necessary xml files are packaged in a zip file (with a directory
> structure that begins with the db table name) and sent back to the user.
>
> The generated code is basic but complete.  Two screens are generated,
> the first is a list of records with add/edit/delete buttons.  The
> seconds is a "edit" screen with save and cancel buttons.  All of the
> artwork is packaged, so the zip-files are self-contained and can all be
> unzipped directly within the resources directory.  The structure is such
> that they can co-exists.  Of course the page-flow docs must be combined
> if you need to combine the code from more than one table.
>
> The servlet code is embarrassing, however the results are really kinda
> of cool and have cut my development time.  The real value is that it
> provides my junior staff with a working starting point.  Which really
> cuts down on the flailing around.  A whole lot can be accomplished with
> cut and paste.
>
> With a bit of work it could evolve into something quite sophisticated.
>
> Thoughts?
>
> Shannon
>
> Pascal Heus wrote:
>
>> Colin & all:
>> another interesting option is the IBM XForms Generator:
>> http://www.alphaworks.ibm.com/tech/xfg
>> Its a component of the Emerging Technologies Toolkit (ETTK) that
>> converts XSchema into XForms.
>> Runs under Eclipse 3.1 (not 3.2) and must use the 1.4.x JRE (not 1.5).
>> Havn't tried it with Orbeon yet but might give it a shot soon. If
>> succesful, will make sure to document the procedure.
>> cheers,
>> Pascal
>>
>> Colin O'Brien wrote:
>>
>>> Hello All,
>>>
>>> I'm thinking I would perhaps have been better to ask this more
>>> generally...
>>>
>>> what do you use to create your XForms?
>>>
>>> A plain text editor?
>>> An XML-aware editor?
>>> An XFORMS-aware editor?
>>> OPS Studio in Eclipse?
>>>
>>> What are the good and bad parts of what you are doing, and how does
>>> it mesh with developing for OPS?
>>>
>>> Thanks again for any help/comments
>>> Colin
>>>
>>> On Nov 2, 2005, at 1:36 PM, Colin O'Brien wrote:
>>>
>>>> Hello All
>>>>
>>>> I noticed the other day that OpenOffice 2.0 was now available for
>>>> the Mac so I downloaded it to try out the XForms capabilities.
>>>>
>>>> Has anyone taken a serious look at this?
>>>>
>>>> I was impressed to see that File>New included the option for a new
>>>> XForm.
>>>>
>>>> But I wasn't too clear on what to do next.
>>>> Added a few fields (or so I thought) and tried saving it.
>>>> I thought OO2 native file formats were now XML, but they seemed to
>>>> be binary still.
>>>> I could export it to xhtml, but the file didn't have any XForm
>>>> content, so probably I hadn't made as much progress as I hoped in
>>>> adding content to the document.
>>>>
>>>> No problem I thought, I'll just open an existing XForms file, and
>>>> see what that looks like in OO2.
>>>> Except that there was no explicit way I could find to open/import an
>>>> XForms/xhtml file.
>>>> Everything I tried just ended up as a regular text document.
>>>>
>>>> Has anyone had any better progress?
>>>> Any pointers on how to get something useful going would be much
>>>> appreciated.
>>>>
>>>> Regards
>>>> Colin
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>
>>>--
>>>You receive this message as a subscriber of the [hidden email]
>>>mailing list.
>>>To unsubscribe: mailto:[hidden email]
>>>For general help: mailto:[hidden email]?subject=help
>>>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>>
>>>
>>
>>------------------------------------------------------------------------
>>
>>
>>--
>>You receive this message as a subscriber of the [hidden email]
>>mailing list.
>>To unsubscribe: mailto:[hidden email]
>>For general help: mailto:[hidden email]?subject=help
>>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>
>
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

Alessandro  Vernet
Administrator
In reply to this post by shaworth
Hi Shannon,

That sounds like a very nice tool, especially to get started. And
since XForms is being generated (instead of a mountain of procedural
code), it should be quite easy to modify and use as a starting point.

Do you think you could share a few screenshots from the UI provided by
the servlet and the actual result to give us a better idea of what you
are talking about?

Alex

On 11/3/05, Shannon Haworth <[hidden email]> wrote:

>  I've built a tool that I could release as open-source.  It is a code
> generator.
>
>  The generator is written as a java servlet (a ugly hack that evolved from
> something else, otherwise I would have released this already) that takes a
> SQL query, and db connectivity info.   It contacts the database and
> generates a result set.  The result set is then used to generate
> XSLT/XPL/INSTANCE STUBS/XFORMS for the entire CRUD lifecycle. The necessary
> xml files are packaged in a zip file (with a directory structure that begins
> with the db table name) and sent back to the user.
>
>  The generated code is basic but complete.  Two screens are generated, the
> first is a list of records with add/edit/delete buttons.  The seconds is a
> "edit" screen with save and cancel buttons.  All of the artwork is packaged,
> so the zip-files are self-contained and can all be unzipped directly within
> the resources directory.  The structure is such that they can co-exists.  Of
> course the page-flow docs must be combined if you need to combine the code
> from more than one table.
>
>  The servlet code is embarrassing, however the results are really kinda of
> cool and have cut my development time.  The real value is that it provides
> my junior staff with a working starting point.  Which really cuts down on
> the flailing around.  A whole lot can be accomplished with cut and paste.
>
>  With a bit of work it could evolve into something quite sophisticated.
>
>  Thoughts?
>
>  Shannon
>
>
>  Pascal Heus wrote:
>  Colin & all:
>  another interesting option is the IBM XForms Generator:
>  http://www.alphaworks.ibm.com/tech/xfg
>  Its a component of the Emerging Technologies Toolkit (ETTK) that converts
> XSchema into XForms.
>  Runs under Eclipse 3.1 (not 3.2) and must use the 1.4.x JRE (not 1.5).
>  Havn't tried it with Orbeon yet but might give it a shot soon. If
> succesful, will make sure to document the procedure.
>  cheers,
>  Pascal
>
>  Colin O'Brien wrote:
> Hello All,
>
>  I'm thinking I would perhaps have been better to ask this more generally...
>
>  what do you use to create your XForms?
>
>  A plain text editor?
>  An XML-aware editor?
>  An XFORMS-aware editor?
>  OPS Studio in Eclipse?
>
>  What are the good and bad parts of what you are doing, and how does it mesh
> with developing for OPS?
>
>  Thanks again for any help/comments
>  Colin
>
>  On Nov 2, 2005, at 1:36 PM, Colin O'Brien wrote:
>
>
> Hello All
>
>  I noticed the other day that OpenOffice 2.0 was now available for the Mac
> so I downloaded it to try out the XForms capabilities.
>
>  Has anyone taken a serious look at this?
>
>  I was impressed to see that File>New included the option for a new XForm.
>
>  But I wasn't too clear on what to do next.
>  Added a few fields (or so I thought) and tried saving it.
>  I thought OO2 native file formats were now XML, but they seemed to be
> binary still.
>  I could export it to xhtml, but the file didn't have any XForm content, so
> probably I hadn't made as much progress as I hoped in adding content to the
> document.
>
>  No problem I thought, I'll just open an existing XForms file, and see what
> that looks like in OO2.
>  Except that there was no explicit way I could find to open/import an
> XForms/xhtml file.
>  Everything I tried just ended up as a regular text document.
>
>  Has anyone had any better progress?
>  Any pointers on how to get something useful going would be much
> appreciated.
>
>  Regards
>  Colin
>
>
>  ________________________________
>
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>  ________________________________
>
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

Alessandro  Vernet
Administrator
In reply to this post by Hank Ratzesberger
Hi Hank,

Have you been able to get their XML Forms Generator working on Eclipse
3.1 + EMF 2.1, or was this on Eclipse 3.0?

Alex

On 11/3/05, Hank Ratzesberger <[hidden email]> wrote:

>
> I was only able to install from scratch, renaming my old
> install directory.  The context menu has a "validate xml"
> and "validate xml schema" and "generate xml" ( from schema)
> which creates a kind of XForms model file).
>
> Using schema uri's that are not published and unable to
> get past an /org/apache/xml/PrefixResolver error though.
>
> Also a "Convert for XForms renderer" option for Chiba,
> Novel and others.
>
> --Hank
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

Alessandro  Vernet
Administrator
In reply to this post by Adrian Baker-2
On 11/3/05, Adrian Baker <[hidden email]> wrote:
> (Although I believe the approach for combining the XHTML+XForms schemas is
> still a little unclear).

Adrian,

See attached modified schemas for XHTML and XForms. They work quite
well in IntelliJ and might work as well in other schema-driven XML
editors.

Alex
--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/

xforms-1_0-orbeon.xsd (56K) Download Attachment
xhtml1-transitional-orbeon.xsd (4K) Download Attachment
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

Pascal Heus
In reply to this post by Erik Bruchez
Erik:
For the ETTK XForms Generator, you may face the same issue as I did :
java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver
This comes up if Eclipse is running under a 1.5 JRE.
To resolve it, make sure it starts under a 1.4.x JRE by inserting the
the following at the beginning of your eclipse.ini file:
-vm
C:\Program Files\Java\j2re1.4.2_09\bin\javaw.exe
-vmargs -Xms40m -Xmx256m
Make sure the the -vm and the jre path are on different lines otherwise
Eclipse will ignore them (that one took me an hour to figure out... <G>)
Also, it won't install under Eclipse 3.2... I started with a fresh 3.1
install . Let me know if I can be of further assistance.
Hope this helps,
*PascaL*

Erik Bruchez wrote:

> I tried to install this last week, and had no luck: the Eclipse update
> complained that I was missing a component (for XML Schema validation),
> but in fact I had that component.
>
> -Erik
>
> Pascal Heus wrote:
>
>> Colin & all:
>> another interesting option is the IBM XForms Generator:
>> http://www.alphaworks.ibm.com/tech/xfg
>> Its a component of the Emerging Technologies Toolkit (ETTK) that
>> converts XSchema into XForms.
>> Runs under Eclipse 3.1 (not 3.2) and must use the 1.4.x JRE (not 1.5).
>> Havn't tried it with Orbeon yet but might give it a shot soon. If
>> succesful, will make sure to document the procedure.
>> cheers,
>> Pascal
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

Alessandro  Vernet
Administrator
Thank you Pascal! I will give it another try with this in mind.

Alex

On 11/3/05, Pascal Heus <[hidden email]> wrote:

> Erik:
> For the ETTK XForms Generator, you may face the same issue as I did :
> java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver
> This comes up if Eclipse is running under a 1.5 JRE.
> To resolve it, make sure it starts under a 1.4.x JRE by inserting the
> the following at the beginning of your eclipse.ini file:
> -vm
> C:\Program Files\Java\j2re1.4.2_09\bin\javaw.exe
> -vmargs -Xms40m -Xmx256m
> Make sure the the -vm and the jre path are on different lines otherwise
> Eclipse will ignore them (that one took me an hour to figure out... <G>)
> Also, it won't install under Eclipse 3.2... I started with a fresh 3.1
> install . Let me know if I can be of further assistance.
> Hope this helps,
> *PascaL*
>
> Erik Bruchez wrote:
>
> > I tried to install this last week, and had no luck: the Eclipse update
> > complained that I was missing a component (for XML Schema validation),
> > but in fact I had that component.
> >
> > -Erik
> >
> > Pascal Heus wrote:
> >
> >> Colin & all:
> >> another interesting option is the IBM XForms Generator:
> >> http://www.alphaworks.ibm.com/tech/xfg
> >> Its a component of the Emerging Technologies Toolkit (ETTK) that
> >> converts XSchema into XForms.
> >> Runs under Eclipse 3.1 (not 3.2) and must use the 1.4.x JRE (not 1.5).
> >> Havn't tried it with Orbeon yet but might give it a shot soon. If
> >> succesful, will make sure to document the procedure.
> >> cheers,
> >> Pascal
> >
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

shaworth
In reply to this post by Alessandro Vernet
Alessandro,

Exactly!  It is a great "getting started" tool and it is quite easy to modify/rearrange the XML to suite a need.

Yes, I will release the tool, with screenshots, over the weekend.

Shannon


Alessandro Vernet wrote:
Hi Shannon,

That sounds like a very nice tool, especially to get started. And
since XForms is being generated (instead of a mountain of procedural
code), it should be quite easy to modify and use as a starting point.

Do you think you could share a few screenshots from the UI provided by
the servlet and the actual result to give us a better idea of what you
are talking about?

Alex

On 11/3/05, Shannon Haworth [hidden email] wrote:
  
 I've built a tool that I could release as open-source.  It is a code
generator.

 The generator is written as a java servlet (a ugly hack that evolved from
something else, otherwise I would have released this already) that takes a
SQL query, and db connectivity info.   It contacts the database and
generates a result set.  The result set is then used to generate
XSLT/XPL/INSTANCE STUBS/XFORMS for the entire CRUD lifecycle. The necessary
xml files are packaged in a zip file (with a directory structure that begins
with the db table name) and sent back to the user.

 The generated code is basic but complete.  Two screens are generated, the
first is a list of records with add/edit/delete buttons.  The seconds is a
"edit" screen with save and cancel buttons.  All of the artwork is packaged,
so the zip-files are self-contained and can all be unzipped directly within
the resources directory.  The structure is such that they can co-exists.  Of
course the page-flow docs must be combined if you need to combine the code
from more than one table.

 The servlet code is embarrassing, however the results are really kinda of
cool and have cut my development time.  The real value is that it provides
my junior staff with a working starting point.  Which really cuts down on
the flailing around.  A whole lot can be accomplished with cut and paste.

 With a bit of work it could evolve into something quite sophisticated.

 Thoughts?

 Shannon


 Pascal Heus wrote:
 Colin & all:
 another interesting option is the IBM XForms Generator:
 http://www.alphaworks.ibm.com/tech/xfg
 Its a component of the Emerging Technologies Toolkit (ETTK) that converts
XSchema into XForms.
 Runs under Eclipse 3.1 (not 3.2) and must use the 1.4.x JRE (not 1.5).
 Havn't tried it with Orbeon yet but might give it a shot soon. If
succesful, will make sure to document the procedure.
 cheers,
 Pascal

 Colin O'Brien wrote:
Hello All,

 I'm thinking I would perhaps have been better to ask this more generally...

 what do you use to create your XForms?

 A plain text editor?
 An XML-aware editor?
 An XFORMS-aware editor?
 OPS Studio in Eclipse?

 What are the good and bad parts of what you are doing, and how does it mesh
with developing for OPS?

 Thanks again for any help/comments
 Colin

 On Nov 2, 2005, at 1:36 PM, Colin O'Brien wrote:


Hello All

 I noticed the other day that OpenOffice 2.0 was now available for the Mac
so I downloaded it to try out the XForms capabilities.

 Has anyone taken a serious look at this?

 I was impressed to see that File>New included the option for a new XForm.

 But I wasn't too clear on what to do next.
 Added a few fields (or so I thought) and tried saving it.
 I thought OO2 native file formats were now XML, but they seemed to be
binary still.
 I could export it to xhtml, but the file didn't have any XForm content, so
probably I hadn't made as much progress as I hoped in adding content to the
document.

 No problem I thought, I'll just open an existing XForms file, and see what
that looks like in OO2.
 Except that there was no explicit way I could find to open/import an
XForms/xhtml file.
 Everything I tried just ended up as a regular text document.

 Has anyone had any better progress?
 Any pointers on how to get something useful going would be much
appreciated.

 Regards
 Colin


 ________________________________


--
You receive this message as a subscriber of the [hidden email]
mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


 ________________________________


--
You receive this message as a subscriber of the [hidden email]
mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws




--
You receive this message as a subscriber of the [hidden email]
mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



    


--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/

  

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Tools (was XForms in OpenOffice 2.0)

Hank Ratzesberger
In reply to this post by Alessandro Vernet
Eclipse SDK
Version: 3.1.0
Build id: I20050627-1435

I cannot yet get past the org/apache/xml/utils/PrefixResolver
issue, although I run under 1.4.2_02 ,
There must be a resource bundle for this....

--Hank



----- Original Message -----
From: "Alessandro Vernet" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, November 03, 2005 5:38 PM
Subject: Re: [ops-users] Tools (was XForms in OpenOffice 2.0)


Hi Hank,

Have you been able to get their XML Forms Generator working on Eclipse
3.1 + EMF 2.1, or was this on Eclipse 3.0?

Alex

On 11/3/05, Hank Ratzesberger <[hidden email]> wrote:

>
> I was only able to install from scratch, renaming my old
> install directory.  The context menu has a "validate xml"
> and "validate xml schema" and "generate xml" ( from schema)
> which creates a kind of XForms model file).
>
> Using schema uri's that are not published and unable to
> get past an /org/apache/xml/PrefixResolver error though.
>
> Also a "Convert for XForms renderer" option for Chiba,
> Novel and others.
>
> --Hank
>
>
>
>
>
>
> --



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws