Hello Celio,<br>
<br>
I have not tried this nice survey module yet. Anyway, when we met the error like "<font face="Times New Roman" size="3"><span style="font-size: 12pt;">According to TLD or attribute directive in tag file, attribute test does not
accept any expressions", we will make change to the opencms.tld file to have this entry:<br>
<br>
<rtexprvalue>true</rtexprvalue><br>
<br>
</span></font>for the attribute in question, for example, the "element" attribute for the "contentshow" tag.<br>
<br>
Not sure if helps.<br>
<br>
Best<br>
<br>
- RuiXian<br>
<br><div><span class="gmail_quote">On 5/4/07, <b class="gmail_sendername">Olli Aro</b> <<a href="mailto:olli_aro@yahoo.co.uk">olli_aro@yahoo.co.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="EN-US">
<div>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">Hi Celio,</span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">The default view utilizes <%@ taglib
prefix="c" uri="<a href="http://java.sun.com/jstl/core" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://java.sun.com/jstl/core</a>" %> for
testing some conditions. It looks like your Tomcat / OpenCms installation has
some kind of problem with the use of this taglib.</span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">Anyway, I would like to highlight that
the way we build templates in OpenCms does differ a little from the traditional
way to develop templates. Therefore you might want to create your own view for
the survey content type and configure properties:</span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"><property></span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">
<name>template-elements</name></span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">
<value type="shared"><![CDATA[/system/modules/com.clicksandlinks.opencms.survey/pages/survey_empty.jsp]]></value></span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"></property></span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">and</span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"><property></span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">
<name>template-elements</name></span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">
<value
type="shared"><![CDATA[/system/modules/com.clicksandlinks.opencms.survey/pages/survey_result_empty.jsp]]></value></span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"></property></span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">The above does not mean that you must
write the views from scratch, but you can use views:</span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">/system/modules/com.clicksandlinks.opencms.survey/pages/detail_survey.jsp</span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">/system/modules/com.clicksandlinks.opencms.survey/pages/detail_survey_result.jsp</span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">As samples and just add the header and
footer includes like traditional OpenCms content types normally have. </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">Regards,</span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">Olli</span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;"> </span></font></p>
<p><font color="purple" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: purple;">P.S. The above applies to our RSS page
content type as well, in case someone has had similar problem with that.</span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> Celio Faria Jr
[mailto:<a href="mailto:celiofariajr@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">celiofariajr@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> 04 May 2007 04:07<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:solutions@clicksandlinks.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">solutions@clicksandlinks.com</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> OpenCms Survey module
error.</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi,<br>
<br>
first of all, great job! A survey module is an incredibly thing to OpenCms.
Kudos!<br>
<br>
Now to the problem: I installed the module and created a survey (Survey Form
structured content type) with only two checkboxes. When I try to click it, the
following error shows: <br>
<br>
"/WEB-INF/jsp/offline/system/modules/com.clicksandlinks.opencms.survey/pages/survey_empty.jsp(4,0)
According to TLD or attribute directive in tag file, attribute test does not
accept any expressions". <br>
<br>
The controlcode of the survey file is:<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<br>
<Surveys xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.w3.org/2001/XMLSchema-instance</a>"
xsi:noNamespaceSchemaLocation="opencms://system/modules/com.clicksandlinks.opencms.survey/schemas/survey.xsd"><br>
<Survey language="en"><br>
<FormText name="FormText0"><br>
<links/><br>
<content><![CDATA[Testando]]></content><br>
</FormText><br>
<InputField><br>
<FieldType><![CDATA[checkbox]]></FieldType> <br>
<FieldLabel><![CDATA[L1]]></FieldLabel><br>
<FieldMandatory>false</FieldMandatory><br>
<FieldDefault><![CDATA[00]]></FieldDefault><br>
</InputField> <br>
<InputField><br>
<FieldType><![CDATA[checkbox]]></FieldType><br>
<FieldLabel><![CDATA[L2]]></FieldLabel><br>
<FieldMandatory>false</FieldMandatory> <br>
<FieldDefault><![CDATA[00]]></FieldDefault><br>
</InputField><br>
<FormConfirmation name="FormConfirmation0"><br>
<links/><br>
<content><![CDATA[teste
confirmado]]></content> <br>
</FormConfirmation><br>
<PublishResults>false</PublishResults><br>
</Survey><br>
</Surveys><br>
<br>
Any clues?<br>
<br>
TIA,<br>
<br>
Celio.</span></font></p>
</div>
</div>
<br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">
http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><br>