Handling conditional statements in design view

I have to use conditional statements for proper cross browser
compatability but the design view of Dreamweaver isn't showing
anything. Here is the code:
quote:
<!--[if !IE]>--><!--#include file="header.html"
--><!--<![endif]-->
<!--[if gt IE 6]><!--#include file="header.html"
--><![endif]-->
<!--[if lte IE 6]><!--#include file="headerie.html"
--><![endif]-->
I would think that Dreamweaver would load the first one, or
perhaps there is a setting to tell design view to function as a
particular browser.
Does this exist?

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1564018#
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Adobe Certified Expert - Dreamweaver CS3
Adobe Certified Expert - ColdFusion 8
Fordwebs, LLC
http://www.fordwebs.com
"justin_pdx" <[email protected]> wrote in
message
news:gdtdqe$pi2$[email protected]..
>I have to use conditional statements for proper cross
browser compatability
>but
> the design view of Dreamweaver isn't showing anything.
Here is the code:
>
>
quote:
> <!--[if !IE]>--><!--#include
file="header.html" --><!--<![endif]-->
> <!--[if gt IE 6]><!--#include
file="header.html" --><![endif]-->
> <!--[if lte IE 6]><!--#include
file="headerie.html" --><![endif]-->
>
>
> I would think that Dreamweaver would load the first one,
or perhaps there
> is a
> setting to tell design view to function as a particular
browser.
>
> Does this exist?
>

