Thanks for the quick response. Then the problem should be another. Abel,
On Wed, Mar 31, 2010 at 12:06 PM, Sergiu Dumitriu <[email protected]> wrote: > On 03/31/2010 06:50 PM, Abel Solórzano Astorga wrote: > > Hi, > > > > I am trying to get the String value of a Date Property. I am using the > > following code: > > > > *def obj = doc.getObject("SSI-Internal.CreateIssue");* > > *def summary = obj.getStringValue("environment");* > > *def date = obj.getStringValue("due_date");* > > > > *doc* is of type *com.xpn.xwiki.doc.XWikiDocument* and *environment* is a > > TextArea property. I can get the String value of the TextArea property, > but > > I can't get the String value of the Date property (*due_date*). > > > > How can I get the String value of a date property? > > getStringValue should always work. Make sure you used the right name, > and that the date is set. > > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
