added -contextAndElementID;

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18739 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mguesdon 2004-03-01 16:47:47 +00:00
parent 0779873da3
commit 52a196ac17
2 changed files with 10 additions and 0 deletions

View file

@ -76,6 +76,7 @@
-(void)setInForm:(BOOL)flag;
-(BOOL)isInForm;
-(GSWElementIDString*)elementID;
-(NSString*)contextAndElementID;
-(GSWComponent*)component;
-(GSWComponent*)page;
-(GSWResponse*)response;

View file

@ -221,6 +221,15 @@ static int dontTraceComponentActionURL=0;
return _elementID;
};
//--------------------------------------------------------------------
// returns contextID.ElementID
-(NSString*)contextAndElementID
{
return [NSString stringWithFormat:@"%u.%@",
_contextID,
_elementID];
};
//--------------------------------------------------------------------
-(GSWComponent*)component
{