mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-21 02:41:04 +00:00
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:
parent
8e82a98b17
commit
8b994263fc
2 changed files with 10 additions and 0 deletions
|
@ -76,6 +76,7 @@
|
|||
-(void)setInForm:(BOOL)flag;
|
||||
-(BOOL)isInForm;
|
||||
-(GSWElementIDString*)elementID;
|
||||
-(NSString*)contextAndElementID;
|
||||
-(GSWComponent*)component;
|
||||
-(GSWComponent*)page;
|
||||
-(GSWResponse*)response;
|
||||
|
|
|
@ -221,6 +221,15 @@ static int dontTraceComponentActionURL=0;
|
|||
return _elementID;
|
||||
};
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
// returns contextID.ElementID
|
||||
-(NSString*)contextAndElementID
|
||||
{
|
||||
return [NSString stringWithFormat:@"%u.%@",
|
||||
_contextID,
|
||||
_elementID];
|
||||
};
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
-(GSWComponent*)component
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue