Re: XMLForm UI Builder

2002-11-19 Thread Scott Warren




I sent an example recently.  Unfortunately I am a little snowed under at
the moment. I will get an example soon .. Promise

Take Care

Scott Warren

Ivelin Ivanov wrote:

  Interesting approach.

Can you share an example?


Ivelin


- Original Message -
From: "Scott Warren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 17, 2002 3:45 PM
Subject: Re: XMLForm UI Builder


  
  
Senhaji,

An easy way that I have achieved this is to generate an XML document
that has all the information (Java Bean properties + code, Form Elements
etc) then I created a number of XSL Documents that take the XML doc and
produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc.
Then all you need to do is change the layout of the XMLForm as
needed.. I use Ant to generate the files from the XML but you can
use a Cocoon pipleine to generate the files.

Hope this helps

Scott Warren

Senhaji wrote:



  Hello,

I've just finished playing with the XMLForm wizard example. I've learned
  

  
  a
  
  

  lot of good concepts such as the separation between the content, the
presentation and the validation in the form building process. After that,
  

  
  I
  
  

  started looking for an XMLForm builder that would help me speed up the
  

  
  form
  
  

  building process. But without success! How can I explain to the
  

  
  management
  
  

  that even building a simple Form with C2 will take ~3 days of
  

  
  development?
  
  

  not easy -).

It could be very nice if from a form builder one can generate all the
necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
HTML or whatever widget, XSL for the form layout, XML schema for
validation,...).

Are there any works in this area ?

Thanks in advance,

Senhaji


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>





  



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


  
  


  






Re: XMLForm UI Builder

2002-11-19 Thread Ivelin Ivanov

Interesting approach.

Can you share an example?


Ivelin


- Original Message -
From: "Scott Warren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 17, 2002 3:45 PM
Subject: Re: XMLForm UI Builder


> Senhaji,
>
> An easy way that I have achieved this is to generate an XML document
> that has all the information (Java Bean properties + code, Form Elements
> etc) then I created a number of XSL Documents that take the XML doc and
> produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc.
> Then all you need to do is change the layout of the XMLForm as
> needed.. I use Ant to generate the files from the XML but you can
> use a Cocoon pipleine to generate the files.
>
> Hope this helps
>
> Scott Warren
>
> Senhaji wrote:
>
> >Hello,
> >
> >I've just finished playing with the XMLForm wizard example. I've learned
a
> >lot of good concepts such as the separation between the content, the
> >presentation and the validation in the form building process. After that,
I
> >started looking for an XMLForm builder that would help me speed up the
form
> >building process. But without success! How can I explain to the
management
> >that even building a simple Form with C2 will take ~3 days of
development?
> >not easy -).
> >
> >It could be very nice if from a form builder one can generate all the
> >necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
> >HTML or whatever widget, XSL for the form layout, XML schema for
> >validation,...).
> >
> >Are there any works in this area ?
> >
> >Thanks in advance,
> >
> >Senhaji
> >
> >
> >-
> >Please check that your question  has not already been answered in the
> >FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
> >
> >
> >
> >
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: XMLForm UI Builder

2002-11-18 Thread Scott Warren




I would like to be able to send you the stuff but I cannot as it's all overly
complex for just an example (When I say complex I mean it uses a lot of my
own logicsheets).

The idea was basically to have 1 document (XML) and generate all the information
from that. I have attached a sample document (example.xmb). Using the style
sheet (databeans.xsl) you can create a .java file which can be compiled into
a Bean. If you included in the example.xmb the information needed to generate
a generic XMLForm and Validator then you would on your way.

Then all you need is an Ant Script with an action like this 




.. etc.

I hope this helps. I know the description is not very completed and the example
files don't all match up but hopfully you get the idea

Regards

Scott Warren

Rob Johnston wrote:

  Scott,

Would it be possible for you to send the related files to me to take a
look at?  This is very interesting to me, as I'm in a bit of a bind with
the XMLForms stuff I've been working on.

If it is company proprietary -- don't worry about it.  If you have some
generic stuffs I could take a look at, that would be great. :-)

thanks,
rob

On Mon, 18 Nov 2002, Scott Warren wrote:

  
  
Senhaji,

An easy way that I have achieved this is to generate an XML document 
that has all the information (Java Bean properties + code, Form Elements 
etc) then I created a number of XSL Documents that take the XML doc and 
produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc. 
Then all you need to do is change the layout of the XMLForm as 
needed.. I use Ant to generate the files from the XML but you can 
use a Cocoon pipleine to generate the files.

Hope this helps

Scott Warren

Senhaji wrote:



  Hello,

I've just finished playing with the XMLForm wizard example. I've learned a
lot of good concepts such as the separation between the content, the
presentation and the validation in the form building process. After that, I
started looking for an XMLForm builder that would help me speed up the form
building process. But without success! How can I explain to the management
that even building a simple Form with C2 will take ~3 days of development?
not easy -).

