diff --git a/GSWeb.framework/GSWContext.h b/GSWeb.framework/GSWContext.h index a1121f1..f8ef906 100644 --- a/GSWeb.framework/GSWContext.h +++ b/GSWeb.framework/GSWContext.h @@ -76,6 +76,7 @@ -(void)setInForm:(BOOL)flag; -(BOOL)isInForm; -(GSWElementIDString*)elementID; +-(NSString*)contextAndElementID; -(GSWComponent*)component; -(GSWComponent*)page; -(GSWResponse*)response; diff --git a/GSWeb.framework/GSWContext.m b/GSWeb.framework/GSWContext.m index 33aaaa6..484904e 100644 --- a/GSWeb.framework/GSWContext.m +++ b/GSWeb.framework/GSWContext.m @@ -221,6 +221,15 @@ static int dontTraceComponentActionURL=0; return _elementID; }; +//-------------------------------------------------------------------- +// returns contextID.ElementID +-(NSString*)contextAndElementID +{ + return [NSString stringWithFormat:@"%u.%@", + _contextID, + _elementID]; +}; + //-------------------------------------------------------------------- -(GSWComponent*)component {