Bean tag issue

I have a bean define tag within my logic:iterate like below. I need this to compare something within the loop.
<bean:define id="oldValue" name="sect" property="sectId" type="java.lang.String"/>
<%
sId = oldValue;
%>
the logic works as expected but the problem is at the end of the loop it throws, "define tag cannot set null value". If I use logic:present or logic:notEmpty around above bean define tag, then it throws "cannot resolve symbol oldValue". How do I get rid of it? Thanks guys.

any alternative way?

Similar Messages

  • Can I use any Class in a Use Bean Tag of a JSP

    I have tried to modify the existing EditForm.java file and created a new Class File which changes the presentation(render method)in the Edit Form.
    can I use the new class as a Bean in the use bean tag of a JSP.

    You can use any class as part of the useBean tag. If you want to add your class to the list of available webbeans, you can add it to <jdev dir>\teamplates\webbeans.xml.

  • HELP - why is form bean tag  not parsing?

    In my struts-config.xml file, I have the tag:
    <form-beans>
    <form-bean name="poolListForm"
    type="com.test.xm.forms.PoolListForm"/>
    </form-beans>
    I have a form, called PoolListForm.
    However, when I start weblogic, I get an error with the form bean (error goes away if I delete the form bean tag from struts-config.xml file. (error log is below).
    Does anyone know what's generating the error below???
    THANKS.
    2004-06-28 13:44:26,320 ERROR: Begin event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
    Utils.java:1789)
    at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
    Utils.java:1684)
    at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
    java:1713)
    at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
    9)
    at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
    at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
    .java:259)
    at org.apache.commons.digester.Rule.begin(Rule.java:200)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
    at weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(Abstrac
    tSAXParser.java:459)
    at weblogic.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement
    (AbstractXMLDocumentParser.java:221)
    at weblogic.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(XMLSch
    emaValidator.java:618)
    at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XML
    NamespaceBinder.java:874)
    at weblogic.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamesp
    aceBinder.java:591)
    at weblogic.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDVa
    lidator.java:748)
    at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartE
    lement(XMLDocumentFragmentScannerImpl.java:747)
    at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCo
    ntentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
    at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume
    nt(XMLDocumentFragmentScannerImpl.java:329)
    at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
    n.java:525)
    at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
    n.java:581)
    at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXPar
    ser.java:1175)
    at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
    at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl
    etStubImpl.java:993)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
    pl.java:869)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
    Impl.java:848)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:787)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3252)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3197)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
    pServletContext.java:3174)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java
    :688)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java
    :483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitServic
    e.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:223)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
    areClassLoader.java:41)
    at org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
    java:320)
    at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
    91)
    ... 48 more
    2004-06-28 13:44:26,360 ERROR: Parsing error processing resource path
    java.lang.reflect.InvocationTargetException
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2540)
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2566)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
    at weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(Abstrac
    tSAXParser.java:459)
    at weblogic.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement
    (AbstractXMLDocumentParser.java:221)
    at weblogic.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(XMLSch
    emaValidator.java:618)
    at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XML
    NamespaceBinder.java:874)
    at weblogic.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamesp
    aceBinder.java:591)
    at weblogic.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDVa
    lidator.java:748)
    at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartE
    lement(XMLDocumentFragmentScannerImpl.java:747)
    at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCo
    ntentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
    at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume
    nt(XMLDocumentFragmentScannerImpl.java:329)
    at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio

    Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
    Stupid question, but are the struts jar files in your web-inf/lib directory?

  • How to implement use bean tag in servlet technology

    hello,
    i want to use application scope for variables in application . i know about use bean tag but i want to use servelet technology. how could this be done

    The application scope corresponds to the servlet context. From your servlet, use getServletContext().getAttribute() and getServletContext().setAttribute().

  • Help with struts bean tag

    I populated my data in a hashtable and it contains key & the values are in an arraylist of treemap. How do I display data using struts bean tag? Thanks.

    if you have an arraylist of maps why do you need three iterates?
    <logic:iterate id="treeMap" name="navTable">  //navTable is your ArrayList treeMap will be each map
         <logic:iterate id="element" name="treeMap">  //element is each element as it iterates through treeMap
                         key = <bean:write name="element" property="key" filter="false"/>
                         value = <bean:write name="element" property="value" filter="false"/>
             </logic:iterate>
    </logic:iterate>unless of course I missed something and you really need three iterates.
    of course you need a getNavTable() method, though you probably already have that.

  • Form Tag Issue

    Hi!
    am facing problem while submitting form through DropDown using onChange event!
    Here i have two form tags and two drop down .in first form tag contain one drop down and
    Second form tag contain another Drop down ..
    when i change first drop down it redirects to the page properly, and i chose another drop down it redirect the page which is specified in first form tag,it is not redirect to the page which is specified in second form tag..
    pls give me your suggestion regarding my issue...
    <%
    try{
    Connection con,con1;
        Statement st,st1;
        ResultSet rs,rs1,rs2;
        ResultSetMetaData rsm,rsm1;
        List data=new ArrayList();
        List data1=new ArrayList();
        Iterator itr,itr1;
        String val,val1;
        int i=0;
        String dep[]=new String[100];
        int deplen;
        String dsn="jdbc:odbc:project";
                Class.forName("oracle.jdbc.driver.OracleDriver");
                con=DriverManager.getConnection(dsn,"module7","module7");
                st=con.createStatement();
                rs=st.executeQuery("select collname from college");
                            while(rs.next())
                                data.add(rs.getString(1));
                                i++;
               // rs1=st.executeQuery("select subcode from subject where sem not in '"+session.getAttribute("sem")+"' and dep='"+session.getAttribute("dep")+"' and sem1='"+session.getAttribute("mon1")+"' and currorarrear='Arrear'  order by subcode");
    %>
        <form  name="f1" action="Coll" method="POST" >
            <table align="center" border="0">
                    <tr>
                        <td>Select the College</td>
                        <td>
                            <select  class="red"  name="coll" id="s11" onchange="this.form.submit();">
                            <option value="Select">--------Select--------</option>
                                <%
                                try{
                            for(itr=data.iterator();itr.hasNext();)
                            val=itr.next().toString();
                                //out.print("111");
                            %>
                            <option value="<%=val%>"><%=val%></option>
                            <%}%>
                    </select></td>
                    </tr>
                       </form><%}catch(Exception e){}%>
                    <form name="f2" action="CollDep" method="POST">
    <%try{
        data1=(ArrayList)session.getAttribute("dep");
        if(session.getAttribute("dep").toString()!=null)
        {%>
                   <tr>
                        <td>Select the Department</td>
                        <td><select name="univ" id="arr1" onchange="this.form.submit();">
                           <option>Department</option>
                           <%
                            for(itr=data1.iterator();itr.hasNext();)
                            val=itr.next().toString();
                          %>
                                 <option value=<%=val%>><%=val%></option>
                            <%}%>
    </select></td>
                    </tr></form><%}}catch(Exception e){}%>
            </table>
            <center><input type="submit" value="Submit" name="b1" onclick="" /></center>
    <%
    }catch(Exception e){out.println(e);}
    %>
               

    The [HTML specification|http://www.w3.org/TR/html401/] forbids you to nest <form> elements.
    That said, writing raw Java code in a JSP file is a bad practice. It makes it hard to read as well. Keep business/data logic in Java classes (servlets, DAO's, beans) and use taglibs/EL only in JSP.

  • 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.

  • 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

  • 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!

  • Html select tag issue.

    Hi All,
    I created a new project using EB3 to develop a photoshop extension. In that panel, I added the drop down box as follows,
    <body onLoad="onLoaded()">
         <select>
                <option value="">1</option>
                <option value="">2</option>
                <option value="">3</option>
                <option value="">4</option>
         </select>
    </body>
    I am seeing an issue, following are the steps to reproduce it,
    - Open the panel.
    - Click on the drop down. (Drop down opens)
    - Now loose the focus from the panel by clicking outside the panel.
    - Now click on the drop down. (Here comes the issue)
    Drop down doesn't open but it comes into the focus and when I clicked second time it will open.
    So every time when focus loosed the panel and I clicked on the drop down nothing happens on first time.
    And the strange thing is that I am seeing this issue on windows only.
    Anyone have any idea why it behave like this or is it a select tag bug in html panel?
    Thanks for any help..

    Yep, I second that. Combos take two clicks to be activated. Seems like yet another bug from a long, long list of issues with this CEP.

  • Vlan tag issue with Nexus 4001 in IBM Blade Centre

    Hi
    I have a DC architecture with a pair of Nexus 7010's running 3 VDC's (Core/Aggregation/Enterprise). I have at the edge Nexus 5548's which connect to back to the Aggregation VDC. Also connecting back to the Aggregation VDC is an IBM Blade Chassis which has a Nexus 4001i in slots 7 and slot 9. These blade servers are running ESXi 4.0 and are mapped to the Nexus 4001 blade switch.
    I had set up the Native VLAN as VLAN 999 which connects up to the ESXi host and I am trunking up multiple VLANS for the Virtual Machines.
    The problem I have is that VM's in all VLANS except the ESXi host VLAN (VLAN 10) cannot see their default gateway, and I suspect that there is an issue with the VLAN tag going up to the ESXi host. I have read enough documentation to suggest that this is where the issue is.
    My Nexus 4001 interface configuration is below
    interface Ethernet1/1
      switchport mode trunk
      switchport trunk native vlan 999
      switchport trunk allowed vlan 10,30,40-41,60-62,90,96,999
      spanning-tree port type edge trunk
      speed auto
    The Aggregation VDC on the Nexus 7010 is the default gateway for all these VLANS.
    I also noted that the Nexus 5000 and Nexus 7000 supports the command vlan dot1q tag native command yet the Nexus 4000 doesn't seem to support this. Any assistance would be useful
    Thanks
    Greg

    Your configuration on the N4K looks correct. You shouldn't use vlan dot1q tag native commands on your N7Ks and N5Ks. Native VLAN tagging is really for QinQ (dot1q tunneling).
    My only suggestion is check your configuration of the vSwitch in the ESXi host and the host network profile.
    Regards,
    jerry

  • DWM - tag issue

    I have two questions regarding dwm:
    1) I have uninstalled urxvt and built the AUR package rxvt-unicode-patched in attempt to fix the gap around terminal windows.  The gap still remains, so is there something else that needs to be done (wiki suggested that this should fix issue which apparently is due to font size)?  I tried the alternative of changing "static Bool resizehints" to False in config.h, which fixed dimensions but introduced a lot of redraw anomalies.
    2) Is there a patch/config change that ensures that a new window stays in the tag where it was intended to be opened.  For example, if I am in tag 2 and open firefox but move to tag 1 before firefox has had a chance to open, it will now open in tag 1.  Is there a way to keep it in tag 2?
    Thank you in advance.
    Last edited by Novartum (2011-03-31 16:46:28)

    1. I have a standard urxvt install and
    static const Bool resizehints = False;
    in my config.h. No gaps (except for useless ones) observed.
    2. This is what I have in my config.h and works just like you described it should (FF opens by default in tag 1 only):
    { "Namoroka", NULL, NULL, 1 << 0, False, -1, -1 },
    Last edited by bohoomil (2011-03-31 00:37:34)

  • CFMail Tag Issue

    I have a form on my website that use the cfmail tag to send
    information collected from a form via email. I am no longer getting
    the email submitted from the form yet I'm also not getting an error
    and I haven't changed anything. I suspect it's a relay issue but my
    Sys Adm insist it's not and suggest I use mailto: I don't see the
    point of using a client side solution when I have a server side
    (and probably better) solution already in place.
    I have listed the code I'm using to process the form for
    reference in case I am missing something. Could anyone shed some
    light on this for me. If it's not my code what are the downsides to
    using a client side solution such as mailto ?
    Thanks

    I'm assuming the isDefined leadershipopp and joinassociation
    are checkboxes.
    But..
    If for any reason one of the other form elements wasn't
    defined, you'd have an error condition.
    Wrap the cfmail tag in a cftry block and then in the cfcatch
    email an admin email with the cfcatch.message and cfcatch.detail.
    Make sure you validate the form.email format, check cflib.org
    for a udf for this. you could also use cfform validation routines.
    An invalid email will throw an error.
    Additionally, use cfparam tags for each of the form elements
    with a default value.

