hgilde 2005/01/19 21:18:56
Modified: jelly/src/java/org/apache/commons/jelly/impl TagScript.java
Log:
PR: JELLY-166
Submitted by: Hans Gilde
Revision Changes Path
1.50 +4 -4
jakarta-commons/jelly/src/java/org/apache/commons/jelly/impl/TagScript.java
Index: TagScript.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/impl/TagScript.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- TagScript.java 11 Jan 2005 22:42:29 -0000 1.49
+++ TagScript.java 20 Jan 2005 05:18:56 -0000 1.50
@@ -286,11 +286,11 @@
* @return the tag to be evaluated, creating it lazily if required.
*/
public Tag getTag(JellyContext context) throws JellyException {
- Tag tag = context.getTagOfTagScript(this);
+ Tag tag = (Tag) context.getThreadScriptData(this);
if ( tag == null ) {
tag = createTag();
if ( tag != null ) {
- context.setTagForScript(this,tag);
+ context.setThreadScriptData(this,tag);
configureTag(tag,context);
}
}
@@ -514,7 +514,7 @@
* when a StaticTag is switched with a DynamicTag
*/
protected void setTag(Tag tag, JellyContext context) {
- context.setTagForScript(this,tag);
+ context.setThreadScriptData(this,tag);
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]