Hi, Okay, you want to actually modify SMW. In that case, you should write about this to the SMW-developers mailing list.
-Yaron On Fri, Apr 10, 2009 at 5:54 AM, Josephine Ernst <[email protected]> wrote: > Hi Yaron, > my goal is to create a new field (labelled "Art" = Kind in German) which > defines an attribute as unique or not unique in order to avoid the attribute > value being used more than once in the wiki. The user should define whether > a created attribute is unique or not unique. > For example, if the attribute "Name" is defined as unique and the value in > the Form is "Yaron", another user can't use the same value "Yaron" again. > So, I want to save the new values of this uniqueness field so that I can > use them later for the retrieval and the query. > Find attached a screenshot of my Createproperty Special page. In order to > make sure that the values are saved correctly, I would like them to be > displayed on the Special Attribute page, beside the datatype, for example " > Comments <http://localhost/wiki/index.php/Attribut:Comments> mit Datentyp > Text(50) *is unique*". > > Thnak you one more time, > > ErnstJo > En date de : *Jeu 9.4.09, Yaron Koren <[email protected]>* a écrit : > > De: Yaron Koren <[email protected]> > Objet: [Semantic Forms] Re: Database and value_string > À: [email protected] > Date: Jeudi 9 Avril 2009, 22h35 > > > Hi, > > "Allows value", the special property used to define allowed values, is a > special property in SMW, which means that it's already defined as type > "String" - you don't need to redefine it (assuming that's your question). > What's the exact error you're getting? > > -Yaron > > > On Wed, Apr 8, 2009 at 4:37 PM, <[email protected]> wrote: > >> >> Hi everybody, >> >> I have created for my programming works a new field "Kind" in the >> createProperty page with the value "unique" and "not unique", but I >> can't save this new values in the database. >> Could you please tell me how I can do that or rather in which code the >> "type values" for example text,string, boolean or allowed values are >> saved, because I assume the new values I created should be saved in >> the same way. >> >> Thank you in advance for your help. >> >> ErnstJo. >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" 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/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
