Re: Is cocoon dead ?

2012-11-12 Thread Bart Remmerie
Hi Robby  others,

I'm not judging the steps that have been taken.  I'm just wondering why
there was such a decline in active community.

IMHO, moving to Maven, 2.2 and 3.0 make sense,
but there's something missing that you need if you want to keep your
userbase broad  involved: decent documentation and an acceptable learning
curve !


And remember, an autopsy has a function: learn from previous mistakes.

Bart

On Sun, Nov 11, 2012 at 9:40 PM, Robby Pelssers robby.pelss...@nxp.comwrote:

 Hi Bart,

 I'd say we've learned people are reluctant to change.. even developers.
 But to be honest.. it was C2.2 forcing me to learn maven and I've been
 using it ever since for all new projects. Same holds true for Spring
 actually.  And where I could understand the drop back then, maven or Spring
 can hardly be considered to be valid reasons not to use newer versions of
 Cocoon.

 I think I can agree on two things:
 C2.1 and C2.2 are pretty complete in what they have to offer.  They are
 also pretty well documented. But most advanced users have moved to C2.2 or
 C3 and can't offer good support for the older versions.  I guess it's the
 developers own responsibility to (NOT?) upgrade on a regular basis and
 dealing with corresponding consequences of his choice.

 C3 is already used in production and in my opinion easier to use.  The
 biggest problem is it's still coined alpha.  We should really focus on
 getting c3 1.0 out which will give users a more confident feeling API's
 won't break that easily.

 Robby

 -Original Message-
 From: Bart Remmerie [mailto:remme...@gmail.com]
 Sent: Sunday, November 11, 2012 9:21 PM
 To: users@cocoon.apache.org
 Cc: users@cocoon.apache.org
 Subject: Re: Is cocoon dead ?

 Just being critical  analytical: where die we observe the big drop in
 community activity ?  Switch to Maven  move from 2.1.11 to next version ?
 (just a guess) = What can we learn from this ?

 Bart Remmerie

 Op 11-nov.-2012 om 18:13 heeft Michael Müller 
 michael.muel...@mueller-bruehl.de het volgende geschreven:

  Francesco,
 
  I observe this list for years now (since I started using Cocon 2.1). And
 I recongnized some activities, especially from you. But since a couple of
 years I'm using a) a different technology (JSF) for my web pages and b) I'm
 waiting for Cocoon 3.0 to become ready. Even there are some acitivies, it
 seems to be a never ending story.
 
  I guess it would be helpfull to schedule some dates for beta and
 release. If it is so much to do right now, maybe this version might be
 feature-reduced and some of the planned features will be postponed to a
 version 3.1? Otherwise I'm afraid this project is dead - even though there
 are some activities.
 
  If your horse is dead, don't try to ride it anymore. Change the horse.
  (similar to Dakota saying)
 
  Herzliche Grüße - Best Regards,
  Michael Müller
 
  Am 10.11.2012 14:00, schrieb Francesco Chicchiriccò:
  Hi all,
  I think e-mails like the one below are not helpful at all.
 
  First of all, even though most of critical aspects of our current
  situation are reported, some things are barely wrong:
 
  down the same page you find the next most recent news is a year and
  a half old
  Open your favorite browser at http://cocoon.apache.org/ and read that
  latest two news are dated July 2nd and March 3rd 2012
 
  When people ask about C2.x (and the latest released version is 2.2)
  nobody wants to talk about it (except others desperate for
  information about some aspect of C2);
  Just browse http://cocoon.markmail.org and judge by yourself whether
  this is true or not.
 
  There are no books on anything later than 2.1, which is about a decade
 old.
  Just point again your favorite browser to
  http://www.apache.org/dist/cocoon/ and you will see that Cocoon
  2.1.11 was released on Jan 14th 2008.
 
  Perhaps 80% of the official documentation is either TBW or skeletal,
 and the only people who know the inside of Cocoon well enough to complete
 it keep asking others to do that.
  This is absolutely false for C2.X and only partially true for C3.
 
  Beware, I am not stating that the Cocoon status is healthy, new
  releases with bugfixes and new features are regularly made available
  and documentation is accurate and complete.
  I am only trying to look at the Cocoon project for what it is
  *today*: a project with:
   * very few active committers
   * almost no occasional contributors
   * still a lot of interested people: most because they are running an
  ancient Cocoon version, few because they've heard of Cocoon only
  recently
 
  In my opinion, a dead project is a project in which no one is
  interested, and Cocoon is not (yet?) that far.
 
  Remembering that Cocoon - like as any other project at ASF - is
  exclusively made up by volunteer contribution, I'd rather start a
  [DISCUSS] thread to see what needs to be done and who is available to
  help instead of such acid and unproductive e-mails.
 
  WDYT?
 
  Regards.
 
  On 08/11

Re: Is cocoon dead ?

2012-11-11 Thread Bart Remmerie
Just being critical  analytical: where die we observe the big drop in 
community activity ?  Switch to Maven  move from 2.1.11 to next version ? 
(just a guess) = What can we learn from this ?

Bart Remmerie

Op 11-nov.-2012 om 18:13 heeft Michael Müller 
michael.muel...@mueller-bruehl.de het volgende geschreven:

 Francesco,
 
 I observe this list for years now (since I started using Cocon 2.1). And I 
 recongnized some activities, especially from you. But since a couple of years 
 I'm using a) a different technology (JSF) for my web pages and b) I'm waiting 
 for Cocoon 3.0 to become ready. Even there are some acitivies, it seems to be 
 a never ending story.
 
 I guess it would be helpfull to schedule some dates for beta and release. If 
 it is so much to do right now, maybe this version might be feature-reduced 
 and some of the planned features will be postponed to a version 3.1? 
 Otherwise I'm afraid this project is dead - even though there are some 
 activities.
 
 If your horse is dead, don't try to ride it anymore. Change the horse. 
 (similar to Dakota saying)
 
 Herzliche Grüße - Best Regards,
 Michael Müller
 
 Am 10.11.2012 14:00, schrieb Francesco Chicchiriccò:
 Hi all,
 I think e-mails like the one below are not helpful at all.
 
 First of all, even though most of critical aspects of our current
 situation are reported, some things are barely wrong:
 
 down the same page you find the next most recent news is a year and a
 half old
 Open your favorite browser at http://cocoon.apache.org/ and read that
 latest two news are dated July 2nd and March 3rd 2012
 
 When people ask about C2.x (and the latest released version is 2.2) nobody 
 wants to talk about it (except others desperate for information about some 
 aspect of C2);
 Just browse http://cocoon.markmail.org and judge by yourself whether
 this is true or not.
 
 There are no books on anything later than 2.1, which is about a decade old.
 Just point again your favorite browser to
 http://www.apache.org/dist/cocoon/ and you will see that Cocoon 2.1.11
 was released on Jan 14th 2008.
 
 Perhaps 80% of the official documentation is either TBW or skeletal, and 
 the only people who know the inside of Cocoon well enough to complete it 
 keep asking others to do that.
 This is absolutely false for C2.X and only partially true for C3.
 
 Beware, I am not stating that the Cocoon status is healthy, new releases
 with bugfixes and new features are regularly made available and
 documentation is accurate and complete.
 I am only trying to look at the Cocoon project for what it is *today*: a
 project with:
  * very few active committers
  * almost no occasional contributors
  * still a lot of interested people: most because they are running an
 ancient Cocoon version, few because they've heard of Cocoon only recently
 
 In my opinion, a dead project is a project in which no one is
 interested, and Cocoon is not (yet?) that far.
 
 Remembering that Cocoon - like as any other project at ASF - is
 exclusively made up by volunteer contribution, I'd rather start a
 [DISCUSS] thread to see what needs to be done and who is available to
 help instead of such acid and unproductive e-mails.
 
 WDYT?
 
 Regards.
 
 On 08/11/2012 15:10, Mark H. Wood wrote:
 I'm not surprised at all.  Looking 3cm. down the same page you find
 the next most recent news is a year and a half old.  When people ask
 about C2.x (and the latest released version is 2.2) nobody wants to
 talk about it (except others desperate for information about some
 aspect of C2); one is told to use C3.  C3 has been alpha for perhaps
 two years -- there is as yet no beta, let alone a release.  There are
 no books on anything later than 2.1, which is about a decade old.
 Perhaps 80% of the official documentation is either TBW or skeletal,
 and the only people who know the inside of Cocoon well enough to
 complete it keep asking others to do that.  Bugs with patches attached
 languish for years.  Seemingly everyone using Cocoon is running a
 unique local version with scads of patches that are passed around like
 ancient lore.
 
 Why would anyone think Cocoon is dead?
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org
 

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



using htmlarea in combination with ajax

2010-06-10 Thread Bart Remmerie
Does anyone have experience with using htmlarea in combination with CForms 
Ajax ?
What I try to achieve is the following:

