Hello, the default setter understands only a date string or the (configurable) term "forever". You can implement your own setter to use other terms, e.g. to calculate the lift date based on time spans, for more details see section: 5.2.17.2. Extending Embargo Functionality of the documentation.
Hope that helps Claudia Jürgen Am 26.07.2010 14:30, schrieb Hilton Gibson: > Hi Sean > > From what I understand the "lift-date" is calculated from the terms set. > See: http://www.dspace.org/1_6_2Documentation/ch05.html#N13421 > I think the terms can be input as 1 year, 6 months, 1 month from submit > date. > Maybe thats how it works. > > Cheers > > hg > > > On 26/07/2010 12:24, Sean Carte wrote: >> I have the following in /dspace/config/input-forms.xml >> >> <field> >> <dc-schema>dc</dc-schema> >> <dc-element>rights</dc-element> >> <dc-qualifier></dc-qualifier> >> <repeatable>false</repeatable> >> <label>Embargo Terms</label> >> <input-type>textarea</input-type> >> <hint> If applicable, enter conditions of embargo.</hint> >> <required></required> >> </field> >> >> But when I use this field in a submission, I can submit the item, but >> can't approve it as the software seems to expect a date in that field: >> >> 2010-07-26 12:15:23,090 WARN org.dspace.content.DCDate @ Mangled >> date: Two day embargo. ..failed all attempts to parse as date. >> >> I was under the impression that this field existed to give an >> explanation of the embargo; I've already got a dc.date field: >> >> <field> >> <dc-schema>dc</dc-schema> >> <dc-element>date</dc-element> >> <dc-qualifier></dc-qualifier> >> <repeatable>false</repeatable> >> <label>Embargo Lift Date</label> >> <input-type>date</input-type> >> <hint> If applicable, submit date that the embargo can be >> lifted.</hint> >> <required></required> >> </field> >> >> Why would I need another date in dc.rights? >> >> Sean >> > -- Mit freundlichen Gruessen Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

