Re: JXPath over Generic Collection, How?

2009-02-08 Thread Matt Benson
Most likely your problem is not with generics, but simply with the fact that JXPath has a hard time using a collection as its root. The easiest workaround is to use some parent object to hold a reference to your container. HTH, Matt --- On Sun, 2/8/09, Andrew Hughes wrote: > From: Andrew H

Re: [SCXML] Context not visible ( Picking up values ) in the StateMachine.

2009-02-08 Thread Rahul Akolkar
On Sun, Feb 8, 2009 at 1:04 PM, Saurabh Agarwal wrote: > Hi Rahul , > > Thanks for such a quick reply: > > 1. Yeah I had come code to print context in constructor but actually I am > testing it in reset() method of StopClock before which I had set the > constructor. But alas then also I am not abl

Re: JXPath - is JXPath dead in the water?

2009-02-08 Thread Andrew Hughes
Hi Matt + Others, Thanks for your replies! I've taken your advice and re-seeded my question on a brand new thread with subject "JXPath over Generic Collection, How?". If anyone can help with this I would be MOST appreciative. Also, I am happy to contribute back to the project with examples if I can

JXPath over Generic Collection, How?

2009-02-08 Thread Andrew Hughes
Hi All, Hopefully the solution is as easy as the question. I would like to perform evaluation on a (very simple) generic collection... as you can see below (HeirarchyPojo). I should be able to ask for a HeirarchyPojo's with name='Bill' or the 3rd Child... The problem is that nothing ever evaluate o

Re: [SCXML] Context not visible ( Picking up values ) in the StateMachine.

2009-02-08 Thread Saurabh Agarwal
Hi Rahul , Thanks for such a quick reply: 1. Yeah I had come code to print context in constructor but actually I am testing it in reset() method of StopClock before which I had set the constructor. But alas then also I am not able to get the context Please help . 2. About the second thing I am n

Re: [SCXML] Context not visible ( Picking up values ) in the StateMachine.

2009-02-08 Thread Rahul Akolkar
On Sun, Feb 8, 2009 at 11:56 AM, Saurabh Agarwal wrote: > Hi All , > > I need your help in getting the Context in my Custom Action Class. > > Here is the scenario: > 1. I have a SIP Servlet (MainPOCAS) , In the servlet I am parsing a SCXML > file and making a SCXML object out of that file . >T

[SCXML] Context not visible ( Picking up values ) in the StateMachine.

2009-02-08 Thread Saurabh Agarwal
Hi All , I need your help in getting the Context in my Custom Action Class. Here is the scenario: 1. I have a SIP Servlet (MainPOCAS) , In the servlet I am parsing a SCXML file and making a SCXML object out of that file . Then I make the Context ( tried SImpleContext , JexlContext ) and set