2011/5/12 Rahul Akolkar rahul.akol...@gmail.com
On Thu, May 12, 2011 at 6:56 AM, Dario D darac1...@gmail.com wrote:
2) One requirement for the application is to allow setting an arbitrary
state in a workflow. For example, if we have the following workflow:
A-B-C-D-E
and the workflow
No joy regarding this problem over here, either, eh? (I'd first asked
on users@tomcat and was directed here.) Very well, I guess I'll seek
another solution.
Thanks for your time,
Jim
--
Note: My mail server employs *very* aggressive anti-spam
filtering. If you reply to this email and your
On Fri, May 13, 2011 at 4:07 AM, Dario D darac1...@gmail.com wrote:
2011/5/12 Rahul Akolkar rahul.akol...@gmail.com
On Thu, May 12, 2011 at 6:56 AM, Dario D darac1...@gmail.com wrote:
2) One requirement for the application is to allow setting an arbitrary
state in a workflow. For example,
Howdy,
I'll be looking into it momentarily. I'm not sure I completely see the pb
with scaling wrt comparison since it seems a precision issue to me (set a
precision of 2 in your case); may be a comparison MathContext would be more
appropriate?
If a solution is urgent, you can always subclass
I need to print the content of categ in my XML file (including children
tags).
For example, if I have categchild/child/categ, I want to print
child/child
I'm currently parsing the xml file with:
digester.addCallMethod(collection/doc/categ,
checkCateg, 0);
and this is the checkCateg function:
mhm, sorry.. just to be more clear.
Is there a way in Commons Digester to trigger a method only if a xml element
has a child ?
i.e.
digester.addCallMethod(collection/doc/categ/*, myMethod, 0);
This doesn't work. But it is actually what I need. If element categ has at
least a child, then
2011/5/13 Patrick Diviacco patrick.divia...@gmail.com:
mhm, sorry.. just to be more clear.
Is there a way in Commons Digester to trigger a method only if a xml element
has a child ?
i.e.
digester.addCallMethod(collection/doc/categ/*, myMethod, 0);
This doesn't work.
The * is allowed in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Patrick,
On 5/4/2011 4:18 AM, Patrick Diviacco wrote:
Ok, however browsers have the same problem my editor has in displaying and
matching tags in big files.
We use a custom handler called a TracingSAXHandler which extends
DefaultHandler, overrides
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I'm trying to process a document that has some data as PCDATA in
sub-elements, but some data in attributes of those sub-elements. I have
a simple POJO to store the data, but I'm having difficulty gathering
both pieces of information.
Here's an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Wouldn't you know it, just after I posted, I had an epiphany:
On 5/13/2011 5:33 PM, Christopher Schultz wrote:
entities
entity
foosome value/foo
barsome other value/bar
baz id=123 /
/entity
/entities
The solution is:
On Fri, May 13, 2011 at 5:45 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Wouldn't you know it, just after I posted, I had an epiphany:
On 5/13/2011 5:33 PM, Christopher Schultz wrote:
entities
entity
foosome
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rahul,
On 5/13/2011 5:53 PM, Rahul Akolkar wrote:
Yeah, and probably more than one way even with out of the box rules:
d.addObjectCreate(entities/entity, Entity.class);
d.addCallMethod(entities/entity/foo, setFoo, 0);
Hi,
I am using scxml 0.9 release and encountered a weird issue. When I am
transitioning between 2 states, it worked fine sometimes but in other times, it
failed to transition to the next state. I put logging in onexit and onentry
and here is what happened:
State 1 transition to State 2.
State
On Fri, May 13, 2011 at 6:54 PM, Vance huang vancehu...@yahoo.com wrote:
Hi,
I am using scxml 0.9 release and encountered a weird issue. When I am
transitioning between 2 states, it worked fine sometimes but in other times,
it
failed to transition to the next state. I put logging in onexit
Hi Christopher,
I suggest you following Rahul's suggestion, SetNestedPropertiesRule is
not efficient as a direct invocation.
Moreover, for foo/bar properties, there's a 3rd way to set them:
d.addObjectCreate(entities/entity, Entity.class);
d.addBeanPropertySetter(entities/entity/foo);
Hi Patrick,
follow the Konstantin's suggestion, that's the way to achieve it. Have
a read also to
http://commons.apache.org/digester/apidocs/index.html?org/apache/commons/digester/SimpleRegexMatcher.html
HTH,
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
On Fri, May
Thanks Henri.
My understanding of MathContext is it allows you to specify the significant
digits.
Here is a related thread --
http://stackoverflow.com/questions/2529526/bigdecimal-division-mathcontext-very-strange-behaviour
So if that understanding is correct, providing a comparison MathContext
17 matches
Mail list logo