mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-24 04:01:16 +00:00
o logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19320 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ca51ea1e22
commit
48c2cf1681
1 changed files with 23 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
/** GSWMetaRefresh.m - <title>GSWeb: Class GSWMetaRefresh</title>
|
/** GSWMetaRefresh.m - <title>GSWeb: Class GSWMetaRefresh</title>
|
||||||
|
|
||||||
Copyright (C) 1999-2003 Free Software Foundation, Inc.
|
Copyright (C) 1999-2004 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
||||||
Date: Apr 1999
|
Date: Apr 1999
|
||||||
|
@ -38,23 +38,38 @@ RCS_ID("$Id$")
|
||||||
|
|
||||||
//===================================================================================
|
//===================================================================================
|
||||||
@implementation GSWMetaRefresh
|
@implementation GSWMetaRefresh
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------------
|
||||||
-(BOOL)synchronizesVariablesWithBindings
|
-(BOOL)synchronizesVariablesWithBindings
|
||||||
{
|
{
|
||||||
return NO;
|
return NO;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------------
|
||||||
-(NSString*)contentString
|
-(NSString*)contentString
|
||||||
{
|
{
|
||||||
NSNumber* seconds = [self valueForBinding:@"seconds"];
|
NSNumber* seconds = nil;
|
||||||
NSString* contentString = [NSString stringWithFormat:@"%@;url=%@",
|
NSString* contentString = nil;
|
||||||
|
|
||||||
|
LOGObjectFnStart();
|
||||||
|
|
||||||
|
seconds = [self valueForBinding:@"seconds"];
|
||||||
|
contentString = [NSString stringWithFormat:@"%@;url=%@",
|
||||||
[seconds description],
|
[seconds description],
|
||||||
[[self context]componentActionURL]];
|
[[self context]componentActionURL]];
|
||||||
|
|
||||||
|
LOGObjectFnStop();
|
||||||
|
|
||||||
return contentString;
|
return contentString;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------------
|
||||||
-(GSWComponent*)invokeAction
|
-(GSWComponent*)invokeAction
|
||||||
{
|
{
|
||||||
GSWComponent* component = nil;
|
GSWComponent* component = nil;
|
||||||
|
|
||||||
|
LOGObjectFnStart();
|
||||||
|
|
||||||
if ([self hasBinding:@"pageName"])
|
if ([self hasBinding:@"pageName"])
|
||||||
{
|
{
|
||||||
NSString* pageName = [self valueForBinding:@"pageName"];
|
NSString* pageName = [self valueForBinding:@"pageName"];
|
||||||
|
@ -62,6 +77,9 @@ RCS_ID("$Id$")
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
component = [self valueForBinding:@"action"];
|
component = [self valueForBinding:@"action"];
|
||||||
|
|
||||||
|
LOGObjectFnStop();
|
||||||
|
|
||||||
return component;
|
return component;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue