Web app tag is causing a scripting break

Okay, here is the proper script:
if (iTotal > 6){
                                                $('#CalcTotal').html('<strong>' + iTotal + '</strong>,<div  id="choice"> {module_webapps,15515,i,4011348,,,true,10,,1}</div>');
When it renders in  the browser, no matter what I seem to try it breaks the code into two lines, like so;
                       $('#CalcTotal').html('<strong>' + iTotal + '</strong>,<div  id="choice"> <a   href="/charts/model-3-conservative-lt">Model 3 - Conservative LT</a>
</div>');
What should I try next?
Thanks,
Matt

here is the link http://pencal.businesscatalyst.com/chart, but I have of changed all the scripting to make it work a different way. Firebug picked up the line break error.  the module tag was inserting a line break.

Similar Messages

  • How do I add web app tags to web app fields and have them render correctly?

    - I have a webapp field entitled "Status".
    - I have a webapp fields entitles "Status-Listed".
    - I want to have a tag in the description field that is {tag_Status-{tag_Status}} to where if the Status field is set to Listed the result will be {tag_Status-Listed} and will return the value in the Status-Listed field.
    - It works, and returns the value:
    <h2>Listed</h2>{tag_county} County<br />{tag_firstname} {tag_lastname} | {tag_address1}, {tag_address2} {tag_city}, {tag_state} | {tag_zipcode} | {tag_phone}<br />{tag_status} | <em>
    - However, this will display as the text entered when the tag is rendered from Design view. If I place the code in the HTML view it will render each tag correctly. What I am seeking to do is apply four different types of stylings to the listing, as in Listed, Not Listed, Rejected, No Answer, etc. That way in my directory I can have the status determine the type of look each listing has based upon the Status field.
    Any thoughts from the community?

    I am not sure I follow what you are explaining, but, I will try to give you an idea. Wrap all of your HTML in a div with a class of {tag_Status-{tag_Status}}. you can then style as necessary. However, if this involves hiding certain elements, then I would suggest using a custom template for each type of listing.

  • Cannot preview attachments using Office Web App Server 2013 ( Preview )

    Got a lab environment to test Office Web App Server integration with Exchange 2013
    i have followed the instructions given here
    http://technet.microsoft.com/en-US/jj219455
    http://technet.microsoft.com/library/2591b1be-92c4-4192-9f5e-e4e6b319170a
    After all required configuration , i am still unable to preview the office documents from OWA
    Receiving the following messages by clicking on the Preview link next to the attachment:
    Word Document : "Sorry, there was a problem and we can't open this document. If this happens again, try opening the document in Microsoft Word."
    Excel Document: "We couldn't find the file you wanted. It's possible the file was renamed, moved or deleted"
    PowerPoint: "Sorry, we ran into a problem. Please try again"
    As suggested i even see the Application Log the 140 and 142 Event IDs for MSExchange OWA
    Already configured to enable the rendering of attachments through OWAS both on public and private computers:
    This is what I can see in the ULS log on the Web App Server
    WAC Server HttpModule: Beginning request at target [/p/PowerPointFrame.aspx?PowerPointView=SlideShowView&ui=en-US&rs=en-US&WOPISrc=https%3a%2f%2f<Server>%3a443%2fowa%2fuser02%2540<Domain>%2fwopi%2ffiles%2f%40%2fowaatt%3fowaatt%3dLFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%252bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%253d&]
    in session [b373a48e-9fca-445b-a7b2-2966f11b18de]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    UserSessionId=b373a48e-9fca-445b-a7b2-2966f11b18de
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI CheckFileInfo: Start [url:https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    URL generated for WOPI CheckFile Request: https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d&access_token=REDACTED_1086&access_token_ttl=0
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof Data: AccessToken Hash '669582051' [1086 bytes], URL 'HTTPS://<Server>/OWA/USER02%40<Domain>/WOPI/FILES/@/OWAATT?OWAATT=LFMTMS01LTIXLTIWODU5NZU2NJITMTE4ODQ1NZE5NY04MDY2NJG5MC0XMTI5VUTGXJ%2BT0AGBAQEAQE1JDE5TSELQZJBHWWTXUTFTZI8YQ3HTSGZXS3IZB1GWZGVFWVHJDKLHBGWWC3F0DNJIQJBZZ0D2EXBDVCTAEEU%3D&ACCESS_TOKEN=REDACTED_1086&ACCESS_TOKEN_TTL=0'
    [1354 bytes], TimeStamp '635169449614353585' [8 bytes]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof: Using Current private key (to sign) that matches Current public key  BgIAAACkAABSU0ExAAgAAAEAAQDhPcfARgzhUlTFzo1jhCPHeoylNWp6pBbq6QM6CVQkbFyp4/I+mDzK4JA+AA3BFWLtpQEB7zIEbdjzhdsuYWYAJWBfvfX/3m2E3WRNhcPV8I2rA2T6qWj5Fb6eMNnoz4n2/1sqUXfyIA8mADXUebe9JNyJ+icPluUX+vTNm4m2IWbEgWmJNkgi9OUAq2hmd2lJifbJW8jNr1qzqBCE3ITFwr0L2svMrxfe5nKXVHbZa0EBYxMwHoc3ZkE0dZ0NPle9pq3MObg2+D5RN/w/B0axTJD7G/fQDpZbdsfvKA8mlyCn/vbNpooq5LgvGowTAWmG/tr1kWetfjePAbjBkIK5
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof - Successfully signed the data with the Current private key [4 ms]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof Keys - WS Farm State has no Old key (this is expected if recently installed)
    b373a48e-9fca-445b-a7b2-2966f11b18de
    Cannot create WOPI Proof Token - could not find valid Old proof key data
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) Starting [mode: GET, url: https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d&access_token=REDACTED_1086&access_token_ttl=0]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) End Called
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync::GetResponseCallback - ContentLength:9327
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync::FProcessReadReturn - cbRead:9327
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync::FProcessReadReturn - cbRead:0
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) Setting Completion [Time in ms: 3, Bytes Read: 9327 ContentLength: 9327]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) SetCompletion Track start | setting trackers | WebRequest.Create() | Create() returned | setting request headers | setting user agent | setting keep alive | setting timeout callback | Start calling StartResponseProcessing
    | StartResponseProcessing._req.BeginGetResponse() | BeginGetResponse() returned | StartResponseProcessing RETURNS | Start RETURNS | End.AsyncWaitHandle.WaitOne() | GetResponseCallback isSync:False | _req.EndGetResponse() | EndGetResponse() returned | RecordResponse
    OK | _response.GetResponseStream() | _response.GetResponseStream() RETURNED | DoReadLoopFinished | _getStream.BeginRead() | ReadCallback.sync returning | BeginRead() -> sync:True | DoReadLoopFinished.FProcessReadReturn() | FProcessReadReturn._getStream.EndRead()
    | EndR... b373a48e-9fca-445b-a7b2-2966f11b18de
    ...ead() -> 9327 | FProcessReadReturn._responseStream.Write() | FProcessReadReturn RETURNS True | FProcessReadReturn() ->  true | _getStream.BeginRead() | ReadCallback.sync returning | BeginRead() -> sync:True | DoReadLoopFinished.FProcessReadReturn()
    | FProcessReadReturn._getStream.EndRead() | EndRead() -> 0 | FProcessReadReturn._responseStream.Write() | FProcessReadReturn RETURNS False | FProcessReadReturn() -> false | DoReadLoopFinished RETURNS true | GetResponseCallback DoReadLoopFinished ->
    TRUE | SetCompletion False | b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Http Request Completed [host machine name:, version:, host correlation:]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI: Could not deserialize file metadata [url:https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d,
    e:There was an error deserializing the object of type Microsoft.Office.OpenWebApplication.WopiCheckFileResponse. Encountered unexpected character '<'.]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI: Invalid file metadata [url:https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d,
    triggers:(No Version No FileName No OwnerId), data:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- Copyright (c) 2011 Microsoft Corporation.  All rights reserved. --> <!-- OwaPage = ASP.auth_logon_aspx -->
      <!-- {57A118C6-2DA9-419d-BE9A-F92B0F9A418B} -->     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">   <html>  <head>  <meta http-equiv="X-UA-Compatible" content="IE=10"
    />  <link rel="shortcut icon" href="/owa/auth/15.0.775/themes/resources/favicon.ico" type="image/x-icon">  <meta ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...http-equiv="Content-Type" content="text/html; CHARSET=utf-8">  <meta name="Robots" content="NOINDEX, NOFOLLOW">  <title>Outlook Web App</title>  <link type="text/css"
    rel="stylesheet" href="/owa/auth/15.0.775/themes/resources/logon.css">  <script type="text/javascript" src="/owa/auth/15.0.775/scripts/premium/flogon.js"></script>  <script type="text/javascript"
    src="/owa/auth/15.0.775/scripts/premium/flayout.js"></script>    <script type="text/javascript">   <!--   var a_fRC = 1;   var g_fFcs = 1;   var a_fLOff = 0;   var a_fCAC = 0;  
    var a_fEnbSMm = 0;  /// <summary>  /// Is Mime Control installed?  /// </summary>  function IsMimeCtlInst(progid)  {   if (!a_fEnbSMm)    return false;     var oMimeVer = null;     try
       {    // TODO: ingore this on none IE browser    //    //oMimeVer = new ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...ActiveXObject(progid);   }    catch (e)   {    }     if (oMimeVer != null)    return true;   else    return false;  }    /// <summary>  /// Render out the S-MIME control
    if it is installed.  /// </summary>  function RndMimeCtl()  {   if (IsMimeCtlInst("MimeBhvr.MimeCtlVer"))    RndMimeCtlHlpr("MimeNSe2k3", "D801B381-B81D-47a7-8EC4-EFC111666AC0", "MIMEe2k3",
    "mimeLogoffE2k3");     if (IsMimeCtlInst("OwaSMime.MimeCtlVer"))    RndMimeCtlHlpr("MimeNSe2k7sp1", "833aa5fb-7aca-4708-9d7b-c982bf57469a", "MIMEe2k7sp1", "mimeLogoffE2k7sp1");
        if (IsMimeCtlInst("OwaSMime2.MimeCtlVer"))    RndMimeCtlHlpr("MimeNSe2k9", "4F40839A-C1E5-47E3-804D-A2A17F42DA21", "MIMEe2k9", "mimeLogoffE2k9");  }    /// <summary>
     /// Helper function to factor out the rendering of the S/MIME control.  /// </summary>  func...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...tion RndMimeCtlHlpr(objid, classid, ns, id)  {   document.write("<OBJECT id='" + objid + "' classid='CLSID:" + classid + "'></OBJECT>");   document.write("<?IMPORT namespace='"
    + ns + "' implementation=#" + objid + ">");   document.write("<" + ns + ":Logoff id='" + id + "' style='display:none'/>");  }   -->  </script>
           <script>            var mainLogonDiv = window.document.getElementById("mainLogonDiv");          var layout = DetermineLayout();          var
    showPlaceholderText = false;          var mainLogonDivClassName;            if (layout == LayoutTypeEnum.Mouse) {              mainLogonDivClassName = "mouse";
             }          else if (layout == LayoutTypeEnum.TouchNarrow) {              mainLogonDivClassName = "tnarrow";              showPlaceholderText
    = true;               ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ... // Output meta tag for viewport scaling              document.write('<meta name="viewport" content="width = 320, initial-scale = 1.0, user-scalable = no" />');          }
             else {              mainLogonDivClassName = "twide";              showPlaceholderText = true;          }    
           function setPlaceholderText() {                  window.document.getElementById("username").placeholder = "domain\\user name";            
         window.document.getElementById("password").placeholder = "password";                  window.document.getElementById("passwordText").placeholder = "password";
             }            function showPasswordClick() {              var showPassword = window.document.getElementById("showPasswordCheck").checked;    
             window.document.getElementById("password"...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...).type = showPassword ? "input" : "password";          }      </script>    </head>  <body class="signInBg" style="background: #f2f2f2 url('/owa/auth/15.0.775/themes/resources/bg_gradient_login.png')
    repeat-x"/>        <noscript>   <div id="dvErr">    <table cellpadding="0" cellspacing="0">    <tr>     <td><img src="/owa/auth/15.0.775/themes/base/warn.png"
    alt=""></td>     <td style="width:100%">To use Outlook Web App, browser settings must allow scripts to run. For information about how to allow scripts, consult the Help for your browser. If your browser doesn&#39;t
    support scripts, you can download <a href="http://www.microsoft.com/windows/ie/downloads/default.mspx">Windows Internet Explorer</a> for access to Outlook Web App.</td>    </tr>    </table>  
    </div>  </noscript>    <form action...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...="/owa/auth.owa" method="POST" name="logonForm" ENCTYPE="application/x-www-form-urlencoded" autocomplete="off">  <input type="hidden" name="destination" value="https://<Server>/owa/user02@<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d&amp;access_token=REDACTED_1086&amp;access_token_ttl=0">
     <input type="hidden" name="flags" value="4">  <input type="hidden" name="forcedownlevel" value="0">      <!-- Default to mouse class, so that things don't
    look wacky if the script somehow doesn't apply a class -->  <div id="mainLogonDiv" class="mouse">      <script>            var mainLogonDiv = window.document.getElementById("mainLogonDiv");
        ... b373a48e-9fca-445b-a7b2-2966f11b18de
    ...     mainLogonDiv.className = mainLogonDivClassName;      </script>      <div class="sidebar">          <div class="owaLogoContainer">      
           <img src="/owa/auth/15.0.775/themes/resources/olk_logo_white.png" class="owaLogo" aria-hidden="true" />              <img src="/owa/auth/15.0.775/themes/resources/olk_logo_white_small.png"
    class="owaLogoSmall" aria-hidden="true" />          </div>      </div>      <div class="logonContainer">   <div id="lgnDiv" class="logonDiv"
    onKeyPress="return checkSubmit(event)">                        <div class="signInImageHeader" role="heading" aria-label="Outlook Web App ">  
                   <img class="mouseHeader" src="/owa/auth/15.0.775/themes/resources/owa_text_blue.png" alt="Outlook Web App " />              </div>
                 <div class="signInInp...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...utLabel" id="userNameLabel" aria-hidden="true">Domain\user name:</div>    <div><input id="username" name="username" class="signInInputText" role="textbox" aria-labelledby="userNameLabel"/></div>
       <div class="signInInputLabel" id="passwordLabel" aria-hidden="true">Password:</div>    <div><input id="password" onfocus="g_fFcs=0" name="password" value=""
    type="password" class="signInInputText" aria-labelledby="passwordLabel"/></div>          <div class="showPasswordCheck signInCheckBoxText">            
     <input type="checkbox" id="showPasswordCheck" class="chk" onclick="showPasswordClick()" />              <span>Show password</span>        
     </div>                <div class="signInError" role="alert" tabIndex="0">              </div>    <div id="expltxt"
    class="signInExpl" role="alert">     ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...    </div>    <div class="signInEnter">              <div onclick="clkLgn()" class="signinbutton" role="button" tabIndex="0" >  
                   <img class="imgLnk"                                                
    src="/owa/auth/15.0.775/themes/resources/Sign_in_arrow.png"                                         alt=""><span class="signinTxt">sign
    in</span>              </div>              <input name="isUtf8" value="1" type="hidden"/>    </div>        
     <div class="hidden-submit"><input type="submit" tabindex="-1"/></div>    </div>      </div>       <div id="cookieMsg" class="logonDiv"
    style="display:none">    <div class="signInHeader">Outlook Web App </div>    <div class="signInExpl">Please enable cookies for this Web site.<br><br>Cookies are
    currently disabled by your browser. Outlook Web...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ... App requires that cookies be enabled. <br><br>For information about how to enable cookies, see the Help for your Web browser.<br><br><br></div>    <div class="signInEnter" >      
        <div onclick="clkRtry()" style="cursor:pointer;display:inline">            <img class="imgLnk"              src="/owa/auth/15.0.775/themes/resources/Sign_in_arrow.png"
               alt=""><span class="signinTxt" tabIndex="0">retry</span>    </div>   </div>      </div>  </div>  </form>
     <script>      if (showPlaceholderText) {          setPlaceholderText();      }  </script>  </body>  </html>  ]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    FileUnknownException loading powerpointframe: Microsoft.Office.Web.Common.EnvironmentAdapters.FileUnknownException: WOPI Check File     at Microsoft.Office.Web.Apps.Common.WopiDocument.CheckWopiFile()     at Microsoft.Office.Web.Common.BaseDocumentCache.CheckBaseDocumentInternal(BaseDocument
    baseDoc, BaseUser user, Boolean requiresVersion, String canary, Boolean checkCanary, Boolean fUseCacheLookup)     at Microsoft.Office.Server.Powerpoint.Web.UI.PptWebControl.CheckFileInfo()
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ViewOpenEarlyHelper: no presentation Id, failing.
    b373a48e-9fca-445b-a7b2-2966f11b18de
    IsAuthenticated: False, IsAnonymous: False, AuthType:
    b373a48e-9fca-445b-a7b2-2966f11b18de
    Secure connection detected, redirecting service endpoint from ppt/view.svc/jsonAnonymous to ppt/view.https.svc/jsonAnonymous
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WACServer HttpModule: EndRequest Called b373a48e-9fca-445b-a7b2-2966f11b18de
    Any suggestions ...

    Hi,
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/en-US/ded515c8-cc0f-4ad4-bed6-e56a0636be79/exchange-office-web-apps-preview-does-not-work-in-owa-web?forum=exchangesvrclients
    Hope it hleps you!
    Thanks.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • "Edit templates" feature not working properly for web apps in Dreamweaver CS6?

    This is along with the web apps tag list not appearing in the Data tab of the Business Catalyst side palette.
    However, it works fine with the existing announcement module.
    Is this feature unavailable for use with web apps, or am I doing something wrong?

    Hello Daniel,
    a similar problem has been reported in this thread: http://forums.adobe.com/message/4784051#4784051
    We have a bug that prevents correct web app matching if the web app name contains ' ' (space), + (plus), '(', ')', '[', ']' .
    In order to work around the bug please remove space, plus or parentheses from the webapp name.
    Best regards,
    Iulian Radu.

  • Web App name tag capabilities and Upload response handling

    Hi Guys,
    Let me begin by apologising for how long-winded this is going to be. 
    I have set my products up in the ecommerce module utilising catalogues etc - I have removed the buy now and cart options, so the ecommerce module is operating essentially like a showroom.  What I want to do now is link the individual large products to a web app because my product range requires personalization and the customers need to give me information and assetts to get their finished product back - the key for me is getting reports from the system, the web apps are just a portal to those reports.  So the workflow would see them submit their text and assetts to be used in the final product and pay via the web app.  With the web app that takes payment and allows them to submit their personalization stuff I was going to make one per product, so if product a) requires them to submit one block of text and 2 photos, the web app would have corresponding fields.  Then I got thinking about using content holders, the one web app for all products that need one block of text and 2 photos, if I could get the name tag to populate with the product page that sends to it, or the page name the web app form is inserted on, because this will correspond to the large product.  This way when I do the reporting instead of having to report from heaps of web apps, I could just filter the reports by the product name.  It would mean I would only need a handful of web apps vs needing quite a lot, but if it is beyond me I am happy that I have a solution, even if it is a bloated one.
    The other part of this involves me needing to capture the uploaded file name in the web app form fields so I can report from them.  I have been looking around and came across the below code.  My web app will require 1-12 uploaded file names to be captured in 1-12 form fields i.e. img_1 - img_12 - I am not a coder but I wondered whether this had potential for what I need.  It comes from here http://www.openjs.com/articles/ajax/ajax_file_upload/response_data.php
    Thanks in advance for taking the time to digest all of this.
    Mandy
    A Sample Application
    For example, say you are building a photo gallery. When a user uploads an image(using the above mentioned ajax method), you want to get its name and file size from the server side. First, lets create the Javascript uploading script(for explanation on this part, see the Ajax File Upload article)...
    The Code
    <script type="text/javascript"> function init() { document.getElementById("file_upload_form").onsubmit=function() { document.getElementById("file_upload_form").target = "upload_target"; } } </script>  <form id="file_upload_form" method="post" enctype="multipart/form-data" action="upload.php"> <input name="file" id="file" size="27" type="file" /><br /> <input type="submit" name="action" value="Upload Image" /><br /> <iframe id="upload_target" name="upload_target" src="" style="width:100px;height:100px;border:1px solid #ccc;"></iframe> </form> <div id="image_details"></div>
    And the server side(PHP in this case) script will look something like this...
    <?php list($name,$result) = upload('file','image_uploads','jpg,jpeg,gif,png'); if($name) { // Upload Successful $details = stat("image_uploads/$name"); $size = $details['size'] / 1024; print json_encode(array( "success"     =>     $result, "failure"     =>     false, "file_name"     =>     $name,     // Name of the file - JS should get this value "size"          =>     $size     // Size of the file - JS should get this as well. )); } else { // Upload failed for some reason. print json_encode(array( "success"     =>     false, "failure"     =>     $result, )); }
    Here we are printing the data that should be given to JS directly into the iframe. Javascript can access this data by accessing the iframe's DOM. Lets add that part to the JS code...
    function init() { document.getElementById("file_upload_form").onsubmit=function() { document.getElementById("file_upload_form").target = "upload_target"; document.getElementById("upload_target").onload = uploadDone; //This function should be called when the iframe has compleated loading // That will happen when the file is completely uploaded and the server has returned the data we need. } }  function uploadDone() { //Function will be called when iframe is loaded var ret = frames['upload_target'].document.getElementsByTagName("body")[0].innerHTML; var data = eval("("+ret+")"); //Parse JSON // Read the below explanations before passing judgment on me  if(data.success) { //This part happens when the image gets uploaded. document.getElementById("image_details").innerHTML = "<img src='image_uploads/" + data.file_name + "' /><br />Size: " + data.size + " KB"; } else if(data.failure) { //Upload failed - show user the reason. alert("Upload Failed: " + data.failure); } }
    Explanation
    Lets see whats happening here - a play by play commentary...
    document.getElementById("upload_target").onload = uploadDone;
    Set an event handler that will be called when the iframe has compleated loading. That will happen when the file is completely uploaded and the server has returned the data we need. Now lets see the function uploadDone().
    var ret = frames['upload_target'].document.getElementsByTagName("body")[0].innerHTML; var data = eval("("+ret+")");
    These two lines are an eyesore. No - it goes beyond 'eyesore' - this is an abomination. If these lines causes you to gouge out your eyes and run for the hills, I can understand completely. I had to wash my hands after writing those lines. Twice.
    var ret = frames['upload_target'].document.getElementsByTagName("body")[0].innerHTML;
    This will get the data the server side script put in the iframe. This line cannot be avoided as far as I know. You can write it in different ways - but in the end, you will have to take the innerHTML or the nodeValue or something of the body element of the iframe. I used the smallest code in the sample. Even if you specify the Content type of the iframe page as text/plain, the browser will 'domify' it.
    One other thing - in frames['upload_target'] the 'upload_target' is the name of the iframe - not the ID. Its a gotcha you need to be aware of.
    var data = eval("("+ret+")");
    Thankfully, this line can be avoided - you can use some other format(in this particular case the best format might be plain HTML) so that you don't have to parse a string that comes out of innerHTML. Or you can use CSV. Or plain text. Or JSON as we are doing right now - just parse it without using eval(). Reason I choose it? Smallest code - and easier to understand.
    Now we have a working system. The files are uploaded and data reaches the client side. Everything works perfectly. Oh, how I wish I could say that. But nooo - the nightmare of every javascript developer rears its ugly head again...
    Internet Explorer
    Internet Explorer, also known as IE, also known as the Beast, again manages to mess things up. They don't support the onload event for iframe. So the code...
    document.getElementById("upload_target").onload = uploadDone;
    will not work. WILL. NOT. WORK. Thanks IE, thanks very much.
    So, what do we do? We use a small hack. We put a script tag inside the iframe with a onload event that calls the uploadDone() of the top frame. So now the server side script looks like this...
    <html> <head> <script type="text/javascript"> function init() { if(top.uploadDone) top.uploadDone(); //top means parent frame. } window.onload=init; </script> <body> <?php list($name,$result) = upload('file','image_uploads','jpg,jpeg,gif,png'); if($name) { // Upload Successful // Put the PHP content from the last code sample here here } ?> </body> </html>
    Okay - now we have a IE-proof working system. Upload an image using the below demo application to see it in action.
    If you have a better way of doing this, please, PLEASE let me know. I feel dirty doing it this way.
    See it in Action

    You also need to consider when someone removes a product and what happens in terms of the things uploaded.
    Not saying your way wont work but I have the structure for this basically very similar on sites already that covers all the basis of real world use and works well.
    Mine is future proof anyway. BC will never ( I have it in writing) replace the code because it will break implementations and sites directly. jquery version is on the cards but the way that will be implemented or any change will either be with notice and on new sites not old or like many features an option in the admin to change it.

  • OWA 2013: Load unsafe script in Google Chrome when attempting to launch Edit in Office Web Apps 2013

    Team
    As we have On-Premises SharePoint 2013 and Office Web Apps 2013 server. SharePoint site is running over https and office web apps running over http. Everything seems to be correct and able to view documents in browser.
    Once we tried to edit the document in browser (Chrome/IE and Firefox) we getting the pop up "Load unsafe script " in Chrome Firefox and in IE with "This page includes script from unauthenticated sources" 
    Please help me on this i tried to disable pop-up in chrome/IE/Firefox but did not get success in Chrome/Firefox and we can't do this on each and every machine.
    Thanks Ranveer Katiyar

    Use fiddler to analyse what is causing this issue. You can share traces with me as well.
    It might some compatibility issue with browser
    It may also be issue because you are trying to execute a HTTPS content in a HTTP online editing tool.
    If this helped you resolve your issue, please mark it Answered

  • Error while deploying app - matching end-tag " /web-app "??

    Hi,
    I am trying to deploy my ear file to Weblogic app server 8.1 through the console. On deploying, it gives me the foll. error message:
    Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 0
    Error: [HTTP:101179][HTTP] Error occurred while parsing descriptor in Web application, <b>org.xml.sax.SAXParseException:
    The element type "web-app" must be terminated by the matching end-tag "</web-app>".</b>
         at weblogic.apache.xerces.parsers.DOMParser.parse(Lorg.xml.sax.InputSource)(DOMParser.java:271)
    But my web.xml file has the element tag web-app properly ended. I don't see any problem with the web.xml file. Can anyone please tell me what could be the problem here.
    Thanks,
    SP

    Hi,
    Will you type all the elements in the some other notepad which were in web.xml file ,delete the old web.xml file and save the file as web.xml and try to deploy the application again ?
    Note:If you feel that no errors in web.xml file ,Open the web.xml file in Internet Explorer then it will show the errors if you hava any.
    With Regards
    Anilkumar kari

  • Re:Creating new web app in Endeca tools and frame work for CRS(commerce refernce store) application that we deployed either as a part of cim.bat or manually through deployment scripts

    when i am trying to access my web app that was created using eclipse fro Endeca app CRS
    using  localhost:8080/crs/browse?format=json
    i am getting the below error
    [ERROR] com.endeca.infront.logger.SLF4JAssemblerEventLogger: cartridge error:
    com.endeca.infront.assembler.CartridgeHandlerException: com.endeca.infront.navigation.NavigationException: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://phani:15000/graph?node=0&groupby=product.code&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&irversion=640'.
      at com.endeca.infront.cartridge.NavigationCartridgeHandler.executeMdexRequest(NavigationCartridgeHandler.java:297)
      at com.endeca.infront.cartridge.BreadcrumbsHandler.process(BreadcrumbsHandler.java:87)
      at com.endeca.infront.cartridge.BreadcrumbsHandler.process(BreadcrumbsHandler.java:62)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.visit(AbstractAssembler.java:246)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:99)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseList(ContentItemVisitor.java:141)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseChildren(ContentItemVisitor.java:130)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:94)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseList(ContentItemVisitor.java:141)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseChildren(ContentItemVisitor.java:130)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:94)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseChildren(ContentItemVisitor.java:126)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:94)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor.process(AbstractAssembler.java:162)
      at com.endeca.infront.assembler.support.AbstractAssembler.assemble(AbstractAssembler.java:93)
      at org.apache.jsp.WEB_002dINF.services.myAssemble_jsp._jspService(myAssemble_jsp.java:171)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.endeca.infront.assembler.perf.PerfEventFilter.doFilter(PerfEventFilter.java:84)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
      at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
      at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
      at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Unknown Source)
    Caused by: com.endeca.infront.navigation.NavigationException: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://phani:15000/graph?node=0&groupby=product.code&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&irversion=640'.
      at com.endeca.infront.navigation.request.support.NavigationRequest.executeQuery(NavigationRequest.java:299)
      at com.endeca.infront.navigation.request.MdexRequest.execute(MdexRequest.java:60)
      at com.endeca.infront.cartridge.NavigationCartridgeHandler.executeMdexRequest(NavigationCartridgeHandler.java:288)
      ... 55 more
    Caused by: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://phani:15000/graph?node=0&groupby=product.code&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&irversion=640'.
      at com.endeca.navigation.OptiBackendRequest.getContent(Unknown Source)
      at com.endeca.navigation.OptiBackend.getNavigation(Unknown Source)
      at com.endeca.navigation.HttpENEConnection.query(Unknown Source)
      at com.endeca.infront.navigation.request.support.NavigationRequest.executeQuery(NavigationRequest.java:289)
      ... 57 more
    2013-10-16 14:00:14,297 [ERROR] com.endeca.infront.logger.SLF4JAssemblerEventLogger: cartridge error:
    com.endeca.infront.assembler.CartridgeHandlerException: com.endeca.infront.navigation.NavigationException: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://phani:15000/graph?node=0&groupby=product.code&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&irversion=640'.
      at com.endeca.infront.cartridge.NavigationCartridgeHandler.executeMdexRequest(NavigationCartridgeHandler.java:297)
      at com.endeca.infront.cartridge.BreadcrumbsHandler.process(BreadcrumbsHandler.java:87)
      at com.endeca.infront.cartridge.BreadcrumbsHandler.process(BreadcrumbsHandler.java:62)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.visit(AbstractAssembler.java:246)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:99)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseList(ContentItemVisitor.java:141)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseChildren(ContentItemVisitor.java:130)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:94)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseList(ContentItemVisitor.java:141)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseChildren(ContentItemVisitor.java:130)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:94)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseChildren(ContentItemVisitor.java:126)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:94)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor.process(AbstractAssembler.java:162)
      at com.endeca.infront.assembler.support.AbstractAssembler.assemble(AbstractAssembler.java:93)
      at org.apache.jsp.WEB_002dINF.services.myAssemble_jsp._jspService(myAssemble_jsp.java:171)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.endeca.infront.assembler.perf.PerfEventFilter.doFilter(PerfEventFilter.java:84)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
      at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
      at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
      at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Unknown Source)
    Caused by: com.endeca.infront.navigation.NavigationException: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://phani:15000/graph?node=0&groupby=product.code&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&irversion=640'.
      at com.endeca.infront.navigation.request.support.NavigationRequest.executeQuery(NavigationRequest.java:299)
      at com.endeca.infront.navigation.request.MdexRequest.execute(MdexRequest.java:60)
      at com.endeca.infront.cartridge.NavigationCartridgeHandler.executeMdexRequest(NavigationCartridgeHandler.java:288)
      ... 55 more
    Caused by: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://phani:15000/graph?node=0&groupby=product.code&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&irversion=640'.
      at com.endeca.navigation.OptiBackendRequest.getContent(Unknown Source)
      at com.endeca.navigation.OptiBackend.getNavigation(Unknown Source)
      at com.endeca.navigation.HttpENEConnection.query(Unknown Source)
      at com.endeca.infront.navigation.request.support.NavigationRequest.executeQuery(NavigationRequest.java:289)
      ... 57 more
    Oct 16, 2013 2:00:34 PM org.apache.catalina.core.ApplicationDispatcher invoke
    SEVERE: Servlet.service() for servlet link threw exception
    javax.servlet.ServletException: Expect a parameter of name '__jsonp' specifying the json callback function.
      at com.endeca.infront.assembler.servlet.AbstractPreviewLinkServlet.doGet(AbstractPreviewLinkServlet.java:120)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.endeca.infront.assembler.perf.PerfEventFilter.doFilter(PerfEventFilter.java:84)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
      at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
      at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
      at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Unknown Source)
    Oct 16, 2013 2:00:34 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet default threw exception
    javax.servlet.ServletException: Expect a parameter of name '__jsonp' specifying the json callback function.
      at com.endeca.infront.assembler.servlet.AbstractPreviewLinkServlet.doGet(AbstractPreviewLinkServlet.java:120)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.endeca.infront.assembler.perf.PerfEventFilter.doFilter(PerfEventFilter.java:84)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
      at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
      at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
      at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Unknown Source)
    2013-10-16 14:01:15,140 [ERROR] com.endeca.infront.logger.SLF4JAssemblerEventLogger: cartridge error:
    com.endeca.infront.assembler.CartridgeHandlerException: com.endeca.infront.navigation.NavigationException: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://phani:15000/graph?node=0&groupby=product.code&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&irversion=640'.
      at com.endeca.infront.cartridge.NavigationCartridgeHandler.executeMdexRequest(NavigationCartridgeHandler.java:297)
      at com.endeca.infront.cartridge.BreadcrumbsHandler.process(BreadcrumbsHandler.java:87)
      at com.endeca.infront.cartridge.BreadcrumbsHandler.process(BreadcrumbsHandler.java:62)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.visit(AbstractAssembler.java:246)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:99)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseList(ContentItemVisitor.java:141)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseChildren(ContentItemVisitor.java:130)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:94)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseList(ContentItemVisitor.java:141)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseChildren(ContentItemVisitor.java:130)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:94)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverseChildren(ContentItemVisitor.java:126)
      at com.endeca.infront.assembler.support.ContentItemVisitor.traverse(ContentItemVisitor.java:94)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor$ProcessPass.traverse(AbstractAssembler.java:228)
      at com.endeca.infront.assembler.support.AbstractAssembler$Processor.process(AbstractAssembler.java:162)
      at com.endeca.infront.assembler.support.AbstractAssembler.assemble(AbstractAssembler.java:93)
      at org.apache.jsp.WEB_002dINF.services.myAssemble_jsp._jspService(myAssemble_jsp.java:171)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.endeca.infront.assembler.perf.PerfEventFilter.doFilter(PerfEventFilter.java:84)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
      at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
      at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
      at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Unknown Source)
    Caused by: com.endeca.infront.navigation.NavigationException: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://phani:15000/graph?node=0&groupby=product.code&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&irversion=640'.
      at com.endeca.infront.navigation.request.support.NavigationRequest.executeQuery(NavigationRequest.java:299)
      at com.endeca.infront.navigation.request.MdexRequest.execute(MdexRequest.java:60)
      at com.endeca.infront.cartridge.NavigationCartridgeHandler.executeMdexRequest(NavigationCartridgeHandler.java:288)
      ... 55 more
    Caused by: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://phani:15000/graph?node=0&groupby=product.code&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&irversion=640'.
      at com.endeca.navigation.OptiBackendRequest.getContent(Unknown Source)
      at com.endeca.navigation.OptiBackend.getNavigation(Unknown Source)
      at com.endeca.navigation.HttpENEConnection.query(Unknown Source)
      at com.endeca.infront.navigation.request.support.NavigationRequest.executeQuery(NavigationRequest.java:289)
      ... 57 more
    assembler.properties file has the following my mdex is running on port 15000 fro CRS app
    workbench.app.name=CRS
    workbench.host=localhost
    workbench.port=8006
    workbench.publishing.serverPort=8007
    #If client port is set to -1, system will assign an ephemeral port automatically
    workbench.publishing.clientPort=-1
    # AUTHORING MODE SETTINGS
    #   preview.enabled=true
    #   user.state.ref=previewUserState
    #   media.sources.ref=authoringMediaSources
    # LIVE MODE SETTINGS
    #   preview.enabled=false
    #   user.state.ref=liveUserState
    #   media.sources.ref=liveMediaSources
    preview.enabled=true
    user.state.ref=previewUserState
    media.sources.ref=authoringMediaSources
    mdex.host=localhost
    mdex.port=15000
    logserver.host=localhost
    logserver.port=15010
    please help me in resolving the below error

    On Step 8 I found multiple product codes for the Conferencing Add-In for Outlook.  Here's a list of the ones I found in the machines on my network:
    {987CAEDE-EB67-4D5A-B0C0-AE0640A17B5F}
    {2BB9B2F5-79E7-4220-B903-22E849100547}
    {13BEAC7C-69C1-4A9E-89A3-D5F311DE2B69}
    {C5586971-E3A9-432A-93B7-D1D0EF076764}
    I'm sure there's others one, just be mindful that this add-in will have numerous product codes.

  • Unknown deployment tag - web-app-class-loader

    I can create the ear file with jdeveloper, but when deploy in 9iAs with the ear file, the next error apaers:
    Deployment failed:
    Unknown deployment tag in
    orion-web.xml:
    <web-app-class-loader>;
    nested exception is:
    java.lang.InstantiationException:
    when deploy the system show the web module.
    I have a CMP entity bean and too show in deploy.
    I don't know wath can I do.
    Please Help Me
    Miguel Angel Caro
    [email protected]

    I manually hacked the EAR file generated by JDeveloper 10g and removed the offending tag from the orion-web.xml
    After removing the tag I was able to deploy the EAR to 9iAS (9.0.2.3) but now I am getting runtime errors...
    Anyone who has gone through this please let me know!
    Thanks!

  • Create Tag cloud for web app ?

    I am creating an web app, in that i require tag clouds or tags (Not BC tags), how can i create field for it ?

    Thank you for your replies!
    What would be the best solution to create a pdf (with clickable images etc) to be embedded into a website?
    Thanks!

  • IPhone Web App - Mail link breaks stackLayouts

    Hi,
    I'm having a problem with an iPhone Web Application that I'm building that uses stackLayouts to navigate around. On the contact page I have a mailto link that opens up the iPhone/iPod Mail.app when clicked.
    When a user clicks on this link, Mail.app pops up with the email address pre-populated, completely as expected.
    Now that Mail.app is open, I can either cancel or send a message, but when I return to the Web App, all the stackLayouts seem to be broken, the only links on that page that seem to still work are the ones that open up the Maps application. Refreshing the page doesn't work, it needs a complete reload before it will work again.
    Additionally, it seems that buttons with event handlers set through the Dashcode property inspector break completely (as in, they don't receive click events after Mail.app is closed). Buttons with a custom event handler still fire their click event.
    I'm wondering if anyone has had similar issues, and maybe found a solution for it.
    If anyone is interested to look at this, I can put a zip of the test case project online somewhere. The test project is a Dashcode project file, I can also put the exported version (including zip) online of course.
    Thanks,
    John

    OK, I've got a copy of my test case online, it's over at http://geekyjohn.com/lab/iphone/
    If you click through to the "stacklayout_issue" folder, there is a zip file containing the Dashcode project and another folder containing the exported code. If you view this on an iPhone/iPod/Simulator you will be able to run the test case. (Just head to geekyjohn.com/lab/iphone/ with MobileSafari and click through to the "stacklayout_issue" and "mailtobreaks_stacklayoutcase" folders respectively)
    KT: I've tested this in MobileSafari on iPod, iPhone and on a Simulator with iPhone OS 3, same results on all 3
    I was doing some more testing and noticed that if I went back to the Home screen and then back in to Safari the app would work correctly. This seems to support my suspicion in this being a focus bug in MobileSafari.

  • Using event booking tags in a web app

    Hi everyone,
    I can use the following event booking tags within the event bookings module:
    <div class="sec-facts">
    <span>{tag_bookingmonth} {tag_bookingday}, {tag_bookingyear} <em class="icon-calendar"></em></span><span>{tag_capacityempty}/{tag_capacity} <em class="icon-ticket"></em></span>
    </div>
    The above code works perfectly fine if using the bookings module but when I try to use the code in a web app, I'm not getting any results because, I assume, it's because the tags are specific to the bookings module. As I want to recreate this effect in a web app, does anyone know how I can get the tags to work with my web app?
    Thanks in advance

    Hello ChristoRay,
    I'm curious to know if you have got this working? I have not tested this out, but I wouldn't think that you could use JavaScript to dynamically change a module.
    I would think that you could just create a drop down for them called "Free10254 or Paid45008" with the numbers being the values they select.
    Then within the details layout you can have:
    {module_webform,{tag_free10254 or paid45008}}
    This would cut out the need for js.
    Hope this helps,
    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • With 8.0 version of Firefox, clicking links to .tif files on a java web app are being downloaded as .ppt, .part.ppt., or .ppt.part. The change of name to PPT causes them to associate with powerpoint. IE opens the files normally as .tif as expected.

    When using java based webapp to view a remote directory, clicking .tif files offers the standard "Open" dialog. If you select open, an error is produced saying file is not a valid powerpoint file. Selecting download will download the file as a .ptt, .part.ppt, or .ppt.part file in the temp directory with a seemingly random unique filename as if the system was creating a temp file. Going to the same web app under Internet Explorer works properly and will view or download the file as a .tif image file. This had been working fine previously to the 8.0 update.

    When using java based webapp to view a remote directory, clicking .tif files offers the standard "Open" dialog. If you select open, an error is produced saying file is not a valid powerpoint file. Selecting download will download the file as a .ptt, .part.ppt, or .ppt.part file in the temp directory with a seemingly random unique filename as if the system was creating a temp file. Going to the same web app under Internet Explorer works properly and will view or download the file as a .tif image file. This had been working fine previously to the 8.0 update.

  • Module web app list tags - how to start a list to not include the first one?

    Hi
    I have two panels displaying a web app list and want them to follow on from each other, so panel one displays the first one {module_webapps,24027,l,,,,false,1,false,1} and then the second panel displays the 2nd and 3rd.
    How would I go about it?
    Thanks
    J-P

    Hello
    Hope the below helps
    http://prasantabarik.wordpress.com/2013/09/26/pass-querystring-value-from-sharepoint-page-to-app-partclient-web-part/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How to enable web-app "parent-last" classloading in WLS 10.3?

    Hello,
    We are having some issues when using Groovy to execute ant tasks in a webapp. They are due to the classloading order in WLS.
    The problem is this :
    - Our webapp is using Groovy 1.5.6.
    - Groovy 1.5.6 uses ant 1.7. When groovy calls ant tasks such as <untar>, <unjar>, etc, it is passing the <mapper> element, which is supported in ant 1.7.
    - When this webapp is deployed in WLS 10.3, Groovy tries to call these ant tasks, but WLS has ant 1.6 which does not support the nested <mapper> element groovy is trying to pass.
    - The groovy script blows up with an ant error because of the unsupported element.
    - We are packaging ant 1.7 jars in the WEB-INF/lib dir of our WAR file, but WLS is loading the classes from it's own classpath first, so we do not get the 1.7 impl loaded.
    The solution is to enable "parent-last" classloading for this webapp, but I can not find any documentation on how to do this.
    In Websphere you can set a checkbox for it in the console.
    In Orion, you add to the orion-web.xml file this tag <web-app-class-loader search-local-classes-first="true"/>
    ** In WebLogic, how do you do this?
    I have been searching the documentation and asking around, and I can not find an answer yet. Thanks in advance for your help!

    Try either a filtering classloader as described here:
    http://edocs.bea.com/wls/docs103/programming/classloading.html#wp1097187
    Or prefer-web-inf-classes in weblogic.xml:
    http://edocs.bea.com/wls/docs103/programming/classloading.html#wp1082452

Maybe you are looking for