cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Larsen" <gary.lar...@envisn.com>
Subject RE: CForms components for 2.1.9
Date Fri, 26 Jan 2007 17:01:07 GMT
I guess what's confusing me now are the script files.

In the .9 dist, stylesheets reference files that don't exist (dojo.js) or
files that are in another block (cocoon.js).  

There is a common.js but I can't find any references to it anywhere but is
does contain a forms_submitForm() but doesn't seem to work.  There are a a
half dozen js files in the ajax block but I don't know if they are samples
or necessary.

I'm probably wrong but it seems like the forms block does not work
completely anymore (onChange) unless it has the ajax components, maybe.

It just seems like a treasure hunt to figure out what's required and where
all the pieces are located. Are they in samples, src, build, blocks or
buried in jars??  

I guess what I looking for is 1) the minimum that's required and 2) optional
stuff 

The forms in .7 had the sample basic stylesheets and optional stuff like the
calendar scripts.  Can't the current forms be packaged a bit more modular or
have a guide?

Just a bit of user frustration I guess. Unfortunately, my fallback plan is
to whack the ajax stuff out of .9 so my forms will work like they do in .7

If I'm missing something please let me know.

Gary

> -----Original Message-----
> From: Grzegorz Kossakowski [mailto:grek@tuffmail.com] 
> Sent: Friday, January 26, 2007 10:26 AM
> To: users@cocoon.apache.org
> Subject: Re: CForms components for 2.1.9
> 
> Gary Larsen napisal(a):
> > Hi Grzegorz,
> >
> >   
> >> Jeremy Quinn (who has done great amount of dojofing Forms 
> recently) 
> >> explained where Dojo resources are stored:
> >> http://article.gmane.org/gmane.text.xml.cocoon.devel/69692
> >>     
> >
> > Thanks for the pointer.  It seems that the ajax-block jar in 2.1.9 
> > does not contain dojo.js.
> >   
> What ajax-block jar? Do you mean dojo-rsrc-20060310.jar? This 
> jar obviously includes Dojo stuff and it *is* in 2.1.9, see:
> http://svn.apache.org/viewvc/cocoon/tags/RELEASE_2_1_9/lib/optional/
> > I can't upgrade to 2.1.0 due to a continuation bug.  Would it be 
> > possible to use the .10 cform components in .9?
> >   
> I think so. There are no major refactorings between minor 
> release, usually. So it should be done just by replacing 
> necessary blocks.
> > I found documentation on setting up sitemaps for ajax but 
> not really 
> > anything on setting up the components.  Are there some 
> other user docs 
> > anywhere?
> >
> >   
> What do you mean by setting up components for ajax exactly?
> 
> --
> Grzegorz Kossakowski
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message