Strange problem with Dreamweaver Pop-Up menus

Hello:
I have encountered a very strange problem with DreamWeaver
pop-up menus, and I was wondering if I could get some help from
this forum, as I can't seem to find an answer anywhere else.
The problem involves use of DreamWeaver's pop-up menu
behavior — all works as expected, and my local preview of the
Web page/site works fine, but when I upload the site to a server, I
see extra question mark and "box" characters added to my drop-down
menus. This problem is inconsistent between browsers: Sometimes I
see it only on IE, sometimes I also see it on Firefox.
For example, check out the following URLs:
http://libertycreativesolutions.net/clients/cci/
... this implementation of drop-down menus ("Services"
button, etc.) displays an extra "box" character for each of the
drop-down menu items, but this only occurs in IE -- Firefox is
fine.
http://libertycreativesolutions.net/clients/microtek/HTML/MicroTek_home.html
... this implementation of drop-down menus shows an extra
question mark above the triggering link onMouseOver for Firefox,
and in IE, it shows this "box" character for both the triggering
buttons and for each menu item.
For both of these sites, the pop-up menus work without a
problem *when I'm looking at a local version on my workstation*.
What in the Wide Wide World of Sports is going on here????
Any help for this problem is appreciated.
Note that I stripped out the JavaScript code for menu
information from the <head></head> area of each of
these pages and placed it in a linked JavaScript document.
HELP!

First, you need to read this, written by the person who
adapted that menu
code for Macromedia -
http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
Then you need to know that there are MUCH better ways to do
such things -
Check the uberlink and MacFly tutorials at PVII -
http://www.projectseven.com/
and the Navbar tutorial/articles at Thierry's place
http://tjkdesign.com/articles/dropdown/
Or this one (more recent article):
http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
Or to get it done fast, go here -
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
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
==================
"Pomond69" <[email protected]> wrote in
message
news:[email protected]...
> Hello:
> I have encountered a very strange problem with
DreamWeaver pop-up menus,
> and I
> was wondering if I could get some help from this forum,
as I can't seem
> to
> find an answer anywhere else.
>
> The problem involves use of DreamWeaver's pop-up menu
behavior ? all works
> as
> expected, and my local preview of the Web page/site
works fine, but when I
> upload the site to a server, I see extra question mark
and "box"
> characters
> added to my drop-down menus. This problem is
inconsistent between
> browsers:
> Sometimes I see it only on IE, sometimes I also see it
on Firefox.
>
> For example, check out the following URLs:
>
>
http://libertycreativesolutions.net/clients/cci/
> ... this implementation of drop-down menus ("Services"
button, etc.)
> displays
> an extra "box" character for each of the drop-down menu
items, but this
> only
> occurs in IE -- Firefox is fine.
>
>
http://libertycreativesolutions.net/clients/microtek/HTML/MicroTek_home.html
> ... this implementation of drop-down menus shows an
extra question mark
> above
> the triggering link onMouseOver for Firefox, and in IE,
it shows this
> "box"
> character for both the triggering buttons and for each
menu item.
>
> For both of these sites, the pop-up menus work without a
problem *when I'm
> looking at a local version on my workstation*.
>
> What in the Wide Wide World of Sports is going on
here???? Any help for
> this
> problem is appreciated.
>
> Note that I stripped out the JavaScript code for menu
information from the
> <head></head> area of each of these pages
and placed it in a linked
> JavaScript
> document.
>
> HELP!
>

