Problem description:
data.getTemplateInfo().setScreenTemplate(...)   adds the template name
to the String[] in ParameterParser
data.getTemplateInfo().getScreenTemplate()  returns the first template
name in the String[]

FIX: do not append the value .. replace it!!


Index: ./src/java/org/apache/turbine/util/template/TemplateInfo.java
===================================================================
RCS file:
/products/cvs/turbine/turbine/src/java/org/apache/turbine/util/template/TemplateInfo.java,v

retrieving revision 1.2
diff -r1.2 TemplateInfo.java
148c148
<        data.getParameters().add("template",v);
---
>        data.getParameters().setString("template",v);
317c317
< }
\ No newline at end of file
---
> }

The command completed successfully.



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to