Changeset 3706:f14d61c582b7 in livinglogic.python.xist

Show
Ignore:
Timestamp:
02/16/09 12:48:37 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Adapt to new Java UL4 package.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/ns/jsp.py

    r3705 r3706  
    522522        elif opcode.code == "callmethkw": 
    523523            if opcode.arg == "render": 
    524                 make_scriptlet("r%d = ((com.livinglogic.ul4.JSPTemplate)r%d).renders((java.util.Map)r%d);" % (opcode.r1, opcode.r2, opcode.r3)) 
     524                make_scriptlet("r%d = ((com.livinglogic.ul4.Template)r%d).renders((java.util.Map)r%d);" % (opcode.r1, opcode.r2, opcode.r3)) 
    525525            else: 
    526526                raise ul4c.UnknownMethodError(opcode.arg) 
     
    539539            make_scriptlet("}") 
    540540        elif opcode.code == "render": 
    541             make_scriptlet("((com.livinglogic.ul4.JSPTemplate)r%d).execute(out, (Map)r%d);" % (opcode.r1, opcode.r2)) 
     541            make_scriptlet("((com.livinglogic.ul4.Template)r%d).renderjsp(out, (Map)r%d);" % (opcode.r1, opcode.r2)) 
    542542        else: 
    543543            raise ul4c.UnknownOpcodeError(opcode.code)