Clearing this up, since it seems nobody can help with what I've got so
far.
I create a Dictionary object, like this:
Dictionary<int, Dictionary<int, decimal>> Details = new
Dictionary<int, Dictionary<int, decimal>>();
I fill it and then assign it to the Property Bag like this:
PropertyBag["Details"] = Details;
In my .brail form, I have this:
if IsDefined("Details"):
output "Has Details"
if Details.ContainsKey(sectKey.ID) and Details[sectKey.ID].ContainsKey
(cat.ID):
output "<td><input type=\"text\" id=\"" + strID + "\" name=\"" +
strID + "\" value=\"" + Details[sectKey.ID][cat.ID] + "\" /></td>\n"
else:
output "<td><input type=\"text\" id=\"" + strID + "\" name=\"" +
strID + "\" /></td>\n"
end
else:
output "<td><input type=\"text\" id=\"" + strID + "\" name=\"" +
strID + "\" /></td>\n"
end
But IsDefined never returns true. It does for other items in the
PropertyBag. What gives?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---