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.

Similar Messages

  • Problem with vCalendar in CFMail tag

    I've created an Outlook meeting invitation using cfmail and vCalendar and it works under normal conditions. But I have an event that is a three-day class. I attempt to create three invitations within the same cfm file, using three diffeent cfmail tags and using different times, subjects, descriptions, and summaries in the vCalendar. But when the three invitations arrive in my Outlook mailbox, Outlook thinks they are all the same event and posts tentative appointment to the last of the three days, but not to day 1 or day 2. Anyone have any clues as to what I'm doing wrong?
    <cfmail to="#form.email#" from="#fromemail#" subject="Event to be named" type="multipart">
    <cfmailparam name="content-class" value="urn:content-classes:calendarmessage">
    <cfmailparam name="Content-Type" value="text">
    <cfmailparam name="method" value="REQUEST">
    <cfmailparam name="charset" value="utf-8">
    <cfmailparam name="Content-Transfer-Encoding" value="7bit">
    <cfmailpart type="text">
    This is your meeting invitation for the following Insurance Administration Training and Development Class:
    August Annuity University Day 3
    </cfmailpart>
    <cfmailpart type="text/calendar">
    BEGIN:VCALENDAR
    PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
    VERSION:2.0
    METHOD:PUBLISH
    BEGIN:VEVENT
    DTSTART:20090820T140000Z
    DTEND:20090820T170000Z
    LOCATION:C5 Main
    TRANSP:OPAQUE
    SEQUENCE:0
    UID:0
    DTSTAMP:#tmstmp#
    DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Insurance Administration Annuity University-- August Day 3\n
    SUMMARY:Class
    PRIORITY:5
    X-MICROSOFT-CDO-IMPORTANCE:1
    CLASS:PUBLIC
    END:VEVENT
    END:VCALENDAR
    </cfmailpart>
    </cfmail>
    </cfif>
    <cfif form.session eq "AnnU-2">
      <cfmail to="#form.email#" from="#fromemail#" subject="November Day 2 Annuity University Insurance Administration Training and Development Class" type="multipart">
    <cfmailparam name="content-class" value="urn:content-classes:calendarmessage">
    <cfmailparam name="Content-Type" value="text">
    <cfmailparam name="method" value="REQUEST">
    <cfmailparam name="charset" value="utf-8">
    <cfmailparam name="Content-Transfer-Encoding" value="7bit">
    <cfmailpart type="text">
    This is your meeting invitation for the following Insurance Administration Training and Development Class:
    August Annuity University Day 2
    </cfmailpart>
    <cfmailpart type="text/calendar">
    BEGIN:VCALENDAR
    PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
    VERSION:2.0
    METHOD:PUBLISH
    BEGIN:VEVENT
    DTSTART:20091118T150000Z
    DTEND:20091118T180000Z
    LOCATION:C5 Main
    TRANSP:OPAQUE
    SEQUENCE:0
    UID:0
    DTSTAMP:#tmstmp#
    DESCRIPTION:Insurance Administration Annuity University--August Day 2\n
    SUMMARY:summary
    PRIORITY:5
    X-MICROSOFT-CDO-IMPORTANCE:1
    CLASS:PUBLIC
    END:VEVENT
    END:VCALENDAR
    </cfmailpart>
    </cfmail>
      <cfmail to="#form.email#" from="#fromemail#" subject="November Day 3 University Insurance Administration Training and Development Class" type="multipart">
    <cfmailparam name="content-class" value="urn:content-classes:calendarmessage">
    <cfmailparam name="Content-Type" value="text">
    <cfmailparam name="method" value="REQUEST">
    <cfmailparam name="charset" value="utf-8">
    <cfmailparam name="Content-Transfer-Encoding" value="7bit">
    <cfmailpart type="text">
    This is your meeting invitation for the following Insurance Administration Training and Development Class:
    August Annuity University Day 3
    </cfmailpart>
    <cfmailpart type="text/calendar">
    BEGIN:VCALENDAR
    PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
    VERSION:2.0
    METHOD:PUBLISH
    BEGIN:VEVENT
    DTSTART:20091119T150000Z
    DTEND:20091119T180000Z
    LOCATION:C5 Main
    TRANSP:OPAQUE
    SEQUENCE:0
    UID:0
    DTSTAMP:#tmstmp#
    DESCRIPTION:Insurance Administration Annuity University--August Day 3\n
    SUMMARY:summary
    PRIORITY:5
    X-MICROSOFT-CDO-IMPORTANCE:1
    CLASS:PUBLIC
    END:VEVENT
    END:VCALENDAR
    </cfmailpart>
    </cfmail>
    </cfif>

    Hi there,
    I think its because youre using the same UID for all your events. From what I understand, every event needs its own unique reference,
    hope that helps.

  • CFMail timeout issues

    We have a set of scheduled tasks that run overnight and handle records reconcilliation in a database. the tasks take a long time to run...an hour or so.  When these processes complete, we use a CFMail tag to send out some results. We are consistently getting the following error:
    The request has exceeded the allowable time limit Tag: cfmail
    In the beginning of the CFM page, we use the following setting:
    <cfsetting enableCFoutputOnly = "No" requesttimeout="10800">
    Our CFAdmin has
    Connection Timeout(in seconds) set to 60. Changing that value would seem to cause problems elsewhere. Does anyone know why this would be occurring or how we can address it?

    in the mail log, we have instances of the following error, but not for this last occurrance:
    com.sun.mail.smtp.SMTPSendFailedException: [EOF] (on threadID of scheduler-0)
    in the server log, we have some instances of long running pages. Again, this did not occur the last time we got the error:
    "Warning","ajp-bio-8012-exec-248","09/12/12","02:12:30",,"Thread: ajp-bio-8012-exec-248, processing template: E:\WEB\(path removed).cfm, completed in 750 seconds, exceeding the 30 second warning limit"
    there is no instance in the exception log.

  • CFMail Attachment Issue (410 character limit)

    My company is in the process of upgrading from CF5 to CFMX7
    (v7.0.2). While testing the new version our test environment, I've
    discovered an issue (that didn't exist in CF5) regarding email
    attachments. I've scoured the internet looking for users who might
    have run into this issue and haven't found any.
    Here's the problem that shows up when using CFMX7. Emails
    that have attached files that have lines of code that are longer
    than 410 characters per line have the lines broken apart with a
    newline character.
    So for example if code in a file originally looked like this,
    <font face='courier new' size=-2>
     &nbspLIFE  MED  (line
    continues out to over 600 chacters)...
    </font>
    The received file would have code that looked like this,
    <font face='courier new' size=-2>
     &nbspLIFE  MED  (line
    continues out to just 410 chacters, then breaks to a new line)...
    bsp; &nbspLIFE   
    </font>
    Notice that the non-breaking space characters starting the
    second line have been chopped off.
    This causes an issue because the files we are attaching to
    the emails are bills (formatted in html) that uses a lot of
    non-breaking space ( ) characters for formatting purposes.
    Most of the lines of code are greater then 410 characters wide, and
    once the the   characters start to get broken apart, they
    end up displaying in a browser.
    Things I've tried that haven't helped.
    1) Changing the Default CFMail Charset from UTF-8 to US-ASCII
    2) Using the cfmailparam tag instead of the mimeattach
    attribute
    3) Applied hot fix hf702-65414 (which was for an issue
    regarding email spooling)
    Does anyone know how I would prevent the line break issue in
    CFMX7?
    I figured I'd ask around in a few newsgroups before we
    started spending money on support from Adobe.
    Thanks,
    Wayne Barca

    If the attached file doesn't have to be interactive, how
    making it a PDF?

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

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

  • Continuing font encoding and tag issues with snow leopard and CS4oI

    I am looking for help with a font handling issue with snow leopard and cs4 Indesign. Despite numerous calls and hours on the phone neither Apple nor Adobe has been helpful. I have had this issue open with Adobe since oct 5 but they remain totally unresponsive to date. I need to be able to use Type 1 fonts and do the following , export a pdf from Indesign with the following attributes: 1) xml tags for stories and objects. 2) have the fonts encoded as ansi and embedded.
    Some additional information  - exporting to ps is not an option as it destroys the xml tags. and doesn't guarantee that the fonts won't become CID or some other odd encoding.
    As it stands now,
    Leopard (10.5.8) and CS3 creates ansi encoded fonts with xml tags.
    Leopard (10.5.8) and CS4 creates ansi encoded fonts with xml tags.
    Snow leopard and CS3 creates ansi encoded fonts and xml tags
    Snow leopard and CS4 creates custom subsetted fonts and some xml tags.
    If any one has any advice on how to force specific font encodings from CS4 pdf exports so that i can preserve the tags and get the correct fonts I would be grateful.

    The font encoding is not a function of the OS version, but rather of how a font is internally encoded and the content you are representing with the font.
    If you are seeing a difference between MacOS 10.5 and 10.6 with the same Adobe software, it probably has something to do with use of a system font that is somehow different from one version of the OS to another. InDesign does not use any of the OS' font handling software.
    Assuming that the fonts are embedded, subset or not, what is your issue with whether a font is ANSI-encoded, custom-encoded, or CID-encoded? It should make no difference for purposes of workflow beyond InDesign for software that adheres to the PDF specification (including all versions of PDF from 1.3 and up to 1.7 plus ISO 32000-1 PDF and all versions of PDF/X and PDF/A).
    Neither InDesign or any other Adobe application provides user choices for the encoding since it shouldn't make a difference. The encodings chosen by Adobe's core technology components are for a combination of optimization and to support proper text search, copy, etc.
              - Dov

  • Not issue permits until wcd(work clearance document) is tagged(issue is related to wcm)

    Hi All,
    I got a requirement from my client that user is unable to issue permits utill wcd is tagged. kindly suggest how is it possible

    Greetings Peter,
    I believe your requirement is that:
    no Approvals can be given on the WCA, until the WCD is in Tagged status ETG at least
    (and can have the relevant Approval?)
    To achieve this, you must define a Cross-Document Approval Process and an Approval Hierarchy.
    Create an approval such as "Tagged" in IPMD and assign it to the WA and WD objects under SPRO > Plant Maintenance and Customer Service > Work Clearance Management > Approvals > Assign Approval
    Create this Approval as "Mandatory", "Copy Automatically", "Issue Automatically" in IPMD.
    Under same parent node, Define Hierarchy for Approvals in such a way that the other Approvals you want to grant after Tagging only have a hierarchy level higher than "Tagged".
    Under same parent node, define Cross-document Approval Process, assigning the Approval "Tagged" to WA and WD, marking it as relevant to the process and set the process direction as going down from WA.
    This should allow you to meet this requirement, I think.
    You could also look at the node SPRO > Plant Maintenance and Customer Service > Work Clearance Management > Approvals > Block Issuing of Approvals > Define Dependent on System Status
    but I think it does not check the status cross-document, which is what you require.
    N.B. I think that actually if you have access to an IDES system, looking at the WCM setup for Plant 1000 there might be very helpful to you.
    More useful info for you:
    Work Clearance Management (PM-WCM) - SAP Library
    Approvals - Work Clearance Management (PM-WCM) - SAP Library
    Configurations necessary for WCM
    I hope you do find this useful and come back with any further questions or issues.

Maybe you are looking for

  • Time machine and an external hard drive

    Hello Should the external hard drive (that I'm using Time Machine for) be left in the iMac all the time? Or should I be removing it incase it re-writes over itself? All guidance accepted  Peter

  • In Lion return key no longer opens a file! Is there a work around?

    In Lion return key no longer opens a file! Is there a work around? In Snow Leoppard I used the return key all the time in finder and Path finder when quickly navigating files. There was the choice of the 2 return keys, one opens the file and the othe

  • File Name in Java Map

    Hello, I want to add the time stamp in the file name in JAVA map. Actually we are directly writing the file on to the file system from Java map and also giving its output to other map. So we need when we write the file on the file system the file nam

  • Cannot open a downloaded pdf file..."The file couldn't be opened because it isn't in the correct format."

    I have had this problem several times lately: I cannot open a downloaded pdf file. The error message reads: "The file couldn't be opened because it isn't in the correct format." But, of course, it is a pdf file.

  • The best way to implement graphics for a monopoly game

    Hello, I am implementing the graphics for a simple Monopoly game. I am currently creating a subclass of Canvas for drawing the board but when I repaint the canvas multiple times, you can clearly see the canvas repaint (a white area quickly flashs up