private void addNormalizedTags(NSMutableSet<String> set, Object[] tags) {
for (Object objTag : tags) {
if (objTag instanceof String) {
String strTag = (String) objTag;
String normalizedTag = _normalizer.normalize(strTag);
The _normalizer at this point is ALWAYS ERDefaultTagNormalizer
Thanks
James
On Oct 16, 2012, at 9:34 AM, Mike Schrag <
email@hidden> wrote:
add some debug to taggableentity's splitTagNames method and see if it's getting in there … it seems like it should be. you should be able to trace through addTagNamed pretty easily.
did you verify that aTag.name() is actually case-preserved on the way in? maybe something already lowercased it by the time it got there?
On Oct 16, 2012, at 10:22 AM, James Cicenia <
email@hidden> wrote:
Hmmm,
I thought that is what I was doing:
public WOActionResults droppedTagOnCircle(){
theTagCircle.taggable().taggableEntity().setNormalizer(new TOSTagNormalizer());
theTagCircle.taggable().addTagNamed(aTag.name());
theTagCircle.editingContext().saveChanges();
return null;
}
My custom normalizer didn't seem to get called.
Regards
James
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden