Removed GSWHyperlink hrefInContext: and fixed enabled binding

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21154 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2005-04-24 11:56:46 +00:00
parent 7fc8ac41e5
commit 7fa7771df6
3 changed files with 9 additions and 20 deletions

View file

@ -1,3 +1,10 @@
2005-04-24 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWHyperlink.m:
o removed -hrefInContext:
o fix for enabled binding
* GSWeb.framework/GSWHyperlink.h:
o removed -hrefInContext:
2005-04-21 David Wetzel <dave@turbocat.de>
* GSWeb.framework:
GSWApplication.m GSWDefaultAdaptor.m GSWDefaultAdaptorThread.m

View file

@ -92,8 +92,6 @@
inContext:(GSWContext*)aContext;
-(void)_appendChildrenToResponse:(GSWResponse*)aResponse
inContext:(GSWContext*)aContext;
-(NSString*)hrefInContext:(GSWContext*)aContext; //NDFN
@end
@interface GSWHyperlink (GSWHyperlinkB)

View file

@ -319,7 +319,7 @@ static Class standardClass = Nil;
}
else if (_enabled)
{
disabledValue!=GSWDynamicElement_evaluateValueInContext(self,standardClass,
disabledValue=!GSWDynamicElement_evaluateValueInContext(self,standardClass,
standardEvaluateConditionInContextIMP,
_enabled,aContext);
};
@ -336,7 +336,7 @@ static Class standardClass = Nil;
if (_href)
{
NSString* hrefValue=[self hrefInContext:aContext];
NSString* hrefValue=[_href valueInComponent:component];
GSWResponse_appendContentString(aResponse,hrefValue);
if (!hrefValue)
{
@ -718,22 +718,6 @@ static Class standardClass = Nil;
LOGObjectFnStop();
}
//--------------------------------------------------------------------
//NDFN
-(NSString*)hrefInContext:(GSWContext*)aContext
{
GSWComponent* component=nil;
NSString* hrefValue=nil;
LOGObjectFnStart();
component=GSWContext_component(aContext);
hrefValue=[_href valueInComponent:component];
LOGObjectFnStop();
return hrefValue;
};
@end
//====================================================================