It could be very nice if from a form builder one can generate all the
necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
HTML or whatever widget, XSL for the form layout, XML schema for
validation,...).

Are there any works in this area ?

Thanks in advance,

Senhaji


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>





  



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

  
  

  





http://ocom.ocom/databeans/1.0"; tablename="tblAddress" 
datasource="st_ucm">



0java.text.NumberFormat.getNumberInstance()ID
""TestName
""Body 



http://www.w3.org/1999/XSL/Transform"; xmlns:db="http://ocom.ocom/databeans/1.0"; version="1.0">

  
	
	
	package ;
	
	import com.ocom.framework.cocoon.components.language.markup.databeans.AbstractDataBean;
	
	import ;
	
	
  public class  extends AbstractDataBean implements java.io.Serializable {
	
	
		static final String LOCATION = ".";
	
		private boolean BEAN_IsDirtyFlag = false;
		
		/* Property Change Support */
		private java.beans.PropertyChangeSupport propertySupport;
		

		private 
			 
			 = ;			
		
		
		/*
		 * Default constructor - Also creates the PropertyChangeSupport
		 */
		public  () {
			dateCreated = L;
			
			propertySupport = new java.beans.PropertyChangeSupport ( this ); 
		} 
		 
		/*
		 * Add a Property Change Listener
		 */
		public void addPropertyChangeListener (java.beans.PropertyChangeListener listener) { 
			propertySupport.addPropertyChangeListener (listener); 
		} 
		
		/*
		 * Remove a Property Change Listener
		 */
		public void removePropertyChangeListener (java.beans.PropertyChangeListener listener) { 
			propertySupport.removePropertyChangeListener (listener); 
		} 	
		
		/*
		 * Get the value of the  property
		 * @return the value of the property
		 */	
		public   get() { 
			return ; 
		} 
		
		/*
		 * Set the value of the  property
		 */
		public void set( value) { 
			 old = this.;
			
	
			this. = value;			
			
	
			//propertySupport.firePropertyChange("", old,  );
		} 	
		
		
		protected void setBEAN_Dirty(String propertyName) {
			BEAN_IsDirtyFlag = true;
			System.out.println ("Bean Was set Dirty by " + propertyName);
		}
		
		public boolean isBeanDirty() {
			return BEAN_IsDirtyFlag;
		}
		
		public void resetDirtyFlag() {
			BEA

RE: XMLForm UI Builder

2002-11-18 Thread Senhaji
Thank you guys. I'll get a look to the XYbrix tool.
Scott, your approach sounds good too. I'll appreciate a lot if you can drop
me your ANT generation script to save me time and money -)

Regards,

Senhaji

-Message d'origine-
De : Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]]
Envoye : dimanche 17 novembre 2002 23:49
A : [EMAIL PROTECTED]
Objet : Re: XMLForm UI Builder



I've been using XYbrix (http://www.jbrix.org/kits/xybrix/overview.html)
to edit xml files for some time and find it quite easy to use.
IIUC it uses xforms stuff to make the forms, and it's all GUI.
The license is apache compatible, so maybe it could help.

my 2c

Scott Warren wrote:
> Senhaji,
>
> An easy way that I have achieved this is to generate an XML document
> that has all the information (Java Bean properties + code, Form Elements
> etc) then I created a number of XSL Documents that take the XML doc and
> produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc.
> Then all you need to do is change the layout of the XMLForm as
> needed.. I use Ant to generate the files from the XML but you can
> use a Cocoon pipleine to generate the files.
>
> Hope this helps
>
> Scott Warren
>
> Senhaji wrote:
>
>> Hello,
>>
>> I've just finished playing with the XMLForm wizard example. I've
>> learned a
>> lot of good concepts such as the separation between the content, the
>> presentation and the validation in the form building process. After
>> that, I
>> started looking for an XMLForm builder that would help me speed up the
>> form
>> building process. But without success! How can I explain to the
>> management
>> that even building a simple Form with C2 will take ~3 days of
>> development?
>> not easy -).
>>
>> It could be very nice if from a form builder one can generate all the
>> necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
>> HTML or whatever widget, XSL for the form layout, XML schema for
>> validation,...).
>>
>> Are there any works in this area ?
>>
>> Thanks in advance,
>>
>> Senhaji
>>

--
Nicola Ken Barozzi   [EMAIL PROTECTED]
 - verba volant, scripta manent -
(discussions get forgotten, just code remains)
-


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: XMLForm UI Builder

2002-11-17 Thread Nicola Ken Barozzi

I've been using XYbrix (http://www.jbrix.org/kits/xybrix/overview.html) 
to edit xml files for some time and find it quite easy to use.
IIUC it uses xforms stuff to make the forms, and it's all GUI.
The license is apache compatible, so maybe it could help.

my 2c

Scott Warren wrote:
Senhaji,

