[FYI] mozilla composite, WYSYWIG HTML editor for textareas

2002-10-17 Thread Bertrand Delacretaz

see http://composite.mozdev.org/index.html

Ugo Cei mentioned this in passing in another thread today but I think it 
deserves its own announcement. 

The editor opens a separate editor window (mozilla composer I guess) so it is not 
really 
in-place editing but it does the job real fine IMHO.

-Bertrand

-
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]




Adobe new products

2002-10-17 Thread Matthew Langham

I read this morning on Heise (www.heise.de - German) about Adobe introducing
a new range of products for big business. Looks like they will be bringing
out a Forms Server, an Output Server, a Workflow Server and a
Document Server - all designed to make PDF ubiquitous. And each server
with a separate price tag I would assume. If I didn't know better - from the
limited description - I would say they could be using Cocoon (or a Cocoon
based solution) for all that.

Does anyone have any additional information - I think the release is next
week.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Ovidiu Predescu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002 4:33 AM
To: [EMAIL PROTECTED]
Subject: Re: JFreeChart, anyone ?



On Wednesday, October 16, 2002, at 08:10  AM, Nathaniel Alfred wrote:


 We have written a basic JFreeSerializer.  Just enough
 functionality for
 producing time series charts in png from datapoints sent down the
 pipeline from an XSP generator.

 ...mind to contribute it as new block? :-)

 Sure, if there is interest for it.
 But it will take me some time to figure out how to package a block.
 Anyone who could give me a hand?

 What about the licensing issue?  JFreeChart is under LGPL.
 Any objections to adding the JARs to the Cocoon distribution?

Ops, you'll have a problem with ASF and I think with Krisalis as well.
It's a real bummer people don't like LGPL. Or that some people release
code under LGPL. Depending on which side you are ;)

Perhaps the best way is to have your code compile conditionally as a
block only if the JFreeChart is in lib/optional or lib/local.

Best regards,
--
Ovidiu Predescu [EMAIL PROTECTED]
http://webweavertech.com/ovidiu/weblog/ (Weblog)
http://www.geocities.com/SiliconValley/Monitor/7464/ (Apache, GNU,
Emacs ...)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [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]




Cocoon Java Specification Request (JSR)

2002-10-17 Thread Nicholas Hemley

Hello,

I was wondering whether anyone has submitted/or is thinking of submitting a JSR for 
the MVC model that Cocoon uses since it seems to be ahead of the current JSP (model 1) 
based approach. This would also help to promote Cocoon as a reference implementation 
and raise the consciousness of the wider community. Just a thought.

For further information see:
http://www.jcp.org/jsr/overview/

Cheers,
Nic Hemley

Webmaster NHS Lothian



**
The information contained in this message may be confidential or legally privileged 
and is intended for the addressee only,

If you have received this message in error or there are any problems please notify the 
originator immediately.

The unauthorised use, disclosure, copying or alteration of this message is strictly 
forbidden.
**


-
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: [C 2.1 CVS] - About roles in user Authentication

2002-10-17 Thread Markdelanoy

Looking in the authentication code, the role doesn't appear to be used other than it's 
placed in the session context for future use.  So...

1.) you can make use of it somehow by accessing the session context (authorization I 
believe)
2.) use the portal (cocoon's) as i'm fairly certain it's used there to distinguish 
between the various portal variants.

The RoleFilterTransformer doesn't appear to use this.  Rather it uses the J2EE role 
found in...  web.xml???  I forget, but basically it calls request.isUserInRole().

Actually I'm assuming it's using hte j2ee role and not the cocoon role.   So maybe you 
need to look in the request.isUserInRole mehtod to make sure.

MD

-
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: [C 2.1 CVS] - About roles in user Authentication

2002-10-17 Thread Matthew Langham


Looking in the authentication code, the role doesn't appear to be used other
than it's placed in the session context for future use.  So...

That is correct.


2.) use the portal (cocoon's) as i'm fairly certain it's used there to
distinguish between the various portal variants.

Also correct. The role is used in the portal so that you can set up
different portals for say users vs. gurus vs. admins.

As explained in the documentation, the authentication pipeline must return
XML if the user could be authenticated - the format of that XML is thus:


authentication
IDUnique user ID/ID
roleuser role/role   !-- optional --

data
!-- application specific data for the user --
/data
/authentication


Notice that the role is optional and is only required if you are using the
authentication and portal together. And of course you can use the
authentication framework without the portal.

plug mode=cheeky
Did I mention that we offer great Cocoon training courses :-)
/plug

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002 11:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [C 2.1 CVS] - About roles in user Authentication


Looking in the authentication code, the role doesn't appear to be used other
than it's placed in the session context for future use.  So...