Similar Messages

  • Strange Problem with 'Show Pop Up Menu"

    Hello - I'm hoping someone can help me. I am using a template
    to create multiple pages for a video library. The first two
    templates worked like a charm. The third and fourth are giving us
    trouble.
    We essentially create drop down menu navigation for these
    pages via the template. There are many menu items in the drop down.
    Dreamweaver is now not saving our work as we update the pop
    up menus on the templates. Can someone tell me if they've
    experienced a similar problem? A major project hinges on this
    working properly, and its not at this point.

    The DW pop-up menus are incompatible with Templates. I'm
    sorry that you
    have gotten yourself into this mess. You may also want to
    read this -
    http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
    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
    ==================
    "LindaASL" <[email protected]> wrote in
    message
    news:fjp5li$h27$[email protected]..
    > Hello - I'm hoping someone can help me. I am using a
    template to create
    > multiple pages for a video library. The first two
    templates worked like a
    > charm. The third and fourth are giving us trouble.
    >
    > We essentially create drop down menu navigation for
    these pages via the
    > template. There are many menu items in the drop down.
    >
    > Dreamweaver is now not saving our work as we update the
    pop up menus on
    > the
    > templates. Can someone tell me if they've experienced a
    similar problem? A
    > major project hinges on this working properly, and its
    not at this point.
    >

  • Problem with dreamweaver and Flash

    Hi, maybe someone can help me, i have any problem with
    dreamweaver and flash, i have a page and i have a menu and
    sub-menu, and the same page i have a category en flash 550 x 700 (
    photography and more... ) but when the menu to unfold
    the menu to see under flash and it cant see ( sorry my
    english is bad.... i hope you can understand me, and help me.. )
    i dont now why always flash ever stay up, or first, and
    another information under flash... this a problem... if you have
    menus...
    thanks.... have nice day.....

    This is a drawback of using flash or any other active
    content. By default, all active content including flash will
    display over every other content and thats why your menu stays
    under the flash movie. Some people make the flash background
    transparent to show content under the flash movie, but that will
    not work for menu items.
    I would suggest that you make the menu such that it does not
    overlap with the flash movie.

  • Strange problem with HD

    I'm having a strange problem with my titanium 15" Powerbook G4 (I believe it's 867Mhz). When I start it up, I get a flashing question mark/folder, and I can't boot into safe mode or make it start up past that question mark.
    Here's the really weird part-- the hard drive is completely fine. I booted it in target mode, was able to access all files on it, transfer files to and from it, and when I ran disk utility, everything was fine.
    I heard disk utility doesn't catch everything, so I ran fsck 3 or 4 times with both the -f and -r options (to rebuild the file catalog), and it came up with 0 errors.
    I think it's just not recognizing the hard drive as the boot volume, but when I press option on startup to select it, it doesn't pop up in the list-- so there's no way to select it.
    Any suggestions?
    Thanks!
    Tim

    I reinstalled Leopard on it using the target disk method (because the DVD drive is broken on the computer). It installed fine, and I can see all system files on it, but I can't boot off of it-- same problem. Thanks for the suggestion... any others?
    Tim

  • Problem with Mega Stick 1 Menus

    I am facing a strange problem with Mega Stick 1.
    I press the 'Jog Dial'  menu button to access the menus. I do see all the sub menus but when I press the jog Dial again to go into the sub menu my Mega Stick takes me back to the mail menu. So basically I cannot go into any sub menu.  
    I upgraded the firmware of Mega Stick and the sub menus worked only once after the upgradation and after that the sub menues stopped working again.
    Anyone has any clue what is wrong and how can I fix it???/

    Come on guys please help me ... I am in trouble

  • Strange Problems With Display and Permissions Since 10.5.1 update.

    Since I've done the 10.5.1 update I have been having a strange problem with my desktop and dock displays. On my desktop I have these strange lines that appear any time I log in or open any application, the lines never go away and change locations on the screen once I open an application or move a window. My dock has the reflective shelf for about half of it, the rest is a dull grey. I've also had problems with verifying and repairing my permissions. I can never actually complete either permissions task. I've used some third party apps, they always fail as well. The only time I can actually repair my permissions is by booting in to single user mode and doing a fsck -f command. When I boot back in to Leopard and try to use the Disk Utility to repair, it continues to fail.
    I'm not sure if the video problem I am having stems from a permissions issue or possibly a corrupt video driver. Either way, I've done a lot research and haven't found anyone with the same problems I have been having so I thought I would give these forums a shot.
    I am using a PowerMac G4 Quicksilver with dual 800Mhz, 1.5gb RAM, and a GeForce4 Ti 4600 128mb video card.
    Here is a screen shot of the line and dock problem.
    Here is a screen shot of my "About This Mac.
    If anyone could lend some light on this issue, I would greatly appreciate it.
    Thanks
    Jeff

    you can pile it on this: http://discussions.apple.com/thread.jspa?threadID=1246649&tstart=0
    btw - no solution yet.

  • Strange problem with Adobe Acrobat X (crash without a trace)

    Hi,
    I have a strange problem with Adobe Acrobat. It happens totally randomly, it leaves no signs in system logs.
    What is happening: during my work Adobe Acrobat sudennly crashes. After a crash I cannot run it again - system seems to do something for a second, but then nothing happends. When i look into taks manager - there are no processes of Acrobat.exe. It just doesn't want to run. What I need to do is to reinstall whole Adobe Acrobat - which requires restart.
    I've already tried to restart system after crash, it doesn't help - reinstall is required.
    Sometimes everyting is fine for a 3 months, sometimes crash happens a week after the previous one. It also happens in very different situations (somtimes  while opening a file, sometimes when doing something simple, sometimes in more complex tasks).
    Has anyone encountered a similar problem?
    Acrobat version: 10.1.1
    System info: Windows 7 64 bit

    Hi Kelvin,
    Please let me know what OS version you are using.
    The error also shows OS requirements not met.
    Futher please try the steps below :
    > Enable the hidden Admin Account on Windows 7 ( Ref :  http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista/ )
    > Disable all Non-Microsoft Startup Services. (Ref : http://helpx.adobe.com/x-productkb/global/disable-startup-items-services-windows.html )
    > Disable all the Antivirus softwares like CA, Norton,Mc Afee etc. temporarily from the computer.
    Reboot and try installing in the new enabled Admin user account and check.
    Please refer the Kb Doc : http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html.
    Also see Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to review your installation logs
    Regards,
    Rave

  • Strange problem with Subviews on 1.0 Beta

    Hi,
    I'm having a strange problem with SubViews on 1.0 Beta. I'm not sure If I'm being stupid and have done something wrong, or if there's a problem here.
    My application is directly based on one of the examples, so the structure etc is almost identical. I've simplified the files below to avoid confusing the issue.
    The default landing page (greeting.jsp) looks like this:
    <%@ taglib declarations for HTML and CORE taglibs %>
    <HTML>
    <HEAD><title>Insulation Layer Demo</title></HEAD>
    <body bgcolor="white">
    <f:view>
    <jsp:include page="sysstatus.jsp" />
    <!-- other strictly HTML content -->
    </f:view>
    </body>
    </HTML>
    sysstatus.jsp looks like this:
    <%@ taglib declarations for HTML and CORE taglibs %>
    <f:subview id="SystemStatusView">
    <h:form id="systemStatusForm">
    <p><h:selectboolean_checkbox id="System1Available" value="#{SystemStatus.system1Available}"/>System 1<br/>
    <h:selectboolean_checkbox id="System2Available" value="#{SystemStatus.system2Available}"/>System 2</p>
    <p><h:command_button id="submit" action="success" value="submit" /></p>
    </h:form>
    </f:subview>When I view this page, the checkboxes all seem to work okay (in that their state is preserved across calls etc), but the formatting is very screwy. The resulting page looks something like:
    <chkbox1> <chkbox2> <Submit>
    System 1
    System 2
    <Other HTML content from greeting.jsp>When I look at the HTML source code being generated, it is genuinly being generated as above, that is, all the form tags first, and then the rest of the content. Interestinly, I tried adding a ${SystemStatus.system2Available} into the body text, and it was rendered as literal text (i.e. not evaluated as EL), which is very curious -- makes me wonder if the included file is included as text, rather than JSP, although the custom taglibs and <f:form> tags etc are not in the generated HTML.
    If I lift all the content between the <h:form> tags (inclusive) out of sysstatus.jsp and put it in greeting.jsp in place of the <jsp:include> tag, all is well.
    Any ideas? All help gratefully recieved!
    Thanks,
    Paul

    Personally, I think it is a bug in the rendering model of JSF itself because if you include any non-JSF tags, they don't get rendered according to my understanding of the what the spec says (in the location the tags are written).
    The only workaround that I could come up with is to use straight JSF tags in all of your layers. Things are then rendered the way that they "should" be rendered.
    You could try wrapping all of your HTML tags in <f:verbatim> tags and see if that helps.
    Good luck!
    David

  • Strange problem with the mail app on an iPad

    I've got a bit of a strange problem with the mail app on an iPad - it's sending and receiving mail ok but won't let you delete mail. If you keep at it, it appears as if you have deleted mail (though takes a very long time as you just have to keep deleting it over and over again) -  but the size of the app still keeps going up - reached 600mb so far, even though there is hardly any mail or attachments (goes up quite a lot each time you try to delete anything) - any idea what's causing this and how I can fix it?
    It occasionally comes up with a dialogue panel saying to check my account settings, but I have checked those and they are fine. The little 'loading' icon just keeps spinning constantly too.

    go to Settings > Mail > your account > Advanced > Move Discarded Messages Into 
    and make sure that Deleted Mailbox is ticked, and not Archive Mailbox
    You can also adjust how long the deleted mail stays in the trash immediately below that.
    If you are talking about a gmail account, you may also have to login to your account on the gmail server and update the settings there.  This is what Barney previously posted about that:

  • Strange problem with ACLs

    Hi,
    I have just migrated an oracle database from 11.1.0.7 on Win Server 2003 to 11.2 on Linux 64 bit. I am having a strange problem with ACLs - I can create the ACL but when I perform either of the following two commands:
    SELECT * FROM DBA_NETWORK_ACLS
    or
    SELECT * FROM NET$_ACL
    I get no rows returned. The ACL exists somehow because if I try and create it again I get the error that it exists. Has anyone got any advice here? Something is out of sync and I need to know how to fix it up.
    Thanks
    Adam

    BEGIN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL (
    acl => 'email_server_acl.xml',
    description => 'Network connection Email Server',
    principal => 'MAIL',
    is_grant => TRUE,
    privilege => 'connect');
    END;
    PL/SQL procedure successfully completed.
    select * from DBA_NETWORK_ACLS;
    (no rows)
    BEGIN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL (
    acl => 'email_server_acl.xml',
    description => 'Network connection Email Server',
    principal => 'MAIL',
    is_grant => TRUE,
    privilege => 'connect');
    END;
    ORA-31003: Parent /sys/acls/ already contains child entry email_server_acl.xml
    ORA-06512: at "SYS.DBMS_NETWORK_ACL_ADMIN", line 252
    ORA-06512: at line 2
    Edited by: Adam J. Sawyer on 15/04/2011 17:08

  • Some strange problem with Flash/As3

    Hi,
    I am having some strange problem with my flash cs3.
    Whatever script I write in as3  doesn't work, even a stop() function doesn't work . But when I change my publish setting to as2 it works fine.
    Not sure about the root cause, may be some setting or preference or my cs3 is corrupted.
    Can anybody please advise.
    Thanks,
    Kishor

    try this
    create a new fla as3,
    select frame 1
    open the actions panel
    paste in the following code
    var squares:Array = new Array;
    setup();
    function setup():void {
        for (var i = 0; i < 25; i++) {
            var square:Sprite = new Sprite();
            //square.name = "square" + i;
            square.graphics.beginFill(Math.random() * 0xffffff);
            squares.push(square);
            squares[i].graphics.drawRect(0, 0, 100, 100);
            squares[i].x = i*3;
            squares[i].y = i*3;
            squares[i].filters = [];
            square.graphics.endFill();
            stage.addChild(squares[i]);
    for (var j = 0; j < squares.length; j++) {
        squares[j].addEventListener(MouseEvent.MOUSE_DOWN, dragMovie);
        squares[j].addEventListener(MouseEvent.MOUSE_UP, dropMovie);
        squares[j].buttonMode = true;
    function dragMovie(event:MouseEvent):void {
        event.target.startDrag();
    function dropMovie(event:MouseEvent):void {
        event.target.stopDrag();

  • Strange problem with my ipod 2g after upgrade to os 4.2

    Strange problem with my ipod 2g after upgrade to os 4.2
    the problem with volume some times when i switch on the ipod i hear the sound
    alarm rings it's work too i can hear it .. but the problem i cant hear anything else as yourtube or music i cant hear buttons sound when i typing
    i hope i get help

    I would try in order:
    - Reset the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restore the iPod from backu via iTunes.
    - Restore the iPod to factory defaults/new iPod.

  • Strange Problem with ARD 2.2 *Please Help*

    Strange Problem with ARD 2.2 (2 problems)
    We have a classroom lab with 14 G5 PPC's running 10.4.11 with ARD 2.2 clients installed.
    We controlled all the G5's from a PPC Mac Mini running 10.4.11 with ARD 2.2, this was our Admin machine in our server room.
    We then added a teachers machine in the lab, an iMac PPC running 10.4.11 and ARD 2.2 also with admin status.
    Everything was working fine!
    We then upgraded the iMac PPC to an iMac Intel with 10.4.11. We installed ARD 2.2 admin and did the intel intergration.
    Everything worked fine.
    The iMac PPC was moved to another location, ARD was removed following instructions on the Apple website telling us to delete the application then run some terminal commands to remove pref's.
    Then our Intel iMac screen broke, we had the "lines" problem so bad only half the screen was visible. Long story short Apple wanted to charge us almost half the cost of the machine (no Applecare as it was a donated machine) to repair the screen!
    So we moved the PPC iMac back into the lab, re-install ARD 2.2.
    Now here is the problem, I can control, observe and run almost any command but cannot share with any computer!
    2nd,the Mac Mini Tech computer is running fine but cannot control or observe the PPC iMac teacher machine (we were able to do this before) I can even share the Mac Mini with the iMac but cannot observe or control!!
    Any ideas?

    "With ARD you have to enable option to control a Mac which has ARD running on it as opposed to remotely controlling normal client Mac."
    I'm not sure I understand, do you mean in System Pref's under sharing? Or is there somewhere else I need to enable to control?
    Seems like a hassle to reinstall the entire OS just to fix this problem, I am able to do everything else, except observe from one admin to another, and control from 1 admin to clients.
    thanks

  • Strange problem with WD component build

    Hi all,
    I have strange problem with building one wd component, which is part of SC. I'm getting few errors which stops me from building component (and transporting to other systems via CMS of course). I'm providing sample of the errors (3 types) and ant error:
    [code]     [wdgen] [Error]   com.gbs.gmob.RequisitionFoCust --> ContextValueAttribute startDate [type]: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
         [wdgen] [Error]   com.gbs.gmob.RequisitionFoCust --> ContextValueAttribute stopDate [type]: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
         [wdgen] [Error]   com.gbs.gmob.SuppMatGroupView --> TextView MATERIAL_GROUP_NAME_editor [text]: Context element and property are not compatible
         [wdgen] [Error]   com.gbs.gmob.SuppMatGroupView --> TextView MATERIAL_GROUP_ID_editor [text]: Context element and property are not compatible
         [wdgen] [Error]   com.gbs.gmob.SupplierCust --> ContextModelNode SuppMatGroup [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Error]   com.gbs.gmob.SupplierCust --> ContextValueAttribute material_group_list [type]: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
         [wdgen] [Warning] com.gbs.gmob.ApprovalRejectView --> TextEdit TextEdit: UIElement does not have a label
         [wdgen] [Info]    Catching throwable null
         [wdgen] [Info]    com.sap.webdynpro.generation.ant.GenerationAntTaskError
         [wdgen]      at com.sap.webdynpro.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:153)
         [wdgen]      at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2050)
         [wdgen]      at com.sap.ide.webdynpro.generation.Generation.generatePersistentComponent(Generation.java:1299)
         [wdgen]      at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:175)
         [wdgen]      at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [wdgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [wdgen]      at java.lang.reflect.Method.invoke(Method.java:324)
         [wdgen]      at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)
         [wdgen]      at org.apache.tools.ant.Task.perform(Task.java:341)
         [wdgen]      at org.apache.tools.ant.Target.execute(Target.java:309)
         [wdgen]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
         [wdgen]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
         [wdgen]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
         [wdgen]      at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
         [wdgen]      at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
         [wdgen]      at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [wdgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [wdgen]      at java.lang.reflect.Method.invoke(Method.java:324)
         [wdgen]      at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
         [wdgen]      at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
         [wdgen]      at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
         [wdgen]      at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
         [wdgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
         [wdgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
         [wdgen]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
         [wdgen]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
         [wdgen]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
         [wdgen]      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
         [wdgen] ERROR: Unknown exception during generation null (com.sap.webdynpro.generation.ant.GenerationAntTaskError)
         [wdgen] ERROR: Generation failed due to errors (6 seconds)
    Ant runtime 9.234 seconds
    Ant build finished with ERRORS
    [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    [/code]
    Strange is that if I try to rebuild and deploy locally, no errors occurs and I can normally deploy and run application manually!
    Does anyone have experience with this problem?
    Thanks in advance!
    Regards,
    Ivan

    Hi Ivan
    I have faced this problem earlier BUT ultimately I have to create the DC from scratch.
    But you can check these things:
    1.Have you copy/pasted Dictionary type from other location (check the path of the dictionary types ) --> If yes then deleted that and create again(do not use copy/paste)
    2.This also happens if your "Used DC" has some problems in the JDI --> Remove the used DC and add it again.
    3.Make sure the NWDI infastructure is perfect- this may be a cause.
    4. Check Context mappings --> delete all mappings > save metadata > Create again.
    5. Delete the model and recreate it again.
    6.If you have done reimporting model make sure to restart J2EE instance.
    Hope this solves the problem - if not please post
    Regards
    Ananda

  • Strange Problem with a Vector wraped inside a Hashtable

    Hi all ,
    I'm having a strange problem with a Vector wraped within a Hashtable inherited Class.
    My goal is to keep the order of the elements of the Hashtable so what I did was to extend Hashtable and wrap a Vector Inside of it.
    Here is what it looks like :
    package somepackage.util;
    import java.util.Enumeration;
    import java.util.Hashtable;
    import java.util.Vector;
    public class OrderedHashTable extends Hashtable {
        private Vector index;
        /** Creates a new instance of OrderedHashTable */
        public OrderedHashTable() {      
            this.index = new Vector();
    //adds a key pair value to the HashTable and adds the key at the end of the index Vector
       public synchronized Object put(Object key,Object value){      
           index.addElement(key);
           Object obj = super.put(key,value);
           System.out.println("inside OrderedHashTable Put method index size = " + index.size());
           return obj;    
    public synchronized Object remove(Object key){
           int indx = index.indexOf(key);
           index.removeElementAt(indx);
           Object obj = super.remove(key);
           return obj;
    public synchronized Enumeration getOrderedEnumeration(){
           return index.elements();
    public synchronized Object getByIndex(int indexValue){
           Object obj1 = index.elementAt(indexValue);
           Object obj2 = super.get(obj1);      
           return obj2;
       public synchronized int indexOf(Object key){
        return index.indexOf(key);
        public synchronized int getIndexSize() {
            return index.size();
        }Everything seemed to work fine util I tried to add objects using a "for" loop such as this one :
    private synchronized void testOrderedHashTable(){
            OrderedHashTable test = new OrderedHashTable();
            for (int i = 1 ; i<15; i++){
                 System.out.println("adding Object No " + i);
                 String s = new String("string number = "+i);
                 test.put(new Integer(i),s);
                 System.out.println("-----------------------------------");
            //try to list the objects
            Enumeration e = test.getOrderedEnumeration();
            while (e.hasMoreElements()){
                Integer intObj = (Integer) e.nextElement();
                System.out.println("nextObject Number = "+ intObj);
        }Here is the console output :
    Generic/JSR179: adding Object No 1
    Generic/JSR179: inside OrderedHashTable Put method index size = 1
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 2
    Generic/JSR179: inside OrderedHashTable Put method index size = 2
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 3
    Generic/JSR179: inside OrderedHashTable Put method index size = 3
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 4
    Generic/JSR179: inside OrderedHashTable Put method index size = 4
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 5
    Generic/JSR179: inside OrderedHashTable Put method index size = 5
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 6
    Generic/JSR179: inside OrderedHashTable Put method index size = 6
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 7
    Generic/JSR179: inside OrderedHashTable Put method index size = 7
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 8
    Generic/JSR179: inside OrderedHashTable Put method index size = 8
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 9
    Generic/JSR179: inside OrderedHashTable Put method index size = 10
    Generic/JSR179: inside OrderedHashTable Put method index size = 10
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 10
    Generic/JSR179: inside OrderedHashTable Put method index size = 11
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 11
    Generic/JSR179: inside OrderedHashTable Put method index size = 12
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 12
    Generic/JSR179: inside OrderedHashTable Put method index size = 13
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 13
    Generic/JSR179: inside OrderedHashTable Put method index size = 14
    Generic/JSR179: -----------------------------------
    Generic/JSR179: adding Object No 14
    Generic/JSR179: inside OrderedHashTable Put method index size = 15
    Generic/JSR179: -----------------------------------
    Generic/JSR179: nextObject Number = 1
    Generic/JSR179: nextObject Number = 2
    Generic/JSR179: nextObject Number = 3
    Generic/JSR179: nextObject Number = 4
    Generic/JSR179: nextObject Number = 5
    Generic/JSR179: nextObject Number = 6
    Generic/JSR179: nextObject Number = 7
    Generic/JSR179: nextObject Number = 8
    Generic/JSR179: nextObject Number = 9
    Generic/JSR179: nextObject Number = 9
    Generic/JSR179: nextObject Number = 10
    Generic/JSR179: nextObject Number = 11
    Generic/JSR179: nextObject Number = 12
    Generic/JSR179: nextObject Number = 13
    Generic/JSR179: nextObject Number = 14
    You can notice that the output seems correct until the insertion of object 9.
    At this point the vector size should be 9 and the output says it is 10 elements long ...
    In the final check you can notice the 9 was inserted twice ...
    I think the problem has something to do with the automatic resizing of the vector but I'm not really sure. Mybe the resizing is done in a separate thread and the new insertion occurs before the vector is resized ... this is my best guess ...
    I also tested this in a pure J2SE evironment and I don't have the same strange behavior
    Can anybody tell me what I am doing wrong or how I could avoid this problem ?
    Thanks a lot !
    Cheers Alex

    Am i doing anything wrong?Uhm, yes. Read the API doc for addElement() and for addAll()

Maybe you are looking for