An easy way that I have achieved this is to generate an XML document 
that has all the information (Java Bean properties + code, Form Elements 
etc) then I created a number of XSL Documents that take the XML doc and 
produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc. 
Then all you need to do is change the layout of the XMLForm as 
needed.. I use Ant to generate the files from the XML but you can 
use a Cocoon pipleine to generate the files.

Hope this helps

Scott Warren

Senhaji wrote:

Hello,

I've just finished playing with the XMLForm wizard example. I've 
learned a
lot of good concepts such as the separation between the content, the
presentation and the validation in the form building process. After 
that, I
started looking for an XMLForm builder that would help me speed up the 
form
building process. But without success! How can I explain to the 
management
that even building a simple Form with C2 will take ~3 days of 
development?
not easy -).

It could be very nice if from a form builder one can generate all the
necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
HTML or whatever widget, XSL for the form layout, XML schema for
validation,...).

Are there any works in this area ?

Thanks in advance,

Senhaji


--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: XMLForm UI Builder

2002-11-17 Thread Scott Warren
Senhaji,

An easy way that I have achieved this is to generate an XML document 
that has all the information (Java Bean properties + code, Form Elements 
etc) then I created a number of XSL Documents that take the XML doc and 
produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc. 
Then all you need to do is change the layout of the XMLForm as 
needed.. I use Ant to generate the files from the XML but you can 
use a Cocoon pipleine to generate the files.

Hope this helps

Scott Warren

Senhaji wrote:

Hello,

I've just finished playing with the XMLForm wizard example. I've learned a
lot of good concepts such as the separation between the content, the
presentation and the validation in the form building process. After that, I
started looking for an XMLForm builder that would help me speed up the form
building process. But without success! How can I explain to the management
that even building a simple Form with C2 will take ~3 days of development?
not easy -).

It could be very nice if from a form builder one can generate all the
necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
HTML or whatever widget, XSL for the form layout, XML schema for
validation,...).

Are there any works in this area ?

Thanks in advance,

Senhaji


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>



 




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: XMLForm UI Builder

2002-11-17 Thread Senhaji
Thanks Ivelin.

-Message d'origine-
De : Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Envoyé : dimanche 17 novembre 2002 17:49
À : [EMAIL PROTECTED]
Objet : Re: XMLForm UI Builder


There is no current work on a XMLForm builder, to my knowledge.

But you are welcome to pitch in if you want.


Ivelin


- Original Message -
From: "Senhaji" <[EMAIL PROTECTED]>
To: "Cocoon-Users" <[EMAIL PROTECTED]>
Sent: Sunday, November 17, 2002 10:12 AM
Subject: XMLForm UI Builder


> Hello,
>
> I've just finished playing with the XMLForm wizard example. I've learned a
> lot of good concepts such as the separation between the content, the
> presentation and the validation in the form building process. After that,
I
> started looking for an XMLForm builder that would help me speed up the
form
> building process. But without success! How can I explain to the management
> that even building a simple Form with C2 will take ~3 days of development?
> not easy -).
>
> It could be very nice if from a form builder one can generate all the
> necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
> HTML or whatever widget, XSL for the form layout, XML schema for
> validation,...).
>
> Are there any works in this area ?
>
> Thanks in advance,
>
> Senhaji
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: XMLForm UI Builder

2002-11-17 Thread Ivelin Ivanov
There is no current work on a XMLForm builder, to my knowledge.

But you are welcome to pitch in if you want.


Ivelin


- Original Message -
From: "Senhaji" <[EMAIL PROTECTED]>
To: "Cocoon-Users" <[EMAIL PROTECTED]>
Sent: Sunday, November 17, 2002 10:12 AM
Subject: XMLForm UI Builder


> Hello,
>
> I've just finished playing with the XMLForm wizard example. I've learned a
> lot of good concepts such as the separation between the content, the
> presentation and the validation in the form building process. After that,
I
> started looking for an XMLForm builder that would help me speed up the
form
> building process. But without success! How can I explain to the management
> that even building a simple Form with C2 will take ~3 days of development?
> not easy -).
>
> It could be very nice if from a form builder one can generate all the
> necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
> HTML or whatever widget, XSL for the form layout, XML schema for
> validation,...).
>
> Are there any works in this area ?
>
> Thanks in advance,
>
> Senhaji
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




XMLForm UI Builder

2002-11-17 Thread Senhaji
Hello,

I've just finished playing with the XMLForm wizard example. I've learned a
lot of good concepts such as the separation between the content, the
presentation and the validation in the form building process. After that, I
started looking for an XMLForm builder that would help me speed up the form
building process. But without success! How can I explain to the management
that even building a simple Form with C2 will take ~3 days of development?
not easy -).

It could be very nice if from a form builder one can generate all the
necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
HTML or whatever widget, XSL for the form layout, XML schema for
validation,...).

Are there any works in this area ?

Thanks in advance,

Senhaji


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>