Maybe you are looking for

  • Every time I open Firefox I need to update all my extensions because Firefox won't recognize that they've all already been updated previously.

    == Issue == I have another kind of problem with Firefox == Description == This problem only occurs the first time I open Firefox after turning on the computer, but it occurs EVERY time I turn on the computer. Every time I turn on the computer and ope

  • Apple TV connecting problem?

    I bought a Apple TV ( Part number: MD199X/A) and Kanex airplay mirroring for VGA V2-CAF (Part number: H9139VC/B). My TV has VGA input. I connected HDMI from Apple TV to VGA from TV. But the error message "out of range" was showed on the screen. How c

  • In E-recruiting how to identify a rehire candidate?

    Hi, Please let us know if you have worked on the following: 1) How can we identify in e-recruiting that an external candidate was a previous employee of the company at some point in time? OR how to identify that the candidate had a record in SAP PA i

  • Photobooth - no image

    I've been using Photo Booth for a few years but since upgrading to Leopard earlier this year it has become temperamental. It often fires up without displaying any image, it's as if the camera isn't working but the green light is on. Then in a few day

  • System wide proxy audit

    Hi, Can a system wide audit setting be created for a proxy user? In short, can there be a audit action entry in the DBA_STMT_AUDIT_OPTS table where the USER_NAME field has a NULL value and the PROXY_NAME field has some username? Thanks, Vijay