Well, I've messed around with all sorts of code and all of a sudden it
works. The obvious change that I made is to use a StyleBuilder instead
of a StyleFactory, AND to use
FilterFactory.createAttributeExpression(String attributeTypeName)
Perhaps I don't quite understand the diference between Style
After some investigation to make sure that I was not the cause of the
problem I found that the expression
FilterFactory.createAttributeExpression(AttributeType)
returns null!
Now, I know this is to be deprecated, but I can't see any obvious
alternative if one's using 2.3.*
Any ideas?
gaby
--
*
Jody Garnett wrote:
> I did not see anything strange in your xml example.
>
> Can you step through with the debugger and confirm the object is being
> created as you intended?
> I am worried about this line:
>> cf.addLeftValue(ff.createAttributeExpression(at)); //at is
>> AttributeType in quest
I did not see anything strange in your xml example.
Can you step through with the debugger and confirm the object is being
created as you intended?
I am worried about this line:
> cf.addLeftValue(ff.createAttributeExpression(at)); //at is AttributeType in
> question
>
Not based on anything y
I'm implementing a style editor for my application and I am a bit stuck.
As an example I would like to be able to implement the equivalent of the
following rule:
metalled
ROAD_SURFA
metalled