Similar Messages

  • IF and ABS condition statement in BEX query designer

    Hi,
    I would like to ask the best way for me to produce an acceptable result from Excel IF and ABS Condition statement.
    The condition statement that I have on my Excel file is
    =IF((A2-B2)>0,ABS(A2-B2),0)
    I'm trying multiple times to reproduce this in BEX Query designer, unfortunately I'm getting a bad result or unacceptable formula.
    Anyone who could help me with my issue?
    Thanks,
    Arnold

    Hi Arnold,
    Thank you,
    Nanda

  • Flash Builder 4 - design view - states basedOn + design area widget

    Hello,
    Since i updated my project from Flex 3 to Flash Builder (4), i have very annoying issues in the design area.
    The one in Flex 3 was quite usefull, but the new version is not easy, and straight forward usable.
    Here are the 3 issues:
    - when i have states designed from another one, i use the basedOn mxml attribute, which was used in Flex 3  and still exist in SDK 4 states system.
    But the designer view in Flash Builder don't take those basedOn properties in account!
    What can i do? and is it a known bug?
    -  When i have at least one precific state, i must define a defautl state, in the new SDK. Ok, but in design view, i cant add a new component without making the change only for one state. I can only make the change for the default state, but it will not be taken in account for all the other states, like i can do in Flex 3.
    What i want to be able to do this: making changes in design view without selecting ANY state.
    Is it possible? How can i do?
    - In flex 3, there were a design area widget to select the resolution used for the preview design.
    It was very usefull when the application has very dynamic width and height.
    In Flash Builder, this widget has been removed.
    Why has it been removed? and how can i preview my mxml views wihtout changing width and height values?
    Thanks.
    Seb

    The update has been improved in every other areas, so it is not that much important.
    I just hope that the new release will fix that (as it has been answered to my post).
    The only thing i don't like in new releases of FB is that when the architecture of SDK is aimed to seperate the work between design and code, they focused only on catalyst to create the tools to manipulate design, and they forgot to keep an easy way to do design app directly in FB (with the design view and the style properties of MXML in FB3). But i'm confident that they will give such a tool soon.
    But for now, if you don't like the restriction of the new release, you can continue to work with Flex 3 for 0$! And even in Flex 4, you can create MX components for which the design view will work as before. The fact that tools can manage a mix between MX and Spark components is a great thing. It is up to you to choose which you need which its own advantages and drawbacks.
    Xcode is real pain to use with outdated ergonomy. It is only usefull to code in Objective C which is another real pain to do.
    XCode can be cheapper because all Apple products are quite expansive, so the software to create softwares for them can be much more cheapper.
    And Apple get a good revenue share from AppStore, so again they can give a cheap soft to create apps. You also have to pay 100$ to be able to send app to appstore, in ly opinion the good price for XCode should be 0$, not even 80$!
    Flash builder 4 is very stable, but if you don't like it, you can choose another tool. Main competitor has no designer at all!

  • DDL Statement (design view) of Tables used in SAP

    Hi,
    I am installing SAP 4.7 on oracle. unfortunately the some media is corrupt and as a result there are some missing tables and views. one of the missing table is DD02T.
    Can any one tell me from where i can get the DDL Statement (Table design) for Tables used in SAP as for my example i am missing Table DD02T.
    If i get this information, I can create those missing tables and this way will complete my installation.
    Regards,
    Abhishek

    You are pretty correct. command for creating table and views are prresent in SAPVIEW.STR.  I am getting problems in the installation of mainlny Data Dictionary tables like DD02T and DD02L etc.
    I tried to solve the problem by converting err to ok in one of the tsk file. it made the installationm process up but again it gives me the error during the SAP License Post Processing Step. as i think it needs some table or view which are not present. so how to get rid of??? do you know those table which are affected by the sap license step, so that i can create manualy.
    I am new to SAP and installing it for learing purpose.
    Regards,
    Abhsihek

  • PHP Include not showing in design view

    One of the advantages of Dreamweaver is the ability to see
    the result of your code in the Design view. I am building a
    template set for a web site I'm starting, and will be using the
    template files in various paths and path depths. As a result, I am
    not interested in using relative paths for things like PHP
    includes.
    If I use the following code for an include, the 'main.php'
    file is included in the design view:
    <?php include('/includes/templates/main.php'); ?>
    When uploaded to the Apache server, this does not display
    properly, because it is looking for the file in the user root, not
    the Apache document root.
    The portable code solutions to this would be to use the
    following code:
    <?php
    include($_SERVER['DOCUMENT_ROOT'].'/includes/templates/main.php');
    ?>
    This shows perfectly when uploaded to the Apache server, but
    of course does not show in the Design view of Dreamweaver.
    It is ridiculous to think that someone would want code one
    way to see in the design view, and another for the web server, so I
    am assuming that there is a way to do this so that it works both in
    the desing view and on the web server.
    I have had limited success using:
    <?php virtual('/includes/templates/main.php'); ?>
    which shows up in both the design view and on the web server.
    However, I've experienced problems using virtual calls in scripts
    called by the virtual command. I.e. nested inclusions. It would be
    important to note that PHP's own documentation states "This
    function may be used on PHP files. However, it is typically better
    to use include() or require() for PHP files.", along with other
    warnings.
    So, basically, what I am asking for is a solution to allow
    the following code to work and show the included file in the design
    view:
    <?php
    include($_SERVER['DOCUMENT_ROOT'].'/includes/templates/main.php');
    ?>
    Any suggestions?
    BTW, I have tried setting the PHP include_path to the web
    root so that the first example above would work. Doesn't work. I
    have full, unrestricted access to the server, so if there is
    another setting or configuration change I can make to have the
    include function default to the web root, I'd love to know what it
    is.

    quote:
    Originally posted by:
    Newsgroup User
    It does that with all server-side includes, not just PHP. It
    only shows
    the HTML content of includes. To see dynamic output from a
    server-side
    language, you need to use Live Data view.
    I'm not referencing dynamic output from PHP processing. I am
    referencing includes. When using an include, Dreamweaver shows you
    exactly what it would show you if you were looking at the included
    file itself.
    However, Dreamweaver makes the assumption that <?php
    include('/inc/test.php'); ?> is a path located in the web server
    document root. This is not the same assumption that web servers
    make.
    The Apache web server (at least the several that I use),
    treat this same include as a request for /inc/test.php off of the
    root of the server. To achieve the same include, relative to the
    web document root, the include must be <?php
    include($_SERVER['DOCUMENT_ROOT'].'/inc/test.php'); ?>.
    Unfortunately, Dreamweaver does not understand this basic syntax
    and will not show the included file in the design view.
    The bottom line is that Dreamweaver could make it much
    simpler to build portable code if it understood this syntax on the
    include. You could take place that include in any location on your
    site and it would pull the include from the proper location in both
    your design view and on the web server.
    Keep in mind that we establish a "document_root" when we set
    up a site in Dreamweaver. The information is already there. The
    handling of it just needs to be added to the include parser.

  • Design View not rendering content of pages

    I am the webmaster and lead developer for a state university. We have developed a responsive Dreamweaver template for our mostly non-coding users (admin assistants usually are assigned web tasks for some reason). You can see our site here http://www.wwu.edu/webtech . When we bring up pages in Design View, they cannot be edited; none of the content is visible. Live view is pretty good, but it's difficult for non-coders to edit in this window. For instance, in Design view they can just select Enter after a block of text to start a new <p>; In Live View you can modify an existing paragraph as if you were in Design View, but you cannot add elements without using the Insert tool. My non code users have no idea what the Insert menu is talking about. So my questions are:
    1. First - has anyone else hit situations where Design View did not work? Here is what it looks like for the site mentioned above:
    2. Any idea why design view cannot handle this page? It's a standard responsive site with media queries... I've tried stripping out complexity but cannot get it to work. It is valid HTML and passes tests.
    3. Am I using the wrong product? Can Muse handle Dreamweaver templates?

    Nancy O, osgood_, Fritz, thank you for your thoughts.
    Dreamweaver has been a wonderful tool for non-coders for many years. We developed templates for the groups, then all they had to do was put the content into the correct areas through the power of the Dreamweaver template. That is no longer possible it seems with the more complex, responsive templates. And yes, Osgood_ , it does appear that some pages will be rendered fine in Dreamweaver. Our older templates such as represented by this site: http://www.wwu.edu/bservices IS viewable and editable in Dreamweaver Design view. Those users are quite happy. However our newest responsive Dreamweaver templated sites such as http://www.wwu.edu/webtech and http://www.wuw.edu/registrar2 are not.
    What I'd really love is for an adobe engineer to sit down and look at our templates and let me know if there is anything I could do to make these templates usable in Design View.
    Our other alternative is to move away from static HTML and Dreamweaver and go entirely to WordPress and Drupal. I will miss Dreamweaver when this happens! I had hoped there was a place for those who did not want the complication of a Wordpress site...

  • In Design View, not seeing PHP includes

    I'm on a new Vista laptop using DW CS3, and pages whose
    contents displayed
    in Design View before aren't displaying in Design View.
    They're PHP pages
    with some includes, such as this one:
    http://www.miraverse.com/manifold20/studio/music-room.php
    In Design View, I only see the non-include parts of the page.
    That preference under Invisible Elements, to view SSIs in
    Design View, IS
    checked.
    Any help will be MUCH appreciated!
    Patty Ayers | Adobe Community Expert
    www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet

    >I see that you wrote, "But if you want to work with DW,
    you must not have
    > <html>, <head>, or <body>
    > tags in your includes."
    I conditionally retract that statement, since CS4 seems to
    tolerate this
    pretty well.
    Let's restate it this way -
    If you have such tags in your include files, then you MUST
    NOT HAVE THEM IN
    THE PARENT PAGE. In other words, the final assembled page
    must have only a
    single set of <html>, <head>, or <body>
    tags.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "hbograd" <[email protected]> wrote in
    message
    news:[email protected]...
    >I see that you wrote, "But if you want to work with DW,
    you must not have
    > <html>, <head>, or <body>
    > tags in your includes."
    >
    > I'm a generally experienced computer user (but not a
    programmer), but new
    > to
    > web design and dreamweaver. I just had a volunteer web
    designer go through
    > our
    > nonprofit group's big website and create a test site
    converting all .html
    > files
    > to .php, and using server side includes. The test site
    seems to work now
    > in
    > Firefox and Internet Explorer, but I can't view the
    stuff from the
    > includes in
    > Dreamweaver. Our volunteer has no experience with
    Dreamweaver.
    >
    > It sounds like the key to the problem might be that he's
    used <html>,
    > <head>,
    > or <body>
    > tags in our includes. Here, as an example, is the text
    of footer.php:
    >
    > </div></body></html>
    >
    > Is the solution to re-enter the <html>,
    <head>, and <body> tags in each
    > individual file? I'd love to see an example of where
    they go in relation
    > to the
    > includes.
    >
    > A more basic question: When people talk about "SSI's" in
    this forum, do
    > they
    > mean server side includes?
    >
    > Can you point me to any kind of tutorial or other
    resources that deal with
    > using server side includes with Dreamweaver?
    >
    > Thanks.
    >
    > Harriet
    >
    >
    >
    >
    >
    > "</div></body></html>
    >

  • Design view disappears when I uncheck Restrict Page Occurrence

    Dear Adobe Forms Experts,
    I have an Adobe print form with two master pages: one mailing address page that should only occur once, as the first page, and then the main page, which can occur many times. I have been asked to make the mailing page conditional, based on the company code of the invoice. I followed a very useful discussion on SCN explaining how to do this with a HIDEPAGE global variable, wrapping all the fields on the page in a subform, and doing some FormCalc scripting for the subform.
    I was able to get the page to print as blank when the HIDEPAGE flag was set, but so far I have been unable to get the mailing page to go away altogether.
    I noticed that on the mailing page the "Restrict Page Occurrence" checkbox was checked, and the Min count was set to 1. Well, I thought, that could explain it; I'll just uncheck the "Restrict page Occurrence" checkbox, and all will be right with the world!
    Wrong! When I uncheck that checkbox, the Design View for my mailing master page disappears, and the mailing page never prints, regardless of the state of my HIDEPAGE global variable! When I recheck the checkbox, the design view reappears, and the mailing page goes back to printing a blank page when my HIDEPAGE flag is set.
    What in the world is going on here?! What am I doing wrong?
    Cheers,
    TerryB
    P.S. I am using Adobe LiveCycle Designer 9.0, and I believe the form was originally created using 9.0

    First off, in case anybody reading this in the future has any doubt, I will confirm that this discussion has morphed into the well-worn discussion on how to conditionally hide a page.
    Pavan,
        I am now working on a copy of the original form, so I have the freedom to do whatever I want. First off, thank you for the suggestion of right-clicking on the "data" very-top-level node in the hierarchy view, and selecting "Insert subform". That did the trick for adding the missing design view for my mailing page.
        I am now trying to reduce things to their simplest form, to reduce the number of places I could be going wrong. The mailing master page now contains nothing but a content area (which appears to be required). The design view for my mailing page now contains only two objects: the "D_HIDE_PAGE" flag, (bound to the global field in the interface, where I have put the code to conditionally set the flag), and a subform called "Show_Hide", which is set to "flowed". The flag field is wrapped in the Show_Hide subform. I added the following FormCalc code to the Initialize, form:ready, and layout:ready events of the Show_Hide subform:
    if ($.D_HIDE_PAGE == "X")
    then
    $.presence = "hidden" 
    endif
        When I do a print preview on the form for an invoice that does not set the flag, I see the label for my flag field on the mailing page. When I do a print preview for an invoice that DOES set the flag, I get a completely blank mailing page--but the blank page is NOT being suppressed!
        Just for grins I also tried adding the same FormCalc code to the same 3 events of the top-level subform of the design view (the one I added by right-clicking on the "data" node in the hierarchy view; I called this subform "MAIL_DESIGN"). Same results as before.
        I believe I've followed all the steps laid out in the many SCN discussions on this topic--but obviously I am still missing something. Any clues where I may have gone wrong?
    Cheers,
    TerryB

  • JDev 10.0.3.2 - JSF Design View

    in jdeveloper 10.0.3.2 the jsp design view does not work anymore for myfaces and trinidad JSF components.
    it works in jdeveloper 10.0.3.1 with the exception of tomahawk components that rely on the myfaces extension filter.
    after some investigation it turned out that the design time container seems to be tied with ADF faces, event if they are not used in the project (see jdeveloper stacktrace below).
    so i tried the J2EE edition 10.0.3.2 with does not contain ADF at all and the design view works fine with this edtion.
    has anyone similar experiences?- maybe someone from jdeveloper dev team can take a look at this.
    thanks
    robert
    02.02.2007 12:13:46 org.apache.myfaces.trinidad.component.UIXComponentBase _createType
    SCHWERWIEGEND: Could not load type properties
    java.lang.NullPointerException
         at oracle.jdevimpl.webapp.design.DesignTimeClassLoader.loadClass(DesignTimeClassLoader.java:206)
         at org.apache.myfaces.trinidad.component.UIXComponentBase._createType(UIXComponentBase.java:1343)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.<clinit>(UIXComponentBase.java:92)
         at org.apache.myfaces.trinidadinternal.renderkit.core.desktop.DesktopTableRenderer.<init>(DesktopTableRenderer.java:86)
         at org.apache.myfaces.trinidadinternal.renderkit.core.desktop.DesktopRenderKit.<init>(DesktopRenderKit.java:28)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:935)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:426)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.contextInitialized(DesignTimeServletContainerContext.java:1048)
         at oracle.jdevimpl.webapp.design.DesignTimeThread.invokeContextInitialized(DesignTimeThread.java:682)
         at oracle.jdevimpl.webapp.design.DesignTimeThread.synchronousUpdate(DesignTimeThread.java:137)
         at oracle.jdevimpl.webapp.design.DesignTimeDocumentContext._init(DesignTimeDocumentContext.java:1498)
         at oracle.jdevimpl.webapp.design.DesignTimeDocumentContext.<init>(DesignTimeDocumentContext.java:249)
         at oracle.jdevimpl.webapp.design.DesignTimeEngine.start(DesignTimeEngine.java:243)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.startupDesignTime(JspEditor.java:307)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.rebuildViewDocument(JspEditor.java:208)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1206)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
         at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
         at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    02.02.2007 12:13:48 org.apache.myfaces.trinidadinternal.webapp.ConfigParser parseConfigFile
    INFO: Trinidad is running in debug mode. Do not use in a production environment. See:/WEB-INF/trinidad-config.xml
    02.02.2007 12:13:48 oracle.adf.view.faces.webapp.AdfFacesFilterHelper verifyFilterIsInstalled
    WARNUNG: The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    02.02.2007 12:13:48 org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl _checkTimestamp
    INFO: Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    02.02.2007 12:13:48 org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder$Handler _logError
    SCHWERWIEGEND: jar:file:/C:/devtools/jdev10132/jlib/adf-faces-impl.jar!/META-INF/agent/capabilities.xml: Parsing error, line 2, column 89:
    org.xml.sax.SAXParseException: Invalid Namespace: http://xmlns.oracle.com/adf/view/faces/agent/capabilities
         at org.apache.myfaces.trinidadinternal.agent.parse.CapabilitiesDocumentParser.startElement(CapabilitiesDocumentParser.java:114)
         at org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder$Handler.startElement(TreeBuilder.java:333)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
         at org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder.parse(TreeBuilder.java:169)
         at org.apache.myfaces.trinidadinternal.agent.parse.CapabilitiesDocumentParser.createInstance(CapabilitiesDocumentParser.java:74)
         at org.apache.myfaces.trinidadinternal.agent.CapabilitiesProvider._getCapabilityDocument(CapabilitiesProvider.java:131)
         at org.apache.myfaces.trinidadinternal.agent.CapabilitiesProvider._getCapabilities(CapabilitiesProvider.java:113)
         at org.apache.myfaces.trinidadinternal.agent.CapabilitiesProvider.getCapabilities(CapabilitiesProvider.java:94)
         at org.apache.myfaces.trinidadinternal.agent.TrinidadAgentImpl._getCapabilityMap(TrinidadAgentImpl.java:268)
         at org.apache.myfaces.trinidadinternal.agent.TrinidadAgentImpl._initialize(TrinidadAgentImpl.java:238)
         at org.apache.myfaces.trinidadinternal.agent.TrinidadAgentImpl.<init>(TrinidadAgentImpl.java:43)
         at org.apache.myfaces.trinidadinternal.context.RequestContextImpl.getAgent(RequestContextImpl.java:595)
         at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.chooseRenderKit(CoreRenderKit.java:148)
         at org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.getRenderKit(CoreRenderKitFactory.java:53)
         at com.sun.faces.context.FacesContextImpl.getRenderKit(FacesContextImpl.java:252)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.getRenderKit(FacesContextFactoryImpl.java:120)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl._getExtendedRenderKitService(ViewHandlerImpl.java:296)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:137)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:274)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:380)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:329)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:216)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:93)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:357)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:232)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext._service(DesignTimeServletContainerContext.java:681)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:626)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderThread.service(DesignTimeRenderThread.java:74)
         at oracle.jdevimpl.webapp.design.DesignTimeEngine.service(DesignTimeEngine.java:348)
         at oracle.jdevimpl.webapp.design.view.DesignTimeViewDocument._serviceJsp(DesignTimeViewDocument.java:851)
         at oracle.jdevimpl.webapp.design.view.DesignTimeViewDocument.rebuildTree(DesignTimeViewDocument.java:137)
         at oracle.jdevimpl.webapp.design.view.DesignTimeFixedViewDocument.rebuildTree(DesignTimeFixedViewDocument.java:154)
         at oracle.jdevimpl.webapp.model.content.dom.view.proxy.ProxyViewDocument.initialize(ProxyViewDocument.java:80)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.rebuildViewDocument(AbstractWebAppEditor.java:686)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.rebuildViewDocument(HtmlEditor.java:621)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.rebuildViewDocument(JspEditor.java:209)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1206)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
         at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
         at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    02.02.2007 12:13:51 org.apache.myfaces.trinidad.webapp.ResourceServlet _initDebug                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

    Hi Timo, thanks for the quick reply!
    I'm trying to do this for a few EO/VO pairs so I'll give a generic example.
    I have an EO made up of the following fields (id, accessstring) and a corresponding VO with (id, accessstring, descr) fields. The descr field is the transient attribute. I'd like to set the accessstring value to the descr value.
    What I tried, and forgive the simplicity of my first shot, was the following override in the VOImpl class:
    public void postChanges(TransactionEvent transactionEvent) {
    Row currentRow = getCurrentRow();
    if( currentRow != null ){
    currentRow.setAttribute("accessstring",currentRow.getAttribute("descr"));
    super.postChanges(transactionEvent);
    This works, but executes far too often and I get the JBO error from the original post. I'm not aware of anything at the VOImpl level to test state like I could if I were at the EOImpl level (e.g. the prepareforDML method). So either I'm going about this completely the wrong way or there's something I'm missing in the postChanges to have this code execute less often.

  • I only see "PHP" icons in Design View, not the executed code

    I have setup a new database installation and tested it - no problem.  I can open my webpage in Firefox, and the php code executes properly.  When I imported this site into Dreamweaver, I am unable to see the results of any executed PHP code, just "PHP" icons.
    Is it possible to view the results of the executed PHP code in Dreamweaver.   I'm not talking about complicated PHP code, just a bunch of 'echo' statements really.
    Thanks from a DreamWeaver newbie.

    I have moved your thread to the appropriate forum, Dreamweaver Application Development, which is where PHP-related issues should be discussed.
    In answer to your question, PHP is a server-side language that needs to be parsed (executed) through a web server capable of handling PHP code. In order to see the output of the PHP code, you need to set up a testing server. Instructions on how to do so can be found in this article in the Dreamweaver Developer Centre. Once you have set up a testing server, you can see the output of the PHP code in Design view by activating Live View (in Dreamweaver CS4) or Live Data view in earlier versions of Dreamweaver.

  • Flash Builder 4.7 and design view question

    I have programmed a large, commercial level mobile application using Flash Builder 4.6. It is working GREAT when ran on both iOS and Android devices. 
    I was using the trial version of Flash Builder 4.6 to develop this application. I used the states feature that FB has built in to handle Portrait, Landscape, and Phone / Tablet configs. This means that I built 4 different layouts for all 8 of my views in my mobile application. Using the design view in FB 4.6 was what allowed me to do this.
    I have to say that I LOVE Flash Builder so far. GREAT tool. 
    My trial ended just last week. I had to purchase version 4.7 of the software, only to find out that they REMOVED the design view from the software.
    All complaining aside, what have other programmers who are in the same boat as me done as a solution? I would like to continue to program in AS and Flash Builder as I have taken the time to write the application and learn the whole platform. 
    As it stands now, I am in the process of downgrading my liscence keys from 4.7 to 4.6, but in order to do this I had to RETURN my retail version of FB 4.7 premium (bought online) and buy a volume liscening version (NOT through adobe, only allowed to do this through a reseller such as CDW). then once I have a key for 4.7 through volume liscencing, it can be downgraded to 4.6.
    I'm hoping to get input from others in the same boat. Did you change Programming languages? if so, to what? Did you change IDE's? If so, to what?

    Joe -
         I actually never completed the downgrade to 4.6 so I've been using 4.7 without the design view.    In 4.6, I would put a control on the view within design view.  Then I would change each state, move it around, and it would be placed that way.  In my case, each view has 4 states - portraitPhone, landscapePhone, portraitTablet, and landscapeTablet.   I had to do this 4 times for each control under 4.6
         So I went back and looked at my code in 4.7 and all the resulting code was these explicit x, y, height, and width values.  See the code below:
    <s:states> <s:State name="portraitPhone" stateGroups="phone,portrait"
    />
     <s:State name="landscapePhone" stateGroups="phone,landscape"/>
     <s:State name="portraitTablet" stateGroups="tablet,portrait"/>
     <s:State name="landscapeTablet" stateGroups="tablet,landscape"/>
     </s:states>
     <s:List id="lstMake" x="10" y="19" height="25%" allowMultipleSelection="false"borderVisible="
    true" click="changeMake(event)" labelField="label"width.landscapePhone="
    295" height.landscapePhone="105"x.landscapeTablet="
    25" y.landscapeTablet="54" width.landscapeTablet="461"height.landscapeTablet="
    292" fontSize.landscapeTablet="24"width.portraitPhone="
    182" height.portraitPhone="175"x.portraitTablet="
    16" y.portraitTablet="35" width.portraitTablet="399"height.portraitTablet="
    360" fontSize.portraitTablet="24">
     <s:dataProvider>
     <s:ArrayList id="makeCollection">
     <fx:Object label="Cadillac" data="18"/>
     <fx:Object label="Chevrolet" data="1"/>
     <fx:Object label="Dodge" data="2"/>
     <fx:Object label="Ford" data="3"/>
     <fx:Object label="GMC" data="4"/>
     <fx:Object label="Isuzu" data="6"/>
     <fx:Object label="Jeep" data="7"/>
     <fx:Object label="Licoln" data="8"/>
     <fx:Object label="Mazda" data="9"/>
     <fx:Object label="Mercury" data="10"/>
     <fx:Object label="Nissan" data="11"/>  
    <fx:Object label="Oldsmobile" data="12"/>
     <fx:Object label="Sterling" data="20"/>
     <fx:Object label="Suzuki" data="13"/>
     <fx:Object label="Toyota" data="14"/>
     </s:ArrayList>
     </s:dataProvider>
     </s:List>
     <s:Label x="10" y="8" fontSize="11" text="Vehicle Make"x.landscapeTablet="
    10" y.landscapeTablet="23" fontSize.landscapeTablet="24"fontSize.portraitTablet="
    24"/>
     <s:Label x="143" y="11" fontSize="11" text="Vehicle Year"x.landscapePhone="
    354" y.landscapePhone="10"x.landscapeTablet="
    517" y.landscapeTablet="23" width.landscapeTablet="143"height.landscapeTablet="
    26" fontSize.landscapeTablet="24"x.portraitPhone="
    204" y.portraitPhone="8"x.portraitTablet="
    446" y.portraitTablet="11" fontSize.portraitTablet="24"/>
     <s:List id="lstYear" x="145" y="20" height="25%" allowMultipleSelection="false"borderVisible="
    true" click="doYearChange(event)" dataProvider="{yearCollection}"labelField="
    value"x.landscapePhone="
    313" y.landscapePhone="19" width.landscapePhone="157"height.landscapePhone="
    105"x.landscapeTablet="
    524" y.landscapeTablet="54" width.landscapeTablet="343"height.landscapeTablet="
    292" fontSize.landscapeTablet="24"x.portraitPhone="
    200" y.portraitPhone="19" height.portraitPhone="194"x.portraitTablet="
    453" y.portraitTablet="37" width.portraitTablet="276"height.portraitTablet="
    358" fontSize.portraitTablet="24">
     </s:List>
     <s:List id="lstModel" x="10" y="147" height="30%" borderVisible="true"dataProvider="
    {modelCollection}" labelFunction="lblFunct"width.landscapePhone="
    460" height.landscapePhone="99"x.landscapeTablet="
    13" y.landscapeTablet="384" width.landscapeTablet="992"height.landscapeTablet="
    309" fontSize.landscapeTablet="24"x.portraitPhone="
    10" y.portraitPhone="221" width.portraitPhone="301"height.portraitPhone="
    184" allowMultipleSelection="false"click="doModelSelected(event)" fontSize.portraitPhone="
    12"x.portraitTablet="
    16" y.portraitTablet="428" width.portraitTablet="742"height.portraitTablet="
    521" fontSize.portraitTablet="24"></s:List>
     <s:Label x="12" y="132" fontSize="11" text="Vehicle Model"x.landscapeTablet="
    10" y.landscapeTablet="354" fontSize.landscapeTablet="24"x.portraitPhone="
    10" y.portraitPhone="207"x.portraitTablet="
    10" y.portraitTablet="401" width.portraitTablet="154"height.portraitTablet="
    21" fontSize.portraitTablet="24"/>
      So instead of continuing to try and modify these values by hand, then run the program, using trial and error, I took a different tact.   I removed ALL x y height and width values.  Then, I wrapped all the mxml code in either <s:HGroup or <s:Vghroup tags depending on what I wanted.  Then I would just set the vertical and horizontal align on these groups.  This allows everything to scale correctly based on the size of the view (each device really is a little different).   Finally,  I hand entered things like font sizes by using State Groups like this:   fontSize.phone="12"  fontSize.tablet="22".    It still took testing on the screen to see how my layouts worked but it just makes the UI so much easier to change around and works so much better with out all the static stuff in it.
    If you have some time , I would suggest taking one of your 4.6 views that has all these static variables and trying to modify it to work like I said above.    My modified code (to do the same thing as above) is below:
    <s:states> <s:State name="portraitPhone" stateGroups="phone,portrait"
    />
     <s:State name="landscapePhone" stateGroups="phone,landscape"/>
     <s:State name="portraitTablet" stateGroups="tablet,portrait"/>
     <s:State name="landscapeTablet" stateGroups="tablet,landscape"/>
     </s:states>
     <s:VGroup height="100%" width="100%" verticalAlign="top">
     <s:HGroup paddingTop="10" width="100%" height="50%">
     <s:VGroup width="60%" paddingLeft="5">
     <s:Label fontSize="11" text="Vehicle Make"fontSize.tablet="
    24"/>
     <s:List id="lstMake" width="100%" allowMultipleSelection="false"borderVisible="
    true" click="changeMake(event)" labelField="label"fontSize.tablet="
    24" fontSize.phone="12">
     <s:layout>
     <s:VerticalLayout horizontalAlign="contentJustify" requestedMaxRowCount.portraitTablet="8" requestedMaxRowCount.phone="6" requestedMaxRowCount.landscapeTablet="4"gap="
    0" rowHeight.phone="28" variableRowHeight="false" rowHeight="55"verticalAlign="
    middle"/>
     </s:layout>
     <s:dataProvider>
     <s:ArrayList id="makeCollection">
     <fx:Object label="Cadillac" data="18"/>
     <fx:Object label="Chevrolet" data="1"/>
     <fx:Object label="Dodge" data="2"/>
     <fx:Object label="Ford" data="3"/>
     <fx:Object label="GMC" data="4"/>
     <fx:Object label="Isuzu" data="6"/>
     <fx:Object label="Jeep" data="7"/>
     <fx:Object label="Lincoln" data="8"/>
     <fx:Object label="Mazda" data="9"/>
     <fx:Object label="Mercury" data="10"/>
     <fx:Object label="Nissan" data="11"/>  
    <fx:Object label="Oldsmobile" data="12"/>
     <fx:Object label="Sterling" data="20"/>
     <fx:Object label="Suzuki" data="13"/>
     <fx:Object label="Toyota" data="14"/>
     </s:ArrayList>
     </s:dataProvider>
     </s:List>
     </s:VGroup>
     <s:VGroup width="30%">
     <s:Label fontSize="11" text="Vehicle Year"fontSize.tablet="
    24"/>
     <s:List id="lstYear" width="100%" allowMultipleSelection="false" borderVisible="
    true" click="doYearChange(event)" dataProvider="{yearCollection}"labelField="
    value" fontSize.phone="12" fontSize.tablet="24">
     <s:layout>
     <s:VerticalLayout horizontalAlign="contentJustify" requestedMaxRowCount.portraitTablet="8" requestedMaxRowCount.phone="6" requestedMaxRowCount.landscapeTablet="4"gap="
    0" rowHeight.phone="28" variableRowHeight="false" rowHeight.tablet="55"verticalAlign="
    middle"  
    />
     </s:layout>
     </s:List>
     </s:V

  • Design View - Slow

    Greetings,
    I am running XP SP2, fully patched. Intel Core Duo with 2 GB
    Ram.
    I am running Dreamweaver MX ver 6.1 (ran updater to go from 6
    to 6.1).
    What I have noticed is that as I add to and modify a page,
    Dreamweaver slows down.
    Also, there is not a lot of pics on the page, but there are
    quite a few links. It gets to
    a point where it takes a minute or so to open the page in
    design view. Click to insert
    and type something and it takes 10 to 15 seconds to show up.
    The page really is
    quite unremarkable and I have tried several things to fix it.
    I tried copying the contents to
    another file, but the other file has the same problem. I have
    this problem on another website
    I handle and its on a recipe page. No photo's but lots of
    links.
    This is driving me nuts, and I would appreciate any ideas
    (No, purchasing the newest
    version of Dreamweaver is not an option right now).
    BTW, open the file in code view and it is quite snappy.
    thanks in advance.

    Darryl,
    Much better. Not only does it load faster in DW, but it loads
    faster in
    the browser, too!
    There is still a lot of unnecessary whitespace in the file.
    If the page
    is too big to apply source formatting to the whole thing, you
    can select
    sections and "Apply Source Formatting to Selection". Or maybe
    use
    find/replace and replace 10 spaces with 1 with "Replace All"
    several times.
    HTH,
    Randy
    ksu_kat2 wrote:
    > Thanks for the help. I have solved the problem. Here is
    what I tried:
    > 1. Added missing structure tags
    (<html></html> , etc).
    > 2. Tried the commands -> Apply Source formatting.
    Dreamweaver went "Not
    > responding" on me. Let it go for half and hour, but no
    joy. Quit Dreamweaver.
    > 3. Opened the html file in my favorite text editor. Boy
    was there a ton of
    > junk in this file. No wonder Dreamweaver went bonkers.
    Yes, I am using the
    > font tags (soon to change. Bought a CSS book). It had
    things like <font
    > size="4"><font size="4">, but it would have
    like 50 of them in a row. Later in
    > the code, it would have like 100 </font>
    statements in a row. Pure garbage.
    > Removed all the junk code and saved the file.
    > 4. Started Dreamweaver and opened the html file in
    question. Boom, it was
    > fast again. Only had to make one correction (deleted
    something while editing
    > the html file outside of dreamweaver).
    >
    > thanks for the help. Don't know how dreamweaver screwed
    up the source file so
    > bad. But I sure know how to fix it now.
    >
    > -Darryl
    >

  • If statement within a view is not working correctly ?

    Hi all,
    maybe i am wrong but i think the if statement within a view is not working correctly. See code down below.
    I would like to use the Hallo World depending on the page attribute isFrame with or without all the neccessary html tags. Therefore i have embedded the htmlb tags in an if statement. But for any reason if isframe is initial it isn't working. It would be great if anybody could help me.
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <% if not isframe is initial. %>
      <htmlb:content design="design2003">
         <htmlb:page title = "Top Level Navigation view">
    <% endif. %>
    hallo world
    <% if not isframe is initial. %>
         </htmlb:page>
      </htmlb:content>
    <% endif. %>
    thanks in advance and best regards
    Matthias Hlubek

    Matthias,
    The short answer: your example is <b>NOT</b> going to work. The long answer will probably 5 pages to describe. So first let me rewrite the example so that it could work, and then give a short version of the long answer. Do not be disappointed if it is not totally clear. It is rather complicated. (See the nice form of IF statements that are possible since 620.)
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <% if isframe is <b>NOT</b> initial. %>
    <htmlb:content design="design2003">
      <htmlb:page title = "Top Level Navigation view">
        hallo world
      </htmlb:page>
    </htmlb:content>
    <% else. %>
      hallo world
    <% endif. %>
    So why does your example not work? Let us start with a simple tag:
      <htmlb:page title = "Top Level Navigation view">
      </htmlb:page>
    Now, for each tag, we have effectively the opening part (<htmlb:page>), an optional body, and then the closing part (</htmlb:page>). We are now at the level of the BSP runtime processing one tag. What the runtime does not know, is whether the tag wants to process its body or not. Each tag can decide dynamically at runtime whether the body should be processed. So the BSP compiler generates the following code:
      DATA: tag TYPE REF TO cl_htmlb_page.
      CREATE OBJECT tag.
      tag->title = 'Top Level Navigation view'.
      IF tag->DO_AT_BEGINNING( ) = CONTINUE.
      ENDIF.
      tag->DO_AT_END( ).
    You should actually just debug your BSP code at ABAP level, and then you will immediately see all of this. Now, let us mix in your example with our code generation. First you simplified example:
    <% if isframe is NOT initial. %>
      <htmlb:page title = "Top Level Navigation view">
    <% endif. %>
    <% if isframe is NOT initial. %>
      </htmlb:page>
    <% endif. %>
    And then with our generated code. Look specifically at how the IF/ENDIF blocks suddenly match!
    if isframe is NOT initial.
      DATA: tag TYPE REF TO cl_htmlb_page.
      CREATE OBJECT tag.
      tag->title = 'Top Level Navigation view'.
      IF tag->DO_AT_BEGINNING( ) = CONTINUE.
    endif.
    if isframe is NOT initial.
      ENDIF.
      tag->DO_AT_END( ).
    endif.
    You can see that your ENDIF statements are closing IF blocks generated by the BSP compiler. Such a nesting will not work. This is a very short form of the problem, there are a number of variations, and different types of the same problem.
    The only way to solve this problem, is probably to put the body into a page fragment and include it like I did above with the duplicate HelloWorld strings. But this duplicates source code. Better is to put body onto a view, that can be processed as required.
    brian

  • Can't see design view in DW CS 4 or 2004

    I am very new to DW but I have a template (that I inherited) working in Design View with DW CS 5.5, but can't see it in CS 4 (mac) or MX 2004 PC versions. I want to make it editable so I need the design view. In CS 4 (mac) I can see it correctley in Live View. The 5.5 is a trail version so I really need it in MX 2004. I would really appreciate some help on this. The code is below. Thanks, Bill
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html><!-- InstanceBegin template="/Templates/Afrikorig_template_editable.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>AfrikOriginal</title>
    <!-- InstanceEndEditable -->
    <link href="http://www.afrikoriginal.com/afrikoriginal_wrapper.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
    -->
    </style>
    <!-- InstanceBeginEditable name="head" -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <div id="standardpage">
    <!-- Hearder/Footer Begin DON"T TOUCH ANYTHING IN HERE -->
    <img  src="http://www.afrikoriginal.com/site_images/footer.jpg" alt="Header" width="1024" height="54" border="0" class="footer" longdesc="http://www.afrikoriginal.com/site_images/footer.jpg">
    <!-- Hearder/Footer End DON"T TOUCH ANYTHING IN HERE -->
    <!-- Rules Begin DON"T TOUCH ANYTHING IN HERE -->
    <img  src="http://www.afrikoriginal.com/site_images/top_rule.png" alt="Top Rule" width="975" height="6" border="0" class="toprule" longdesc="http://http://www.afrikoriginal.com/site_images/top_rule.png">
    <img  src="http://www.afrikoriginal.com/site_images/description_box_rule.png" alt="Top Desdription Box Rule" width="490" height="3" border="0" class="topdescriprule" longdesc="http://www.afrikoriginal.com/site_images/description_box_rule.png">
    <img  src="http://www.afrikoriginal.com/site_images/description_box_rule.png" alt="Bottom Desdription Box Rule" width="490" height="3" border="0" class="bottomdescriprule" longdesc="http://www.afrikoriginal.com/site_images/description_box_rule.png">
    <!-- Rules End DON"T TOUCH ANYTHING IN HERE -->
    <!-- Photos Begin EDIT IMAGE NAMES IN HERE -->
    <img  src="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png" alt="Photo 1" width="400" height="260" border="0" class="photo1" longdesc="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png">
    <img  src="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png" alt="Photo 2" width="400" height="260" border="0" class="photo2" longdesc="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png">
    <img  src="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png" alt="Photo 3" width="400" height="260" border="0" class="photo3" longdesc="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png">
    <!-- Photos End -->
    <div id="producttitle">
    <!-- Product Title Begin EDIT TEXT IN HERE -->
    EDIT TITLE
    <!-- Product Title End -->
    </div>
    <div id="productinfo">
    <!-- Product Info Begin EDIT TEXT IN HERE -->
    Type of Object: <!-- InstanceBeginEditable name="Type of object" --><!-- TemplateBeginEditable name="Type of Object"-->Ring<!-- InstanceEndEditable --><br />
    Ethnic Group: <!-- InstanceBeginEditable name="Ethnic group" -->Africa<!-- InstanceEndEditable --><br />
    Country of Origin: Edit<br />
    Material: Edit<br />
    Dimensions: Edit<br />
    Overall Condition: Edit<br />
    <!-- Product Info End EDIT -->
    </div>
    <!-- Item Description Header Begin DON"T TOUCH ANYTHING IN HERE -->
    <div id="itemdescriptionheader">
    Item Description:
    </div>
    <!-- Item Description Header End DON"T TOUCH ANYTHING IN HERE -->
    <div id="itemdescription">
    <!-- Item Description Begin EDIT TEXT IN HERE -->
    Edit item description here.
    <!-- Item Description End -->
    </div>
    <!-- Shipping Info Header Begin DON"T TOUCH ANYTHING IN HERE -->
    <div id="shippinginfoheader">
    Shipping Info:
    </div>
    <!-- Shipping Info Header End DON"T TOUCH ANYTHING IN HERE -->
    <div id="shippinginfo">
    <!-- Shipping Info Begin EDIT TEXT IN HERE -->
    Edit Shipping Info Here.
    <!-- Shipping Info Begin EDIT TEXT IN HERE -->
    </div>
    </div>
    </div>
    </body>
    <!-- InstanceEnd --></html>

    Here it is
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>AfrikOriginal</title>
    <!-- TemplateEndEditable -->
    <link href="http://www.afrikoriginal.com/afrikoriginal_wrapper.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
    -->
    </style>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body>
    <div id="standardpage">
    <!-- Hearder/Footer Begin DON"T TOUCH ANYTHING IN HERE -->
    <img  src="http://www.afrikoriginal.com/site_images/header.jpg" alt="Header" width="1024" height="159" border="0" class="header" longdesc="http://www.afrikoriginal.com/site_images/header.jpg">
    <img  src="http://www.afrikoriginal.com/site_images/footer.jpg" alt="Header" width="1024" height="54" border="0" class="footer" longdesc="http://www.afrikoriginal.com/site_images/footer.jpg">
    <!-- Hearder/Footer End DON"T TOUCH ANYTHING IN HERE -->
    <!-- Rules Begin DON"T TOUCH ANYTHING IN HERE -->
    <img  src="http://www.afrikoriginal.com/site_images/top_rule.png" alt="Top Rule" width="975" height="6" border="0" class="toprule" longdesc="http://http://www.afrikoriginal.com/site_images/top_rule.png">
    <img  src="http://www.afrikoriginal.com/site_images/description_box_rule.png" alt="Top Desdription Box Rule" width="490" height="3" border="0" class="topdescriprule" longdesc="http://www.afrikoriginal.com/site_images/description_box_rule.png">
    <img  src="http://www.afrikoriginal.com/site_images/description_box_rule.png" alt="Bottom Desdription Box Rule" width="490" height="3" border="0" class="bottomdescriprule" longdesc="http://www.afrikoriginal.com/site_images/description_box_rule.png">
    <!-- Rules End DON"T TOUCH ANYTHING IN HERE -->
    <!-- Photos Begin EDIT IMAGE NAMES IN HERE -->
    <!-- TemplateBeginEditable name="Pix 1" --><img  src="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png" alt="Photo 1" width="400" height="260" border="0" class="photo1" longdesc="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png"><!-- TemplateEndEditable --><!-- TemplateBeginEditable name="Pix 2" --><img  src="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png" alt="Photo 2" width="400" height="260" border="0" class="photo2" longdesc="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png"><!-- TemplateEndEditable --><!-- TemplateBeginEditable name="Pix 3" --><img  src="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png" alt="Photo 3" width="400" height="260" border="0" class="photo3" longdesc="http://www.afrikoriginal.com/ebay_images/photo_placeholder.png"><!-- TemplateEndEditable -->
    <!-- Photos End -->
    <div id="producttitle">
    <!-- Product Title Begin EDIT TEXT IN HERE -->
    <!-- TemplateBeginEditable name="Title" -->EDIT TITLE<!-- TemplateEndEditable -->
    <!-- Product Title End -->
    </div>
    <div id="productinfo">
    <!-- Product Info Begin EDIT TEXT IN HERE -->
    Type of Object: <!-- TemplateBeginEditable name="Object type" -->Edit<!-- TemplateEndEditable --><br />
    Ethnic Group: <!-- TemplateBeginEditable name="Ethnic Group" -->Edit<!-- TemplateEndEditable --><br />
    Country of Origin: <!-- TemplateBeginEditable name="Country" -->Edit<!-- TemplateEndEditable --><br />
    Material: <!-- TemplateBeginEditable name="Material" -->Edit<!-- TemplateEndEditable --><br />
    Dimensions: <!-- TemplateBeginEditable name="Dimensions" -->Edit<!-- TemplateEndEditable --><br />
    Overall Condition: <!-- TemplateBeginEditable name="Condition" -->Edit<!-- TemplateEndEditable --><br />
    <!-- Product Info End EDIT -->
    </div>
    <!-- Item Description Header Begin DON"T TOUCH ANYTHING IN HERE -->
    <div id="itemdescriptionheader">
    Item Description:
    </div>
    <!-- Item Description Header End DON"T TOUCH ANYTHING IN HERE -->
    <div id="itemdescription">
    <!-- Item Description Begin EDIT TEXT IN HERE -->
    <!-- TemplateBeginEditable name="Description" -->Edit item description here. <!-- TemplateEndEditable -->
    <!-- Item Description End -->
    </div>
    <!-- Shipping Info Header Begin DON"T TOUCH ANYTHING IN HERE -->
    <div id="shippinginfoheader">
    Shipping Info:
    </div>
    <!-- Shipping Info Header End DON"T TOUCH ANYTHING IN HERE -->
    <div id="shippinginfo">
    <!-- Shipping Info Begin EDIT TEXT IN HERE -->
    <!-- TemplateBeginEditable name="Shipping" -->Edit Shipping Info Here.<!-- TemplateEndEditable -->
    <!-- Shipping Info Begin EDIT TEXT IN HERE -->
    </div>
    </div>
    </body>
    </html>

  • Javascript error when selecting Spry Menu Bar in Design View

    Hi there,
    I get the following error message when trying to format the Spry Menu Bar in Design View:
    "while executing inspectSelection in spry_menu.htm, a Javascript error occurred."
    I have tried the following troubleshooting steps:
    deleting site cache
    closing/re-opening Dreamweaver
    deleting Spry Menu Bar and recreating - same error occurs.
    Other information:
    I am using a MacBook Pro
    it happens when clicking on the Menu Bar itself. I just want to change the properties
    the Spry Menu Bar does not appear in Live View.
    Here is a link to my site on Browserlab. It has not yet been published:
    https://browserlab.adobe.com/en-us/index.html#zoom=100;state=use;view=0;url=dreamweaver%3A %2F%2Fsite%3AHope%2520Against%2520Hope%2FHAH_home.html;browsers=WXPIE6000%2CWXPIE9000%2COS XFF7000%2COSXSF5000%2CWXPCH14000
    Is it a case of changing one of the values in the spry_menubar.js file?
    Can anyone help?
    Thanks,
    Charlie

    Hi there,
    The problem appears to have returned. I am getting the same error message as before and also an error saying there is a syntax error in my source code. Dreamweaver tells me which line the error is in:
    var MenuBar1 = new Spry.Widget.MenuBar("hope_menu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    In response to your earlier questions/points:
    I am using version 0.13 of SpryMenuBar.js (is this what you mean?)
    The menu now shows in Live View as I would expect it to
    Here is a link to my published site:
    http://hopeagainsthopeuk.co.uk/HAH_home.html
    Do you have any further advice?

Maybe you are looking for

  • Problems with flex and php.

    Hello, my name is Gamaliel Arredondo, i have to develope a project in flash builder 4 using the data service to connect with php, the application has installed the zend framework automatically just like the tutorials said, I use xampp and i have the

  • Is there an lg phone(KP220) suit available for Mac. If so kindly give the link.

    I am not able to locate a mobile/pc suit for my phone lg(KP220), so that I can backup my contacts and other stuff. Can any body guide me.Thanks in advance.

  • Number of messages notification in Mail disappears

    At the top of Mail, it lists the number of messages and new messages in the Inbox. For example: Inbox (67 messages, 2 unread) This always shows when I open Mail, but the counts randomly vanish. To get the counts back, I have to Quit and reopen Mail.

  • SRM 6.0 and EP, where to deploy

    Hi, in a setup with SRM & Portal (Java+ABAP stack), which system would be the correct system to deploy Web Dynpro applications containing the new business packages for new SRM release? (currently SRM version 6.0) Would it be deployed on the SRM Web A

  • Web flash player part 2

    Hi all  i asked this question "Hi I like to develop web site with flash videos I like users to have choise for choosing full screen ,audio volume etc. Please tell me some free web flash player (but without the logo of the company what developed the p