System: Maven
Affects Versions: 2.2
Reporter: Stephan
This seems to be similar to https://issues.apache.org/jira/browse/COCOON-2007.
I created two cocoon blocks and a webapp like this:
webapp
block1
block2
Then, I created a parent pom that referes to these modules in order
[
https://issues.apache.org/jira/browse/COCOON-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephan updated COCOON-2240:
Summary: Building all blocks from parent pom doesn't work (was: Building
all blocks from parent block
[
https://issues.apache.org/jira/browse/COCOON-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephan updated COCOON-2240:
Description:
This seems to be similar to https://issues.apache.org/jira/browse/COCOON-2007.
I created
[
https://issues.apache.org/jira/browse/COCOON-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephan updated COCOON-2240:
Description:
This seems to be similar to https://issues.apache.org/jira/browse/COCOON-2007.
I created
. Now my question:
Is there a Cocoon component available which I can use to register new
flowscripts at runtime and what points I have to keep in mind to do that?
Any hint is appreciated.
Thank you a lot!
Regards
Stephan
On 8/30/05, Carsten Ziegeler [EMAIL PROTECTED] wrote:
Hi Stephan,yes, I think this is a nice feature and I'm interested to have a look atit. I think you're right with your assumption about the axis block.
However I think your contribution should go into the axis block as wellto bundle all ws
mit it via bugzilla.
Thanks for your consideration.
Stephan Zuercher
copied the webapp folder
into my tomcat and then restarted tomcat. Do I have to separately
activate the compiling classloader? Or is the problem using tomcat
instead of jetty outside the source structure?
Thanks.
--
Regards
Stephan
--
Torsten
Ah, ok. The same as HEAD in CVS means?
Ok, I will try it in the next days if I'll find some time for it.
--
Stephan
\java:
CocoonContinuationContext.class
JavaInterpreter.class
VarMap.class
VarMapHandler.class
--
Regards
Stephan
but they're not included in the build. Just
the source AbstractContinuation.java is included but not compiled. Is
this right?
--
Regards
Stephan
: aload_0 [InstructionContext] 3: getstatic 23
[InstructionContext]
Thank you.
Regards
Stephan
It would also be great if you could
try cocoon-trunk and report back.
What is cocoon-trunk? The nightly build or the version out from
subversion?
Stephan
, too ;-) Just to express that this feature would very very
nice!!
Regards
Stephan
didn't find a way to resolve a Widget value of type MultiValueField.
Therefore its not possible to retrieve such values. None of typeof or
instanceof worked correctly to determine the object type. How can I
resolve whether it is a MultiValueField or not?
Thanks!
Regards
Stephan
Sylvain Wallez wrote:
Stephan Coboos wrote:
Hello,
is it possible to iterate other a model object within a flowscript?
The model object was retrieved before by calling form.getModel().
Yes, you can use lookupWidget() that accepts a path-like syntax (i.e.
a/b/c or ../d)
Another question
Hi Sylvain,
I have resolved my problem: I have to include the v2 Form.js and to
change form.getModel() to form.getWidget().
Thanks.
Regards
Stephan
Hello,
is it possible to iterate other a model object within a flowscript? The
model object was retrieved before by calling form.getModel().
Another question: Is there an API doc available for this object?
Thanx.
Stephan
within the JavaFlow?
Thank you a lot!
Regards
Stephan
():
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/flow/java/AbstractContinuable.html
Thank you.
Regards
Stephan
Stephan
if
the user closes its browser (socket close). Is such a feature
implemented yet?
Thank you!
Regards
Stephan
I had forgotten to say: The database connection should be closed if the
user closes the browser _during reading_. So a hughe set of data which
are not needed should not read again out of the database to save resources.
Thank you.
Stephan
Stephan Coboos wrote:
Hi,
I need some internal
is not possible to detect a browser cancel? Is there a workaraound
available?
What happens on the first one (directly xml output) if the user stops
the transfer by closing the browser?
Thank you, Sylvain.
Regards
Stephan
Sylvain Wallez wrote:
Stephan Coboos wrote:
I had forgotten to say
Hello,
is it possible to access the current request within a avalon component
without passing it as parameter?
Thank you!
Regards
Stephan
br/
ft:widget id=spam/
ft:widget-label id=spam/
br/
input type=submit/
/ft:form-template
/body
/html
Thank you.
Regards
Stephan
?
Is it a bug in the build structure?
That to do?
Regards
Stephan
On Sat, 11 Sep 2004, Nikolaus Rath wrote:
I suspect that Cocoon uses some sort of Serialization to implement
Continuations and that the size and amount of referenced objects
directly influences performance.
The JavaFlow stores the Continuable objects in the session, so that
the field have
of it ;-)
I only continued the work of Torsten and the brakes peoples, and don't
wanted to start a new oneman show. The project needs some fresh blood to
keep alive.
Stephan.
the attribute clear-before-load to the fb:repeater/
instead of introducing a new element fb:simple-repeater/?
Thank you.
Regards
Stephan
Joerg Heinicke wrote:
On 02.09.2004 20:08, Stephan Coboos wrote:
why it is not possible to use fb:on-bind/ aso. within
fb:simple-repeater/?. I need this repeater because I want to remove
all entries from the list and replace them by new values from the
form. Or is this behavior also possible
but the
transformation will work on! Very strange I think. Why
Regards
Stephan
/xsl:stylesheet
Thank you very much.
Regards
Stephan
Because of a bug in serializer? Xalan catches NPE and re-throws it
loosing stacktrace. Catch original NPE and see where it is thrown; IMHO
it is coming from hssf serializer.
Hello Vadim,
this is the whole stacktrace, does it help?
org.apache.cocoon.ProcessingException: Failed to execute
Hello,
I had downloaded the nightly build cocoon-2.1_20040731161331. But what I
got after compiling was cocoon-2.2.0dev? Heahh? Is the snapshot
algorithm wrong?
Regards
Stephan
Hello,
is it possible to set a java.sql.ResultSet witin a JXTemplate and then
iterate over the contents?
I need this way to print out 60 Elements from a database into an
xml. So it is not possible to create beans before.
Thank you.
Regards
Stephan
?
Thank you!
Regards
Stephan
* RequestParameterMatcher.java
* SessionAttributeMatcher.java
* WildcardURIMatcher.java
[...]
Wow, great work! I can't say how I appreciate your work.
Its a shame to see a large project like Cocoon without tests.
Stephan.
transactions after view generation (like hibernate and some
others) or to simply plug-in a login mechanism (just a few examples out
of many).
What do you think about it?
Regards
Stephan
Can you revert this change, I need this method time to time.
Thanks, Stephan.
1.14 +50 -37
cocoon-2.1/src/blocks/javaflow/java/org/apache/cocoon/components/flow/java/ContinuationClassLoader.java
Index: ContinuationClassLoader.java
Please cast your votes:
[ ] do not keep sources
[X] keep sources as separate zip files
but only in this special case, otherwise don't keep the sources.
[ ] keep sources in jar files
Stephan.
classpath. I know
also that the xsltc is sometimes delivered with an including bcel
library.
Stephan.
Jeremy Quinn wrote:
How would I organise this differently, in the situation where I had
several of these Components, each differently configured, that I
wanted to be able to load in FlowScript in a similar way. Maybe we
want one setup for read-only privs and another setup for read-write
privs
(StorageUnitManager.ROLE);
The verifier code, which comes from bcel was a bit buggy, so I removed
it in the current CVS. So, I would rather use the CVS than 2.1.5
Stephan.
the
persistence layer like you want. Please have a look at the following
link. (It's in german language but the code should help you. Use class
AbstractManagerDB)
http://www.pgmtools.de/board/viewtopic.php?t=35
Regards
Stephan
[EMAIL PROTECTED] wrote:
the problem is a ClassCastException because the code was changed to use a
ServiceSelector, but the configuration uses a ExtendedComponentSelector. I
send you the diff what was changed. You can replace ServiceSelector back to
ComponentSelector and it will work again. It
Hello,
why having bizData objects its own flow scope and not be stored e.g. in
session or request?
Is it possible to retrieve the object via session or request without
using extra setAttribute in flow?
Thank you.
Regards
clazz = MyClass.class;
If somebody is interested, Stephan *grmpf#!?
to do that?
Thank you.
Regards
Stephan
Pier Fumagalli wrote:
On 15 Jun 2004, at 17:28, Stephan Coboos wrote:
Hello,
in my XML doc I need to declare some entities. But if I do so, I cant
use the HTMLSerializer to output my doc because a braket appears on
the right top corner. Why? Is it a bug in HTMLSerializer? What can I
do
Stephan Coboos wrote:
Pier Fumagalli wrote:
On 15 Jun 2004, at 17:28, Stephan Coboos wrote:
Hello,
in my XML doc I need to declare some entities. But if I do so, I
cant use the HTMLSerializer to output my doc because a braket
appears on the right top corner. Why? Is it a bug in HTMLSerializer
help!
Regards
Stephan
Am Fr, den 11.06.2004 schrieb Stephan Coboos um 19:06:
Hello,
please have a look at the following java flow code:
...
public class TestFlow extends AbstractContinuable{
private boolean foo= false;
public void doTest() throws Exception {
while(true
Stephan Michels wrote:
member variables have the scope of the seesion.
Ok. But makes this sense? If I have no continuation I need no member
variable.
Isn't it better to remove the member vars from the session scope and
bind them on the contonuation object?
What's the reason to bind member
developers, I hope you are not angry about my many
postings/questions about JavaFlow ;-)
Regards
Stephan
. There is no initialization process! So foo is always
true in the same browser instance. In my opinion, If I make a reload
without a call of a continuation the var reload should be false, should it?
Is it another bug in javaflow?
Thank you for your help.
Regards
Stephan
-
nothing parsed:
?xml version=1.0 encoding=ISO-8859-1 ?
root xmlns:test=urn:apache:taglib:hello
test:hello /
/root
What is wrong here? Thank you for your help.
PS: I had tried the taglib block it seems it doesn't work, too! Whats
about this block? Is it deprecated?
Regards
Stephan
to configure
the class loader. You can't use the cocoon.xconf, because you
need already the CL for the root container. And using the servlet
configuation file isn't a good idea. Then we have also a dependency to
javaflow, which isn't any longer optional.
Maybe somebody had an idea...
Stephan.
Stephan Michels wrote:
Am Do, den 03.06.2004 schrieb Stephan Michels um 15:00:
Am Di, den 01.06.2004 schrieb Stephan Coboos um 20:23:
Hello,
I have a problem using Objects in JavaFlow before a while loop. Please
see my first posting [JavaFlow] java.lang.VerifyException. In my opinion
Am Di, den 01.06.2004 schrieb Stephan Coboos um 20:23:
Hello,
I have a problem using Objects in JavaFlow before a while loop. Please
see my first posting [JavaFlow] java.lang.VerifyException. In my opinion
it can be a bug in the JavaFlow block.
Because my fist posting was not so clear
Am Do, den 03.06.2004 schrieb Stephan Michels um 15:00:
Am Di, den 01.06.2004 schrieb Stephan Coboos um 20:23:
Hello,
I have a problem using Objects in JavaFlow before a while loop. Please
see my first posting [JavaFlow] java.lang.VerifyException. In my opinion
it can be a bug
:
// Works:
...
ContainerManager containerManager = null;
SingleContainer singleContainer = null;
public void doEditSingleContainer() throws Exception {
...
while(true) {
...
}
}
Thank you for your help.
Regards
Stephan
within the method doTest? What can I do?
Thank you.
Regards
Stephan
of
the input modules: GlobalInputModule, DefaultsModule or
PropertiesFileModule:
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/package-summary.html
Regards
Stephan
,
especially if get a spam rate of 80% :-/
Stephan.
a f**k!
Stephan.
- message key=datatype.conversion-failedKeine gültige {0}./message
+ message key=datatype.conversion-failedUnültige(s) {0}./message
Unültige ?!
Stephan.
Am Mi, den 14.04.2004 schrieb Peter Mortier um 17:19:
Hello,
I'm trying out the new Java continuations stuff seperately from Cocoon.
However, I have run into a problem. The instrumented bytecode throws a
ClassCastException In the case where I am trying to resume a Continuation
from a
Am Fr, den 16.04.2004 schrieb Ugo Cei um 0:02:
In order to move forward, I propose to reparent the
org.apache.cocoon.ProcessingException to extend
org.apache.avalon.framework.CascadingRuntimeException instead of
CascadingException.
So, please cast your votes.
+1
Stephan.
Am Mi, den 14.04.2004 schrieb Guido Casper um 9:08:
Stephan Michels wrote:
The Repository IFs seems be more helper classes than components. And I
think we should using the Source objects instead to reflect all aspects
like locking, property handling etc.
Care to elaborate why do you
approach! I see the benefits, if you compare it to
flowscript, where you mostly don't care about exception handling.
And if you want to, you can explicit catch the RuntimeExceptions.
+1
Stephan.
the transactions explicit. Handling
transactions over the webdav protocol is a different capter, but I
thought that I read that Slide support it.
Stephan.
Am Mi, den 14.04.2004 schrieb Unico Hommes um 12:09:
From: Stephan Michels [mailto:[EMAIL PROTECTED]
The Repository IFs seems be more helper classes than components. And I
think we should using the Source objects instead to reflect
all aspects
like locking, property handling etc
Am Mi, den 14.04.2004 schrieb Guido Casper um 15:21:
Stephan Michels wrote:
The current webdav methods are:
... SUBSCRIBE UNSUBSCRIBE
POLL EVENT TRANSACTION ...
Where do these come from? They are not webdav methods.
Okay okay ;-) Not methods of the specs but of Slide, see
jakarta
?!
Stephan.
BTW, the WedDAV client of SN is really nice, see
http://www.s-und-n.de/sunshine/ccos/produkte/webdavpilot
of the WebDAVSource? It seems that it doesn't implement
any versioning. Or am I wrong?
Do you have plan to do something in this direction?
I currently think about to implement a system ontop of it.
Stephan Michels.
Am Do, den 08.04.2004 schrieb Guido Casper um 20:18:
Stephan Michels wrote:
What the status of the WebDAVSource? It seems that it doesn't implement
any versioning. Or am I wrong?
No. I (vaguely) remember some discussion considering your
VersionableSource vs. Sylvain's VersionedSource
, and in cases of the
state !restoring !capturing into the state capturing.
Stephan.
Am Di, den 06.04.2004 schrieb Antonio Gallardo um 13:12:
Hi:
Stephan Michels dijo:
Uhmm, yes, you know that you CP the uri of an POST request? So in this
case all request parameters get lost, and you got a
NullPointerException.
Yes it can look weird the idea of CP this URI
in the client, which can communicate
XML messages with the server. Somehow forcing CForms in between there
seems unnatural to me.
Hmm, interesting, moving all validation logic to the client seems to
me a very dangerous decision :)
Stephan.
Hello,
this construct doesn't show me the the content of the variable:
jx:set name=foo value=bar/
${foo}
This should print out bar but it doesn't!! Why? Is it another bug in
JXTemplateTransformer or did I something wrong?
Please help me.
Regards
Stephan
Ohh. I'am sorry. I had used attribute name instead var. It works fine!
Thank you.
Regards
Stephan
approach is to provide a configuration to the class
loader using wildcard specifications (e.g. groovy.*, etc) to allow it
to identify which classes to instrument.
Yes, I think it's a good idea. It's same problem like specifying the
pointcuts in AOP.
Stephan.
Am Mo, den 05.04.2004 schrieb Christopher Oliver um 4:42:
The current implementation needs some work to qualify as generalized
Java continuations. It would be nice to make it work more like Scheme
continuations:
1) When you access the current continuation, it captures the call
stack up
}
Continuation.SUICIDE.invoke(null); ?
*you see many question marks over my head*
I hope you have patience with me :)
Stephan Michels.
are trying out Cocoon
from the CVS and then only use later on a released
version as a reference.
And it definitly makes releasing Cocoon easier. I think
it's very easy to forget to disable the block during
the release process.
No problem with it from my side. Go ahead.
Stephan.
Am Do, den 01.04.2004 schrieb Joerg Heinicke um 14:39:
So now the vote:
[ ] exclude.block.blockname=true|false
[+1] include.block.blockname=true|false
Stephan.
Christopher Oliver wrote:
Stephan Coboos wrote:
Is it a bug? Should I post it in the bugtracker?
It's a bug. The ServiceManager isn't initialized when you run
JXTemplateGenerator as a transformer. I'll commit a fix shortly.
Chris
Perfectly! Thank you!
Regards
Stephan
Am Di, den 30.03.2004 schrieb Stephan Michels um 13:14:
Am Mo, den 29.03.2004 schrieb Antonio Gallardo um 23:38:
Stephan Michels dijo:
I rewrote the example now. I'm really not a OJB expert, nor a database
expert.
I made this example to learn more about OJB and JDO, and I didn't get
Hello,
is it possible to use the SourceResolver to resolve a path which
contains german umlauts? Is it possible to set the right encoding? I'm
getting hieroglyphes using the SourceResolver to resolve paths
containing german umlauts.
Thank you.
Regards
to cut the CVS repository into cocoon-blocks and cocoon-core, which
means a really small and slim core with the components, which are
nessecary for a bootstrap system.
Perhaps this time with svn ;-)
Stephan.
Stephan
. And I would really like to avoid this.
IMHO, making the java impl. optional by using a block, should be enough
to send the right signal that the javascript impl. is the main flow
impl.
Stephan.
JMX client.
At the moment, most people see cocoon in the core of all beings. But to
be true, Cocoon is only a servlet, and should not include all business
logic.
My 2 cents, Stephan Michels.
us
solving the current Rhino issues.
I think all java classes are capsulated in wrapper classes, and if these
classes suppport the continuation, then it should work.
Okay, then I start to commit the block.
Stephan.
opinion.
Please accept my apology, Stephan Michels.
Am Mo, den 29.03.2004 schrieb Torsten Curdt um 15:30:
Dear friends and folks,
as already announce on the PMC list we now
have another flow implementation for java!
Stephan completed my proof-of-concept and
replaced the Brakes stuff by an own
implementation. So we are now fully in
ASL
. JSFlow.
I know, I know, sorry about that, guys. I was very impatient. I could
revert it if you want.
Stephan.
.
The other problem is that the ContinuationClassLoader shouldn't analyse
the Continuation class.
I didn't manage to remove all verifier code, because then I must change
to many things in bcel.
Stephan.
a very bad idea to capsulate so many projects in their
jar. The current jar includes BCEL, CUP and jakarta-regex. Note that we
are use jakarta-regex twice?!
Stephan.
1 - 100 of 212 matches
Mail list logo