Unexpected template/styles behavior

Hello,
I have searched everywhere in the archives for my problem,
but none of the keywords I am coming up with are finding me
anything. So here it goes.
I have a user that is using Dreamweaver CS3 and is having a
strange problem with templates and style definitions.
She has a template and the first few lines look like this:
quote:
<html>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Student Investment Fund</title>
<!-- TemplateEndEditable -->
<style type="text/css">
/* Page */
html, body {margin: 0; padding: 0;}
body { margin: 0; padding: 0;}
When she creates a new page with this template, the first few
lines look like this:
quote:
<html><!-- InstanceBegin
template="/Templates/main_template.dwt"
codeOutsideHTMLIsLocked="false" -->
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Student Investment Fund</title>
When she's working on individual page content and she formats
the text that she's putting in (say she wants to change a word to
be red), Dreamweaver inserts the extra style definitions between
the <html> tag and the <!-- InstanceBegin --> line.
quote:
<html>
<style type="text/css">
<!--
.style1 {color: red;}
-->
</style>
<!-- InstanceBegin template="/Templates/main_template.dwt"
codeOutsideHTMLIsLocked="false" -->
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
THEN she decides something needs to change in the template so
she changes the template and when Dreamweaver applies the changes
to this particular file, it wipes out the extra style definitions
that were inserted (above example).
Does anyone have any insight as to what is happening here, or
how I can get around this?
We are planning to have the site completely rewritten
(because the first one wasn't written that well) but I do need a
short term solution until that happens.
P.S. Another thing that confuses me is that Dreamweaver
doesn't populate the 'Style' dropdown list in the Properties box
with styles that are defined in the non-editable template part of
the page (the global styles). In fact, it doesn't recognize them at
all. Unfortunately whoever made this template left style
definitions with their default names (style1, style2) and when new
styles are created for individual pages, it uses the same names and
she ends up with two 'style1' definitions...?

How many files do you have hanging off this template?
Clearly there is an error in the child page's HTML. The
embedded
stylesheet, being between <html> and <head> is
not only misplaced, but will
indeed be erased by DW each time you update the template.
Do these rules in that embedded stylesheet change from page
to page? Or
would they be better placed in an external stylesheet?
Anyhow, show me what happens to the head region for this page
when you apply
this template to it.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"biannucci" <[email protected]> wrote in
message
news:[email protected]...
> Here is the entire template....
>
quote:
<html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> <!-- TemplateBeginEditable name="doctitle" -->
> <title>Student Investment Fund</title>
> <!-- TemplateEndEditable -->
> <style type="text/css">
> /* Page */
> html, body {margin: 0; padding: 0;}
> body { margin: 0; padding: 0;}
> div { margin: 0; padding: 0; }
> /* Upper Area */
> div.upper { background-color: #290770; text-align:
center; }
> .upper p { margin: .5em 0 0 0; }
> .upper br { margin: 5px 0 0 0; }
> table.upperTable { border: none; width: 99%; padding:
5px 0px 0px 5px; }
> upperTable.tr, upperTable.td { margin:0; padding: 0; }
> /* Nav Area */
> div.nav { background-color: #000000; color: #FFFFFF;
vertical-align:
> middle;
> text-align: left; padding: 8px; margin-bottom: 10px;}
> .nav a, .nav a:visited, .nav a:active { color: #FFFFFF;
text-decoration:
> none; }
> .nav p { margin: 0; padding: 0; }
> .style1 {
> color: #FFFFFF;
> font-size: small;
> }
> .style1 a {
> color: #FFFFFF;
> }
> .style2 {
> color: #FFFFFF;
> font-style: italic;
> font-size: small;
> }
> .style9 {font-size: xx-large; }
> .style20 {font-family: Verdana, Arial, Helvetica,
sans-serif; font-size:
> 10px;
> }
> </style>
> <!-- TemplateBeginEditable name="head" --><!--
TemplateEndEditable -->
> </head>
> <body bgcolor="#FFFFFF">
> <!-- Upper Area (formerly upper.html) -->
> <div class="upper">
> <table width="100%" class="upperTable">
> <tr>
> <td width="50%"><img border="0"
src="../images/schoollogo.gif"
> width="275"
> height="73"></td>
> <td width="50%" align="right"><p
class="style1"><a
> href="
http://www.business.utah.edu/index.php">DAVID
ECCLES SCHOOL OF
> BUSINESS
> </a></p>
> <p class="style2">Education with Impact
</p></td>
> </tr>
> </table>
> <br />
> </div>
> <!-- End Upper Area -->
> <!-- Nav Area (formerly middle.html) -->
> <div class="nav">
> <p><font face="Arial" size="2">
| <a
> href="../index.html">Home</a> | <a
href="../about/fundhome.html">
> About
> the Fund</a> | <a
href="../current/currenthome.html"> Current
> Performance</a>
> |<a href="../historical/Year by Year
Review/historicalhome.html">
> Historical
> Performance </a>| <a href="../logon.php">
Members Only</a>
> |</font></p>
> </div>
> <!-- End Nav Area -->
> <!-- Content Area -->
> <!-- TemplateBeginEditable name="content" -->
> <p align="center"
class="style9"> </p>
> <!-- TemplateEndEditable -->
> <!-- End Content Area -->
> <!-- Footer (formerly part of lower.html) -->
> <div class="footer">
> <div align="center">
> <center>
> <table width="100%" height="141" border="0"
cellpadding="3"
> cellspacing="0">
> <tr>
> <td width="25%"><font face="Arial"
size="2"> </font></td>
> <td width="48%"> </td>
> <td width="27%"> </td>
> </tr>
> <tr>
> <td width="25%" height="109"><p
align="right"></p></td>
>
> <td width="48%">
> <p align="center" class="style20"><a
> href="
http://www.business.utah.edu"
target="_blank">Eccles
> School</a>  | <a href="
http://www.utah.edu"
> target="_blank">University
> of Utah</a></p>
> <p align="center"><span
class="style20"><a
>
href="mailto:[email protected]">[email protected]</a>
> | <a
> href="
http://www.utah.edu/disclaimer/">Disclaimer</a></span>
</p>
> <p align="center"><font face="Arial"
size="1">Last update
> <!-- #BeginDate format:Am1 -->July 17, 2007<!--
#EndDate -->
> </font> </td>
> <td width="27%">
> <p align="right"><a href="
http://www.utah.edu"
target="_blank"><img
> border="0" src="../images/blockulogo.gif" width="126"
height="90"></a>
> </td>
> </tr>
> </table>
> </center>
> </div>
> <p align="right"> </p>
> <p align="right"> </p>
> </div>
> <!-- End Footer -->
> </body>
> </html>
>
>
>
> Here is the code from <html> to </head> of
one of the files that uses the
> template:
>
quote:
<html>
> <style type="text/css">
> <!--
> .myNewStyle {color: #FF0000}
> -->
> </style>
> <!-- InstanceBegin
template="/Templates/main_template.dwt"
> codeOutsideHTMLIsLocked="false" -->
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> <!-- InstanceBeginEditable name="doctitle" -->
> <title>Student Investment Fund</title>
> <!-- InstanceEndEditable -->
> <style type="text/css">
> /* Page */
> html, body {margin: 0; padding: 0;}
> body { margin: 0; padding: 0;}
> div { margin: 0; padding: 0; }
> /* Upper Area */
> div.upper { background-color: #290770; text-align:
center; }
> .upper p { margin: .5em 0 0 0; }
> .upper br { margin: 5px 0 0 0; }
> table.upperTable { border: none; width: 99%; padding:
5px 0px 0px 5px; }
> upperTable.tr, upperTable.td { margin:0; padding: 0; }
> /* Nav Area */
> div.nav { background-color: #000000; color: #FFFFFF;
vertical-align:
> middle;
> text-align: left; padding: 8px; margin-bottom: 10px;}
> .nav a, .nav a:visited, .nav a:active { color: #FFFFFF;
text-decoration:
> none; }
> .nav p { margin: 0; padding: 0; }
> .style1 {
> color: #FFFFFF;
> font-size: small;
> }
> .style1 a {
> color: #FFFFFF;
> }
> .style2 {
> color: #FFFFFF;
> font-style: italic;
> font-size: small;
> }
> .style9 {font-size: xx-large; }
> .style20 {font-family: Verdana, Arial, Helvetica,
sans-serif; font-size:
> 10px;
> }
> </style>
> <!-- InstanceBeginEditable name="head" --><!--
InstanceEndEditable -->
> </head>
>
>
>
> Disclaimer: I am fully aware that this is really bad
html coding....its
> the
> reason I'm having the entire site rewritten....
>

Similar Messages

  • Maybe enhancement request: File Browse item with Button in template style.

    When I use a file browse item on a page it gets a standard HTML button. This looks a bit out of place among all the other template style buttons.
    Is there a way to give the file browse button a template button style?

    Hi Rene,
    there is a nice workaround available.
    You just need to create some css changes:
    /* this one hides the original button + field */
    input.file {
         position: relative;
         text-align: right;
         -moz-opacity:0 ;
         filter:alpha(opacity: 0);
         opacity: 0;
         z-index: 2;
    }Now you have to choose which solution you like most:
    http://www.quirksmode.org/dom/inputfile.html
    http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom
    Seems like a nice plug-in solution. :)

  • Re: SOAP Fault: unexpected encoding style

    Hi Oliver,
    Have you tried using the Test XML tab in the test harness to test the
    external web service. By using that, you can check the SOAP request sent to
    the service.
    Could you please send us the WSDL file and a sample SOAP request sent to the
    external web service. Will it be possible for us to connect to the service
    from here?
    I look forward to your response.
    Regards,
    Anurag
    Workshop Support
    "Oliver Strassberger" <[email protected]> wrote in
    message news:3d7e0abf$[email protected]..
    >
    Hello,
    I added a service control in my project from the wsdl file of a webservice. If
    try to invoke this external web service, I get a soap response with thefollowing
    fault message:
    Internal Server Error (unexpected encoding style:expected=http://schemas.xmlsoap.org/soap/encoding/,
    actual=)
    But the soap header of the request contains the following lines:
    <SOAP-ENV:Envelopexmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    The external service runs in Tomcat 4 Servlet Container from SunMicrosystems
    WSDP.
    What could be wrong? Is it possible to edit the request header withWorkshop?

    I'm having the same problem and was wondering if/how it was resolved. I'm using
    BEA 8.1 and Apache tomcat 4.1
    "Oliver Strassberger" <[email protected]> wrote:
    >
    >
    >
    Hello,
    the "external" Web Service also runs on my local machine, but on a apache
    tomcat
    server. It is not possible for you to connect to it.
    I have attached a .zip file, containing the SOAP request/response message
    from
    two tests and the wsdl of the externel web service.
    First, I invoked the externel service from a client running with apache
    axis -
    it works.
    Then I tried to invoke the same service from Weblogic Workshop, without
    success.
    With best regards,
    Oliver

  • Unexpected encoding style

    Hi all. I'm new to Oracle and Web Services in general, so do pardon me in advance.
    I followed the example here: http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm and deployed the web service to the external OC4J server.
    Subsequently, I tried calling the web service using the OmniPortlet in OracleAS but it gives this error:
    Call to Web Service Failed. [env:Client : caught exception while handling request: unexpected encoding style: expected=, actual=http://xml.apache.org/xml-soap/literalxml]
    Any help is appreciated.

    Jose,
    When you work with Web Services, the common development flow is as follow:
    1) develop your service endpoint. You can start from JAVA code or PL/SQL package (bottom-up) or from a WSDL (top-down). In your case, you need to start from the Store Procedures.
    2) deploy your service endpoint. As the result of the deployment step, you will have a WSDL available on your application server, that advertise the service interface.
    3) generate the static client proxy from the WSDL (service contract).
    4) invoke the service using the proxy from step 3 or use dynamic invocation APIs to make direct call, without to use a static proxy.
    Bypassing step 3) usually requires a dipper understanding of SOAP linguana, so it's not the easiest way to get started.
    Based on the statement you made, it looks like you are starting from step 3)
    From the error message, it seams that you are trying to invoke a Web service that was deployed using 'literal' encoding (either document/literal or RPC/literal) with a client generated for RPC-encoded message format. In the JDeveloper Wizard, you have an option to change the message format to RPC/Encoded.
    Hope this helps,
    eric

  • DII unexpected encoding style with SharePoint Web Service

    I am trying to call a dynamic sharepoint web service in Java using DII (Dynamic Invocation Interface)
    but I kept getting error:unexpected encoding style: after the invoke expected=http://schemas.xmlsoap.org/soap/encoding/, actual=
    I am trying to call web service - GetWebCollection()
    String endPoint="http://%SPSERVER/_vti_bin/Webs.asmx";
    String nameSpaceUri = "xmlns:xsi";
    String serviceName = "Webs";
    String porttype="WebsSoap";
    String NS_XSD = "http://www.w3.org/2001/XMLSchema";
    ServiceFactory factory =
    ServiceFactory.newInstance();
    Service service =factory.createService(new QName(serviceName));
    QName qport = new QName(porttype);
    hpsharepoint.Webs webs = new hpsharepoint.Webs_Impl();
    Call call = (Call) webs.createCall(qport);
    call.setProperty(call.USERNAME_PROPERTY,kuser);
    call.setProperty(call.PASSWORD_PROPERTY,password);
    call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "http://schemas.xmlsoap.org/soap/encoding/");
    call.setProperty(Call.SOAPACTION_USE_PROPERTY,
    new Boolean(true));
    call.setProperty(Call.SOAPACTION_URI_PROPERTY,"http://schemas.microsoft.com/sharepoint/soap/GetWebCollection");
    call.setTargetEndpointAddress(endPoint);
    call.setOperationName(
    new QName(nameSpaceUri,"GetWebCollection"));
    String[] params = {};
    NodeList list=(NodeList)call.invoke(params);
    ==========================
    This is the soap 1.1
    ==========================
    POST /_vti_bin/Webs.asmx HTTP/1.1 Host: <server> Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetWebCollection" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetWebCollection xmlns="http://schemas.microsoft.com/sharepoint/soap/" /> </soap:Body> </soap:Envelope>

    Jose,
    When you work with Web Services, the common development flow is as follow:
    1) develop your service endpoint. You can start from JAVA code or PL/SQL package (bottom-up) or from a WSDL (top-down). In your case, you need to start from the Store Procedures.
    2) deploy your service endpoint. As the result of the deployment step, you will have a WSDL available on your application server, that advertise the service interface.
    3) generate the static client proxy from the WSDL (service contract).
    4) invoke the service using the proxy from step 3 or use dynamic invocation APIs to make direct call, without to use a static proxy.
    Bypassing step 3) usually requires a dipper understanding of SOAP linguana, so it's not the easiest way to get started.
    Based on the statement you made, it looks like you are starting from step 3)
    From the error message, it seams that you are trying to invoke a Web service that was deployed using 'literal' encoding (either document/literal or RPC/literal) with a client generated for RPC-encoded message format. In the JDeveloper Wizard, you have an option to change the message format to RPC/Encoded.
    Hope this helps,
    eric

  • SOAP Fault: unexpected encoding style

    Hello,
    I added a service control in my project from the wsdl file of a web service. If
    try to invoke this external web service, I get a soap response with the following
    fault message:
    Internal Server Error (unexpected encoding style: expected=http://schemas.xmlsoap.org/soap/encoding/,
    actual=)
    But the soap header of the request contains the following lines:
    <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    The external service runs in Tomcat 4 Servlet Container from Sun Microsystems
    WSDP.
    What could be wrong? Is it possible to edit the request header with Workshop?

    I'm having the same problem and was wondering if/how it was resolved. I'm using
    BEA 8.1 and Apache tomcat 4.1
    "Oliver Strassberger" <[email protected]> wrote:
    >
    >
    >
    Hello,
    the "external" Web Service also runs on my local machine, but on a apache
    tomcat
    server. It is not possible for you to connect to it.
    I have attached a .zip file, containing the SOAP request/response message
    from
    two tests and the wsdl of the externel web service.
    First, I invoked the externel service from a client running with apache
    axis -
    it works.
    Then I tried to invoke the same service from Weblogic Workshop, without
    success.
    With best regards,
    Oliver

  • Reconnecting templates, styles, shapes, etc.

    Hi, I'm trying to figure out how to relink DVDSP templates, styles, shapes, etc. as I've moved them to a new location on an external drive. I've done this with Soundtrack Pro and Livetype with no problems, but for some reason I can't figure out DVDSP4.
    I did try clicking Import in the Shapes tab, but it moved the shapes into the custom tab area, which isn't right. And also the templates tab doesn't have an import button, so i figure that isn't the correct method.
    Can I do this? Or do I have to leave the files on the same drive as the application?

    Thank you Drew! Looking for Palette Elements under Destinations was far from intuitive and I came here (rather than open the Manual where it is all explained).
    I hope the OP is happy now.

  • Custom templates/styles/layouts

    custom templates/styles/layouts that I save - no matter which folder I save them in (and change the path accordingly in DVDSP prefs)/delete prefs/repair permissions - do not appear in DVD SP 4.0.3's palettess viewer. Any suggestions? Want to drag a track inc chapter markers to menu, to create a menu, but SP then forces me to choose a template/layout, but of course the one I have made is unavailable...

    Hi Chuck,
    It seems you are hoping to have possible multiple layouts for specific products which unfortunately is not available at this stage.  There's only 2 dedicated small product layouts and 1 large details layout. 
    If wanting to wrap the product item to a different template you could assign the product item to a specific catalog to have the unique template but the layout would remain consistent to what I've noted above.
    Kind regards,
    -Sidney

  • Why does my Pages version 5 (Mavericks) quit unexpectedly when trying to use the template styles?

    Nearly every time I try to use the template styling in the "Format" pane, the app will crash with the message saying "Pages quite unexpectedly".
    By 'Template Styling' I mean Paragraph Styling, Character Styling, Bullets & Lists etc...
    I only just bought this Mac so I have never had Pages '09 on it.
    Please advise.
    Thanks

    I'm having this exact same issue. I suspect in my case it's an issue having to do with importing a Word document. Just to be on the safe side I ran through the validation of all of my installed fonts. They all checked out ok. As with @kuroshb I'm using the latest version of Pages on a brand new Mac.
    It doesn't matter what style I select, the application quits. An example would include a body style of Arial Narrow Regular 15pt black. That's defined as a style. When I select that style the application quits.
    How do I determine if the document is using another font other than what's already in Font Book?

  • Odd template updating behavior

    hello all,
    I've got some weird behavior happening with a template i've
    created. I am using some of the basic mm_ scripts (for image
    swapping etc) which i have moved to an external .js file which is
    linked to the template i'm using. There are no scripts that exist
    in the head of the document except the linked files.
    The weird behavior happens when i make a change to the
    template and then update files site wide ("update all pages" when
    saving)....Dreamweaver inserts all the mm_ scripts that i placed in
    the external .js file into the heads of the updated files that use
    that template.
    Now to make things even more confusing, if i update
    individual pages by using modify>update current page, the page
    updates correctly.
    I also have 2 different templates that also access that
    external .js file, but neither of them have the same weird updating
    problem....
    any thoughts?
    -AK

    > any thoughts?
    It's a known behavior in earlier versions of DW. Which are
    you using?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "sparkdesigngroup" <[email protected]> wrote
    in message
    news:e6jq81$s57$[email protected]..
    > hello all,
    > I've got some weird behavior happening with a template
    i've created. I am
    > using some of the basic mm_ scripts (for image swapping
    etc) which i have
    > moved
    > to an external .js file which is linked to the template
    i'm using. There
    > are no
    > scripts that exist in the head of the document except
    the linked files.
    >
    > The weird behavior happens when i make a change to the
    template and then
    > update files site wide ("update all pages" when
    saving)....Dreamweaver
    > inserts
    > all the mm_ scripts that i placed in the external .js
    file into the heads
    > of
    > the updated files that use that template.
    >
    > Now to make things even more confusing, if i update
    individual pages by
    > using
    > modify>update current page, the page updates
    correctly.
    >
    > I also have 2 different templates that also access that
    external .js file,
    > but
    > neither of them have the same weird updating problem....
    >
    > any thoughts?
    >
    > -AK
    >

  • Adding a template style page in Pages 5

    Can anyone help me please?
    I have upgraded to Pages 5.0 and not only are there far fewer interesting templates for me to start working from (I am looking particularly in the Newsletters section) but I am also having a problem adding template styled pages to a new project.
    Previously I simply clicked on Insert > Pages in the menu and then selected the layout. I can't seem to find how to do this in 5.0 - all I can do is create a blank section.
    I'm sure I must be missing something really obvious but I can't figure out what it is!
    Regards, Peter
    PS is there any way to upgrade to Pages 5.0 but not lose the decent (interesting) templates? I'm a school teacher and the kids love having interesting templates to start with - these new ones are terrible!

    The lack of page/section styles was one of the first features I noticed missing in Pages 5.0. This is really disappointing for me as I've created a number of my own document templates and have made extensive use of page/section styles.
    On one hand I can understand why Apple may have removed this feature. It is rather an anomaly among its peers. Microsoft Word does not use page/section styles and to some users it could be a bit of a confusing  feature in Pages. I know for me it was somewhat confusing at first. I was used to the MS Word way of doing things and I was wondering how these section style templates differed from me just setting my own section style. But then I figured out that it is like a slide template in Keynote. It is simply a template and can be used as a shortcut to setup a new document section in a standard style. Since figuring out how to use the page/section styles, it has been awesome and has been one of the key reasons I like Pages better than Word and why I switched completely from Word to Pages.
    For now, I guess I will have to figure out how to work without it which will basically mean that I will have to go back to the old manual method of just copying and pasting section styles. It will take longer to add new sections with identical styles to a document and will be more buggy. It is likely that I will not always get it exactly correctly which will result in consistency issues in my documents. As well, the inability to copy and paste whole pages/sections from the page thumbnails will make this process take even longer and be even more buggy. But ultimately it is doable.
    I can only hope that the page/section templates is a feature that Apple will bring back very soon. I wish someone from Apple would at least let us know if this feature will be making its way back in or if it is gone for good. Accordingly, we could move on or plan for its return.

  • Bug with VI Template (.vit) behavior with express VI's in LV8.6.

    Hello,
    I have an application that was originally coded in LabVIEW 8.0, Windows XP.  One part of the program utilizes a VI template (.vit) to open multiple instances of a subVI for the user.  In versions prior to 8.6, when the VI was called via the VI server and then closed pragmatically, it did not spawn a "Save Changes..." dialog.  Upon upgrading the application from LabVIEW 8.5 to 8.6.1 the "Save VI..." dialog shows up when the .vit subVI's are closed.  After investigating the behavior, I have determined that inclusion of Express VI's (I haven't tested them all, but I've tested several) cause the "Save VI..." dialog to open when closing the .vit pragmatically.  What's interesting is that it exhibits this aberrant behavior even if the express VI is in the disabled pane of the diagram disable function.  (I thought that's supposed to remove the code from compilation completely?).
    I've attached an example program that illustrates the behavior.  Run "Call Template.vi". Select either the subVI with or without the express VI in the diagram disable function.  Note that when closing the VI via the "stop" button with the express function the "Save Changes..." dialog opens and it does not with the express VI absent.  I have only seen this behavior since upgrading to LabVIEW 8.6.1.
    My only current workaround is to remove all express VI's from my application.  Luckily this has been possible however I have had to use the "File Dialog" compatibility primitive (instead of the express VI file dialog) which claims not to be supported.  It took a while to find that function: I had to find an old program and copy the vi.
    Any other suggestions on fixing this issue?
    Attachments:
    VIT Bud lv8.6.zip ‏32 KB

    F. Schube,
    Excellent idea however there are a couple reasons this wouldn't work:
    1) I want the user to be able to close a sub-window without having to terminate the entire Application Instance.  There are other VI's running in the same instance that can't be closed.  So I can't really use this event.
    2)  For strictly academic reasons, I coded it up to see if it would work.  Even with Silent Shutdown wired as true, you still get the "Save Changes..." dialog when the event fires.  (It turns out the best way to get the event to fire is killing LabVIEW with the task manager.)  I've attached the modified example.
    Attachments:
    VIT Bug lv8.6.zip ‏39 KB

  • Unexpected Alpha channel behavior in Premiere

    Is there no way to interpret alphas as straight versus premultiplied in Premiere?  Why do my transparent layers and clips with alpha channels display differently with a Black Video layer below them?
    Background info:
    I'm exporting my film to files with codecs that support alpha channels, not because I want an alpha in the result but because I need full RGB / 444 color coding for digital cinema theaters. I'm using ProRes444, Targa and PNG Image sequences to preserve as much quality as possible in my master exports.
    I've discovered that there is no option to disable the alpha transparency in the Export Media step while preserving at least 10 bits per color channel (Trillions of colors in AE).
    To solve this problem, I've had to add a "Black Video" clip to the first video track, underneath the film's content. When this is done, the pre-rendered text elements with alphas look different. They are movie trailer style text treatments that are light text over pure black. (I'm on my ipad right now and don't see a way to upload screen shots to show examples)
    The result with the black video layer applied at the bottom is similar to the way QuickTime 7 displays straight alphas incorrectly. This problem occurs with both straight and premultiplied renders. The rendered text is from after effects and is stored using the animation codec.
    I'm aware of how to work around this, by maintaining the alpha transparency in Premiere and then removing the alpha channel of my export by running it through After Effects, but that is a ridiculous, time consuming step.
    I'm working with the GPU Mercury Engine on with a K5000 from NVIDIA.  Can anyone explain this behavior? Is there no way to interpret alphas as straight versus premultiplied in Premiere?  Why do my transparent layers display differently with a Black Video layer below them?
    Here are the screen shots
    UNDESIRED EFFECT using Black Video layer at bottom: Notice the fuzzy glow surrounding the text. This is happening with both straight and premultiplied renders.
    INTENDED LOOK when composited over nothing: The glowing edges are displayed the same way in Premiere as in After Effects.

    In my understanding, the reason 444 is indicated is because they are not RGB codecs. They simply sample the same amount of color as is possible in true RGB codecs. They still require a conversion from RGB to YUV for coding to a file, which almost always introduces a very slight shift in values, though usually imperceptible or acceptable. If the codec is truly RGB there is no need to indicate luminance vs color sampling.
    ...I think.
    Again thank you for your awesome input! You've been a huge help here on my day off. :)

  • Spaces site template strange behavior

    dear all
    i have a strange site template behavior
    i have webcenter spaces application and i develop a custom site template for it and make it default
    every thing goes fine but suddenly the portal change its template to the default spaces template not my custom template
    when i check the spaces configuration i found my custom template as default template
    when i check the pages i found the order of the pages changed and the home page go down in the order and once i reorder the home page to the top things get normal and it works as expected.
    any suggestions
    regards

    I have seen this happen before and found exceptions in the logs . I can't remember the exact exceptions now but possibly related to database connections, etc.
    So, check the webcenter logs to see if there are any issues.

  • Inconsistent font style behavior on Edge Reflow CC (Preview) for Windows

    Adobe Edge Reflow CC Preview for Windows has wildly inconsistent behavior regarding font styles. Why is there no button for bold in the UI? Why do I have to type "bold" into the Weighting dialog text box to have my styled text render as such in Chrome? Why does text inside a box/div styled with the italics button render in Reflow but not in Chrome?

    Hey there,
    The font weight can be changed here:
    With CSS there are both text values such as "bold" and numerical values from 100-900 usually. We gave you the ability to use either.
    If you are seeing issues with a font rendering set to italic in Reflow and not in previewing properly in Chrome, can you let me know the typeface you are using? I'd like to check it out as well.

Maybe you are looking for