BUG: Extending JDialog error in design view

I extended JDialog to create a custom Dialog, then when I extend the CustomDialog to create a Dialog in Jdeveloper Design mode it actualy creates the popup dialog instead of the design mode for it (ie it actually renders the final popup as a seperate popup, which would be a really cool feature because you can actually use the popup to test it, but it means you can't edit it with the gui designer)
OS - Suse 9.3
Oracle IDE - 10.1.3.3412
Java Platform - 1.5.0_06
Here is some sample code:
package org.cms.custom.swing;
import javax.swing.JDialog;
public class CustomDialog extends JDialog
public CustomDialog()
package org.cms.screen;
import org.cms.custom.swing.CustomDialog;
public class TestDialog extends CustomDialog
public TestDialog()
So you go to design mode for TestDialog and it pops up the dialog.........(you may need to build first).....

The above code does reproduce the error. I reduced it to that code to make sure that it wasn't any of my code doing it and when I made the 2 classes above and go to design mode for the second one it pops up the dialog. You can cut and paste the code as is. The implementation is irrelevant, its Inheritance of a class that extends JDialog that is causing the problem.
You need to compile the classes, close them, then reopen the second one in design view for the popup to happen.
Regards
mark
Message was edited by:
user481304

Similar Messages

  • Error in Design View.

    I'm building a website called
    HesedBooks.com, a website for our
    Online Bookselling business.
    I had made a post on another forum about whether or not it
    was possible to set it up like a Wordpress blog, with the bar on
    the left being it's own page, so I wouldn't have to edit 80+ pages
    every time I needed the sidebar to change.
    Here's what we're looking for the left section of the front
    page to look like:
    http://hesedbooks.com/images/leftexample.jpg
    Someone helped me out by telling me about .php includes, and
    gave me this snippet of code:
    <?php include('pageName.php'); ?>
    Well, I put that in, and it works FLAWLESSLY when it's
    published to the web, but it make my design screen impossible to
    use when editing my pages locally.
    Here's what it does. It goes from this (without the code):
    (And I'm aware of the blank spaces. Those are the
    placeholders for the .php includes.)
    http://hesedbooks.com/images/codehelp01.jpg
    To this:
    (That's the nav page.)
    http://hesedbooks.com/images/codehelp01.jpg
    It completely removes anything from the .php include down,
    and turns the cursor into a "no" symbol (Circle with the line
    diagonally through it.)
    I'm really at a loss. The only possible thing I can think of,
    is that the page was created as an XHTML/HTML page in Dreamweaver,
    then re-saved as a .php page.
    Any help?

    Hmm, tried that, and it seemed to work, but now I'm confused
    as to how to structure the <body onload=> tags and whatnot.
    Below is the code for my header page. How do I restructure it
    to retain the javascript coding, but remove the head and body tags?
    [code]
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Hesed Books - </title>
    <link href="scripts/style.css" rel="stylesheet"
    type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr;
    for(i=0;a&&i<a.length&&(x=a
    )&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
    Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
    i<a.length; i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
    d.MM_p[j++].src=a
    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document;
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document;
    n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for
    (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    x=MM_findObj(n,d.layers
    .document);
    if(!x && d.getElementById) x=d.getElementById(n);
    return x;
    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
    Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
    if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    </head>
    <body
    onload="MM_preloadImages('images/navabout_on.png','images/navproc_on.png','images/navtop_ on.png','images/navcontact_on.png','images/navblog_on.png','images/navstore_on.png','image s/navsellers_on.png','images/navbuyers_on.png','images/navhome_on.png')">
    <table width="900" border="0" align="center"
    cellpadding="0" cellspacing="0">
    <tr>
    <td width="1" height="150" rowspan="2"
    bgcolor="#210E07"></td>
    <td width="898" height="150"><a
    href="index.html"><img src="images/banner.png" width="898"
    height="150" /></a></td>
    <td width="1" height="150" rowspan="2"
    bgcolor="#210E07"></td>
    </tr>
    <tr>
    <td width="900" height="35"
    background="images/navback.png" bgcolor="#210E07"><div
    align="center"><a href="index.php"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('navhome','','images/navhome_on.png',1)"><img
    src="images/navhome_off.png" name="navhome" width="90" height="70"
    border="0" id="navhome" /></a><a href="about.php"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('navabout','','images/navabout_on.png',1)"><img
    src="images/navabout_off.png" name="navabout" width="100"
    height="70" border="0" id="navabout" /></a><a href="
    http://www.hesedbooks.com/blog"
    target="_blank"
    onmouseover="MM_swapImage('blog','','images/navblog_on.png',1)"
    onmouseout="MM_swapImgRestore()"><img
    src="images/navblog_off.png" name="blog" width="100" height="70"
    border="0" id="blog" /></a><a href="
    http://www.amazon.com/gp/redirect.php?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2Fs hops%2Fhesedbooks&amp;tag=hesedbocom-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325"
    target="_blank"
    onmouseover="MM_swapImage('store','','images/navstore_on.png',1)"
    onmouseout="MM_swapImgRestore()"><img
    src="images/navstore_off.png" name="store" width="100" height="70"
    border="0" id="store" /></a><a href="process.php"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('navproc','','images/navproc_on.png',1)"><img
    src="images/navproc_off.png" name="navproc" width="100" height="70"
    border="0" id="navproc" /></a><a href="toplists.php"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('navtop','','images/navtop_on.png',1)"><img
    src="images/navtop_off.png" name="navtop" width="100" height="70"
    border="0" id="navtop" /></a><a href="sellers.php"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('forsellers','','images/navsellers_on.png',1)"><img
    src="images/navsellers_off.png" name="forsellers" width="100"
    height="70" border="0" id="forsellers" /></a><a
    href="buyers.php" onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('forbuyers','','images/navbuyers_on.png',1)"><img
    src="images/navbuyers_off.png" name="forbuyers" width="100"
    height="70" border="0" id="forbuyers" /></a><a
    href="contact.php" onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('navcontact','','images/navcontact_on.png',1)"><img
    src="images/navcontact_off.png" name="navcontact" width="100"
    height="70" border="0" id="navcontact"
    /></a></div></td>
    </tr>
    <tr>
    </tr>
    </table>
    </body>
    </html>
    [/code]

  • JSP Design view not working in JDeveloper 10.1.3.3

    Hi,
    The problem I have is that my JSPs all throw a class not found error in design view when I load them. The problem is related to the useBean tag (see error example).
    Error exercising tag : jsp:useBean
    java.lang.Exception: java.lang.ClassNotFoundException: com......client.jsp.testclass
    The application is divided into a web project, an EJB project, and a server classes project. The JSPs are in the web project and the problem classes are in the server classes project. I'm limited to source view editing of JSPs due to this and the problem is only in the IDE, deployment of the code to the server is fine.
    Any suggestions would be appreciated.
    Kaitain

    I think they are but I could be mistaken, as the libraries list for the web project shows the server classes as a library.

  • Design View Inaccuracy

    I have created a page in DW-CC which is completely disjointed in design view. It presents fine in live view and when previewed in the browser. It is more difficult to review and revise in this scattered form. I have to go to live view to see how the changes look on the page. Any thoughts?
    jaywwem

    Check you code for errors.  Design View can't tolerate them.  
    http://validator.w3.org/
    http://jigsaw.w3.org/css-validator/
    If the problem is not caused by code errors, just turn of your CSS. 
    Go to View > Style Rendering > Disable Styles. 
    This will not effect either LiveView or Preview in browsers. But it makes editing unstyled pages easier.
    Another option is to use a Design-Time style sheet.
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7e17a.h tml
    Nancy O.

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

  • In Flash Builder: "No Disk" Error when trying to switch to Design View

    Just had Flash Builder Beta 1 uninstalled and Beta 2 installed instead.
    When I try to switch to Design View or open a link from Start Page in Flash Builder Beta 2, the application  freezes and "No Disk" error message pops up.

    You have some other problem with your boot drive that has corrupted data backed up to the TimeMacine drive.
    My advice is to boot into each operating system and manually backup just your Users files each to separate regular external drives (no Timemachine or backup software) and disconnect.
    Make a note of any serial numbers, emails, address book contacts, export bookmarks etc. that isn't typically in your users folders data.
    You might be able to Winclone 3 the Windows as a whole thing as it's appearing not to have issues but it's your MacintoshHD partition that is so that will have to be rebuilt from scratch.
    Most commonly used backup methods
    If your OS X parititon doesn't boot, you can use this to recover files.
    Create a data recovery/undelete external boot drive
    Without any further detail about your machine I can't advise specifically what to do, but it involves using Disk Utility to Zero Erase (move slider one spot to the right or in 10.6 using Security Option) the ENTIRE boot drive and reformatting, then installing OSX fresh and then setting up BootCamp again.
    If you wish to switch your boot drive for something better, this is a good time to do this.
    Install/upgrade RAM or storage drive in Mac's
    If your machine is capable of Internet Recovery, then use that, then upgrade.
    If your machine came with 10.6 or earlier, then use the 10.6 install disks and work up from there.
    Erase, formatting, OS X installs on Mac's

  • When I check my boot SSD drive using Disk Utility under Mavericks, I often get "Incorrect number of extended attributes" errors.  But if I boot off an external drive and check the same SSD, no errors are reported.  Is this a bug in Mavericks?

    When I check my boot SSD drive using Disk Utility under Mavericks, I often get "Incorrect number of extended attributes" errors.  But if I boot off an external drive and check the same SSD, no errors are reported. 
    This happens not just with the SSD in my Mac Mini, but with another SSD in my MacBook (both now running Mavericks).  So far as I know, all of the kit I am using is in good order (despite the file corruption reports).  So I am beginning to wonder if it could be due to a bug in Mavericks?  Both SSD drives have been formatted to MacOS Extended (journaled) format.  Should I have used a different format, I wonder?
    Has anyone else encountered this issue?
    Does anyone have a solution?
    Or an explanation that might help my investigation of the issue?
    Thanks guys,

    I understand that the Corsair Force 3 is not one of the SSD drives that are supported on Apple Macs. 
    I did try downloading and using Trim Enabler, but the error message came up both when it was off and when it was on.
    I understand that not everyone thinks Trim Enabler is a good program, though there is a new version out now, so I may give it another try.

  • Design view of jspx not rendering : Error exercising tag : afh:head

    I'm using JDeveloper 10.1.3.4 and I have an intermittent problem where by the jspx does not render correctly in design view - it just shows a whole load of nested boxes.
    By following a suggestion from another website I turned on "Design time messages in log" in jdeveloper JSP visual editor preferences.
    The error messages being sent to the log window are :
    Error exercising tag : afh:head
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.AdfRenderingContext.getTranslatedString(AdfRenderingContext.java:70)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.jsLibs.GlobalVariablesScriptlet.outputScriptletContent(GlobalVariablesScriptlet.java:49)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.jsLibs.Scriptlet.outputScriptletImpl(Scriptlet.java:111)
    Error exercising tag : af:forEach
    javax.servlet.jsp.JspTagException: 'begin' and 'end' should be specified if 'items' is not specified
         at oracle.adfinternal.view.faces.taglib.ForEachTag._validateAttributes(ForEachTag.java:320)
         at oracle.adfinternal.view.faces.taglib.ForEachTag.doStartTag(ForEachTag.java:93)
    Error exercising tag : afh:body
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.core.CoreAdfRenderingContext.getStyleClass(CoreAdfRenderingContext.java:211)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.XhtmlRenderer.renderStyleClass(XhtmlRenderer.java:338)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer._renderLibraryDownloadElement(PanelPartialRootRenderer.java:480)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderPPRSupport(PanelPartialRootRenderer.java:340)
    How can I fix this ?
    Cheers,
    Brent

    Hi Didier,
    Sorry, intermittent problem is not very descriptive ! What I actually meant is that some of my applications have the problem while others dont. Once the problem exists, it always does regardless of restarting JDeveloper.
    Starting JDeveloper using the console provided similar error message to outputting the JSP visual editor to the log file :
    SEVERE: Element End name:head does not match start name:script
    04-Dec-2009 17:28:38 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElem
    ent
    SEVERE: Element End name:html does not match start name:div
    Reading other posts, problems seemed to stem from errors within the faces-config or web.xml files so I compared them between apps displaying pages correctly and ones that weren't. I found a difference in the filter-mapping section of the web.xml. Changing the entries to match the applications that displayed correctly has worked !!
    The entries for the apps that didn't display correctly :
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
        </filter-mapping> 
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <servlet-name>ordDeliverMedia</servlet-name>
      </filter-mapping>
      <filter-mapping>
        <filter-name>jhsAuthenticationFilter</filter-name>
        <url-pattern>*.jsp</url-pattern>
      </filter-mapping>
      <filter-mapping>
        <filter-name>jhsAuthenticationFilter</filter-name>
        <url-pattern>*.jspx</url-pattern>
      </filter-mapping>... and the entries for the apps that did display correctly :
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>ordDeliverMedia</servlet-name>
        </filter-mapping>
        <filter-mapping>
            <filter-name>jhsAuthenticationFilter</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>jhsAuthenticationFilter</filter-name>
            <url-pattern>*.jspx</url-pattern>
        </filter-mapping>Somehow the filter-mapping entries for the adfFaces and adfBindings filter got all screwed ? Strange as the application has always worked fine, the only (obvious) problem has been the jspx pages not rendering properly in design view.
    Once updating the web.xml with the correct value for these two entries, the pages are displayed correctly :)
    While I don't like blindly making changes like this to the web.xml - the application still seems to function !
    Cheers,
    Brent

  • Coldfusion error displaying in Design view... ???

    This just popped up this morning:
    It's an error from a cfc I wrote. Why is this displaying in the Design View, and why is it there, especially when the cfc works correctly? To my knowledge, nothing has changed in flex Builder, but any help in removing this would be appreciated.
    Thanks,
    Les

    Somehow I managed to remove a section of code from the CFC. Since one of the CFFUNCTIONs was missing, it threw the error, right in design view.
    Once I replaced the missing code, everything was back to normal

  • CS3 Design View layout bug

    Note: this renders correctly in browsers and DW 8 design
    view.
    Does anybody else get this effect: css is used to but a solid
    background colour on a h1 tag. With the following code
    <!-- InstanceBeginEditable name="regContentMain" -->
    <h1>Introduction</h1>
    The editor buts the background in the correct place, but the
    actual h1 text starts 2/3 they way down the background.
    If you put a blank div <div></div> after the
    template comment and before the <h1> the background gets
    padded down to fit correctly with the text.
    If you detatch from the template, it renders correctly.
    Bug I assume.
    Steve

    Probably not. Show us the whole page, please.
    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
    ==================
    "srbutler" <[email protected]> wrote in
    message
    news:f2ek5g$51c$[email protected]..
    > Note: this renders correctly in browsers and DW 8 design
    view.
    >
    > Does anybody else get this effect: css is used to but a
    solid background
    > colour on a h1 tag. With the following code
    > <!-- InstanceBeginEditable name="regContentMain"
    -->
    > <h1>Introduction</h1>
    >
    > The editor buts the background in the correct place, but
    the actual h1
    > text
    > starts 2/3 they way down the background.
    > If you put a blank div <div></div> after the
    template comment and before
    > the
    > <h1> the background gets padded down to fit
    correctly with the text.
    >
    > If you detatch from the template, it renders correctly.
    >
    > Bug I assume.
    >
    > Steve
    >
    >
    >

  • JDeveloper: After crashed with "Unexpected Error" design view goes blank

    Hi, I am new to JDeveloper. I have installed 11.1.2.2.0 JDeveloper and have just installed all the updates via HELP -> CHECK FOR UPDATE.
    I am currently working on JFS Tutorial at http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_56/jdtut_11r2_56.html
    I encounter the similar problem when I was in STEP 2 for numerous time. :(
    No matter what I selected from the error box, my design view will end up be blank, it display nothing, even I hit the refresh button. :(
    I check the source view, preview, yes they work fine.
    Also, I have tried to clean the project. No helping at all.
    This is how the error shows: http://s19.postimage.org/hxa7q5e6r/error.png
    The details of the error: http://s19.postimage.org/sqhpynvgz/error_detail.png
    Can someone please help me out :(
    Edited by: 954390 on 22-Aug-2012 20:47
    Edited by: 954390 on 22-Aug-2012 20:55
    Edited by: 954390 on 22-Aug-2012 20:56

    Have you tried to open the finished app from the zip? >> Yes, I did. And it works.
    Also, as long as it does not crash nothing goes wrong. But once it does, not only the design view goes blank but I cant even execute the project, I will hit 505 error in the browser.
    Can you give more info about your environment (OS, memory....)? >> http://s19.postimage.org/ttpxyfk7n/specs.png

  • BUG: JSP disappears from design view with MyFaces / Tomahawk

    Hi,
    When I try to create a JSF JSP in design view (as opposed to code view) using MyFaces and Tomahawk 1.1.3, the design view will blank and display "Type, paste or drag and drop content onto this blank....". This usually happens after I've dragged half a dozen JSF outputlabels and inputtext boxes. The code still exists in code view, and will even compile and deploy ok, it's just the design view that stops working. The design view usually blanks while I'm switching between the code tabs at the top of the screen, although I'm fairly sure it blanked as I dropped a textbox onto the form once.
    I've restarted JDev, tried to create a second page, clicked refresh etc but I can't get it back. This has happened starting from scratch 3 times now.
    I've switched back to the builtin reference implementation JSF (and no Tomahawk), and JDeveloper works fine, so it seems to be a problem using MyFaces. I've added MyFaces and Tomahawk via Manage Libraries.
    This Oracle article - http://www.oracle.com/technology/products/jdev/101/howtos/myfaces/index.html
    states that the RI version can't be swapped out in JDev Developer Preview version but I understand that's not true now?
    I'm using :-
    JDeveloper SU4
    java 1.5
    Windows XP SP1
    Thanks for any help.

    I found the answer. I went to View, Style Rendering and clicked several of the boxes  Display Media was one.

  • ORA-12008: error in materialized view refresh path... Bug?

    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> drop materialized view log on test_tbl;
    Materialized view log dropped.
    SQL> drop materialized view mv_test_tbl;
    Materialized view dropped.
    SQL> drop table test_tbl;
    Table dropped.
    SQL> create table test_tbl(
      2   test_id   number(10)   primary key,
      3   test_name varchar2(10) not null)
      4  ;
    Table created.
    SQL> insert into test_tbl values (1,'bob');
    1 row created.
    SQL> insert into test_tbl values (2,'joe');
    1 row created.
    SQL> insert into test_tbl values (3,'john');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> create materialized view log on test_tbl
      2  with primary key , rowid, sequence
      3  (
      4   test_name
      5  )
      6  including new values;
    Materialized view log created.
    SQL> create materialized view mv_test_tbl
      2  refresh fast on commit
      3  as
      4  select test_id,
      5         test_name
      6  from   test_tbl;
    Materialized view created.
    SQL> update test_tbl set test_name = 'hello' where test_id = 1000;
    0 rows updated.
    SQL> commit;
    Commit complete.Ok, so that's all good. Now if I create the materialized view log with the COMMIT SCN option:
    SQL> drop materialized view log on test_tbl;
    Materialized view log dropped.
    SQL> drop materialized view mv_test_tbl;
    Materialized view dropped.
    SQL> create materialized view log on test_tbl
      2  with primary key , rowid, sequence
      3  (
      4   test_name
      5  ),
      6  commit scn
      7  including new values;
    Materialized view log created.
    SQL> create materialized view mv_test_tbl
      2  refresh fast on commit
      3  as
      4  select test_id,
      5         test_name
      6  from   test_tbl;
    Materialized view created.
    SQL> update test_tbl set test_name = 'hello' where test_id = 1000;
    0 rows updated.
    SQL> commit;
    commit
    ERROR at line 1:
    ORA-12008: error in materialized view refresh path
    ORA-01006: bind variable does not exist
    SQL>Committing an update that updates no rows against a master table for a single table fast refreshable materialized view results in the error above when the materialized view log on the master table is created with the COMMIT SCN option. I'm guessing that this isn't how things are supposed to work. Or am I missing something here? Anyone else encountered this before?
    Cheers.
    Edited by: Stain on Jan 25, 2013 1:27 PM

    Query Rewrite is an option for a Materialized View, not a Materialized View Log. Also, query rewrite is used as an optimization technique which "transforms a SQL statement expressed in terms of tables or views into a statement accessing one or more materialized views that are defined on the detail tables". I don't think it plays any role in the refresh path.
    Regardless, it made no difference.
    SQL> create materialized view mv_test_tbl
      2  refresh fast on commit
      3  ENABLE QUERY REWRITE
      4  as
      5  select test_id,
      6         test_name
      7  from   test_tbl
      8  ;
    Materialized view created.
    SQL> update test_tbl set test_name = 'hello' where test_id = 1000;
    0 rows updated.
    SQL> commit;
    commit
    ERROR at line 1:
    ORA-12008: error in materialized view refresh path
    ORA-01006: bind variable does not exist
    SQL>Edited by: Stain on Jan 25, 2013 2:06 PM

  • "Design" view bug?

    I've created a simple menu with CSS. The menu displays differently in "Design" view within DW than it does as an actual rendered HTML page. WTF?
    See below the sample I put together that illustrates the difference. The background color is different, the extent of the back color is also different, and even the size of the boxes is slightly different. The DW view is inaccurate, but why?

    Hi
    Design view is only an approximation and depending upon you code can be a very rough approximation.
    PZ

  • Problem with Design View in DW5

    I've recently inherited responsibility for my group's website (despite the fact that I'm kind of a noob at all this) and am dealing with an interesting challenge that I hope someone can help me with.
    It seems that our pages are based on a number of templates that for some reason were not saved along with the rest of the site. Short term this is not a huge issue, as the pages have the source code from the templates embedded in them, but this code is not editable and I can't figure out a way to override the fact that I'm "locked out" from making any changes (at least from within Dreamweaver). Up to now I've just been editing the pages individually in Komodo, which is tedious but not horrible, given that our site isn't that big, but it's clearly no way to do business in the long term.
    So I'm trying to re-engineer some templates that I can work with. What I did was use Komodo to strip away all of the template-related language from one of the site pages, and re-imported the code back into Dreamweaver, in the hope that I can then save that as a new template. I'm close, but not quite there. My problem is that DW's Design View isn't rendering the page properly, even though it displays fine in Live View and in browsers. Maybe this isn't a huge deal, but it's really bugging me because: 1) I do rely on Design View, since I'm not an experienced programmer; and 2) I'm kind of anal retentive.
    To see what I'm talking about, here is the page I used as the foundation for creating a new template:
    http://iodp.ldeo.columbia.edu/TOOLS_LABS/TRIPLE/aps.html
    ... and here is my new "template" (although I haven't saved it yet as a DW template):
    http://iodp.ldeo.columbia.edu/TOOLS_LABS/TRIPLE/test3.html
    The second page displays correctly in Live View, Safari and Firefox, but not in DW's Design View, where it looks like this, at least on my computer:
    As you can see, there's an odd "break" between the banner image and the menus on the left, and the body of the page, which should appear to the right of the menus on the left, is instead underneath them. I'm at a loss as to why the same code displays properly for the first page, but not the second.
    I guess my questions are as follows:
    1) Does anyone else get the same messed up display in DW's design view if they import the second page into DW?
    2) And if so, can you pinpoint where the problem is?
    I hope I've explained this clearly and would really be grateful for help. Thanks!

    Validate your code and fix errors.  #1 problem is the lack of a valid Document Type Declaration (DTD) on line 1 of HTML code.
    Code Validation Tools
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    To add a DTD in DW:
    Go to Modify > Page Properties > Title/Encoding.
    Select document type from drop list.  I recommend HTML 4.0 Transitional.
    Hit Apply & OK. 
    Repeat Steps 1 - 3 on remaining site pages.
    I'm not a huge fan of DW Templates (.dwt).  I don't know how big your site is but it might be simpler to disconnect from Templates, giving you freedom to edit anything you wish.  Then use Server-Side Includes (SSIs) for common site wide elements such as menus, headers & footers.
    The great thing about SSIs is that you only need to edit one file, save it and upload to server.   Site pages are automatically updated by the server. With Templates, you have to upload every child page each time you change your template.  Even on small sites, this is tedious.
    Server-Side Includes
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    More on Server-Side Includes
    http://forums.adobe.com/message/2112460#2112460
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

Maybe you are looking for

  • Adobe Acrobat 9.0 Pro - Compare Documents

    Hello everyone, I work for a construction company and have to sets of plans showing the building site in pdf. Say they are revision A and revision B. I want to see the differences between the two drawings. When i use the compare documents feature in

  • ADF 11.1.1.5 - Oracle Dynamic UI Template

    Hi All, I am using Oracle Dynamic UI Template to leverge it's features. Under the navigation facet i have used tree componet, but i am getting the following error when i tried to debug my VO at the Bolded Point. private transient TreeModel homemodel

  • Full-screen videos on iWeb?

    Hello, Forgive the redundancy of this question -- I know it's been discussed in other threads, but my precise question hasn't been answered, so I thought I'd try fresh here. Basically, I have a ~650MB Quicktime video, 24 minutes long, that I want to

  • Why do we need a symbolic link of pfile

    Hi all, Why do we require a symbolic link in $ORACLE_BASE/admin/SID/PFILE location for the actual pfile in $ORACLE_HOME/dbs location

  • NCS and 3500 with CleanAir - Not seeing data?

    Question, This is going to end up being really dumb, I can just feel it.  So, we demo'd a 3500 with CleanAir before working with Cisco and purchasing a first batch.  The demo worked as expected, just plugged it in and it went to town serving clients