having html-text in a repeater field displayed as output, which can be
edited by clicking an edit button (row action)
this click opens an htmlarea-editor in a (modal) popup-div, which returns
the info to the repeater-field after editing.

So far I managed to achieve this using a submit-button in my modal-div.
Is there a way to do this without a full-page-submit ?

Any hints / examples are welcome.

On the side: has anybody got experiece with a custom dropdown list in
htmlarea (i managed to display a custom dropdown, trigger the event, but
don't now how to handle the returned information) ?

Regards,
Bart


Re: from wysiwyg-editor to database and/or nice html-output

2010-05-27 Thread Bart Remmerie
Dear Robby,
Dear all,

Thanks for this solution, I'll definitely experiment with it ... but I'm
hoping to find an even better one.

Maybe I should have explained my use case a bit more:

I have a cforms page to administer content translations.
Basically, it's a repeater containing multiple translations for one term
(id, locale, translationText).

Ideally the translation texts would be displayed as output and after
clicking it (or an edit button), a wysiwyg-editor could appear in a modal
div  after saving it's written to the db  the page is updated (with or
without ajax).

The downside of your solution is the following:
to generate the cforms-repeater-list, i already have all the data in an
object (in flow).  Calling cinclude again as you proposed would generate a
new database call per translation.

Do you understand what I mean ?

I know I cannot fix it on xsl-level (formatting the field in some sort of
way), since the markup is adjusted before passing it to the forms-xsl.

Are you / Is anyone familiar with the xmlize options for jx-templates 
would this provide an adequate solution ... ? (even though I'm working on
2.1.11 now)

I've also been trying with org.apache.cocoon.xml.StringXMLizable ... but
that doesn't get me there either.  The closest I got was an error message
when transforming my jx-template, mentioning I could not have content before
the prolog.

(It would also be cool to have something like the dojo inplace editor with
wysiwyg possibilites)

Anyway, all alternatives, tips, tricks and hints are welcome !!

Kind regards,
Bart

On Thu, May 27, 2010 at 12:29 PM, Robby Pelssers
robby.pelss...@ciber.comwrote:

  In your jx template you can define something like:





 ?xml version=*1.0* encoding=*UTF-8*?

 jx:template

   xmlns:jx=*http://apache.org/cocoon/templates/jx/1.0*

   xmlns:cinclude=*http://apache.org/cocoon/include/1.0*



 html

  …

  cinclude:include src=*cocoon:/dbrecord/${recordId}*/

  …

 /html

 /jx:template





 And next you need to add the include transformer to that pipeline.



 So you would end up with something like:





   map:match pattern=*dbrecord/**

 map:generate src=*dbrecord.jx* type=*jx*/

 map:transform type=*cinclude*/

 map:serialize type=”xhtml”/

   /map:match







 Cheers,

 Robby Pelssers



 *From:* Bart Remmerie [mailto:remme...@gmail.com]
 *Sent:* Thursday, May 27, 2010 12:13 PM
 *To:* users
 *Subject:* from wysiwyg-editor to database and/or nice html-output



 Hi,

 One way or another, I can't get this working ... and I guess I'm
 overlooking an easy essential bit:

 in a CForm, I use an htmlarea-editor to allow users to create input with
 basic markup (bold, underline, italic, ...)
 When I store the information in a database, it looks like a nice
 html-snippet, something like this:

 This is span style=font-style: italic;span style=font-weight:
 bold;a simple /spantest/span

 What I'm struggling with is how to get this text integrated into a jx-page
 or in a CForm-field with an output-state in the desired way:

 Not with the markup visible
 Not with the markup replaced by lt; gt; ...

 But simply the text, with the markup applied (for the sample above
 partially bold and italic).

 Someone must have done this before I guess.

 In the application, it should allow the text to be read on the screen 
 used as basis (template) for emails too.

 Kind regards,
 Bart




-- 
Bart Remmerie
+32 (0477) 78.88.76
remme...@gmail.com


Re: Lowering in amount of users' posts?

2010-04-18 Thread Bart Remmerie
Considering myself a 'normal' user (not developing cocoon), i lost
track after 2.1.11 .  I had the feeling that, when 2.2 came, cocoon
became a framework for cocoon-developers, not cocoon users.  Suddenly
you had to learn maven, the documentation became even worse, ...  It
was my personal feeling that a smaller and smaller incrowd stopped
listening to a broader user base, lost touch and lost popularity.
Maybe you should try to find out if there's a link between the amount
of messages, cocoon versions, topics discussed and users/developers
involved ?

Regards,
Bart

2010/4/17, Derek Hohls dho...@csir.co.za:
 I think many of us have moved on.  Cocoon changed into a direction that
 did not fit our style of working, and the rest of the world came up with new
 ideas and approaches that did.  I wrote my take on this here:
 http://headspace.posterous.com/end-of-the-road-for-cocoon
 http://headspace.posterous.com/djangowards-at-the-crossroads
 and if you look around, others have commented in the mailing lists and blogs
 too.

 Of course, if Cocoon seems the best fit for your needs, please use it -
 conversely, please don't rush off directly to start using Rails just
 because its cool.

 My 2c
 Derek

 Daniel Smith  04/17/10 4:42 PM 
 Hi all.
 First post here.
 I was looking at the amounts of posts to the cocoon users list, and I
 see a serious degradation in the amount of posts in recent years.
 Can anyone point me to why there seems to be a lack of interest in cocoon?
 Just wondering. I can remember when it was the happening thing...
 Thanks so much for any info.
 Daniel



 --
 This message is subject to the CSIR's copyright terms and conditions, e-mail
 legal notice, and implemented Open Document Format (ODF) standard.
 The full disclaimer details can be found at
 http://www.csir.co.za/disclaimer.html.

 This message has been scanned for viruses and dangerous content by
 MailScanner,
 and is believed to be clean.  MailScanner thanks Transtec Computers for
 their support.




-- 
Bart Remmerie
+32 (0477) 78.88.76
remme...@gmail.com

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



Re: use cocoon framework to manage static content

