Navbars created generated wrong code in dw cs4. why?

I created my navbars using the Insert>Image Objects>Navigation Bar function in DW CS4. When I validate the page, it is saying that the onmouseover, onmouseout, etc. don't conform to the upper and lowercase standards. The code generated is onMouseOver, etc. with capital letters. I am going through and changing them all, but my question is why is DW generating code like that?
Also, lines 78 through 84 are generating this message: The tag: "img" doesn't have an attribute "onload" in currently active versions. I see that there is nothing between the " ".
Here is my code:
<div id="nav"> <a href="../index.html" target="_top" onclick="MM_nbGroup('down','group1','home','../navbars/homedown.jpg',1)" onmouseover="MM_nbGroup('over','home','../navbars/homeover.jpg','../navbars/homedown.jpg',1)" onmouseout="MM_nbGroup('out')"><img src="../navbars/homeup.jpg" alt="Home Button" name="home" border="0" id="home" onload="" /></a> <br />
    <a href="../windowtreatments/windowtreatments.html" target="_top" onclick="MM_nbGroup('down','group1','windowtreatments','../navbars/windowtreatmentsdown.jpg',1)" onmouseover="MM_nbGroup('over','windowtreatments','../navbars/windowtreatmentsover.jpg','../navbars/windowtreatmentsdown.jpg',1)" onmouseout="MM_nbGroup('out')"><img name="windowtreatments" src="../navbars/windowtreatmentsup.jpg" border="0" alt="Window Treatments" onLoad="" /></a> <br />
    <a href="../pillows/pillows.html" target="_top" onclick="MM_nbGroup('down','group1','pillows','../navbars/pillowsdown.jpg',1)" onmouseover="MM_nbGroup('over','pillows','../navbars/pillowsover.jpg','../navbars/pillowsdown.jpg',1)" onmouseout="MM_nbGroup('out')"><img name="pillows" src="../navbars/pillowsup.jpg" border="0" alt="Pillows" onLoad="" /></a> <br />
    <a href="../bedbath/bedbath.html" target="_top" onclick="MM_nbGroup('down','group1','bedbath','../navbars/bedbathdesignsdown.jpg',1)" onmouseover="MM_nbGroup('over','bedbath','../navbars/bedbathdesignsover.jpg','../navbars/bedbathdesignsdown.jpg',1)" onmouseout="MM_nbGroup('out')"><img name="bedbath" src="../navbars/bedbathdesignsup.jpg" border="0" alt="Bed & Bath Designs" onLoad="" /></a> <br />
    <a href="../outdoor/outdoor.html" target="_top" onclick="MM_nbGroup('down','group1','outdoor','../navbars/outdoorfurnishingsdown.jpg',1)" onmouseover="MM_nbGroup('over','outdoor','../navbars/outdoorfurnishingsover.jpg','../navbars/outdoorfurnishingsdown.jpg',1)" onmouseout="MM_nbGroup('out')"><img name="outdoor" src="../navbars/outdoorfurnishingsup.jpg" border="0" alt="Outdoor Furnishings" onLoad="" /></a> <br />
    <a href="../commercial/commercial.html" target="_top" onclick="MM_nbGroup('down','group1','commercial','../navbars/commercialdown.jpg',1)" onmouseover="MM_nbGroup('over','commercial','../navbars/commercialover.jpg','../navbars/commercialdown.jpg',1)" onmouseout="MM_nbGroup('out')"><img name="commercial" src="../navbars/commercialup.jpg" border="0" alt="Commecial" onLoad="" /></a> <br />
    <a href="../contactus/contactus.html" target="_top" onclick="MM_nbGroup('down','group1','contactus','../navbars/contactusdown.jpg',1)" onmouseover="MM_nbGroup('over','contactus','../navbars/contactusover.jpg','../navbars/contactusdown.jpg',1)" onmouseout="MM_nbGroup('out')"><img name="contactus" src="../navbars/contactusup.jpg" border="0" alt="Contact Us" onLoad="" /></a> <br />
  </div>
When the page loads, I want the button to be the "up" instance. I'm just not sure how much of the code I need to insert in between the onload quotes to get the up instance. Newbie here, please be kind. I tried a couple of things, but it is not correct. Am I correct in thinking that onload means when the page initially loads?

I found the answer to my question in another forum regarding the onload="":
(this code is someone elses, but the problem was the same)
Change this -
t="118" border="0" id="step1" onload="" /></a><a href="index.htm
to this -
t="118" border="0" id="step1" /></a><a href="index.htm
An image tag has no "onload" attribute.  You must be using the antique and
poor functionality of the "Nav Bar" - are you?
I  am using DW CS4...not sure why this would be considered antique. ? If CS4 has the functionality in there, why doesn't it generate the correct code? Which leads me back to my first question in my original post. Why isn't the code being generated correct?

Similar Messages

  • Generating wrong code

    hi,
    my deployment wizard generates wrong code: all custom finder methods are
    generated wrong. i checked the xxxPSJDBC.java files and i saw that the
    wizard generates the sql-statement correct but then:
    Object __WL_typeObj = __WL_fieldSQLTypes.get("null");
    i think that this is wrong! please help!
    i am developing my beans in vaj 3.02 on nt. i found another problem which
    belongs to the same topic, i guess:
    generated code like the following is ridiculous:
    java.lang.String __WL_stmt = " select id, partno, row from item where 1=0"
    --> throws the following exception when starting Weblogic server:
    java.lang.Exception: Couldn't get ResultSetMetaData to look up field types:
    thanks for your help in advance,
    martin

    here it is.
    regards,
    martin
    "Ravi Akella" <[email protected]> wrote in message
    news:[email protected]..
    Can you post DeploymentDescriptor.txt file.
    -- Ravi Akella.
    Martin Zach wrote:
    hi,
    sorry, i did not mention that i am using wls 4.5.2 with sp1.
    martin
    Ravi Akella <[email protected]> schrieb in im Newsbeitrag:
    [email protected]..
    It depends on the WL QL(Query Language). Can you post the
    weblogic-cmp-rdbms-jar.xml?
    -- Ravi Akella.
    Martin Zach wrote:
    hi,
    my deployment wizard generates wrong code: all custom finder methods
    are
    generated wrong. i checked the xxxPSJDBC.java files and i saw thatthe
    wizard generates the sql-statement correct but then:
    Object __WL_typeObj = __WL_fieldSQLTypes.get("null");
    i think that this is wrong! please help!
    i am developing my beans in vaj 3.02 on nt. i found another problemwhich
    belongs to the same topic, i guess:
    generated code like the following is ridiculous:
    java.lang.String __WL_stmt = " select id, partno, row from item
    where
    1=0"
    --> throws the following exception when starting Weblogic server:
    java.lang.Exception: Couldn't get ResultSetMetaData to look up fieldtypes:
    thanks for your help in advance,
    martin
    [UserDescriptor.txt]

  • Xjc generating wrong code

    Hi,
    I'm new to the world of JAXB/xjc so please be nice even if the question is stupid.
    When running xjc on a xml schema it generates java code that imports the class it defines in the same file (see below for example output). It declares the class PropertyType and also imports it! Strange?!?
    Any hints appreciated
    -Tim
    package com.kettler.reqstd.reqdef.definition;
    import javax.xml.bind.annotation.AccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlType;
    import com.kettler.reqstd.reqdef.definition.PropertyType;
    @XmlAccessorType(AccessType.FIELD)
    @XmlType(name = "PropertyType", propOrder = {
    "name",
    "displayName"
    public class PropertyType {
    -----------------------------------------------

    here it is.
    regards,
    martin
    "Ravi Akella" <[email protected]> wrote in message
    news:[email protected]..
    Can you post DeploymentDescriptor.txt file.
    -- Ravi Akella.
    Martin Zach wrote:
    hi,
    sorry, i did not mention that i am using wls 4.5.2 with sp1.
    martin
    Ravi Akella <[email protected]> schrieb in im Newsbeitrag:
    [email protected]..
    It depends on the WL QL(Query Language). Can you post the
    weblogic-cmp-rdbms-jar.xml?
    -- Ravi Akella.
    Martin Zach wrote:
    hi,
    my deployment wizard generates wrong code: all custom finder methods
    are
    generated wrong. i checked the xxxPSJDBC.java files and i saw thatthe
    wizard generates the sql-statement correct but then:
    Object __WL_typeObj = __WL_fieldSQLTypes.get("null");
    i think that this is wrong! please help!
    i am developing my beans in vaj 3.02 on nt. i found another problemwhich
    belongs to the same topic, i guess:
    generated code like the following is ridiculous:
    java.lang.String __WL_stmt = " select id, partno, row from item
    where
    1=0"
    --> throws the following exception when starting Weblogic server:
    java.lang.Exception: Couldn't get ResultSetMetaData to look up fieldtypes:
    thanks for your help in advance,
    martin
    [UserDescriptor.txt]

  • OWB 10.1 generates wrong code if Optimized Code is set to true

    We have upgraded OWB 9.2 to 10.1 (up to Patchlevel 10.1.0.5) because of the database upgrade from 9 to 10.2. We want to migrate later to OWB 10.2. soon but for now we have to work with 10.1 .
    If we switch "Optimized Code" to true, the generated code is partly wrong. Some columns are not inserted correctly. For instance owb generate "SPLITTER_INPUT_SUBQUERY"."BGRKZ$4" but correct was "SPLITTER_INPUT_SUBQUERY$0"."BGRKZ$4". He ommits $0. The problem can only corrected if the relevant column will be deleted in the mapping and reinserted. But we have 400 Mappings. Does anybody know a workaround for this problem?
    Thanks in advance
    Alex

    Don't switch to the "Optimized Code" :-)

  • Studio 12: C compiler generates bad code with -m64 -KPIC -xO2

    Hello,
    after upgrading my Solaris 10/x64 machine from Studio 11 to Studio 12 some problems were fixed, but others came up; like this one:
    I have a code snippet that obviously causes the C compiler to generate wrong code if compiled with options -m64 -KPIC -xO2. If any of these options are missing, it runs fine. Here's the example code:
    #include <stdio.h>
    #include <strings.h>
    static int do_something() { return 0; }
    static int foo() {
        fprintf(stderr, "\n!! BUG: BAD CODE! unexpected function call foo()!\n\n");
        return 222;
    static int bar() {
        fprintf(stdout, "\nOK: bar() called\n\n");
        return 0;
    static const struct {
        const char* name;
        int (*func)();
        int flag;
    } tab[] = {
        { "foo",  &foo,  0 },
        { "bar",  &bar,  0 },
        { 0, 0, 0 }
    int main(int argc, const char** argv) {
        int i;
        for (i=0; tab.name; i++) {
    if( strcmp(tab[i].name, "bar") == 0 ) {
    if(tab[i].flag) {   /* not reached */
    if(!do_something()) {
    return 2;
    return (*tab[i].func)();
    return 1; /* not reached */
    Many lines seem to be bogus, but they are actually needed to reproduce the problem.
    This is what happens:# cc -m64 -KPIC -xO2 bug.c && ./a.out ; echo $?
    !! BUG: BAD CODE! unexpected function call foo()!
    222
    If I compile with debugging information (-g), I get expected behavior, which is:# cc -m64 -KPIC -g bug.c && ./a.out ; echo $?
    OK: bar() called
    0
    While creating the test case I've also seen SIGSEGV at runtime in the bug case - which is probably due to a wrong calculated function address for jmp (just guessing).
    Does anyone know if this is a known bug?
    Any help is appreciated.
    The rest of this posting is information about my system and Studio 12 patch level:# uname -a
    SunOS v20 5.10 Generic_137112-08 i86pc i386 i86pc
    # /usr/SUNWspro/bin/version
    Machine hardware: i86pc
    OS version: 5.10
    Processor type: i386
    Hardware: i86pc
    The following components are installed on your system:
    Sun Studio 12
    Sun Studio 12 C Compiler
    Sun Studio 12 C++ Compiler
    Sun Studio 12 Tools.h++ 7.1
    Sun Studio 12 C++ Standard 64-bit Class Library
    Sun Studio 12 Garbage Collector
    Sun Studio 12 Fortran 95
    Sun Studio 12 Debugging Tools (including dbx)
    Sun Studio 12 IDE
    Sun Studio 12 Debugger GUI
    Sun Studio 12 Performance Analyzer (including collect, ...)
    Sun Studio 12 X-Designer
    Sun Studio 12 VIM editor
    Sun Studio 12 XEmacs editor
    Sun Studio 12 Performance Library
    Sun Studio 12 LockLint
    Sun Studio 12 Building Software (including dmake)
    Sun Studio 12 Documentation Set
    Sun Studio 12 /usr symbolic links and GNOME menu item
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.9 SunOS_i386 Patch 124868-07 2008/10/07
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.9 SunOS_i386 Patch 124864-08 2008/10/16
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.3 SunOS_i386 Patch 127002-04 2008/04/16
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.6 SunOS_i386 Patch 124873-06 2008/08/20
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Analyzer 7.6 SunOS_i386 Patch 126996-04 2008/09/03
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.8 SunOS_i386 Patch 126504-01 2007/07/19

    I'm watching Bug ID: [6774287|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6774287] for quite a while and it seems to be fixed some time ago (State: 8-Fix Available, bug). Does anybody know if the fix made it in some officially available SunStudio 12 C compiler (backend) patch already? I'm using this SS12 patch-level meanwhile:
    # /usr/SUNWspro/bin/version
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.9 SunOS_i386 Patch 124868-08 2008/11/25
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.9 SunOS_i386 Patch 124864-09 2008/12/16
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.3 SunOS_i386 Patch 127002-05 2008/10/21
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.6 SunOS_i386 Patch 124873-06 2008/08/20
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Analyzer 7.6 SunOS_i386 Patch 126996-04 2008/09/03
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.8 SunOS_i386 Patch 126504-01 2007/07/19

  • SUN AS generates wrong WS code very often !

    Hi
    I am using NB 4.1 and SUN AS 8.1 to create some WEB services. I am using JSR 109 compatible WS stub generation. Application server generates them when a WS is being deployed.
    There are several cases when it generates wrong java code that cannot be compiled.
    I have created a very simple WS that returns an array of custom class objects (DTOs).
    package lv.test;
    import lv.test.dto.OneDTO;
    public class BugTestWebServiceImpl implements BugTestWebServiceSEI
        public OneDTO[] test()
            return new OneDTO[] {};
    }And here is my DTO class.
    package lv.test.dto;
    import java.io.Serializable;
    public class OneDTO implements Serializable
        private String tx3dstatus;
        public OneDTO()
        public String getTx3dstatus()
            return tx3dstatus;
        public void setTx3dstatus(String tx3dstatus)
            this.tx3dstatus = tx3dstatus;
    }Quite simple, isn't it ? Now you can get very stupid code out from SUN AS just by changing some simple WS settings.
    Let's disable documentliteral and enable rpcliteral. After all it should be RPC style WebService, not Document-style. And behold , you will get some stupid java code that doesn't even compile !
    [#|2005-06-01T18:33:29.390+0300|WARNING|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=21;|DPL5035:Error while running ejbc
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- jaxrpc compilation exception
    C:\Sun\AppServer\domains\domain1\generated\ejb\j2ee-modules\RPCBug\lv\test\BugTestWebServiceSEI_Tie.java:56: incompatible types
    found : lv.test.dto.OneDTO[]
    required: lv.test.OneDTO[]
    ((lv.test.BugTestWebServiceSEI) getTarget()).test();
    ^
    Why it assumes that DTO should be in the same package where WS implementation is ?
    Another interesting thing happens if you disable both documentliteral and rpcliteral:
    [#|2005-06-01T18:59:44.578+0300|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=13;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    C:\Sun\AppServer\domains\domain1\generated\ejb\j2ee-modules\RPCBug\lv\test\dto\OneDTO_SOAPSerializer.java:51: cannot resolve symbol
    symbol : method setTx3Dstatus (java.lang.String)
    location: class lv.test.dto.OneDTO
    instance.setTx3Dstatus((java.lang.String)member);
    ^
    |#]
    [#|2005-06-01T18:59:44.312+0300|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=13;|C:\Sun\AppServer\domains\domain1\generated\ejb\j2ee-modules\RPCBug\lv\test\dto\OneDTO_SOAPSerializer.java:69: cannot resolve symbol
    symbol : method getTx3Dstatus ()
    location: class lv.test.dto.OneDTO
    ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getTx3Dstatus(), ns1_tx3dstatus_QNAME, null, writer, context);
    ^
    |#]
    [#|2005-06-01T18:59:44.312+0300|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=13;|C:\Sun\AppServer\domains\domain1\generated\ejb\j2ee-modules\RPCBug\lv\test\dto\OneDTO_SOAPBuilder.java:39: cannot resolve symbol
    symbol : method setTx3Dstatus (java.lang.String)
    location: class lv.test.dto.OneDTO
    _instance.setTx3Dstatus((java.lang.String)memberValue);
    ^
    |#]
    Now it has generated code that tries to use non-existing method !
    Why it's so buggy ?
    If you don't believe me you can get whole NB 4.1project from http://maris.site.lv/RPCBug.zip and try it yourself.

    I think there are some known restrictions and bugs - check with JAXRPC folks : http://forums.java.net/jive/forum.jspa?forumID=46;

  • [Ann] QR Code for InDesign CS4 and up

    Ever needed to create a QR code? There are literally hundreds of free QR code generators on the web, but they all have the same drawbacks:
    1. They typically deliver a PNG, either 'click here to download', or you have to drag it somewhere yourself.
    2. It's typically an RGB image, so the cautious designer will start up Photoshop to convert it to a monochrome image.
    3. .. so you get a file to store somewhere ..
    4. ... and after seeing four of them you cannot remember which QR code said what ...
    5. .... and, you cannot use such site in a batched environment (well, maybe some people can by building a proper URL, call the website, wait for a response, etc. I bet it's difficult for your average scripter.)
    So I had a go on converting one of the existing Javascript solutions -- Patrick Wied's, in case you're curious -- into a construction fit for InDesign. All you have to do is download the zip: http://www.jongware.com/binaries/jw_qrcode.zip -- unpack it, and save the file "QRCode.jsxbin" in your local User Script folder. It ought to be compatible with InDesign CS4 and upwards, for both Mac and Windows.
    When it appears in your Script Panel, you can double-click to run and
    1. with nothing selected, it prompts for text and error recovery settings, and will place a proper monochrome TIFF bitmap of (approximately) a useful dimension in the center of your current page.
    2. with an empty rectangle selected, the new QR code will be placed inside it.
    3. with some text selected, the text field will be pre-filled with this.
    4. With a QR Code selected which you created earlier using this same tool, the text field will contain the original text, and the quality setting will be retrieved. You can cancel the dialog if you only wanted to know what it said, or change the text or quality.
    5. You can call this script from another script to perform batch operations. It accepts two required arguments, and one optional, in this order: text, Error Correction level (1-4), and optionally a destination rectangle to place it in:
    app.doScript(new File(app.activeScript.path+'/qrcode.jsxbin'), ScriptLanguage.JAVASCRIPT, ["hello", 1, app.selection[0]], UndoModes.ENTIRE_SCRIPT, "Call QR Code");
    6. Since it's a monochrome bitmap TIFF with enough resolution (at its default size it's 200 dpi), you can use the swatches palette to change the white or black parts to another color, or even make one transparent.
    7. It's just a small file, and so I decided to always have it automatically embed. That way you can never loose it. The image first has to be created in a temporary file (default location: (Temp)/qrcode.tiff, where (Temp) is your local Temporary Files folder). If this fails for some of you (there always seem to be overly prudent IT professionals who seem to despise users storing files willy-nilly), I'll have to think of something else.
    Note: this version only supports plain text mode, not numeric, alphanumeric, or Kanji. Text is converted to UTF-8; for the most common purpose -- web pages -- it should work normally.
    Enjoy!
    Based entirely on Patrick Wied's implementation of a basic QR Code generator. Patrick Wied dutifully notes
    I do not guarantee any resulting QR code generations or detections, use this application at your own risk! - this project is just a study project (non commercial).
    and so I advise to always check your generated code using a good QR Code reader.

    To give back to community, here is the script to generate QR codes for business cards created by data merge
    It reads text frames starting with MECARD:, empties them and places QRcode rotated 15 degrees counterclockwise. Enjoy!
    var _d = app.documents[0];
    var _allStories = _d.stories;
    for(var nx=_allStories.length-1;nx>=0;nx--){
        var _storyAllTextFrames = _allStories[nx].textContainers;
        for(var mx=_storyAllTextFrames.length-1;mx>=0;mx--){
             _storyAllTextFrames[mx].select(); // change page
             if(_storyAllTextFrames[mx].contents.indexOf('MECARD:')==0){
                 var obj = app.doScript(new File(app.activeScript.path+'/qrcode.jsxbin'), ScriptLanguage.JAVASCRIPT, [_storyAllTextFrames[mx].contents]);
                 _storyAllTextFrames[mx].contents = "";
                var myScaleMatrix = app.transformationMatrices.add({horizontalScaleFactor:.7,
                    verticalScaleFactor:.7,counterclockwiseRotationAngle:15});
                obj.transform(CoordinateSpaces.pasteboardCoordinates,AnchorPoint.centerAnchor, myScaleMatrix);            
                 //obj.move ([_x,_y]);
    here is a MECARD template for you:
    MECARD:
    N:<<Last>>,<<First>>;
    TEL:<<Direct>>;
    TEL:<<Mobile>>;
    EMAIL:<<E-mail>>;
    NOTE:<<Position>> at <<Company>>;
    http://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/applica tion/addressbook/index.html

  • Generating BCH Codes for Forward Error Correction

    Has anybody created VIs for generating BCH (Bose-Chaudhuri-Hochquenghem) error correction codes?
    I need to generate the codes for a 16 bit data packet.
    I've found samples in C on the web (http://www.eccpage.com/) but nothing in LV.
    Thanks,
    -dave

    I hate to bump a topic that is over 6 years old, but I am in need of a simple BCH encoding algorithm and do not have the toolbox which provides this.  I only need the encoding algorithm so I am hoping to implement this .VI posted here. 
    I have slightly altered the cleaned up version that was posted to have the inputs/outputs in a format that I expect, but I am worried that it is not correctly calculating the BCH code.  This is my first time working with BCH codes, but I need to implement the CCSDS version using n = 63, k = 56 7-bit BCH code with generator polynomial G(x) = x^7 + x^6 + x^2 + 1.
    I think when using 0xC5C5C5C5C5C5C5 as my input message the 7 bit BCH is supposed to be 0x43, but I am getting 0x00.  Could someone with more experience than me see if I did something obviously wrong?  Or know of a way to validate a BCH encoding algorithm, so I know if what I did was correct.  I attached my modeified .vi.  Thanks!
    Attachments:
    BCH_3.vi ‏24 KB

  • Doubt concerning licence  - generating web galleries with Bridge CS4

    Hi, I would like to know if I could generate web galleries with Bridge CS4 and place them in web pages which I intend to sell? There is a possibility to generate web galleries in Bridge CS4. Can I place any of them to a web page which I want to sell?

    Why do you even doubt it?
    If you use a brush and a bucket of paint to create a for-sale sign and sell that sign to your neighbor to stick in his lawn, would you be asking the manufacturers of the paint and of the brush if you can sell it your sign commercially?
    Come on, get real.
    As long as you are not giving away copies of the software or pieces of its code, Bridge and Photoshop are just tools.

  • Hand made or generated GUI code, what do proffesional use?

    Hello!
    I am currious about what programs people that work as a programmer use? Is it common that they use programs that generats code like Netbeens for instance? I tryed that program in design mode to make a gui, but when I looked at the code it had generated I could not understand it. When I have seen simple example of gui code that has been hand written I have no trouble to understand the code.
    My opinion is that code is something that others than yourself can read and understand. Wich ofcource is not as simple as it sounds :) The reason I could not understand Netbeens generated code can ofcource be that I am a java beginner.
    So, what I am asking is that:
    1. Is it common that proffesional programmers use programs like Netbeens to generate GUI code ?
    2. The problem that others cant read or understand the code, is it more common that the programmer have used generated code or does the problem as easly occur when the code is hand written?
    Regards
    Martin
    Edited by: onslow77 on Nov 4, 2009 8:02 AM

    gimbal2 wrote:
    but I prefer hand made code; that generated crap is unreadable (all imho of course) and I don't understand it eitherSeconded. Code generation not only creates messy, undocumented code, but it also leads to hidden mistakes which are the worst kind. I'd rather spend a little more time writing the stuff by hand and not only having full control over the outcome, but also have full knowledge of its inner workings.Thirded. For my money, if you're building rich GUIs that are anything other than trivial, it's probably worth investing some effort in writing a layer of code to simplify building those GUIs. Working with vast amounts of raw Swing, for example, is a painful experience. For our Swing products, we've got a whole library of controls we built specific to our apps. We also wrote a layer of abstraction over the whole of Swing itself, but that's another story. Another alternative is to use a Rich Client Platform like Eclipse RCP, which provides a lot of common, rich components, and a framework for deploying them in, out of the box. Both the Eclipse and NetBeans IDEs are built upon their own respective RCP packages, which are available for you to use for your own apps. All those nice editors, drag-n-drop views, trees, menus, shortcuts and what-not, all just there for you to use without having to write any tiresome window-resizing code. Lovely. I don't know about IntelliJ, but I wouldn't be surprised if it, too, did so. Spring RCP is another such package.

  • Error when integrating the generated SUP code in Visual Studio

    Hi,
    I am working on SUP2.1 and trying to create a Windows Mobile Application. I have created MBOs and generated the code successfully. Now, when I am trying to integrate the generated code with the client application in Visual Studio, I am getting an error:  "File or assembly name 'sup-client, Version=1.5.2.0, Culture=neutral, PublicKeyToken=F7584B9EEA15C033', or one of its dependencies, was not found"
    Does anybody has any idea on this? Any help is appreciated!

    If I memory servers, you have to open the Crystal_Regwiz2003.msm in the .NET deployment project. One of the properties of the msm was Keycode (or similar). You entered the keycode here. To find your keycode; in VS2003 IDE, go to the Help | About screen. You will see one of the installed components as Crystal Reports and the keycode will be on the right of that. Copy the keycode from here, paste in the above.
    For more details see the article Crystal Reports and Visual Studio .NET - Application Deployment.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Generate bar codes in mail forms

    Hi,
    I know how to insert Bar codes in smartforms, but I need to print the bar codes in Mail Forms, is that possible?
    Thanks a lot,
    Nuno Moreira

    Hi Gregor,
    What I need to do is:
    I have several mail forms treated as a standard response in ICWC. We are using the e-mail view (in ICWC) mainly to print the forms, via smartforms or in “online” mode without smartforms.
    So, at the moment, I have two questions:
    1) If I use a smartform to print the mail form, even if I create the form in plain text and create the bar code into mail form, when I print the “number” it is not converted in a bar code;
    2) If I generate the bar code in a mail form and I try to print it in ICWC e-mail view the number is not printed as a bar code too;
    Thanks a lot for your help and interest,
    Best Regards,
    Nuno

  • How to generate html-code using csv input with JSP or JAVA???

    Hello,
    I want to read out a .csv-file and generate html-code dynmically with JSP in an EP6 Application. The problem is, that the csv-file can’t be located or openend.
    BTW if every knows a good tutorial or weblog for this, please post the link.
    It’s located in a par-archive under:
    />dist>files
    I tried various methods, in the doContent mehtod or with JSP. Everytime same result.
    Here part of the code I tried in the doContent():
    public class CSV extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
            String strWRoot = request.getWebResourcePath();
            String contentCSV="", line="";
            String linesep = System.getProperty("line.separator");
            File fileLoadCSV = new File(strWRoot+"/files/ma_infosysteme.csv");
            boolean exCSV = fileLoadCSV.exists();
            boolean reCSV = fileLoadCSV.canRead();
            int a=0;
            if(exCSV&&reCSV){
                response.write("ok");
                try {
                  BufferedReader inputCSV = new BufferedReader(new FileReader(fileLoadCSV));
                  while((line=inputCSV.readLine())!=null){
                    contentCSV=contentCSVlinelinesep;
                    a++;
                  inputCSV.close(); 
                catch(IOException ioex){
                    System.out.println("Fehler");  
            else {
                response.write("not ok");
            response.write("<br>Wroot: "+strWRoot);
            response.write("<br>File: "+fileLoadCSV);
            response.write("<br>exists: "+exCSV);
            response.write("<br>read: "+reCSV);
            response.write("<br>Input: "+contentCSV);
    The Output is:
    not ok
    Wroot: /irj/portalapps/DHTML
    File: \irj\portalapps\DHTML\files\ma_infosysteme.csv
    exists: false
    read: false
    Input:
    So thanks to everyone who can give me a good hint.
    Bye.

    Without really looking too much into this it looks like the problem is with the way in which you are trying to open the file. I believe that when creating a File object you need to use a physical path. By using the getWebResourcePath() method you are retrieving the URL to this file and not the physical path name. There is another method (can't remember the exact name) called getPublicResourcePath() (or something similar) which will return the physical path to this file, i.e. c:\usr\sap\.....etc. If you try it this way it may well work
    I hope this helps
    D

  • I have CS5.5.  I want to create a QR Code with InDesign. Videos show it to be easy from an Adobe training video from the Object menu option. This does not appear in my version, why not?

    I have CS5.5  this video demonstrates how to create one. http://tv.adobe.com/watch/creative-suite-podcast-designers/how-to-create-qr-codes-using-ad obe-indesign-cc/
    However, no matter what I do the menu option demonstrated in the video is not listed.  Anyone know why?

    Take a read through this thread, it includes a few options down through it.
    [Ann] QR Code for InDesign CS4 and up
    Mike

  • Lost activation code for PhotoShop CS4 Extended (proof of purchase exists)

    I have had had to get Apple to rebuild a computer from the start and all software needs to be reloaded.
    The only software which has an issue is CS4 as its as the we cannot find the student edition order fulfilment form which was completed and software loaded in 2009.
    Adobe advised I had to go to the forum to find the magic answer and work out how to get the 24 digital serial number.
    HELP

    I'm aware you log in to Adobe, but i had assumed that it would not be on the offline machine. Sorry if i'm being dense, or fundamentally failing to understand something. Here was what i had assumed would happen.
    1. Run installer (Offline Machine)
    2. Having Trouble Connecting to the Internet? (Offline Machine)
    3. Begin offline activation (Offline Machine)
    4. Generate Request Code (Offline Machine)
    5. Go to Offline Activation website ( Offline Activation ) via separate, internet-connected machine (Online Machine)
    6. Click "Generate Response Code" (Online Machine)
    7. Sign in to Adobe Account (Online Machine)
    8. Input request code generated by Offline Machine, and Serial Number into website (Online Machine)
    9. Manually type the generated Response Code from Online Machine / website into Response Code field on Offline Machine (Offline Machine)
    10. Click Activate (Offline Machine)
    No where in the steps you posted ( Offline Activation ) do i see a step in which you sign in on the Offline Machine. I had made the assumption that as there is no sign in prompt on the Offline Machine, Photoshop would be activated solely through the use of the Response Code, and no e-mail would then be displayed. Is this entirely incorrect?
    Sorry, personally, this is a large purchase, and a large sum of money to be spending. I just want to triple check! Sorry to be such a bother over what i would guess many would consider a minor issue.

Maybe you are looking for