Skip to main content



      Home
Home » Archived » Sapphire » DerivedValue(Handling Derived Value during Load)
DerivedValue [message #716535] Wed, 17 August 2011 12:05 Go to next message
Eclipse UserFriend
Hi,

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.

~Kamesh

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

Re: DerivedValue [message #716593 is a reply to message #716535] Wed, 17 August 2011 15:43 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 19:23:49 EDT 2025

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

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

Back to the top