Create primary key value from URL string using type from Glom document.
authorBen Konrath <ben@bagu.org>
Mon, 28 Nov 2011 08:02:29 +0000 (09:02 +0100)
committerBen Konrath <ben@bagu.org>
Mon, 28 Nov 2011 08:02:29 +0000 (09:02 +0100)
commite8e3bdcee81e4f468e79342fa4826f60e1cf63af
tree36c74535a988267a46b59c6017b07148d7fa69c2
parent1b86446ba59df18de0b821f87bfa6dfa3df47151
Create primary key value from URL string using type from Glom document.

See this bug, comments 19 - 25:

https://bugzilla.gnome.org/show_bug.cgi?id=662376#c19

* src/main/java/org/glom/web/client/place/DetailsPlace.java: Don't
create a TypeDataItem for the primary key here when loading from a
URL. Show the same string for the primary key value as was received
from the URL string (when loading from a URL).
* src/main/java/org/glom/web/server/Utils.java: Update method for
creating the Gda Value from the TypeDataItem to properly deal with
creating a Gda Value based on the Glom document type for the primary
key value string when loading from a URL.
* src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
* src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
* src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
Update for changed method name.
ChangeLog
src/main/java/org/glom/web/client/place/DetailsPlace.java
src/main/java/org/glom/web/server/Utils.java
src/main/java/org/glom/web/server/database/DetailsDBAccess.java
src/main/java/org/glom/web/server/database/RelatedListDBAccess.java
src/main/java/org/glom/web/server/database/RelatedListNavigation.java