1.) you can make use of it somehow by accessing the session context
(authorization I believe)
2.) use the portal (cocoon's) as i'm fairly certain it's used there to
distinguish between the various portal variants.

The RoleFilterTransformer doesn't appear to use this.  Rather it uses the
J2EE role found in...  web.xml???  I forget, but basically it calls
request.isUserInRole().

Actually I'm assuming it's using hte j2ee role and not the cocoon role.   So
maybe you need to look in the request.isUserInRole mehtod to make sure.

MD

-
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]




German article on Cocoon Portal and Authentication

2002-10-17 Thread Matthew Langham

The new issue of the German magazine XML  Web Services Magazin contains a
Cocoon special. In 2 articles (a total of 11 pages) Carsten and I detail the
authentication and portal framework in Cocoon.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=



-
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: Adobe new products

2002-10-17 Thread ROSSEL Olivier

 I read this morning on Heise (www.heise.de - German) about 
 Adobe introducing
 a new range of products for big business. Looks like they 
 will be bringing
 out a Forms Server, an Output Server, a Workflow Server and a
 Document Server - all designed to make PDF ubiquitous. And 
 each server
 with a separate price tag I would assume. If I didn't know 
 better - from the
 limited description - I would say they could be using Cocoon 
 (or a Cocoon
 based solution) for all that.
 
 Does anyone have any additional information - I think the 
 release is next
 week.

I think this is a great news, both for web developpers (1) and for 
Cocoon developpers (2).

(1) One big commercial product is available that shares the philosophy of
Cocoon.
If your company wants you to devellop web things, you can say Hey, Adobe
sells products that sound really great.

(2) The fact that a big company chooses such a model for web development 
will credibilize Cocoon. Chiefs will say Wow, Adobe products sound great
but it costs a lot. Open source geeks have made a clone of them? Yes?
Cocoon?
Well, let's give it a try!.

Of course, the ideal scenario is to chain (1) and (2) :-))
This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

-
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: German article on Cocoon Portal and Authentication

2002-10-17 Thread Werner Guttmann

Matthew,

you would not have a URL for those of us not being able to pick this up at a
newsstand ?

Thanks
Werner

Matthew Langham wrote:

 The new issue of the German magazine XML  Web Services Magazin contains a
 Cocoon special. In 2 articles (a total of 11 pages) Carsten and I detail the
 authentication and portal framework in Cocoon.

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 Weblog:
   http://radio.weblogs.com/0103021/
 =

 -
 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: DB Insert from Multiple Select box

2002-10-17 Thread Antonio Gallardo Rivera

You need to use Modular Databse Actions. See the mod-db example at:

http://localhost:8080/cocoon/samples/mod-db/user-list

Antonio Gallardo

El Jueves, 17 de Octubre de 2002 06:08, Nicholas Hemley escribió:
 Hi,

 I can't find an example of inserting values into a db from a multiple
 select POST anywhere. Frustrating really 'cos I could have written this in
 5 mins in PHP :) Could someone point me in the right direction? Do I have
 to use a DatabaseAddAction? Does anyone have an example they could send me
 please?

 I've got as far as:
 String[] hint_type_ids = request.getParameterValues(hint_type_id);
 in my XSP...

 Cheerio,
 Nic Hemley





 **
 The information contained in this message may be confidential or legally
 privileged and is intended for the addressee only,

 If you have received this message in error or there are any problems please
 notify the originator immediately.

 The unauthorised use, disclosure, copying or alteration of this message is
 strictly forbidden.
 **


 -
 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: Cocoon Java Specification Request (JSR)

2002-10-17 Thread Argyn . Kuketayev

I don't find Cocoon following MVC. At least not that MVC which is in
Smalltalk.

-Original Message-
From: Nicholas Hemley
To: [EMAIL PROTECTED]
Sent: 10/17/02 5:07 AM
Subject: Cocoon  Java Specification Request (JSR)

Hello,

I was wondering whether anyone has submitted/or is thinking of
submitting a JSR for the MVC model that Cocoon uses since it seems to be
ahead of the current JSP (model 1) based approach. This would also help
to promote Cocoon as a reference implementation and raise the
consciousness of the wider community. Just a thought.

For further information see:
http://www.jcp.org/jsr/overview/

Cheers,
Nic Hemley

Webmaster NHS Lothian



**
The information contained in this message may be confidential or legally
privileged and is intended for the addressee only,

If you have received this message in error or there are any problems
please notify the originator immediately.

The unauthorised use, disclosure, copying or alteration of this message
is strictly forbidden.
**


-
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: German article on Cocoon Portal and Authentication

2002-10-17 Thread Matthew Langham


It will be impossible for you to have an english version right?


I don't think we will be translating it anytime soon :). However most of it
already is in the Cocoon documentation. In addition we wrote a short article
on the same subject for xml.com.
http://www.xml.com/pub/a/2002/07/24/xmlportal.html

