mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-22 11:11:21 +00:00
* prepare for enhancements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25636 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
eeaa2ba24a
commit
9e358a052c
1 changed files with 21 additions and 6 deletions
|
@ -1255,12 +1255,27 @@ Call this method before using a component which was cached in a variable.
|
||||||
//assignment.
|
//assignment.
|
||||||
//The default implementation ignores the error. Subclassers can override to
|
//The default implementation ignores the error. Subclassers can override to
|
||||||
// record the error and possibly return a different page for the current action.
|
// record the error and possibly return a different page for the current action.
|
||||||
|
|
||||||
- (void) validationFailedWithException:(NSException *)exception
|
- (void) validationFailedWithException:(NSException *)exception
|
||||||
value:(id)aValue
|
value:(id)value
|
||||||
keyPath:(id)keyPath
|
keyPath:(NSString *)keyPath
|
||||||
{
|
{
|
||||||
// Does nothing
|
// FIXME: check if that code is in WO4.x
|
||||||
};
|
/*
|
||||||
|
if ([self hasSession]) {
|
||||||
|
[[self session] validationFailedWithException:exception
|
||||||
|
value:value
|
||||||
|
keyPath:keyPath
|
||||||
|
component:self];
|
||||||
|
} else {
|
||||||
|
[GSWApp validationFailedWithException:exception
|
||||||
|
value:value
|
||||||
|
keyPath:keyPath
|
||||||
|
component:self
|
||||||
|
session:null];
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
-(void)_debugWithString:(NSString*)string
|
-(void)_debugWithString:(NSString*)string
|
||||||
|
@ -1400,7 +1415,6 @@ Call this method before using a component which was cached in a variable.
|
||||||
return exception;
|
return exception;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
// stringForKey:inTableNamed:withDefaultValue:
|
// stringForKey:inTableNamed:withDefaultValue:
|
||||||
|
|
||||||
|
@ -1642,5 +1656,6 @@ Call this method before using a component which was cached in a variable.
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue