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

Similar Messages

  • Strange Problems with XDK v10 Beta Version

    Hello together,
    I encounter two strange problems with the new 10.1.0.0.0 Beta release of XDK. I already posted them in the Beta Release Testing Forum, but got no replies, so I decided to start another try here. Maybe anyone can help me...
    I upgraded a fine-working XSQL web application from XDK 9.2.0.4 to the new 10.1.0.0.0 Beta release of XDK. Since then, two bugs came up, which are reproducible by will:
    1.)
    When processing XSQL insert-requests, the error given below is thrown. I already found an entry in the bug database that says that exactly this error should have been fixed since 9.2.0.3 (see http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230695.1), but no it seems to be there again.
    This is the stack trace:
    XSQL-017: Unexpected Error Occurred
    java.lang.NoClassDefFoundError: oracle/sql/OPAQUE
    at oracle.xml.xsql.actions.XSQLInsertRequestHandler.handleAction(XSQLInsertRequestHandler.java:118)
    at oracle.xml.xsql.XSQLDocHandler.getDocument(XSQLDocHandler.java:158)
    at oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java:171)
    at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:61)
    at oracle.xml.xsql.XSQLServlet.doPost(XSQLServlet.java:82)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    2.)
    When I deploy and start the application now, I always get the following error only once(!) after deployment when I call the application for the first time:
    XSQL-017: Unexpected Error Occurred
    java.lang.NullPointerException
    at weblogic.jdbc.oci.Statement.executeQuery(Statement.java:865)
    at oracle.xml.xsql.actions.XSQLQueryHandler.handleAction(XSQLQueryHandler.java:161)
    at oracle.xml.xsql.XSQLDocHandler.getDocument(XSQLDocHandler.java:158)
    at oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java:171)
    at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    When I reload the same page, it works. However, this is not really a good state for productive use.
    Any ideas? After days of research, I'd be very glad for any help.
    Thanks alot,
    Eckhard

    Once again me:
    I guess I should partially revoke for the second topic: The error described above under 2.) seems to be rather a Weblogic versioning problem than a XDK bug, as it only occurs when deploying the application to WebLogic 7.0 (instead of 6.1, which was used before). Maybe I should search the BEA docs for an answer.
    However, the first bug is still a problem to me...

  • Strange problem with connection to Integrator Server

    Hi,
    I have a strange problem with making a connection to my Integrator Server.
    I have one workspace folder that I share between Integrator version 2.4 and 3.0 (I have several versions installed for testing purposes)
    When I try to create a new Integrator Server Project in Integrator Designer I get this nice 'Connect to CloverETL Server' panel.
    By default: the connection URL is http://localhost:8080/clover. So by default Integrator Designer wants to connect to my 2.4 Integrator Server.
    When I change this to http://localhost:8301/clover by using the drop-down box and fill in my credentials everything is looking fine. I click Next.
    The problem now is that every time I switch to the next or previous configuration windows the connection is reset to the default http://localhost:8080/clover.
    So it seems like Integrator Designer resets the CloverETL Server URL each time I switch to a different configuration window by using NEXT or BACK.
    The problem occurs in both versions of Integrator Designer.
    Does anybody know that the problem is? Can I change the default URL to my 3.0 Integrator Server?
    Greetings,
    Marcow
    Edited by: Marco Snels (AortaBI)(NL) on 31-mei-2013 4:59

    I'm using iPlanet App server as well and experiencing similar problem. I load my SQL Server driver by Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"), then use DriverManager.getDriver() to obtain the Driver.
    However, the Driver returned is not the SQLServerDriver as expected. The Driver returned is com.netscape.server.jdbc.Driver! And then when I do Driver.getConnection("jdbc:microsoft:sqlserver://MyServer"), it throws an SQLException saying that it doesn't accept a jdbc:microsoft:sqlserver subprotocol. Well, of course it doesn't, it's not a microsoft Driver at all.
    I suspect the problem is that the netscape Driver's acceptsURL() method ALWAYS returns true in iPlanet app server, thus when you getDriver(), the netscape Driver is always returned (and always returned as the first one since it's default?). Thus even though the same piece of code works fine as a standalone application, it just doesn't work on iPlanet app server.
    My work around is:
    Class.forName("my.Driver");
    Enumeration enu = DriverManager.getDrivers();
    Driver useThis = null;
    while (enu.hasMoreElements()) {
    Driver d = (Driver)enu.nextElement();
    if (d.getClass().toString().indexOf("my.Driver") > -1) {
    useThis = d;
    Mind that my above code does not have an performance issue. If you look into the source code of how DriverManager get a Driver for a particular URL, it also loads the whole set of available Drivers, then call acceptsURL() method on each of them to find the first "suitable" one. Thus time complexity is the same.
    I know this is not a very elegant solution and it defeats the purpose of having a DriverManager. Does any one else has a better way to solve this problem, like a way to specify the priority of each Driver so that SQLServerDriver is returned before the netscape Driver?
    Thanks a lot.

  • Strange problem with JComboBox

    I am having a strange problem with JComboBox, I created a method as a JComboBox factory which returns a JComboBox filled with items. the method works fine and I can see the items in the JComboBox. The problem is when I try using the method myCombo.SelectedItem(String item); the object myCombo does not set the selected item, it just leaves the item blank (or unselected).
    //This method build a JComboBox
    public javax.swing.JComboBox makeJComboBox(String[] items) {
    javax.swing.JComboBox myComboBox = new javax.swing.JComboBox();
    for (int index=0;index<items.length;index++){
    myComboBox.addItem(makeObj(items[index]));
    return myComboBox;
    public Object makeObj(final String item) {
    return new Object() {
    public String toString() {
    return item;
    }

    Couple of better ways to populate a combo with items-
    public javax.swing.JComboBox makeJComboBox(String[]items) {
    javax.swing.ComboBoxModel cbModel = new DefaultComboBoxModel(items);
    javax.swing.JComboBox myComboBox = new javax.swing.JComboBox(cbModel);
    return myComboBox;
    }OR
    public javax.swing.JComboBox makeJComboBox(String[]items) {
    return new javax.swing.JComboBox(items);

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

  • Strange problem with P35 Neo

    Hi there.
    Got a strange problem with a computer that got a P35 Neo system board.
    The problem I got, is that the computer don't boot. If I reset the CMOS,
    I can get the computer to boot, but then it hungs on loading Vista.
    Then I try to repair my Vista. Then the computer hungs while loading the DVD.
    I have tried to boot with only one RAM in the computer, but the problem still
    there...
    I have tried to reset the CMOS by changing the JPBAT (I think it called so) jumper
    and to pull out the battery.
    I have tried to disconnect all, but one HDD and but I can't say that it worked any
    better...
    Any ideas how to find out the error?
    2 x 2 GB Corsair RAM
    Intel dual Core CPU
    Radeon 1950 PCI-E
    1 Samsung SATA HDD
    2 Seagate SATA HDD

    Quote from: BOSSKILLER on 25-August-08, 20:31:15
    What PSU you have? Corsair Powersupply 550W Black, ATX/EPS
    Provide better details about memory sticks used. Corsair TWIN2X 6400C4DHX DDR2
    What CPU? Intel Core 2 Quad Q6600 2.4 GHz
    BIOS version onboard? Note sure, since I'm not right at the computer for the moment. But I think it's 1.0 since it is brand new from store.
    Do memory check with >>Memtest86<< Well, it's kind of difficult, since the computer dont boot.

  • Strange problem with backgroung processing of BDC for Transcation CLMM

    Folks,
    I have encountered strange problem with BDC.I created an ALV report from output i select any number of rows and hit insert class button on top. If i select less than 10 row and use this statement
    call transaction 'CLMM' mode 'N'
    ,it works fine but if i select more than 10 rows ,the sy-subrc after this statement  
    call transaction 'CLMM' mode 'N'
    is 1001 means an error. I cant understand this problem of Mode N. if  i put statement
    call transaction 'CLMM'
    (foreground processing) here ,everything works fine. Do you have any idea?
    Nirad

    Hi,
    The problem is due to the screen size which can differ between foreground and background mode.
    A screen with 10 table rowsin foreground does not necessarily mean same number of rows would be available in background mode.
    Hence its always better to create recording with Simulate Background Mode as checked.
    When you enter transaction code 'CLMM' in SHDB transaction and start recording, check Simulate Background Mode.
    Hope this helps!
    Cheers,
    Vikram

  • Strange problem with virtual machines backup (Hyper-V 2012R2)

    Hi
    I have a strange problem with backup of virtual machines in one of my Hyper-V environments. Let me describe how does it looks like: There are two physical servers - HP DL360 G8. They are used as hosts for four virtual machines - domain controllers in two domains.
    Each of them runs one DC in every domain. I've configured backup "inside" every virtual machine (with Windows Server Backup tool), in its operating system, because domain controllers should have their system state, regularly backuped, etc. Backup
    is made on the network share - all machines to the same server as destination. And now the case - two virtual server are backuped as expected - the operation takes 3 - 4 minutes and is always succeded. But in case of two remaining it looks as below:
    - Backup operation starts (is scheduled).
    - Volume shadow copy is made.
    - The first partition of VM starts to be copied. It's Windows 2012 R2 Generation2 VM, so it has EFI, Recovery and C: partition. EFI is as first and at this moment backup stucks for a 2-3 hours! Progress of copying is 0%. After for example 3 hours this partition
    is completed and starts the next (disk C:). And again - it freezes for a few hours and suddenly is pushed. As a result the backup is made successfully, but it takes for example 10 hours.
    Both "dodgy" VMs are on separated hosts. All four of them were installed in the same time. I tried to change destination to locally connected disk, but no result. It's interesting as well, that after rebooting VM, the first backup is made normally,
    but every next has described problem again. In EventLog I can't find any errors, I don't know how to diagnose such case precisely, etc. Have you got idea what can cause such behaviour or where on the server should I look for some hints?
    Thanks
    Marcin

    Hi Marcin,
    >>that after rebooting VM, the first backup is made normally, but every next has described problem again.
    It shouldn't happen .
    To narrow this issue down , Please try to backup an Gen1 VM and check the result .
    Best Regards
    Elton JI
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

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

Maybe you are looking for

  • For my Time Capsule back up I want to use ethernet!

    My new Time Capsule is working now, or at least I think it is, but backing up 2 TB seems to wanna take several days. In just over 24 hours only 300 GB was backed up! Also the process seems to be interrupted a few times and it looks like I won't be ab

  • How to restore Firefox windows after the restore has already been done?

    System: Firefox 3.6.16 Windows Vista Business 64-bit Service Pack 2 Core2 Extreme Q9300 4 x 2.53 GHz 8 GB RAM I had 187 Firefox windows open when Firefox crashed. I had restore on. When the window that asks which windows I want to restore appeared, I

  • Uploading File To MySQL from HTML form via Servlet

    Hello all ! I hope this is better place to ask. I'm working on simple Servlet/Jsp application trying to hold to MVC pattern and got stuck on uploading file to MySQL db. Here's what I'm trying to accomplish: 1) client submits a JPEG image via a simple

  • Log4j classpath setting in weblogic server 8.1

    Hi, I placed all my properties files outside ear file in the folder C:\bea\user_projects\domains\xyz\config . I changed classpath setting in startweblogic.cmd as follows set CLASSPATH=%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.

  • Payment advise on Check

    Hi Friends, My client is currently printing check,payment advise and payment summary separately, they want to change current business process and want to print payment advise on the same page as check. Where do I do that configuration. Moreover, what