Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sapphire » DerivedValue(Handling Derived Value during Load)
DerivedValue [message #716535] Wed, 17 August 2011 12:05 Go to next message
Kamesh Sampath is currently offline Kamesh Sampath
Messages: 213
Registered: July 2009
Senior Member

I have a peculiar scenario where I persist a Fields value using derived value. Its quiet similar to my previous post on QName handling. My QName property is derived from other two properties NSURI and LocalPart, when binding to XML the derived value is computed and QName value is persisted

e.g NSURI="http:/test" and LocalPart="myname" then the resulting XML binding is

<qname xmlns:qns="http:/test">qns:myname</qname>

but the real problem comes when I read this value, its always return me QName (the derived property) as null

Not sure my approach is correct, if not can someone tell me the right approach to handle this scenario.


[Updated on: Wed, 17 August 2011 12:06]

Report message to a moderator

Re: DerivedValue [message #716593 is a reply to message #716535] Wed, 17 August 2011 15:43 Go to previous message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 940
Registered: July 2009
Senior Member
You will need to attach relevant code snippets in order for someone to help you. Note that derived properties don't have anything to do with XML binding. Not sure if that's the cause of the problems that you are having...

- Konstantin
Previous Topic:Unit Testing
Next Topic:Qname Binding
Goto Forum:

Current Time: Fri Aug 29 16:22:38 EDT 2014

Powered by FUDForum. Page generated in 0.01799 seconds