2010-03-17 Thread Bart Remmerie
Maybe you could also consider Daisy (http://www.daisycms.org)
This combines content management with Cocoon ! (and offers some nice other
features)

Bart

On Wed, Mar 17, 2010 at 4:36 PM, Jos Snellings jos.snelli...@pandora.bewrote:

 Hi Sumit,

 If I understand your story well, you are facing a rapid publication
 problem. The marketing department delivers data not in XML format.
 I do not see directy a great added value in bringing cocoon in the
 scheme.

 My suggestion is to check out some web content management productivity
 tool. Consider:
- Drupal
- Joomla

 With wich you could address the marketing department questions sweetly.

 Some other people in this group may have other/better/pure java
 suggestions.

 Cheers,
 Jos



 On Wed, 2010-03-17 at 15:14 +0530, Sumit Saini wrote:
  Hi All,
 
  I am new to cocoon and want to use this framework for my web
  application .
 
  I am developing a web application using Spring/Hibernate frameworks.
  My application is going to be a public facing application. The pages
  on this application can be divided into categories. Pre-login  Post
  login.
 
 
 
  Pre-Login pages: These are mainly going to be marketing/user education
  pages. These are HTMLs/Jsps with el tags.
 
 
 
  Post-Login pages: These are main application pages which are pure JSPs
  with EL tags.
 
 
 
  Since app has been launched, marketing team puts pressure on us to
  change the content on the pre-login pages on almost daily basis.
  Currently, we are handling this by sending the static files to the
  remote static server.
 
 
 
  I want to streamline this process. The above one is tedious for
  changing the content as presentation is mixed with content. Often this
  results in errors  reworks.
 
 
 
  Can I make use of Cocoon or some other XML based approach to address
  this issue? I want, at least for static pages, to keep the
  presentation code on static pages separate from content. This can
  enable the marketing team to write content in simple text files, which
  eventually can be uploaded to the server.
 
 
 
  Please suggest how can I achieve this using cocoon.  I wish for
  following: A simple text file upload and then on the basis of EL tags
  on the JSPs, content gets reflected on the pages of the running
  application.
 
 
 
  Rgds
  Sumit
 
 
 
 



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




-- 
Bart Remmerie
+32 (0477) 78.88.76
remme...@gmail.com


Re: Resource outside jar

2009-07-01 Thread Bart Remmerie
Where is the server running ?
Are there multiple clients running on one server ?  Or is the server
running @ the client ?

Bart

On Wed, Jul 1, 2009 at 9:21 AM, Barbara
Slupikbarbara_slu...@wro.vectranet.pl wrote:
 Hello

 I am using cocoon-2.2.0. I want to define an xml file with printers
 configuration. This file should be outside application jar because my client
 will configure his own printers there. Printers defined in the xml file will
 be displayed on one of the application screens so that user can select a
 printer from the list. Is it possible to do? How?

 Barbara

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





-- 
Bart Remmerie
+32 (0477) 78.88.76
remme...@gmail.com

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



Re: XSLT is Dead ?!

2009-04-29 Thread Bart Remmerie
Yes it is.
Just add the saxon-transformer to your sitemap, add the necessary
lines in cocoon.xconf and make sure you are using the correct
transformer in your pipelines  have installed the appropriate jar in
you lib-folder.

It also works to do a quick google on the subject (apache cocoon saxon):
http://wiki.apache.org/cocoon/Saxon

I'm using 2.1.11, saxon7 and this is how I implemented it

sitemap.xmap

map:transformer logger=sitemap.transformer.xsltal name=xsltal
pool-max=8 src=org.apache.cocoon.transformation.TraxTransformer
   
default-srcresource://org/apache/cocoon/blocks/xsltal/resources/tal2xslt.xsl/default-src
   use-request-parametersfalse/use-request-parameters
   use-session-parametersfalse/use-session-parameters
   use-cookie-parametersfalse/use-cookie-parameters
   xslt-processor-rolesaxon/xslt-processor-role
   check-includestrue/check-includes
   
transformer-factorynet.sf.saxon.TransformerFactoryImpl/transformer-factory
/map:transformer

cocoon.xconf

  component logger=core.xslt
 role=org.apache.excalibur.xml.xslt.XSLTProcessor/saxon
 class=org.apache.cocoon.components.xslt.TraxProcessor
 parameter name=use-store value=true/
 parameter name=transformer-factory
value=net.sf.saxon.TransformerFactoryImpl/
  /component


On Tue, Apr 28, 2009 at 6:06 PM, Stan Dyck stan.d...@gmail.com wrote:

 It is possible to make cocoon use Saxon, which implements xslt 2.0, as it's 
 underlying xslt processor.

 StanD.

 Derek Hohls wrote:

 Ken

 I would echo most of your sentiments, except for the XSP part.
 I have found that the flowscript/JXT gives me all the logic/layout
 options I need ... without having to worry about any Java at all in
 my apps.  I think that is why the developers decided to deprecate
 XSP quite a while back, though I appreciate that not everybody might think 
 that's such a good idea!

 How do you use XSLT(2)?  I did not think Xalan supported it yet? eg
 http://xml.apache.org/xalan-j/
 http://www.nabble.com/Xalan-J-XSLT-2.0-status-tc5766761r4.html
 http://www.velocityreviews.com/forums/t364511-xslt-2-processors.html

 Derek

 On 2009/04/25 at 10:32, in message 
 49f2ca9d.2090...@lampsacos.demon.co.uk, Ken Starks 
 k...@lampsacos.demon.co.uk wrote:

 Antonio Gallardo wrote:

 hi Derek,

 Comparing XSLT with JSP is like comparing pears and apples. XSLT is
 quite useful for some tasks and weak in others. The same apply for JSP.
 We still use XSLT even if you have JSP at hand. In cocoon particular
 wolrd, perhaps he should compare JSP with XSP.

 I did not read the whole article, but looks the author forgot there is a
 XSLT 2.0. Anyway, who cares? ;)

 About freemaker, I guess there are some threads about it in our mail
 archive [1].

 Hope this helps.

 Best Regards,

 Antonio Gallardo.

 [1] http://cocoon.markmail.org/search/?q=freemaker


 I hardly think 'pears and apples' are a good simile, they are far too 
 similar to one
 another.  Perhaps  'oranges and  apples'   or even  'sausages and marmalade'.

 By the way, sausages and marmalade go very well together.

 My main complaint is that XSP is deprecated in Cocoon 2.2, in fact it seems 
 to
 be sneered-at.  For me, it provides just the tiny amount of Java I need - I 
 still
 don't want to learn the language thoroughly. It comes below both ruby and 
 even
 Acrobat javascript for me. Python has always been more useful, and now the
 adobe Flex environment looks pretty alluring - in all of these I use XML, and
 often it is obtained from a localhost Cocoon pipeline.


 Cocoon 2.1.x  - love it
 XSLT (2) - love it
 XSP - love it
 Eclipse, XML, XML-Schema, other XML tools - love 'em all !


 Cocoon 2.2 - too much java needed, not backward-compatible enough, (Database 
 connection) a few other grumbles.
 will re-evaluate it in 12 months or so, but I have already wasted too much 
 time for this year
 Cocoon 2.3 - not powerful enough for my needs, last time I looked

 Bye for now,
 Ken.

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




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




--
Bart Remmerie
+32 (0477) 78.88.76
remme...@gmail.com

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



Re: Turning down log4j

2009-04-16 Thread Bart Remmerie
Dear Wendell,

Not sure if it takes you a step further but this is what my log4j.properties
file looks like:

log4j.logger.org.apache.commons.httpclient=ERROR,B
log4j.category.org.springframework=DEBUG,A
log4j.category.org.hibernate=DEBUG,A
log4j.category.org.apache.velocity=DEBUG,A
log4j.category.net.sf.ehcache=ERROR,A
log4j.category.org.apache.commons=DEBUG,A


log4j.appender.A=org.apache.log4j.FileAppender
log4j.appender.A.File=security.log
log4j.appender.A.layout=org.apache.log4j.PatternLayout
log4j.appender.A.layout.ConversionPattern=%5p [%c] %m%n

log4j.appender.B=org.apache.log4j.ConsoleAppender
log4j.appender.B.layout=org.apache.log4j.PatternLayout
log4j.appender.B.layout.ConversionPattern=%5p [%c] %m%n

=

The messages you receive for the missing appenders can be fixed by adding a
log4j.category for you org.apache.commons log messages and setting the
loglevel for that category.

Hope it can help.

Bart