Matthew


--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=

It will be impossible for you to have an english version right?

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Cocoon-Dev@Xml. Apache. Org [EMAIL PROTECTED]
Sent: Thursday, October 17, 2002 6:37 PM
Subject: RE: German article on Cocoon Portal and Authentication


 
 you would not have a URL for those of us not being able to pick this up at
a
 newsstand ?
 
 As soon as it goes up online (_if_ it goes up online) then I will post a
 link in my weblog.

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 Weblog:
   http://radio.weblogs.com/0103021/
 =


 -Original Message-
 From: Werner Guttmann [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 17, 2002 12:29 PM
 To: [EMAIL PROTECTED]
 Cc: Cocoon-Dev@Xml. Apache. Org
 Subject: Re: German article on Cocoon Portal and Authentication


 Matthew,

 you would not have a URL for those of us not being able to pick this up at
a
 newsstand ?

 Thanks
 Werner

 Matthew Langham wrote:

  The new issue of the German magazine XML  Web Services Magazin
contains
 a
  Cocoon special. In 2 articles (a total of 11 pages) Carsten and I detail
 the
  authentication and portal framework in Cocoon.
 
  Matthew
 
  --
  Open Source Group   Cocoon { Consulting, Training, Projects }
  =
  Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
  Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
  -
  Cocoon book:
http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
  Weblog:
http://radio.weblogs.com/0103021/
  =
 
  -
  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]



-
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]




SearchGenerator improvements

2002-10-17 Thread leo leonid

Hi,
the changes file from 2.0.4-dev shows this entry:

# SearchGenerator now includes field name=/ elements into hit/  
element.
These elements contain stored fields of a found Document, making it 
possible
to provide additional info about document in the search result list
(only when index created with some stored fields). (VG)

hmm...?? does anyone know what this improvement is about?
Does it give you a way to return i.e. a documents title within the hit 
element?
  eventually like this...
search:hit rank=2 score=0.18039405 
uri=http://localhost/search-generator.html; /
    search:field name=title/Search Generatorsearch:field
/search:hit

If so, how do I set it. Or is there another way to achieve this?
thanks,
/Leo


-
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: German article on Cocoon Portal and Authentication

2002-10-17 Thread Matthew Langham

Why are you going to use 2.0.3? Much of the portal stuff has been moved and
renamed in 2.1-dev. I recommend using 2.1-dev if you are starting on your
project now. The documentation in Cocoon is also more complete for the
current version.

Also - in 2.1-dev the portal/authentication components have been moved to
the main branch.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Richard Reyes [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 18, 2002 5:17 AM
To: [EMAIL PROTECTED]
Subject: Re: German article on Cocoon Portal and Authentication


Hi Matthew,

I have just found this link looking at your weblog.
by now i'll be working on the cocoon portal sample shipped with the binary
release ( v 2.0.3 ) .

Question: will it be alright to use the sunspot components shipped with this
binary release or should
I prefer to download a daily snapshot and build --installwar?

Thanks again.

Richard

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 17, 2002 7:16 PM
Subject: RE: German article on Cocoon Portal and Authentication



It will be impossible for you to have an english version right?


I don't think we will be translating it anytime soon :). However most of it
already is in the Cocoon documentation. In addition we wrote a short article
on the same subject for xml.com.
http://www.xml.com/pub/a/2002/07/24/xmlportal.html

Matthew


--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=

It will be impossible for you to have an english version right?

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Cocoon-Dev@Xml. Apache. Org [EMAIL PROTECTED]
Sent: Thursday, October 17, 2002 6:37 PM
Subject: RE: German article on Cocoon Portal and Authentication


 
 you would not have a URL for those of us not being able to pick this up at
a
 newsstand ?
 
 As soon as it goes up online (_if_ it goes up online) then I will post a
 link in my weblog.

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 Weblog:
   http://radio.weblogs.com/0103021/
 =


 -Original Message-
 From: Werner Guttmann [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 17, 2002 12:29 PM
 To: [EMAIL PROTECTED]
 Cc: Cocoon-Dev@Xml. Apache. Org
 Subject: Re: German article on Cocoon Portal and Authentication


 Matthew,

 you would not have a URL for those of us not being able to pick this up at
a
 newsstand ?

 Thanks
 Werner

 Matthew Langham wrote:

  The new issue of the German magazine XML  Web Services Magazin
contains
 a
  Cocoon special. In 2 articles (a total of 11 pages) Carsten and I detail
 the
  authentication and portal framework in Cocoon.
 
  Matthew
 
  --
  Open Source Group   Cocoon { Consulting, Training, Projects }
  =
  Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
  Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
  -
  Cocoon book:
http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
  Weblog:
http://radio.weblogs.com/0103021/
  =
 
  -
  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]