CocoonGT

2007-09-13 Thread Leszek Gawron
As something broke during registration I was not able to pay with 
PayPal. Question is: what email address should I send the money to? 
[EMAIL PROTECTED]


Second question is: does anyone play squash? Are there any squash courts 
around? I might take my gear with me if somebody wanted some evening 
exercise... :)


--
Leszek Gawron http://www.mobilebox.pl/krs.html
CTO at MobileBox Ltd.



Patches for lucene block

2007-09-13 Thread Nacho (Derecho.com)
Hola a todos:

During the development of our site, we aplliied a small change to the 
SearchTransformer, basically it gives the ability to change the default field 
used for searching, we called this new config parameter content-field, was by 
default body, and now can be changed..

The question is, if somebody find this useful, we'll be glad to contribute it, 
but where? Send a diff -u here?, we done this change over the cocoon-2.1.11-dev 
version of the lucene block, the version we are actually using for the site ( 
despite my lastest message subject :)..


Ignacio J. Ortega
Departamento técnico
http://www.derecho.com 


Re: Patches for lucene block

2007-09-13 Thread Jeroen Reijn

Hi Ignacio,

yes contributions are always welcome! You can create a new issue in the 
Apache Cocoon JIRA project[1] and attach your patch (the diff outcome) 
to the JIRA issue.


See also the cocoon contributing page [2] for more information.

[1]https://issues.apache.org/jira/secure/Dashboard.jspa
[2]http://cocoon.apache.org/2.1/1177.html

Thank you for your contribution!

Kind regards,

Jeroen Reijn


Nacho (Derecho.com) wrote:

Hola a todos:

During the development of our site, we aplliied a small change to the SearchTransformer, basically 
it gives the ability to change the default field used for searching, we called this new config 
parameter content-field, was by default body, and now can be changed..

The question is, if somebody find this useful, we'll be glad to contribute it, 
but where? Send a diff -u here?, we done this change over the cocoon-2.1.11-dev 
version of the lucene block, the version we are actually using for the site ( 
despite my lastest message subject :)..


Ignacio J. Ortega
Departamento técnico
http://www.derecho.com 


Re: CocoonGT

2007-09-13 Thread Gianugo Rabellino
On 9/13/07, Leszek Gawron [EMAIL PROTECTED] wrote:
 As something broke during registration I was not able to pay with
 PayPal. Question is: what email address should I send the money to?
 [EMAIL PROTECTED]

Arjé is your man and our accountant, so I'll leave him the confirmation to him.

 Second question is: does anyone play squash? Are there any squash courts
 around? I might take my gear with me if somebody wanted some evening
 exercise... :)

I used to, but it was some 20 years and possibly 40kgs ago in all
honesty I'm not aware of any squash courts around, maybe Simone knows
better?

Ciao,

-- 
Gianugo Rabellino
Sourcesense, making sense of Open Source: http://www.sourcesense.com
(blogging at http://www.rabellino.it/blog/)


Re: Cocoon, a survival tool

2007-09-13 Thread Grzegorz Kossakowski
Sylvain Wallez pisze:
 Cocoon is a place to find shelter in extreeme conditions and environments
 
 http://www.coroflot.com/public/individual_file.asp?individual_id=81605portfolio_id=218380sort_by=1;
 
 :-)

Nice! :-)
I'm homeless now and looking for a new flat in Warsaw (where I study) very 
seriously but without
much success. It may be worth to consider Cocoon as flat replacement that could 
be installed in a
park on some tree... ;-)

More seriously, Sylvain, are you going to attend CocoonGT this year? I would 
love to meet you there!

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


Re: pipelineComponent scope troubles

2007-09-13 Thread Grzegorz Kossakowski
Giacomo Pati pisze:
 
 Here it is :-)
 

snip/

I agree, it's *ugly* :-)

 Caused by: org.apache.cocoon.el.ExpressionException: Couldn't evaluate 
 expression status.myTasks.size()
 at 
 org.apache.cocoon.el.impl.jexl.JexlExpression.evaluate(JexlExpression.java:50)
 at 
 org.apache.cocoon.el.impl.jexl.JexlExpression.getNode(JexlExpression.java:82)
 at 
 org.apache.cocoon.template.expression.JXTExpression.getNode(JXTExpression.java:72)
 at 
 org.apache.cocoon.template.script.event.Characters.execute(Characters.java:58)
 ... 226 more
 Caused by: java.lang.NullPointerException
 at 
 org.apache.commons.jexl.parser.ASTSizeFunction.sizeOf(ASTSizeFunction.java:77)
 at 
 org.apache.commons.jexl.parser.ASTSizeMethod.execute(ASTSizeMethod.java:51)
 at 
 org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:68)
 at 
 org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:50)
 at 
 org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86)
 at 
 org.apache.cocoon.el.impl.jexl.JexlExpression.evaluate(JexlExpression.java:48)
 ... 229 more

I guess that you came across nasty bug in JEXL that tries to evaluate built-in 
functions on null values
and informs about it in very bad way.

The question is: where and how status.myTasks is supposed to be set? (see 
below, also)

snip/
 map:match pattern=screen/**
 map:select type=resource-exists
 map:when test={1}.xml
 map:generate src={1}.xml label=content /
 /map:when
 map:otherwise
 map:generate src=servlet:bfabric-core:/screen/{1} 
 /

Let me guess: status.myTasks is called in that pipeline, right?

snip/

 
 Not that much, unfortunately because it only shows that something is broken 
 in pipelineComponent
 scope code so no news here. I suggest to do three things:
 1. Make sure that Object Model is in call scope and not in 
 pipelineComponent one.
 2. If there is still a problem, paste whole stack trace, then.
 
 See above.

Thanks Giacomo. Believe me or not, but I think we are much closer to the real 
cause of your
troubles. In order to cast some spells on OM code I need to know how 
status.myTasks is put on OM AND
how that snippet is called from the bits that need status.myTasks variable 
later on.

 Last thing, Giacomo, if you could respond to my mails more often we could 
 find a solution for your
 troubles more quickly. ;)
 (take into account that I have exam tomorrow so I will respond on late 
 afternoon, though)
 
 I'll do my best ;-)

Thanks! Tomorrow (Friday) I plan to work on Cocoon so I will be available whole 
day and I hope we
will manage to push things forward. Sorry for your inconveniences.

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


[jira] Created: (COCOON-2132) Assure back-compatiblity for Servlet Service Fw and Expressions

2007-09-13 Thread Grzegorz Kossakowski (JIRA)
Assure back-compatiblity for Servlet Service Fw and Expressions
---

 Key: COCOON-2132
 URL: https://issues.apache.org/jira/browse/COCOON-2132
 Project: Cocoon
  Issue Type: Task
  Components: - Expression language, - Servlet service framework
Affects Versions: 2.2-dev (Current SVN)
Reporter: Grzegorz Kossakowski
Priority: Critical
 Fix For: 2.2-dev (Current SVN)


This issue is going to be used for tracking all other issues related to 
assuring back-compatibility or smooth migration path for functionality from SSF 
and Expressions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.