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