Pt foreach tag issue

I have the following code, oddly enough the nested foreach repeats the data from the first pass in all subsequent passes???
                                        <pt:logic.foreach pt:data="salessubs" pt:var="temp">
                                          <tr>
                                             <td class="menuNormal">
                                               <pt:core.html pt:tag="a" href="$temp.url" class="menuitem"><pt:logic.value pt:value="$temp.title" /></pt:core.html>
                                             </td>
                                           </tr>
                                           <!-- now get subcommunities, level 1 -->
                                                <pt:ptdata.subcommunitiesdata pt:id="subs2" pt:commid="$temp.objid"/>
                                             <pt:logic.foreach pt:data="subs2" pt:var="comm2">
                                                <tr>
                                                     <td class="menuNormal">
                                                       <pt:core.html pt:tag="a" href="$comm2.url" class="menuitem"><pt:logic.value pt:value="$comm2.title" /></pt:core.html>
                                                     </td>
                                                   </tr>
                                             </pt:logic.foreach>
                                           </pt:logic.foreach>

Greetings,
There is an easy fix for this problem. I am guessing that subs2 is what is causing the issue. Put this:
<pt:logic.collection pt:key="subs2"/>
Before this line:
<pt:ptdata.subcommunitiesdata pt:id="subs2" pt:commid="$temp.objid"/>
I hope this helps. It should clear the data from subs2 each time through the outer loop.
Regards,
Andrew Bays | bdg
[email protected] | http://www.thebdgway.com
Edited by andrew.bays at 08/24/2007 10:56 AM

