Skip to main content

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 16:05 Go to next message
Kamesh Sampath is currently offline Kamesh SampathFriend
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 16:06]

Report message to a moderator

Re: DerivedValue [message #716593 is a reply to message #716535] Wed, 17 August 2011 19:43 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
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: Mon Jun 25 04:40:41 GMT 2018

Powered by FUDForum. Page generated in 0.02128 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top