On Tue, Apr 14, 2009 at 9:54 PM, Wendell Piez wap...@mulberrytech.comwrote:

 Dear Hubert,

 At 08:36 AM 4/13/2009, you wrote:

  making a settings.properties file with the line
 
  org.apache.cocoon.log4j.loglevel=ERROR
 
  but this has no apparent effect. Is this not what I do to reduce the
  logging down from DEBUG? (It seems to be the implication of the

 Did you make the settings.properties file in the
 block/src/main/resources/META-
 INF/cocoon/properties directory? This should make it accessible for the
 Spring
 configurator.


 Indeed I did, which is why I am puzzled, and suspect I must be missing
 something basic.

 A log file is still being generated with any number of debug-level messages
 in it.

 FWIW, I also see these lines echoed at startup. I have no idea if they're
 relevant to the problem I am having:

 log4j:WARN No appenders could be found for logger
 (org.apache.commons.jci.stores.MemoryResourceStore).
 log4j:WARN No appenders could be found for logger
 (org.apache.commons.jci.monitor.FilesystemAlterationMonitor).
 log4j:WARN Please initialize the log4j system properly.
 log4j:WARN Please initialize the log4j system properly.

 (Sorry for the slow turnaround on this. I have been swamped.)

 Thanks,
 Wendell



 ==
 Wendell Piezmailto:wap...@mulberrytech.com
 Mulberry Technologies, Inc.http://www.mulberrytech.com
 17 West Jefferson StreetDirect Phone: 301/315-9635
 Suite 207  Phone: 301/315-9631
 Rockville, MD  20850 Fax: 301/315-8285
 --
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
 ==


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




-- 
Bart Remmerie
+32 (0477) 78.88.76
remme...@gmail.com


how to get the continuation-id in flowscript ?

2009-03-20 Thread Bart Remmerie
Dear all,

I'm working on a webapp with some basic multi-lingual cforms, using
continuations.
I've implemented a language changing option on all of my pages,
handled by a cocoon pipeline and redirecting the user to the previous
page (as if he never left that page).
All of that works (see code below) ... until continuations occur.

I'm having the following questions:

1. is this the right way to go
2. is there a way to get the continuation-id (which is not visible in
the url, but hidden in an input-field named 'continuation-id')
3. any hints, samples to improve this / make it more elegant are more
than welcome.

I don't know if I explained it well, but I hope the code below
clarifies it a bit.

For the continuations I'm using the following approach in my template  sitemap

template-snippet:
ft:form-template action=/continue method=POST ajax=true
            ft:continuation-id/

sitemap-snippet:
map:match pattern=continue
   map:call continuation={request-param:continuation-id}/
/map:match


Now I've just copied a switch language feature into my webapp, using
the following code in my template/final html:
    lia href=/choose-lang?lang=enen/a/li
lia href=/choose-lang?lang=frfr/a/li

using this in the sitemap
map:match pattern=choose-lang
 map:call function=chooseLang
  map:parameter name=language value={request-param:lang}/
 /map:call
/map:match

and this is the code in flowscript:
function chooseLang (language) {
var destination = ''+cocoon.request.getHeader(Referer);
if (destination == null ) destination = /start;
cocoon.session.setAttribute(userLanguage, language);
getQTank().setUserLocale(language); // sets the user locale in a
session scoped spring bean
cocoon.redirectTo (destination);
}

All of this works perfect ... until a continuation pops up: since the
destination doesn't hold the continuation-id.
I can manage to add a new matcher in the sitemap with a pattern
*.continue, and adjust the destination to hold the continuation-id,
but I CANNOT FIND that continuation-id using flowscript.
I could of course change my continuation-usage pattern to the classic
*.continue everywhere, but I was hoping that:

1. someone could give me the syntax for finding out the
continuation-id of the previous page, which is stored somewhere in an
input field named 'continuation-id'
2. any other hints letting me know if this effort is leading somewhere
or that I should just change the whole thing


By the way, I'm using 2.1.11
Thanks  regards,
Bart

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



Re: Spot what is missing!

2009-02-13 Thread Bart Remmerie
The question is not what, but why...

On Mon, Feb 9, 2009 at 8:50 AM, Derek Hohls dho...@csir.co.za wrote:

 I received an email ad today; here is a short snippet from the opening
 blurb:

 Java developers today have many choices for web development frameworks.
 To help you decide which is best for your web development projects, our
 latest eBook,
 The Java Developer's Guide to Web Development Frameworks
 introduces you to the leading open source frameworks:
 JavaServer Faces, Spring, Struts, Tapestry, and Wicket. 

 Can you spot what is missing? :\




 --
 This message is subject to the CSIR's copyright terms and conditions,
 e-mail legal notice, and implemented Open Document Format (ODF) standard.
 The full disclaimer details can be found at
 http://www.csir.co.za/disclaimer.html.

 This message has been scanned for viruses and dangerous content by
 MailScanner,
 and is believed to be clean.  MailScanner thanks Transtec Computers for
 their support.


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




-- 
Bart Remmerie


Re: File upload button and delete

2009-02-06 Thread Bart Remmerie
Dear Joseph,

Regarding the button just a quick  dirty answer.  I remember having
searched for the same thing one day and the best hint I came across was to
position an image as background behind the button using css and attaching
some simple javascript action to that image that emulates a button-click for
the underlying button. I just googled this for you and found this link which
could be interesting.

http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom

regards,
Bart


On Fri, Feb 6, 2009 at 12:46 PM, Paul Joseph pjos...@gmail.com wrote:

 Hi,

 I have a form where I upload files that subsequently appear on the same
 form.

 Question: the button for the upload widget--I would like to replace it with
 a custom button more in line with the rest of the site.  But I can't find
 the existing button associated with the widget--it is gray and says
 Browse...  Would anyone know how to change it?

 Also, the customer wants to be able to DELETE uploaded files (which I
 display as a link on the form they uploaded it to.)  Are there any elegant
 ways to do this?  Like for example can one delete attachments in CForms
 using the e-mail method of deleting options i.e. select the attachment,
 then hit the Delete button?

 thanks in advance
 Paul

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




-- 
Bart Remmerie


Re: Getting started with C2.2 -- where's the exception information?

2009-01-30 Thread Bart Remmerie
It's not only about taking the road less traveled ... certainly not if you
get the impression that it seems to be going the wrong way.
I am convinced that a lot of cocoon users were convinced that cocoon was
powerful  useful ... until 2.2
We all know Cocoon has a rather steep learning curve, but the move to 2.2
just made it even more difficult.
Maybe acceptance is not an issue, but when cocoon loses it user base, cocoon
also loses the rich potential of talented developers to improve it.

Just to get things clear (and to find out if I should stick with cocoon):
who / what is cocoon made for (basically, who is the client)  what is this
client expecting / hoping for ?

What I've seen in the recent past is that this discussion comes up every now
and then, meaning that users remain unsatisfied.  I feel that it would be to
easy to blame them (although this is convenient, since you'd never have to
question anything).

All I can hope is to get some constructive debate out of this.

What I expect as a cocoon user when new releases occur:
new features, easier to use, better documentation ( and examples), stronger
foundations, ...
I can accept that it takes some effort, extra learning and code conversion
... (but I hope to get some of the above in return)

I would like to invite other users to express what they expect from new
versions, unless the end users are not the target audience for cocoon, and
in this case ... should all move to mainstream php/ruby ?

Regards,
Bart



2009/1/30 Derek Hohls dho...@csir.co.za

 You may be correct; but I have never felt that Cocoon was
 striving for acceptance.  It simply is what it is; and you either
 find it incredibly powerful and useful ... or become a mainstream
 php/ruby developer.  If you are here, its because you have taken
 the road (development route?!) less traveled!

  On 2009/01/30 at 08:24, in message 21742093.p...@talk.nabble.com,
 Klortho voldr...@gmail.com wrote:

 dhohls wrote:
 
  That's a little harsh - although my impression is that C2.2 is
  perhaps a step sideways in terms of how many things are
  done... but that's just an impression from reading all the
  mailing list QA.  So far, I have not needed to take the plunge.
 
 Yes, you're right ... too harsh.
 I'm really just a newbie, but speaking as one, I think that 2.1 was a much
 nicer experience out of the gate, which is pretty damn important for an
 application to gain wider acceptance.




 --
 This message is subject to the CSIR's copyright terms and conditions,
 e-mail legal notice, and implemented Open Document Format (ODF) standard.
 The full disclaimer details can be found at
 http://www.csir.co.za/disclaimer.html.

 This message has been scanned for viruses and dangerous content by
 MailScanner,
 and is believed to be clean.  MailScanner thanks Transtec Computers for
 their support.


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




-- 
Bart Remmerie


styling a cforms dojo combobox (suggestion-list)

2008-10-21 Thread Bart Remmerie
Dear all,

Using a css-stylesheet it's pretty obvious to style your widgets and pages
when working with CForms,
but what I cannot seem to figure out is how to add styling (e.g. font-size)
to a CFormsSuggest dojo combobox:

it's possible to change the size of the textbox, but I cannot figure out how
to change the style of the options that appear in the dropdown-list.

Anyone who knows how to do this ?
This might be a dojo-related question, but studying the dojo-docs didn't get
me much further either.



form-definition
fd:field id=nameFilter
fd:labelselect employee/fd:label
fd:datatype base=string/
fd:suggestion-list src=cocoon://suggest_employees/
/fd:field

form-template
ft:widget id=nameFilter type=suggest/
-- 
Bart Remmerie


best wishes for 2008: 2.1 vs. 2.2

2007-12-29 Thread bart remmerie
Dear all,

During the past couple of months, I've been reading about install issues
with cocoon 2.2 all the time.
There seem to be hardcore users, convinced that cocoon 2.2 is superior now
that it's linked with maven and spring, ...
but there also are novice and/or less expert users, who are having a lot of
problems with the new 2.2 configuration  installation.

Some years ago, the steep learning curve for cocoon was seen as one of the
major problems to overcome while creating a larger user-base.
Shifting towards the integration with maven  spring doesn't simplify
things.
Another issue was the lack of documentation... but in the past, the
installation worked when you followed the instructions  you had a load of
samples to get to know cocoon...
Now, cocoon seems to become so complicated that no-one has the time to
document it properly.

Whatever the hardcore users may pretend, the perception of beginning user
will define the evolution of cocoon.

Therefore my wishes for 2008:
listen to  learn from the novice users:
* simplify the installation  ease of use (in the perception of beginners)
* document your framework (in such a way that beginners consider it
documented)

a little frustrated but hoping for the best,

Bart


Re: AW: own widget

2007-11-14 Thread bart remmerie
Dear Michel,

I've already implemented such a feature, not by creating a new widget, but
using the stylesheet-approach.
Basically, you create a new styling type link or href-label and include
it in the forms styling stylesheets.

The most difficult part is to create the href part of your hyperlink.
For an elegant solution, you should be able to define the hyperlink outside
the stylesheet.
You should be able to pass it as an argument through the form's template.

In my use case, I pass a 'fixed part', something like '/myhelppages/' + a
variable part linked to the id of the record.  Where the id of the record is
a part of the object model, known within the form (as a hidden field) 
accessible in the stylesheet.

I know this may seem complicated, and if interested I can provide the
source-snippets.

Bart




2007/11/9, Michel Erard [EMAIL PROTECTED]:

 I already tested the trunk version of forms block and the only thing that
 changed for uses was that all 'class' attributes are replaced by 'ref' and
 take a spring bean as argument. And there is a new spring config file in the
 forms block of course.

 What do you think about a new Datatype 'object', that for example can be
 used to link persistent objects?  Of course this feature would only make
 sense when you have a selection-list with a defined set of objects. Or maybe
 better an ObjectSelectionList?




 

 Von: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
 Gesendet: Do 08.11.2007 18:57
 An: users@cocoon.apache.org
 Betreff: Re: AW: own widget



 Felix Knecht pisze:
  @Grzegorz
  I thought Giacomo migrated the forms block to spring 
  (cocoon-forms-1.1.0).Wouldn't
 it make more sense to use already the
  new forms block instead of the legacy one (probably it makes
 configuration also easier)?

 Yes, Giacomo migrated forms to Spring recently but there are still two
 problems:
 1. There was no release of Forms 1.1.0
 2. There is no migration guide or any other document describing how things
 changed and how
 everything is going to work.

 The second point is especially important and I'm little bit disappointed
 that others making
 incompatible (but wholeheartedly wanted!) changes do not write any
 documentation. It's really not
 hard to write migration guide but I believe it really helps our users. Am
 I wrong?

 --
 Grzegorz Kossakowski
 Committer and PMC Member of Apache Cocoon
 http://reflectingonthevicissitudes.wordpress.com/

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







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




-- 
Bart Remmerie


Re: Cocoon Productivity

2007-05-29 Thread bart remmerie

I've been a 'jojo' cocoon user for some years now and a convinced addict.
The learning curve is rather steep, but with nices 'plateaus': repeated
steps of steep learning followed by rather easy mass-production.

What has frustrated me the most are 2 things:
lack of evident documentation 
upgrading

With lack of evident documentation, I basically mean the existence of docs
that go just that one step further.  for example, in CForms, explaining the
insert-bean stuff just a little bit more than just a couple of lines in the
documentation. Now you have to combine a lot of sources: mailing lists,
wiki, docs, api-docs, ... It's true that the user who persists learns a lot
about cocoon when trying to find out everything by her/himself, ... but
'easy to use' should be replaced by something like 'satisfying to learn on
your own'.

Upgrading to a next version has never been a smooth process so far.  I'm
currently using 2.1.10 and the YourCocoonBasedProject ant scripts from the
wiki.  One day, I'll shift to 2.2, but so far, trying to set it up out of
curiosity has brought me nothing but frustration.
As a cocoon user, learning yet another framework (Maven) is not what I'm
looking for.  If is can make development easier, I'm interested to learn,
but please explain the benefits  basics to get people going before pushing
them into a direction (they didn't ask for in the first place).
Or replace the 'easy to use' by 'easy to use, ... if you are an experienced
user of spring, maven and other related frameworks like hibernate, ...)

If cocoon has the ambition to be used, please pay attention to what the
(potential) user wants (and documentation might be just one of the
priorities).

Bart

2007/5/29, Martijn C. Vos [EMAIL PROTECTED]:


Niels van Kampenhout wrote:

  But I just have a strong feeling that for someone without years of
  Cocoon experience it is too easy to screw up.

It depends a lot on what you want to do. Cocoon is brilliant at
simple stuff. My problem when learning Cocoon was that the
documentation on the website discussed XSP, Actions and dozens
of other things that you simply shouldn't use. Cocoon is all
about generator-transformer-serializer, and everything that
fits into that model is easy to learn, once you realise that
this is actually what it's all about.

  Some people get
  it, some need a little longer to understand, others possibly
  never will.
  This is OK I guess. But once they see it, the difficulties really
  start. Where to go from here? How to develop a real, complex
  application with Cocoon?

I think the most important thing to realise about Cocoon is that
it's a framework of Java components. Cocoon is great at the simple
generator/aggregator-transformer-serializer pipeline, but I
think all the really complex stuff should be done in Java components
as much as possible. In too many projects I've seen people trying to
do complex stuff in XSLT, or using flowscript to do all the stuff
that the pipeline can't. The problem is that while flowscript is
very powerful, it doesn't quite fit in the pipeline way of working,
and that makes lots of things more complex than they should be.

  Of course all the software engineering principles apply as much to
  Cocoon applications as to any other, but most people find it
  difficult
  to abstract away from the traditional frameworks for which they
  learned their patterns, and apply their knowledge to Cocoon.
  And that's
  no surprise, because Cocoon is so big, you can do so much
  with it, and you can do it in so many ways.

And many of those ways are IMO too complex and too inefficient. I
think the basic pipeline is really easy to understand, as are the
basics of how XSLT should be used (i.e: not for logic and
calculations, but only for changing the structure of the XML).
Everything more complex than that should be done in Java, which
immediately makes more use of traditional programming experience.


mcv.

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





--
Bart Remmerie


Re: shopping basket

2007-05-29 Thread bart remmerie

How about the CocoonHibernateSpring Petstore implementation ?

2007/5/18, Peter Sparkes [EMAIL PROTECTED]:


Hi,

I am having problems implementing a shopping basket. Can someone,
please, point me to any documentation. examples etc which are easier to
understand than the one in the samples portal block.

Thanks

Peter

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





--
Bart Remmerie


Re: Hide/show columns in an ajaxified table cform

2007-05-29 Thread bart remmerie

Hi Florian

Maybe the following can help:


What I've tried before is to set the state of a widget to invisble
and trigger an update on the repeater from flow. (something like the snippet
below)
using an action button that triggers the flow-code

In a repeater, I would place an action-button or a widget with an event
listener (checkbox ?)
that triggers the code, but you might have to iterate over all repeater-rows
to set the state per row for the widget

widget.setState(org.apache.cocoon.forms.formmodel.WidgetState.INVISIBLE)
form.addWidgetUpdate(repeaterWidget)

I would be happy to find out how you manage to solve your problem

Bart


2007/5/18, Dev at weitling [EMAIL PROTECTED]:


Hi,

I want to hide or show columns in a table on an action. I've implemented
this in a fd:on-action/fd:javascript event listener setting the
appropriate states (invisible/active) on the column cells. This approach
lacks a bit of beauty (mainly in rendering) so here my questions:
- Any idea to get it working via the html colgroup elements and css?
- Can I initiate the redisplay by re-rendering the template?
- How can I call a row- or repeater-action programmatically (there seem
to be differences between just removing/adding a row via flowscript and
action)
- In the last question I want on removing/adding a row on repeater A do
the same on repeaters B and C

Thank your for any ideas,
Florian

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





--
Bart Remmerie


cforms showForm and memory leaks: quick question

2007-05-04 Thread bart remmerie

Dear all,

I'm rewriting some of my cocoon-code and I have the following question that
continues to bother me.

I use flow to show a cform (see code below), and I'm wondering if

I need to terminate each function in flow in a clean way to avoid memory
leaks (after the form.showForm(...) provide some action (redirect the user)

or is it perfectly possible to terminate such a function with the
form.showForm(myform-display-pipeline.jx); (where the user redirects
her/himself using simple hyperlinks) ?

Is there any info available on this topic ?


function showMyForm(){
  var form=new Form(forms/myform_model.xml);
  form.createBinding(forms/myform_bind_bean.xml);
  form.load(myBean);
  form.showForm(myform-display-pipeline.jx);
}

In the past, I used to have a couple of submit widgets which could be used
to redirect the user after completing the form (these were included after
the form.showForm line:

if (form.getWidget().getSubmitWidget().getName().equals(add_record)){
   cocoon.redirectTo(/addNewRecord/);
}//end if
else ...

Thanks
Bart


Re: dynamic cForm generation

2007-04-18 Thread bart remmerie

Dear Rashel,

Could you give an example/snippet of one of these .xml files ?

Bart

2007/4/18, Rashel Shehata [EMAIL PROTECTED]:


Hey,

I'm trying to generate cocoon forms dynamically. atm I create the cForm
model xml dynamically using jx generator; this is what i have:

in my flowscript:
  cocoon.sendPage(form_model-pipeline.xsp ,
 {questions: questionRegistry.getAllQuestions()});

and in my pipeline:
map:match pattern=*-pipeline.xsp
   map:generate type=jx src=forms/{1}.xml/
   map:serialize type=xml/
 /map:match

the jx generator creates a cForm xml model in correct syntax and is
outputted as XML to the browser...

what im trying to do now is feed this newly generated xml model to the
pipeline so that a Form will be generated and viewed, however i'm not really
sure how to do this, or which part of cocoon docos i sould be reading...
How do I dynamically generate input content to be used as a source in the
sitemap??


Any help would be appreciated...







--
Bart Remmerie


Re: googlemail ssl via SendMailTransformer

2007-04-17 Thread bart remmerie

I've finally got it working.
You just need to get the properties set right (but if you surf the net, you
will find a lot of different configurations to get gmail up and running)

The configuration that works for me is the following (unlike Jeff's example
?!)

mail.smtp.starttls.enable=true
mail.smtp.port=25 // when behind our corporate firewall
mail.smtp.port=587 // when not behind the firewall (587  465 are the ports
mentioned by google)
mail.smtp.host=smtp.gmail.com
mail.smtp.auth=true

Bearing this in mind, adjust the MailMessageSender class to incorporate
these properties and you can use the
sendmail example in the cocoon-mail-samples to send a mail using a gmail
smtp-server.

Bart


2007/4/16, Jeff Turner [EMAIL PROTECTED]:


This JNDI mail server definition worked for me:

  Resource name=mail/GmailSmtpServer
  auth=Container
  type=javax.mail.Session
  mail.transport.protocol=smtps
  mail.smtps.host=smtp.gmail.com
  mail.smtps.auth=true
  mail.smtps.user=[EMAIL PROTECTED]
  password=mysecretpassword
  mail.debug=true
  /


--Jeff

On Fri, Apr 13, 2007 at 03:19:43PM +0200, bart remmerie wrote:
 I've been taking a look at this lately.
 Javamail 1.4 supports TLS authentication (which is required for
gmail).  See
 the SSL-notes in their bundle (at the bottom of this mail).

 Basically (in my thoughts) it should be enough to get
 mail.smtp.starttls.enable=true
 into the properties

 to test it quick and dirty, I added the following line of code
 properties.put(mail.smtp.starttls.enable,true);
 to the initSession() method in the MailMessageSender class

 Unfortunately, it didn't seem to work.
 BUT, I'm convinced that some cocoon-mail expert could find a quick
solution
 !!

 Regards,
 Bart

 JavaMail now supports accessing mail servers over connections secured
 using SSL or TLS.  To simplify such access, three new protocols have
 been added.  In addition to the non-SSL JavaMail protocols imap,
 pop3, and smtp, the protocols imaps, pop3s, and smtps can
 be used to connect to the corresponding services using an SSL
 connection.

 -- STARTTLS support

 The STARTTLS support is available in the standard imap and smtp
 protocols, but must be enabled by setting the appropriate property,
 mail.imap.starttls.enable or mail.smtp.starttls.enable, to true.
 When set, if the server supports the STARTTLS command, it will be
 used after making the connection and before sending any login
 information.

 2007/4/13, Jasha Joachimsthal [EMAIL PROTECTED]:
 
 Guess not, in the API docs there's a known issue called
 No support for RFC 2554: SMTP Service Extension for Authentication
 And for gmail you need authentication.
 
 Jasha Joachimsthal
 
 Hippo
 Oosteinde 11
 1017 WT Amsterdam
 The Netherlands
 +31 (0)20 5224466
 
 www.hippo.nl
 
  -Original Message-
  From: Voigt, Bjoern (EXTERN: AUEL)
  [mailto:[EMAIL PROTECTED]
  Sent: vrijdag 13 april 2007 13:10
  To: users@cocoon.apache.org
  Subject: googlemail ssl via SendMailTransformer
 
  Hello Cocooners,
 
  a second question about the SendMailTransformer.
 
  is it possible to define smtp-hosts, that uses
  SSL-Connections like the gmail smpt-service?
 
  thanks for help
 
  Björn
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Bart Remmerie

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





--
Bart Remmerie


Re: CForms-ajax : validation on-value-changed event interference ??

2007-04-16 Thread bart remmerie

Hi,

It is indeed a call to a flowscript function:

function isNewUserNameValid(value){
   return getMyService().isValidNewUserName(value);
}

where getMyService() returns an instance of the service layer.
The method isValidNewUserName(String userName) returns a boolean indicating
if the username is found in the database.

2007/4/16, MML TML [EMAIL PROTECTED]:



I am trying to put validation in my CForms .. its a registration form but
I wanted to know wht you have been coded in isNewUserNameValid(value)
refers to a flowscript function.

Could you pls send me that script.

so that I can understand whole validation script.
Thanks
--kL


On 4/11/07, bart remmerie [EMAIL PROTECTED] wrote:

 I have a user-registration form, which checks if a username exists
 using ajax (using the on-value-changed event), and displays it to the
 user.
 At the same time, I wanted to add validation to the field, doing
 basically the same check, when the form is submitted.

 What seems to happen each time the value is changed is the following
 sequence:
 * validation of the field is executed, followed by
 * the on-change-event code

 BUT, when a username exists, the following seems to occur:

 * validation is executed, and returns false = username is not valid
 * on-change-event is executed, but the value of the field seems to be
 null
 * the value remains in the widget

 I can imagine that due to validation, the value is reset to null (not
 sure)
 I have the following questions:
 * Is my assumption correct: is the value reset due to the failing
 validation ?
 * Why does the value still appear in the widget (on the screen) ?
 * Why is validation carried out anyway ?

 Please find the relevant code snippets below from register_model.xml.
 Note that isNewUserNameValid(value) refers to a flowscript function
 that checks if the username is still available.

 fd:field id=j_username required=true
   fd:datatype base=string/
   fd:labelusername/fd:label
   fd:on-value-changed!-- verify if the username is available --
  fd:javascript
 var myValue=this.value;
 var userNameMessageWidget= widget.lookupWidget
 (../userNameMessage);
 if (value==null || value.length()==0){
userNameMessageWidget.setValue('please enter a valid
 username');
 }
 else{
if (!isNewUserNameValid(value)){
   userNameMessageWidget.setValue('the username '+value+'
 is already in use, please select another username or login using the
 login page');
}
else{
   userNameMessageWidget.setValue('this username is
 available');
}
 }
  /fd:javascript
   /fd:on-value-changed

   fd:validation
  fd:javascript
 var success = true;
 if (!isNewUserNameValid(widget.value)){
widget.setValidationError(new
 Packages.org.apache.cocoon.forms.validation.ValidationError (this
 username is currently in use, false));
success = false;
 }
 return success;
  /fd:javascript
   /fd:validation
 /fd:field
 fd:field id=userNameMessage state=output
   fd:datatype base=string/
 /fd:field

 Best Regards,
 Bart Remmerie

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






--
Bart Remmerie


Re: googlemail ssl via SendMailTransformer

2007-04-13 Thread bart remmerie

I've been taking a look at this lately.
Javamail 1.4 supports TLS authentication (which is required for gmail).  See
the SSL-notes in their bundle (at the bottom of this mail).

Basically (in my thoughts) it should be enough to get
mail.smtp.starttls.enable=true
into the properties

to test it quick and dirty, I added the following line of code
properties.put(mail.smtp.starttls.enable,true);
to the initSession() method in the MailMessageSender class

Unfortunately, it didn't seem to work.
BUT, I'm convinced that some cocoon-mail expert could find a quick solution
!!

Regards,
Bart

JavaMail now supports accessing mail servers over connections secured
using SSL or TLS.  To simplify such access, three new protocols have
been added.  In addition to the non-SSL JavaMail protocols imap,
pop3, and smtp, the protocols imaps, pop3s, and smtps can
be used to connect to the corresponding services using an SSL
connection.

-- STARTTLS support

The STARTTLS support is available in the standard imap and smtp
protocols, but must be enabled by setting the appropriate property,
mail.imap.starttls.enable or mail.smtp.starttls.enable, to true.
When set, if the server supports the STARTTLS command, it will be
used after making the connection and before sending any login
information.

2007/4/13, Jasha Joachimsthal [EMAIL PROTECTED]:


Guess not, in the API docs there's a known issue called
No support for RFC 2554: SMTP Service Extension for Authentication
And for gmail you need authentication.

Jasha Joachimsthal

Hippo
Oosteinde 11
1017 WT Amsterdam
The Netherlands
+31 (0)20 5224466

www.hippo.nl

 -Original Message-
 From: Voigt, Bjoern (EXTERN: AUEL)
 [mailto:[EMAIL PROTECTED]
 Sent: vrijdag 13 april 2007 13:10
 To: [EMAIL PROTECTED]
 Subject: googlemail ssl via SendMailTransformer

 Hello Cocooners,

 a second question about the SendMailTransformer.

 is it possible to define smtp-hosts, that uses
 SSL-Connections like the gmail smpt-service?

 thanks for help

 Björn


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



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





--
Bart Remmerie


Re: googlemail ssl via SendMailTransformer

2007-04-13 Thread bart remmerie

Forgot to mention some more lines of code (see below)

2007/4/13, bart remmerie [EMAIL PROTECTED]:


I've been taking a look at this lately.
Javamail 1.4 supports TLS authentication (which is required for gmail).
See the SSL-notes in their bundle (at the bottom of this mail).

Basically (in my thoughts) it should be enough to get
mail.smtp.starttls.enable=true
into the properties

to test it quick and dirty, I added the following line of code
properties.put(mail.smtp.starttls.enable,true);



properties.put(mail.smtp.auth, true);
properties.put(mail.smtp.port,465); //which is used for gmail



to the initSession() method in the MailMessageSender class


Unfortunately, it didn't seem to work.
BUT, I'm convinced that some cocoon-mail expert could find a quick
solution !!

Regards,
Bart

JavaMail now supports accessing mail servers over connections secured
using SSL or TLS.  To simplify such access, three new protocols have
been added.  In addition to the non-SSL JavaMail protocols imap,
pop3, and smtp, the protocols imaps, pop3s, and smtps can
be used to connect to the corresponding services using an SSL
connection.

-- STARTTLS support

The STARTTLS support is available in the standard imap and smtp
protocols, but must be enabled by setting the appropriate property,
mail.imap.starttls.enable or mail.smtp.starttls.enable, to true.
When set, if the server supports the STARTTLS command, it will be
used after making the connection and before sending any login
information.

2007/4/13, Jasha Joachimsthal [EMAIL PROTECTED]:

 Guess not, in the API docs there's a known issue called
 No support for RFC 2554: SMTP Service Extension for Authentication
 And for gmail you need authentication.

 Jasha Joachimsthal

 Hippo
 Oosteinde 11
 1017 WT Amsterdam
 The Netherlands
 +31 (0)20 5224466

 www.hippo.nl

  -Original Message-
  From: Voigt, Bjoern (EXTERN: AUEL)
  [mailto: [EMAIL PROTECTED]
  Sent: vrijdag 13 april 2007 13:10
  To: [EMAIL PROTECTED]
  Subject: googlemail ssl via SendMailTransformer
 
  Hello Cocooners,
 
  a second question about the SendMailTransformer.
 
  is it possible to define smtp-hosts, that uses
  SSL-Connections like the gmail smpt-service?
 
  thanks for help
 
  Björn
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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




--
Bart Remmerie





--
Bart Remmerie


CForms-ajax : validation on-value-changed event interference ??

2007-04-11 Thread bart remmerie

I have a user-registration form, which checks if a username exists
using ajax (using the on-value-changed event), and displays it to the
user.
At the same time, I wanted to add validation to the field, doing
basically the same check, when the form is submitted.

What seems to happen each time the value is changed is the following sequence:
* validation of the field is executed, followed by
* the on-change-event code

BUT, when a username exists, the following seems to occur:

* validation is executed, and returns false = username is not valid
* on-change-event is executed, but the value of the field seems to be null
* the value remains in the widget

I can imagine that due to validation, the value is reset to null (not sure)
I have the following questions:
* Is my assumption correct: is the value reset due to the failing validation ?
* Why does the value still appear in the widget (on the screen) ?
* Why is validation carried out anyway ?

Please find the relevant code snippets below from register_model.xml.
Note that isNewUserNameValid(value) refers to a flowscript function
that checks if the username is still available.

fd:field id=j_username required=true
  fd:datatype base=string/
  fd:labelusername/fd:label
  fd:on-value-changed!-- verify if the username is available --
 fd:javascript
var myValue=this.value;
var userNameMessageWidget=widget.lookupWidget(../userNameMessage);
if (value==null || value.length()==0){
   userNameMessageWidget.setValue('please enter a valid username');
}
else{
   if (!isNewUserNameValid(value)){
  userNameMessageWidget.setValue('the username '+value+'
is already in use, please select another username or login using the
login page');
   }
   else{
  userNameMessageWidget.setValue('this username is available');
   }
}
 /fd:javascript
  /fd:on-value-changed

  fd:validation
 fd:javascript
var success = true;
if (!isNewUserNameValid(widget.value)){
   widget.setValidationError(new
Packages.org.apache.cocoon.forms.validation.ValidationError(this
username is currently in use, false));
   success = false;
}
return success;
 /fd:javascript
  /fd:validation
/fd:field
fd:field id=userNameMessage state=output
  fd:datatype base=string/
/fd:field

Best Regards,
Bart Remmerie

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



installing and configuring cocoon 2.2

2007-03-27 Thread bart remmerie

Dear all,

I want to get my existing 2.1.10 apps up and running under cocoon 2.2.

* In the documentation, I find information to get an application up
and running for myNewBlock
* In the readme files, I find information to get the all blocks
installation working (but this is actually broken)

Information I cannot seem to find is how to configure maven  cocoon
to get myBlock up and running with e.g. cforms.

Where can I find such information ?
To be honest, I'm getting kind of frustrated by the lack of
comprehensive  working documentation available.

bart

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



Re: the best authentication approach, cocoon guru needed!!!!

2007-03-27 Thread bart remmerie

Dear Albert,

You might want to take a look at Acegi, a security framework that
integrates with Spring.

I've had it working in a cocoon-hibernate-spring environment and I was
surprised by how easy it was to get it up and running.

Not being a security-framework-expert, I think it offers sufficient
flexibility  features to take a look at it.

kind regards,
bart



 From: albert bertal [mailto:[EMAIL PROTECTED]
Sent: 26 March 2007 17:23
To: users@cocoon.apache.org
Subject: the best authentication approach, cocoon guru needed



  Hi :

  I need to develop a web application with user authentication. I was
reading the authentication framework docs at cocoon's documentation and I
liked that authentication approach. But I've just read the Cocoon's
authentication framework is now deprecated, so... which is the best
approach to manage user's authentication right now ( 26, March 2007)? is
there any sample about that? where?.

 Thanks a lot!!!. Please, help me to choose the right approach before
getting hands dirty.


  Albert



--
Bart Remmerie

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



Re: installing and configuring cocoon 2.2

2007-03-27 Thread bart remmerie

2007/3/27, Grzegorz Kossakowski [EMAIL PROTECTED]:

bart remmerie napisał(a):
 Dear all,

 I want to get my existing 2.1.10 apps up and running under cocoon 2.2.

 * In the documentation, I find information to get an application up
 and running for myNewBlock

Can you give address of document mentioning myNewBlock? It's first
time I hear about it.


It was actually myBlock



 * In the readme files, I find information to get the all blocks
 installation working (but this is actually broken)

README should be fixed because it's not up-to-date with recent changes.
I'll fix that soon.
If you want to build just most popular blocks of Cocoon (all of them
working) just checkout cocoon trunk, go to the root directory and call:
mvn install


I'll try that


 Information I cannot seem to find is how to configure maven  cocoon
 to get myBlock up and running with e.g. cforms.

Have you looked on this:
http://cocoon.zones.apache.org/daisy/cdocs-site-main/g2/1159.html
If it works for you, you can add dependency to the pom.xml on
cocoon-forms-impl and start developing your forms application.


I know the page, but found it a bit limited in terms of adequate info.
Nevertheless, receiving quick feedback helps me to get going again:
I'll play around with the dependencies and see where it gets me ;-)


 Where can I find such information ?
 To be honest, I'm getting kind of frustrated by the lack of
 comprehensive  working documentation available.

Remember that C2.2 is still work in progress and a lot of effort is put
in documentation recently. Even more is planned to do and there are
people willing to make documentation much better so it is going to
improve a lot.

For now just ask questions here. I'll try help you with all troubles.

--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/


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




Thanks for the quick response, I appreciate your effort !!
bart


Re: How to get this widget

2007-03-06 Thread bart remmerie

Could you please give the use case for this ?
I think there could be a more simple solution (if the use case is what
I think it is).

Bart

2007/3/6, Jason Johnston [EMAIL PROTECTED]:

許議中 wrote:
 using repeaterList.getRow(i).lookupWidget(item/01/url); --- it's ok.

 But repeaterList.getRow(i).getChild(item/01/url);  --it'not. why?

The getChild() method only gets direct children; lookupWidget() allows
you to use an xpath-like path for easier traversal.  So:

  widget.lookupWidget(item/01/url)

is the same as:

  widget.getChild(item).getChild(01).getChild(url)


 and additional Question, How to binding this kind of form in to javabeans.

 one type table(type01/type02...) refer to a independent table.

Can you elaborate on this question?  I don't understand what you're asking.

Are you already using the CForms binding framework?





 Jason Johnston 提到:
 許議中 wrote:

 In Javascript (FlowScript)

 There're several rows in the repeater, I can get the itemno wigdet with
 repeaterList.getRow(i).getChild(itemno)

 But I can't get the url widget in the 01 group.

 What have you tried?  If I understand your example it should be
 something like:  repeaterList.getRow(i).lookupWidget(item/01/url);



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





--
Bart Remmerie


Re: validation

2006-12-20 Thread bart remmerie

Dear Roel,

In your form-definition, you can declare whether or not a field is required:
fd:field id=... required=true|false state=...
(See http://cocoon.apache.org/2.1/userdocs/widgets/widget_field.html)

When a field has required=true, a message is displayed when the
field is not filled out (on form-submit) (when using standard
validation).

Next to that, fields that have the required=true attribute, are
marked and a ! appears displaying the validation error (after
attempted submission)

Bart


2006/12/19, Roel Croonenberghs [EMAIL PROTECTED]:


Hello,

I'm using cocoon widgets. I have a form with different widgets. Some are
required, not all. How can I show one message if one of the required widgets
is not filled in?

tnx

Roel



--
Bart Remmerie

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



Combining Cocoon with ZK: any experiences ?

2006-11-29 Thread bart remmerie

Dear all,

Has anyone tried combining Cocoon with ZK (Ajax but no javascript) yet (
http://www.zkoss.org) ?

If yes: what's your impression (strengths  weaknesses of the combination)
If no: any specific reason why not ?

Thanks !
Bart


Re: CHS-Acegi

2006-11-24 Thread bart remmerie

Thanks for the help.
I received the ultimate answer from the acegi-newsgroups:
It was nothing but a typo (sorry guys...)

It's not
Class of type org.acegisecuirty.intercept.web.FilterSecurityInterceptor

But
Class of type org.acegisecurity.intercept.web.FilterSecurityInterceptor

= typo in my web.xml file

Anyone who is building a spellchecker for eclipse ?

Regards,
Bart


2006/11/22, Gabriele Columbro [EMAIL PROTECTED]:


Hi Bart,
seems Jetty is actually complaining for a missing class in the
classloader:

org.acegisecuirty.intercept.web.FilterSecurityInterceptor

In particular that class should be contained in the

acegi-security-1.0.3.jar

not in the

acegi-security-jetty-1.0.3.jar


Just to be sure did (I bet you did) you add the acegi-security-1.0.3.jarunder 
the jetty lib folder (as I guess that class is referenced by the
acegi-security-jetty-1.0.3 ?
Or alternatively you can try to put both jars under the WEB-INF/lib
folder, to make them loaded in the same classloader (the webapp
classloader).
One more info: are you using the plain old CocoonServlet or the
ParanoidServlet (thus the ParanoidClassloader, that reverts the webapp
classloading policies to parent last)?

HTH,
Gabriele


On 11/22/06, bart remmerie  [EMAIL PROTECTED] wrote:

 Dear all,

 I'm using Cocoon, Hibernate  Spring together with Acegi-security and I
 have a problem for which I cannot find the root-cause:

 When starting up jetty, I get the following error message  I cannot
 figure out whether it is related to jetty, cocoon, spring or acegi.
 Anyone with similar experience / expert knowledge ?

 Previously (other versions), everything worked fine.

 My configuration
 cocoon 2.1.9
 hibernate 3.2
 spring-framework 2.0
 acegi-security 1.0.3

 the output

 Listening for transport dt_socket at address: 8000
  Loading 
 Processing repository: F:\tools\cocoon-2.1.9\tools\jetty\lib
 Adding jar: F:\tools\cocoon-
 2.1.9\tools\jetty\lib\acegi-security-jetty-1.0.3.jar

 Adding jar: F:\tools\cocoon-2.1.9\tools\jetty\lib\jetty-4.2.23.jar
 Adding jar: F:\tools\cocoon-2.1.9\tools\jetty\lib\servlet-2.3.jar
 Processing repository: F:\tools\cocoon- 2.1.9\lib\endorsed
 Adding jar: F:\tools\cocoon-2.1.9\lib\endorsed\jakarta-bcel-20040329.jar
 Adding jar: F:\tools\cocoon-2.1.9\lib\endorsed\jakarta-regexp-1.4.jar
 Adding jar: F:\tools\cocoon-2.1.9\lib\endorsed\xalan-2.7.0.jar
 Adding jar: F:\tools\cocoon-2.1.9\lib\endorsed\xercesImpl-2.8.0.jar
 Adding jar: F:\tools\cocoon-2.1.9\lib\endorsed\xml-apis-1.3.03.jar
  Executing -
 Main Class: org.mortbay.jetty.Server
 11:08:31.103 EVENT  Checking Resource aliases
 11:08:31.588 EVENT  Starting Jetty/4.2.23
 11:08:33.525 EVENT  Started
 WebApplicationContext[/,F:\projects\hrplan\tools\coc
 oon\webapp]
 11:08:33.572 EVENT  Loading Spring root WebApplicationContext
 11:08:40.228 WARN!! Delete existing temp dir
 C:\DOCUME~1\bremmer\LOCALS~1\Temp\J
 etty____ for
 WebApplicationContext[/,F:\projects\hrplan\tools\cocoon\webapp]

 11:08:42.838 EVENT  Started SocketListener on 0.0.0.0:
 11:08:42.838 WARN!!
 org.mortbay.util.MultiException[javax.servlet.ServletException: Class of
 type or
 g.acegisecuirty.intercept.web.FilterSecurityInterceptor not found in
 classloader
 ]
 at org.mortbay.http.HttpServer.start(HttpServer.java:640)
 at org.mortbay.jetty.Server.main(Server.java:429)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.
 java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAcces
 sorImpl.java:25)
 at java.lang.reflect.Method.invoke (Method.java:585)
 at Loader.invokeMain(Unknown Source)
 at Loader.run(Unknown Source)
 at Loader.main(Unknown Source)
 [0]=javax.servlet.ServletException: Class of type
 org.acegisecuirty.intercept.we
 b.FilterSecurityInterceptor not found in classloader
 at org.acegisecurity.util.FilterToBeanProxy.doInit(
 FilterToBeanProxy.jav
 a:139)
 at org.acegisecurity.util.FilterToBeanProxy.init(
 FilterToBeanProxy.java :
 189)
 at org.mortbay.jetty.servlet.FilterHolder.start(
 FilterHolder.java:162)
 at
 org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(We
 bApplicationHandler.java:145)
 at org.mortbay.jetty.servlet.WebApplicationContext.start
 (WebApplicationC
 ontext.java:458)
 at org.mortbay.http.HttpServer.start(HttpServer.java:663)
 at org.mortbay.jetty.Server.main(Server.java:429)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.
 java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 sorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at Loader.invokeMain(Unknown Source

CHS-Acegi

2006-11-22 Thread bart remmerie

Dear all,

I'm using Cocoon, Hibernate  Spring together with Acegi-security and I have
a problem for which I cannot find the root-cause:

When starting up jetty, I get the following error message  I cannot figure
out whether it is related to jetty, cocoon, spring or acegi.
Anyone with similar experience / expert knowledge ?

Previously (other versions), everything worked fine.

My configuration
cocoon 2.1.9
hibernate 3.2
spring-framework 2.0
acegi-security 1.0.3

the output

Listening for transport dt_socket at address: 8000
 Loading 
Processing repository: F:\tools\cocoon-2.1.9\tools\jetty\lib
Adding jar: F:\tools\cocoon-
2.1.9\tools\jetty\lib\acegi-security-jetty-1.0.3.jar

Adding jar: F:\tools\cocoon-2.1.9\tools\jetty\lib\jetty-4.2.23.jar
Adding jar: F:\tools\cocoon-2.1.9\tools\jetty\lib\servlet-2.3.jar
Processing repository: F:\tools\cocoon-2.1.9\lib\endorsed
Adding jar: F:\tools\cocoon-2.1.9\lib\endorsed\jakarta-bcel-20040329.jar
Adding jar: F:\tools\cocoon-2.1.9\lib\endorsed\jakarta-regexp-1.4.jar
Adding jar: F:\tools\cocoon-2.1.9\lib\endorsed\xalan-2.7.0.jar
Adding jar: F:\tools\cocoon-2.1.9\lib\endorsed\xercesImpl-2.8.0.jar
Adding jar: F:\tools\cocoon-2.1.9\lib\endorsed\xml-apis-1.3.03.jar
 Executing -
Main Class: org.mortbay.jetty.Server
11:08:31.103 EVENT  Checking Resource aliases
11:08:31.588 EVENT  Starting Jetty/4.2.23
11:08:33.525 EVENT  Started
WebApplicationContext[/,F:\projects\hrplan\tools\coc
oon\webapp]
11:08:33.572 EVENT  Loading Spring root WebApplicationContext
11:08:40.228 WARN!! Delete existing temp dir
C:\DOCUME~1\bremmer\LOCALS~1\Temp\J
etty____ for
WebApplicationContext[/,F:\projects\hrplan\tools\cocoon\webapp]

11:08:42.838 EVENT  Started SocketListener on 0.0.0.0:
11:08:42.838 WARN!!
org.mortbay.util.MultiException[javax.servlet.ServletException: Class of
type or
g.acegisecuirty.intercept.web.FilterSecurityInterceptor not found in
classloader
]
   at org.mortbay.http.HttpServer.start(HttpServer.java:640)
   at org.mortbay.jetty.Server.main(Server.java:429)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at Loader.invokeMain(Unknown Source)
   at Loader.run(Unknown Source)
   at Loader.main(Unknown Source)
[0]=javax.servlet.ServletException: Class of type
org.acegisecuirty.intercept.we
b.FilterSecurityInterceptor not found in classloader
   at org.acegisecurity.util.FilterToBeanProxy.doInit(
FilterToBeanProxy.jav
a:139)
   at org.acegisecurity.util.FilterToBeanProxy.init(
FilterToBeanProxy.java:
189)
   at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java
:162)
   at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(We
bApplicationHandler.java:145)
   at org.mortbay.jetty.servlet.WebApplicationContext.start
(WebApplicationC
ontext.java:458)
   at org.mortbay.http.HttpServer.start(HttpServer.java:663)
   at org.mortbay.jetty.Server.main(Server.java:429)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at Loader.invokeMain(Unknown Source)
   at Loader.run(Unknown Source)
   at Loader.main(Unknown Source)