Similar Messages

  • JSTL forEach tag taking longer time than scriplets ???

    Hi Gurus,
    My STRUTS action class setsup a collection object [roughly 900 + records stored as java beans] to be displayed on my view [JSP]. The problem is, when I iterate over this collection in JSP using <c:forEach> tag, it takes around 4-5 minutes to build up the page.
    I coded the same looping logic through java scriplets embedded within JSP and the processing came down to 1 minute. Should I assume that <c:forEach> tag will have a processing overhead over plain java code in JSP?
    FYI, I checked the server generated SERVLET code under WORK directory of TOMCAT for this JSP with <c:forEach> tag and find lot of code being generated for this <c:forEach> tag implementation. Could it be that the processing of these generated code takes longer than plain java using scriplets?
    Please Help.
    Thanks,
    Karthik.
    <b>JSP using <c:forEach></b>
    <c:forEach var="refurb" items="${BOMDataForm.refurbSummary}" varStatus="loopStatus">                    
    <tr valign="top" bgcolor="#FFFFFF"> 
    <td>
    <div align="center"><span class="modulecontent"><c:out value="${refurb.configName}" /></span></div>
    </td>                     
    <td>
    <div align="center"><span class="modulecontent"><c:out value="${refurb.itemName}" /></span></div>
    </td>
    </tr>
    </c:forEach><b>JSP using embedded scriplets</b>
    <%
    BOMDataForm bomDataForm = (BOMDataForm) request.getAttribute("BOMDataForm");
    ArrayList arrayList = (ArrayList) bomDataForm.getRefurbSummary();
    int loop = arrayList.size();
    for (int i=0;i<loop;i++) {
    out.println("<tr valign=\"top\" bgcolor=\"#FFFFFF\">");
    out.println("<td>");
    out.println("<div align=\"center\"><span class=\"modulecontent\">");
    out.println(((RefurbSearchResult)arrayList.get(i)).getConfigName());
    out.println("</span></div>");
    out.println("</td>");
    out.println("<td>");
    out.println("<div align=\"center\"><span class=\"modulecontent\">");
    out.println(((RefurbSearchResult)arrayList.get(i)).getItemName());
    out.println("</span></div>");
    out.println("</td>");
    out.println("</tr>");                         
    %>

    Never looked at the speed issues. For me it has always been "fast enough"
    When displaying pages with 900 records on it the common approach is to split the result across multiple pages, so that loading doesn't get too long.
    The JSTL tags obviously introduce some overhead in extra procedure calling. As you found out by looking at the generated servlet code.
    Also the EL expressions have to be evaluated. using the reflection APIs. Its pretty certain that direct access to the object is faster.
    The forEach tag uses an iterator under the hood, where you are calling get(i) directly on an ArrayList.
    Any or all of these would be contributing. My guess would be the EL expression evaluation is probably the most overhead.
    One thing about your example I would like to see is how long it would take using an Iterator, rather than calling get(i) on the array elements. That would remove at least one of the differences.
    So in short, yes the JSTL is adding overhead to your page. I'm a bit surprised to hear it is so much though.
    Cheers,
    evnafets

  • Using a viewobject with foreach tag in .jsp

    Hi guys I have the following scenario:
    1- I call a certain .jsp page
    2- a controller class (extends servlet) is called, this class: takes a view object (let's call it view), executes it's query, forwards the result to the jsp page.
    3- jsp page has a foreach tag that iterates over the query result.
    My problem is that foreach tag only takes list or array in its "items" attribute.
    Now is there a way to put the view object result in an array/list? in other words in my servlet what should I put in the request so that the foreach tag can iterate over the rows of the query. Thank you in advance for the reply.

    This code works fine for me:
    <%@ taglib uri="/jstl-c" prefix="c" %>
    <html>
         <body>
         <%
              int array[] = new int[] {1,2};
              session.setAttribute("array", array);
              String arrayNames[] = new String[]{"One", "Two"};
              session.setAttribute("arrayNames", arrayNames);
         %>
              <form action="?">
              <select name="select">
                   <c:forEach items='${ sessionScope.array}' var="row">
                        <c:choose>  
                             <c:when test="${param.select== row}"> >
                                  <option value="<c:out value='${row}'/>" selected><c:out value="${sessionScope.arrayNames[row-1]}"/></option>
                             </c:when>   
                             <c:otherwise>
                                  <option value="<c:out value='${row}'/>"><c:out value="${sessionScope.arrayNames[row-1]}"/></option>
                             </c:otherwise>
                        </c:choose>
                   </c:forEach>
              </select>
              <input type="submit" name="submit" value="submit"></input>
              </form>
         </body>
    </html>
    good luck.
    MatrixPooh
    www.bizdisplay.com

  • How use forEach tag in xml tag library

    Hi,
    Can u please explain the procedure for using forEach tag for displaying the parsed xml tags?
    This is the code snippet
    <%@ page contentType="text/html" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %>
    <html>
    <body>
         <c:import url="\books.xml" var="url" />
         <x:parse xml="${url}" var="doc" />
              <x:forEach var="n" select="${doc}/books/book">
                   <x:out select="${n}/title"/>
                   <x:out select="${n}/author" />
         </x:forEach>
    </body>
    </html>
    but I got the fallowing error.
    java.lang.NoClassDefFoundError: org/saxpath/SAXPathException
         at org.apache.taglibs.standard.tag.common.xml.ForEachTag.prepare(ForEachTag.java:51)
         at javax.servlet.jsp.jstl.core.LoopTagSupport.doStartTag(LoopTagSupport.java:262)
         at jsp_servlet.__index._jspService(__index.java:197)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

    Just the same way as you do in JSP. Since JSF 1.2 you can use unified EL #{ } in c:forEach.
    You can also use Tomahawk's [t:dataList|http://myfaces.apache.org/tomahawk-project/tomahawk12/tagdoc/t_dataList.html] by the way. It is more efficient.

  • Using ViewObject with a foreach tag in a jsp

    Hi guys I have the following scenario:
    1- I call a certain .jsp page
    2- a controller class (extends servlet) is called, this class: takes a view object, executes it's query, forwards the result to the jsp page.
    3- jsp page has a foreach tag that iterates over the query result.
    My problem is that foreach tag only takes list or array in its "items" attribute.
    Now is there a way to put the view object result in an array/list? in other words in my servlet what should I put in the request so that the foreach tag can iterate over the rows of the query. Thank you in advance for the reply.

    Thank you for the reply.
    But my application is not a web based one.
    I am developing a framework (as swf) in which some other swf files (target files) are played as movie clip. Since the framework swf should be considered as a general one, no direct linking to the other swfs preferred. I follow some (my own) rules to get things worked. For example, I need to show a simple movie cilp as the title in the framework. This movie clip will be different in different target swfs, and they will be stored inside the target swfs itself. I was thinking about giving them a unique id (eg. title_id) and after loading the target swfs, show their titles (movie clips) in one of the framework's empty movie clip (using attachMovie).
    Could please suggest me any idea to get things work?

  • c:forEach tag

    Hi,
    I'm trying to use the forEach tag in the jstl in order to display the contents of an Hashtable. The table is written in the session and arrives populated with the results of a SELECT query.
    The elements of the table are instances of a class of mine, and I'd like to display some of the fields (all accessible by getters and setters) of this class.
    The fact is that if I try to write the elements of the table, I obviously get the class of the elements followed by their ID number (like Object@64383265), but if I try to access a field, I get nothing.
    Here is the code reading the elements:
    risposta = Hashtable in the session, contains dap.obj.Notizia objects
    <jsp:useBean id="notizia" scope="page" class="dap.obj.Notizia" />
    <c:forEach var="notizia" items="${risposta}">
         <c:out value="${notizia}" />
    </c:forEach>
    And if I try to replace the line of output with:
         <c:out value="${notizia.ID}" />
    I obtain an error saying:
    (...) Unable to find a value for "ID" in object of class "java.util.Hashtable$Entry" using operator "." (null)
    If I use
         <c:out value="${notizia.[ID]}" />
    no errors and nothing appears..
    Do I need to know something about the cast inside the tags of jstl or am I trying to do something wrong?
    I admit that these are my first days with jstl, but I've searched among some books with no results. Thanks in advantage for your jelp

    Seeing as you are accessing a Map, the object you get back is a Map.Entry
    So you can access it as ${notizia.key} to get the hash key, and ${notizia.value} to get the object of type Notizia
    <c:forEach var="notizia" items="${risposta}">
    <c:out value="${notizia.value.ID}" />
    </c:forEach>Cheers,
    evnafets

  • ForEach tag problem in JSP

    I have this next code, but the forEach tag doesn't seem to work! However, the line <c:out value='${lista[1]}'/> does work. Can you help me with the problem, please?
    <%@     page
         contentType = "text/html;charset=iso-8859-1"
         session="true"
         language="java"
         import = "java.lang.*"
         import = "java.util.*"
    %>
    <c_rt:if test='<%= request.getParameter("hinicio") != null %>'>
              <%
                   ArrayList Valores = new ArrayList(4);
                   Valores.add(request.getParameter("text1"));
                   Valores.add(request.getParameter("text2"));
                   Valores.add(request.getParameter("text3"));
                   Valores.add(request.getParameter("text4"));
                   Valores.add(request.getParameter("text5"));
                   pageContext.setAttribute("lista", Valores);
              %>
              <c:forEach var='x' items='<%= Valores %>'>
                   <c:out value='${x}'/>
              </c:forEach>
    <c:out value='${lista[1]}'/>
    </c_rt:if>
    <html>
    <head>
         <title>Tarea</title>
         <script type="text/javascript">
              function Inicio()
                   forma.hinicio.value = "ok";
                   forma.submit();
         </script>
    </head>
    <body>
    <form name="forma" method="post" action="Tarea.jsp">    //Redirects to itself
         <input type="hidden" name="hinicio">
         <center>
         <br>
         <input type="text" name="text1" value="0">
         <br>
         <input type="text" name="text2" value="0">
         <br>
         <input type="text" name="text3" value="0">
         <br>
         <input type="text" name="text4" value="0">
         <br>
         <input type="text" name="text5" value="0">
         <br>
         <br>
         <input type="text" name="rango1" value="0">   <input type="text" name="rango2" value="0">
         <br>
         <br>
         <input type="button" value="Aceptar" onClick="Inicio()">
         <br>
         <br>
         <input type="text" name="resultado" value="0">
         </center>
    </form>
    </body>
    </html>

    You seem to be using both the EL and the RT JSTL libs on the same page.
    If you are in a JSP1.2 container, then you can only use EL with the EL tags, and <%= expr %> with the rt tags.
    If you have a JSP2.0 container (eg Tomcat 5) properly configured (ie web.xml is version 2.4) then you should use JSTL1.1, which accepts both sorts of expressions. (${expr} is a runtime expression in JSP2.0)
    Try either
    <c:forEach var='x' items='${lista}'>
    or
    <c_rt:forEach var='x' items='<%= Valores %>'>

  • Foreach tag

    hello,
    I use a foreach tag to browse a map, but some ">" are add betwen two items. I would like to know why...
    here is my code:
    <c:forEach var="map" items ="${dependency.versions}">
              <c:set scope="session" var="project" value="${map.key}" />
              ${project.name} [${map.value}]  
    </c:forEach>
    here is the result:
              <
                   <a href="project6 [1.9.3]  
              <
                   <a href=" project4 [1.8.2]  
              <
                   <a href="project5 [1.9.2]  
              <
                   <a href="project7 [1.8.1]  
              <
                   <a href=" project1 [1.8.1]  
              <
                   <a href="project3 [1.9.1]  
              <
                   <a href=" project2 [1.8.1]  
    thank you for yours future responses
    Julien

    I'm not entirely sure wat u stored in "requestScope.cdo.intexDeal.tranches"; make sure every level follows the "getCdo()" "java.util.Collection" ... rules, try debug using varStatus
    <c:forEach var="z" items="${requestScope.cdo.intexDeal.tranches} " varStatus="tranches_status">
    <p>debug status: <c:out value="${tranches_status}"/></p>
    <p>debug var: <c:out value="${z}"/></p>
    </c:forEach>if it is not the object instance you are expecting, at least you'll know where the error occurs!
    do define more clearly on your solution u r trying to use ..., actually I don't quite get you.
    By Avatar Ng

  • Getting current index of forEach tag

    How do you get the current index of the forEach tag, that is looping through a Vector?
    <c:forEach var="rows" items="${myRequestManager.solPORList}">

    Yes, use the varStatus attribute:
    <c:forEach items="${variables}" var="variable" varStatus="status">
       <c:out value="${status.index}"/>
       <c:out value="${status.count}"/>
    </c:forEach>status.index, the current index, starts with 0. status.count, a running count of loop iterations, starts with 1.
    Get a JSTL book. Shawn Bayern's "JSTL In Action" is the best, IMO. - MOD

  • JSTL : problems with sql:query /forEach  tag

    I am not able to iterate thru the resultset provided by <sql:query> tag in JSTL. rowcount and columnName works, which means that query does produce a resultset. However, the <c:forEach> tag doesnt display the retrieved data. Code is approx like:
    c:catch var="e">
    <sql:query var="queryResults" >
    select * from emp
    </sql:query>
    </c:catch>
    <c:if test="${e!=null}">The caught exception is: ${e}
    ${queryResults.rowCount} <br>
    <c:forEach var="row" items="${queryResults.rows}">
    <tr>
    <td> <c:out value="${row.EMPNO}" /></td>
    </tr>
    </c:forEach>
    </table>
    Error thrown is :
    javax.servlet.ServletException: Unable to find a value for "EMPNO" in object of class "java.lang.String" using operator "."
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
         org.apache.jsp.jsp.sql.query_jsp._jspService(query_jsp.java:92)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    Pls. help!

    Thanks a lot all. My problem was solved by simply replacing the taglib directive
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    to
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    Cheers!

  • C:forEach tags

    Hi- I'm trying to use a c:forEach tag and am having some problems.
    Basically, I want to use an iterator that I get from a helper class to loop over, but I don't want to use EL (this is not a possibility at the moment). Is there any way to do this? Every example I've found uses EL, but there must be a solution that was used before EL was introduced... I hope...

    but there must be a solution that was used before EL was introduced... Sorry to disappoint you but EL was introduced hand in hand with the JSTL.
    What sort of server are you using?
    JSP2.0 container (eg Tomcat 5), use JSTL 1.1, and you can use <%= expr %> instead of ${expr} easily.
    In a JSP1.2 container, you have to use the JSTL1.0 "runtime" version of the taglib.
    <%@ taglib prefix="c-rt" uri="http://java.sun.com/jstl/core-rt"%>
    This taglib lets you use runtime expressions <%= expr %> with the JSTL tags in a JSP1.2 container.
    Good luck,
    evnafets

  • My iTunes library and metadata/ID3 tags issue

    Since 2010, iTunes is the only media player I use to play music. My library consists of music purchased from the iTunes Store, CD rips and stuff many artists these days release as freebies on the internet to promote a new album. Also, M4A and MP3 are the only formats I use so far.
    Since iTunes, I really got into editing my library's metadata tags by hand, in order to create a custom archive which serves my preferences best. I should mention that besides iTunes being the only software I use to play my music library, it's also the only software I use to edit their metadata. Also, before iTunes – when my library was on different media players – I never bothered with editing them.
    A few days ago, I found how a lot of people in forums complain about the way iTunes edits and stores metadata. So, I experimented and moved a few of my songs to other media players after editing their tags within iTunes. And indeed the tags and/or artwork were often displayed messed up and/or incorrect, some times partially and some times completely.
    Some people were referring to the version of the ID3 tags being the issue, while others suggested using the "convert ID3 tags" feature. I myself am a little bit confused. "Converting the ID3 tags" wasn't available for my M4A files and once I performed it for my MP3's I didn't know which setting I should apply or what version to choose. I chose one version randomly but I'm not sure what happened.
    My goal is to make my music library able to play and display my custom metadata on the majority of the popular media players. I hope that firstly this is possible and that secondly it won't be a solution which requires me going through every single song individually.
    I really hope that all those years work on my library wasn't for nothing.
    I'm using a MacBook running Snow Leopard 10.6.8 and my iTunes version is 10.7
    While my music library is more important that my iTunes version, I do like iTunes 10 more than 11.
    I apologize for any grammar mistakes, since English is not my first language. Thank you all for your time and any suggestion is welcome.

    itsjamesd wrote:
    Hello turingtest2 and thank you for your reply.
    In response to "a possible cause of problems is multiple embedded tags", what exactly does that mean and how can I avoid doing it in the future?
    Anything ripped with iTunes should get a single tag. If multiple tags in some of your older mp3 rips are the cause of the problems when you try to access the files elsewhere then you should apply the suggested remedy selectively, not to the whole library indiscriminately. Once fixed you shouldn't have the problem again unless you use different ripping software. If so check the options to ensure you generate a single ID3v2.3 tag. Downloads from elsewhere are pot luck.
    If I use Convert ID3 Tags>None before converting to v2.3 as you suggested, how many times is "several times" and why do I have to do it more than once? Also, what are your thoughts on 'v2.3 vs. v2.4'?
    Several is at least two, but more could be needed if a file has both v1 and v2 tags in multiple languages. If there are two tags, the first conversion to none should remove the first one, and the second conversion the second. Experiment, And stick to v2.3.
    In response to "the process removes any embedded art but otherwise preserves the data that iTunes knows". All fields excluding cover art remain the same? Does that mean that I will have to start from scratch and apply new cover art individually for each album? That would be too time consuming given the fact that I embed custom art.
    Yes, everything but artwork is held in the iTunes database and is restored with the final Convert ID3 Tags... v2.3. Use Doug's scripts SaveAlbumArtJpeg before you start and RestoreArtworkFromAlbumFolder afterwards to save and the restore your existing artwork.
    Also, what happens with my M4A files' metadata? ID3 tags are only used for MP3's, right?
    Yes, m4a/aac files have a different tag mechanism. Multiple ID3 tags is just one possible issue that you might have. You said:
    So, I experimented and moved a few of my songs to other media players after editing their tags within iTunes. And indeed the tags and/or artwork were often displayed messed up and/or incorrect, some times partially and some times completely.
    It might be worth going into some more detail about exactly what differences you noticed. iTunes can automatically associate (instead of embedding) artwork when it can match the album in the store which could be why some tracks didn't get artwork.
    tt2

  • XSLT Tag issue

    Hi All,
    I am using following in my XSLT mapping but XML parser is not recognizing the  < tag:
    <xsl:text disable-output-escaping="yes"><![CDATA[< K K >]]></xsl:text>
    I have even tired the &lt; but still it throw the XML is not well formatted error. Please advice.
    Thanks.

    Hi,
    sorry, but this seems to be a BC-XI issue, not an MM issue.
    Regards,
    Edit

  • Weblogic 10.3.6 - Custom Tag Issue

    We have created custom tag in our application. It is working fine with Tomcat and Jetty Server but on Weblogic 10.3.6 we are getting below issue:
    securities.jsp:301:5: The tag handler class was not found "jsp_servlet._tags.__money_tag".
      <neutrino:money placeHolderKey="label.security.faceValue" labelKey="label.security.faceValue"
                             ^------------^
    securities.jsp:301:20: This attribute is not recognized.
      <neutrino:money placeHolderKey="label.security.faceValue" labelKey="label.security.faceValue"
                                            ^------------^
    securities.jsp:301:62: This attribute is not recognized.
      <neutrino:money placeHolderKey="label.security.faceValue" labelKey="label.security.faceValue"
                                                                                      ^------^
    securities.jsp:302:4: This attribute is not recognized.
      mandatory="true" moneyBoxColSpan="4" colSpan="6" validators="amount" errorPath="faceValue"
                            ^-------^
    securities.jsp:302:21: This attribute is not recognized.
      mandatory="true" moneyBoxColSpan="4" colSpan="6" validators="amount" errorPath="faceValue"
                                             ^-------------^
    securities.jsp:302:41: This attribute is not recognized.
      mandatory="true" moneyBoxColSpan="4" colSpan="6" validators="amount" errorPath="faceValue"
                                                                 ^-----^
    securities.jsp:302:53: This attribute is not recognized.
      mandatory="true" moneyBoxColSpan="4" colSpan="6" validators="amount" errorPath="faceValue"
                                                                             ^--------^
    securities.jsp:302:73: This attribute is not recognized.
      mandatory="true" moneyBoxColSpan="4" colSpan="6" validators="amount" errorPath="faceValue"
                                                                                                 ^-------^
    securities.jsp:303:4: This attribute is not recognized.
      id="faceValue" path="faceValue" tabindex="13" viewMode="${view}" maxLength="16" />
                            ^^
    securities.jsp:303:19: This attribute is not recognized.
      id="faceValue" path="faceValue" tabindex="13" viewMode="${view}" maxLength="16" />
                                           ^--^
    securities.jsp:303:36: This attribute is not recognized.
      id="faceValue" path="faceValue" tabindex="13" viewMode="${view}" maxLength="16" />
                                                            ^------^
    securities.jsp:303:50: This attribute is not recognized.
      id="faceValue" path="faceValue" tabindex="13" viewMode="${view}" maxLength="16" />
                                                                          ^------^
    securities.jsp:303:69: This attribute is not recognized.
      id="faceValue" path="faceValue" tabindex="13" viewMode="${view}" maxLength="16" />
                                                                                             ^-------^
    securities.jsp:308:5: The tag handler class was not found "jsp_servlet._tags.__money_tag".
      <neutrino:money placeHolderKey="label.security.price" labelKey="label.security.price"
                             ^------------^
    securities.jsp:308:5: The tag handler class was not found "jsp_servlet._tags.__money_tag".
      <neutrino:money placeHolderKey="label.security.price" labelKey="label.security.price"
                             ^------------^
    securities.jsp:308:20: This attribute is not recognized.
      <neutrino:money placeHolderKey="label.security.price" labelKey="label.security.price"
                                            ^------------^
    securities.jsp:308:58: This attribute is not recognized.
      <neutrino:money placeHolderKey="label.security.price" labelKey="label.security.price"
                                                                                  ^------^
    securities.jsp:309:4: This attribute is not recognized.
      mandatory="true" moneyBoxColSpan="4" colSpan="6" validators="amount" errorPath="price"
                            ^-------^
    securities.jsp:309:21: This attribute is not recognized.
      mandatory="true" moneyBoxColSpan="4" colSpan="6" validators="amount" errorPath="price"
                                             ^-------------^
    securities.jsp:309:41: This attribute is not recognized.
      mandatory="true" moneyBoxColSpan="4" colSpan="6" validators="amount" errorPath="price"
                                                                 ^-----^
    securities.jsp:309:53: This attribute is not recognized.
      mandatory="true" moneyBoxColSpan="4" colSpan="6" validators="amount" errorPath="price"
                                                                             ^--------^
    securities.jsp:309:73: This attribute is not recognized.
      mandatory="true" moneyBoxColSpan="4" colSpan="6" validators="amount" errorPath="price"
                                                                                                 ^-------^
    securities.jsp:310:4: This attribute is not recognized.
      id="price" path="price" tabindex="14" viewMode="${view}" maxLength="16" />
                            ^^
    securities.jsp:310:15: This attribute is not recognized.
      id="price" path="price" tabindex="14" viewMode="${view}" maxLength="16" />
                                       ^--^
    securities.jsp:310:28: This attribute is not recognized.
      id="price" path="price" tabindex="14" viewMode="${view}" maxLength="16" />
                                                    ^------^
    securities.jsp:310:42: This attribute is not recognized.
      id="price" path="price" tabindex="14" viewMode="${view}" maxLength="16" />
                                                                  ^------^
    securities.jsp:310:61: This attribute is not recognized.
      id="price" path="price" tabindex="14" viewMode="${view}" maxLength="16" />
                                                                                     ^-------^
    money.tag:2:25: The encoding specified on the page cannot be different than detected encoding for the file.
    <%@ tag language="java" pageEncoding="UTF-8"%>
                            ^----------^
    money.tag:2:25: The encoding specified on the page cannot be different than detected encoding for the file.
    <%@ tag language="java" pageEncoding="UTF-8"%>
                            ^----------^
    >

    Hi.
    I had similar problems with appc.
    Try to remove the line "<%@ tag language="java" pageEncoding="UTF-8"%>" or at least the pageEncoding attribute from the *.tag files.
    In my case, I had no idea why the compiler complained about encoding. No UTF-8 specific characters were used and both, *.jsp and *.tag set the same encoding by directive.
    If you get rid of the "The encoding specified on the page cannot be different than detected encoding for the file.", you will also get rid of the "The tag handler class was not found" and the resulting errors.

  • N70 voice tag issue

    I have the version 5.0609.2.0.1 01-03-06 which appears to have one problem: it messes up the voice tags. Every new contact I save does not get a voice tag anymore. Do you know how this can be fixed?
    Cheers,
    Chryssa
    EDIT: removed name of ex-moderator and changed titleMessage Edited by damocles on 22-Sep-2006
    01:20 PM
    N95,N81,N96, N97

    If you feel that this is a major issue then reinstall firmware. But before that hard reset your phone by
    1. Switch off the phone.
    2. Hold down the following three buttons: Green (the call answer button), * button, and '3' button.( Just in case of N78 it will be the multimedia key the small silver key on right side & for Nokia 5800XM - use the following buttons to do a hard reset, GREEN/RED/CAMERA keys pressed all at once on power up. this will only work on 5800's that have firmware version 20... and up).
    3. While holding these buttons, hold the power button to switch on the phone.
    4. Release the buttons when the phone shows the nokia hands logo or shows other signs of life like the language selection screen.
    But keep a backup as you may lose your data. I dont know whether this trick actually works on N70.
    Mark my posts as helpful if anyone finds it! After all you will make us improve.
    Thanks for kudos if you give!

Maybe you are looking for