JSF Rendering Commented code

Am trying to debug an AssertionFailureException so I thought I'd reduce the components on my form - see section of JSP below
When I deploy & test the items are still displayed -- surely this can't be correct
When can we expect a fix
<h:panel_data id="passportTblData" var="passport" valueRef="employee.passportList">
<h:input_text id="passportId" valueRef="passport.passportNumber" readonly="true"/>
<!-- <h:input_date id="passportIssueDate" valueRef="passport.passportIssueDate" readonly="true"/>     -->
<!-- <h:input_text id="passportIssueLocation" valueRef="passport.issueLocation" readonly="true"/>     -->
<!-- <h:input_date id="passportExpires" valueRef="passport.passportExpiryDate" readonly="true"/>     -->
<!-- <h:input_text id="passportBirthPlace" valueRef="passport.birthPlace" readonly="true"/>     -->
          </h:panel_data>
The more I learn about JSF - the less I'm impressed by it

Hi Stefan,
You're using HTML comment syntax where you need scriptlet comments. Try this:
<%-- <h:input_date id="passportIssueDate" valueRef="passport.passportIssueDate" readonly="true"/> --%>
...HTML comments prevent the browser from rendering a portion of the page, but you're trying to prevent tag interpretation, which is done on the server side during JSP code generation.
Jonathan

Similar Messages

  • JSF renders invalid HTML code?

    Hi
    I'm new to JSF, but I know JSTL well. I'm trying to modify an existing JSF application, but there's one thing I don't understand: Since there can only be one <f:view> in the page, it must contain both the HTML <head> and <body>.
    Now, when I look at the rendered HTML code, I see something like this:
        </body>
      <form id="linkDummyForm" name="linkDummyForm" style="display:inline" method="post" action="/srclient/faces/jsp/start.jsp"><input type="hidden" name="jsf_tree_64" id="jsf_tree_64" value="H4sIAAAAAAAAA  (etc. etc.)
    </form>
    </html>This is clearly invalid HTML code. Is there a way to change the way that f:view is rendered?
    Btw, I'm using MyFaces.
    Thanks for any help!

    Any update on above issue, its urgent.

  • Visual editor JSF rendering not working

    Hi,
    I'm trialing the 10.1.0.3EA version of JDeveloper and I can't seem to get the JSF rendering working in the visual editor. I thought that perhaps I'd changed some settings or something so I completely uninstalled and then reinstalled JDeveloper. After the install I created a new application using the default web tech. scope, created default business components from the order and order_items tables in the oe schema, opened the JSF navigation, added a page and tried to drag and drop a read only table onto the page. Instead of the rendering I am getting a hierarchical view of tags with just the tag names, i'm not even getting any of the binding information shown, other than in the property inspector. I'v checked to make sure that the JSP tag libraries in the project settings all have "Execute tags in JSP Visual Editor" checked and in the preferences I have made sure that "Show JSP Tag Names Only" is unchecked. Does this functionality not work by default from the install or am I missing something?
    Any help would be appreciated!
    Thanks,
    Lee Proctor.

    Of course, use the value attribute of the component and set it to EL representing the desired property.

  • ABAP Report : show commented code in output

    Hi,
    I have to display only commented code as the output.
    User will give the program (abap report) name and it should display only commented lines in that program.
    Is there any option or command or tcodes that can extract only selected text?
    Pls advise.

    Run the program below, i hope it suits ur requirement
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE lv_frttl.
      PARAMETERS: program LIKE sy-repid.
    SELECTION-SCREEN END OF BLOCK b1.
    DATA: gt_code(255)  TYPE c OCCURS 0,
          gv_code      LIKE LINE OF gt_code,
          gt_code2(255) TYPE c OCCURS 0,
          temp like gv_code.
    INITIALIZATION.
    sets the value for the title of the parameters block
      lv_frttl = 'Parameter'.
    START-OF-SELECTION.
      READ REPORT program INTO gt_code.
      LOOP AT gt_code INTO gv_code.
        if gv_code+0(1) eq '*'.
          write:/ gv_code.
        endif.
      endloop.
    Reward points if useful, get back in case of query...
    Cheers!!!

  • Commented Code

    I have thousand of commented code in my procedure suppose I delete all commented code and remove all dbms_output statment will it Improve performance?
    Pls reply
    Umesh

    Not saying comments is a bad thing in itself. But comments in a SQL (depending on the Oracle version) can wind up in the Shared Pool. It is also can prevent a SQL from being sharable.
    This is what happens in 9i when you use comments in the SQL. It winds up in the Shared Pool:
    SQL> create or replace procedure fooProc is
    2 i integer;
    3 begin
    4 select
    5 /* this is comment line 1
    6 line2
    7 and yet another comment
    8 */
    9 count(*) into i
    10 from user_objects;
    11 end;
    12 /
    Procedure created.
    SQL> show errors
    No errors.
    SQL>
    SQL> exec fooProc
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select sql_text from v$sqlarea
    2 where sql_text like '%user_objects';
    SQL_TEXT
    SELECT /* this is comment line 1 line2 and yet another comment
    */ count(*) from user_objects
    SQL>
    The 10g parser is more clever than this and will strip out non CBO comment hints from the SQL (and remove whitespaces and formatting) in order to "clean" the SQL and making it more uniform and thus more likely sharable with the same SQL that has been formatted differently. Here's a 10g example:
    [pre]
    SQL> create or replace procedure fooProc is
    2 i integer;
    3 begin
    4 select
    5 /* this is comment line 1
    6 line2
    7 and yet another comment
    8 */
    9 count(*) into i
    10 from user_objects;
    11 end;
    12 /
    Procedure created.
    SQL> show errors
    No errors.
    SQL>
    SQL> exec fooProc
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select sql_text from v$sqlarea
    2 where sql_text like '%USER_OBJECTS';
    SQL_TEXT
    SELECT COUNT(*) FROM USER_OBJECTS
    SQL>
    Note - all uppercase and no comments.
    It was just simply good practice to rather comment before or after a SQL in the past. Not so much relevant anymore, but lots of people still are using 9i and should note this.

  • How to comment code?

    I know how to comment code but I was never really taught conventions for it. When should you comment something? What is the the standard way to comment a field? A method?
    Asking because this trig solver i was quarter way into got so out of hand I got lost in my own code and had to stop.
    As you can see no human being could possibly make anthing out of this without comments, as I was coding it I was fine. But when I woke up the next morning and started again I was lost.
    package trianglesolver;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.GroupLayout;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JMenuItem;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class Main {
        static boolean alreadyPressed = false;
        public static void main(String[] args) {
            JFrame mainFrame = new JFrame();
            mainFrame.setLocation(100, 100);
            mainFrame.setSize(480, 140);
            mainFrame.setTitle("Triangle Solver");
            mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            mainFrame.setResizable(false);
            JPanel mainPanel = new JPanel();
            mainFrame.add(mainPanel);
            GroupLayout grouplayout = new GroupLayout(mainPanel);
            grouplayout.setAutoCreateGaps(true);
            grouplayout.setAutoCreateContainerGaps(true);
            JMenuBar menuBar = new JMenuBar();
            JMenu file = new JMenu("File");
            menuBar.add(file);
            mainFrame.setJMenuBar(menuBar);
            JMenuItem exit = new JMenuItem("Exit");
            file.add(exit);
            mainFrame.setVisible(true);
            exit.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    System.exit(0);
            JLabel angleA_Label = new JLabel("Angle A");
            final JTextField angleA = new JTextField("0", 8);
            JLabel angleB_Label = new JLabel("Angle B");
            final JTextField angleB = new JTextField("0", 8);
            JLabel angleC_Label = new JLabel("Angle C");
            final JTextField angleC = new JTextField("0", 8);
            JLabel sideA_Label = new JLabel("Side A");
            final JTextField sideA = new JTextField("0", 8);
            JLabel sideB_Label = new JLabel("Side B");
            final JTextField sideB = new JTextField("0", 8);
            JLabel sideC_Label = new JLabel("Side C");
            final JTextField sideC = new JTextField("0", 8);
            JButton solve = new JButton("Solve");
            solve.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) throws NumberFormatException {
                    if (alreadyPressed == false) {
                        double A = Double.parseDouble(angleA.getText());
                        double B = Double.parseDouble(angleB.getText());
                        double C = Double.parseDouble(angleC.getText());
                        double a = Double.parseDouble(sideA.getText());
                        double b = Double.parseDouble(sideB.getText());
                        double c = Double.parseDouble(sideC.getText());
                        if (a != 0 & b != 0 & c != 0) {
                            A = Math.acos((Math.pow(a, 2) - Math.pow(b, 2) - Math.pow(c, 2)) / (-2 * b * c));
                            B = Math.asin((b * Math.sin(A)) / a);
                            angleA.setText(String.valueOf(Math.toDegrees(A)));
                            angleB.setText(String.valueOf(Math.toDegrees(B)));
                            angleC.setText(String.valueOf(180 - Math.toDegrees(A) - Math.toDegrees(B)));
                            angleA.setCaretPosition(0);
                            angleB.setCaretPosition(0);
                            angleC.setCaretPosition(0);
                        } else if (a != 0 & b != 0 & C != 0) {
                            c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2) - 2 * a * b * Math.cos(Math.toRadians(C)));
                            B = Math.asin((b * Math.sin(Math.toRadians(C))) / c);
                            sideC.setText(String.valueOf(c));
                            angleB.setText(String.valueOf(String.valueOf(Math.toDegrees(B))));
                            angleA.setText(String.valueOf(180 - Double.valueOf(angleB.getText()) - Double.valueOf(angleC.getText())));
                            sideC.setCaretPosition(0);
                            angleB.setCaretPosition(0);
                            angleA.setCaretPosition(0);
                        } else if (b != 0 & c != 0 & A != 0) {
                            a = Math.sqrt(Math.pow(b, 2) + Math.pow(c, 2) - 2 * b * c * Math.cos(Math.toRadians(A)));
                            B = Math.asin((a * Math.sin(Math.toRadians(A))) / a);
                            sideA.setText(String.valueOf(a));
                            angleB.setText(String.valueOf(String.valueOf(Math.toDegrees(B))));
                            angleC.setText(String.valueOf(180 - Math.toDegrees(B) - Double.valueOf(angleA.getText())));
                            sideA.setCaretPosition(0);
                            angleB.setCaretPosition(0);
                            angleC.setCaretPosition(0);
                        } else if (a != 0 & c != 0 & B != 0) {
                            b = Math.sqrt(Math.pow(a, 2) + Math.pow(c, 2) - 2 * a * c * Math.cos(Math.toRadians(B)));
                            C = Math.asin((c * Math.sin(Math.toRadians(B))) / b);
                            sideB.setText(String.valueOf(b));
                            angleC.setText(String.valueOf(String.valueOf(Math.toDegrees(C))));
                            angleA.setText(String.valueOf(180 - Double.valueOf(angleB.getText()) - Math.toDegrees(C)));
                            sideB.setCaretPosition(0);
                            angleC.setCaretPosition(0);
                            angleA.setCaretPosition(0);
                        alreadyPressed = true;
            grouplayout.setHorizontalGroup(
                    grouplayout.createParallelGroup(GroupLayout.Alignment.LEADING).addComponent(angleA_Label).addComponent(angleA).addComponent(angleB_Label).addComponent(angleB).addComponent(angleC_Label).addComponent(angleC).addComponent(sideA_Label).addComponent(sideA).addComponent(sideB_Label).addComponent(sideB).addComponent(sideC_Label).addComponent(sideC).addComponent(solve));
    }

    James wrote:
    I know how to comment code but I was never really taught conventions for it. When should you comment something? What is the the standard way to comment a field? A method? There really is no standard convention (if, by convention, you're referring to a set of rules used to determine when you should add a comment and when you should leave well enough alone). I try to document all public and protected methods, fields and constructors with JavaDoc documents. As for deciding when to add comments in other places my rule is this:
    If the code is not "self documenting", and there is some sort of ambiguity, then I'll write a very brief description of what is going on.
    If I am working on a large code base, and I make some sort of change, I will usually initial it, date it and provide a brief explanation of what I changed and why.
    Aside from that - I just kinda wing it. Commenting is really a personal preference - it has to do with your own comfort level and the comfort level of your coworkers. A lot of shops have a set of guidelines in place for when/how you should comment your code. And by that I mean they usually have a minimal, "these things must be documented" and leave the rest to your discretion.
    Asking because this trig solver i was quarter way into got so out of hand I got lost in my own code and had to stop.Looking at that tangled mess below, I'd say it's because you're code is a jumbled heap of grossness.
    >
    As you can see no human being could possibly make anthing out of this without comments,So rewrite it in a way that makes sense to someone. The pieces that can't be refactored for clarity will merit a brief comment or two.
    as I was coding it I was fine. But when I woke up the next morning and started again I was lost.A good sign that you should have written your code more neatly and clearly.
    grouplayout.createParallelGroup(GroupLayout.Alignment.LEADING).addComponent(angleA_Label).addComponent(angleA).addComponent(angleB_Label).addComponent(angleB).addComponent(angleC_Label).addComponent(angleC).addComponent(sideA_Label).addComponent(sideA).addComponent(sideB_Label).addComponent(sideB).addComponent(sideC_Label).addComponent(sideC).addComponent(solve));
    Lines like that gem make me weep.

  • Exception number line pointing to commented code

    Hi
    Im facing a strange problem. In travel management project application, on click of one of the buttons, it throws a null pointer exception.
    In the exception details, it gives me a .java file with the name of the method and line number.
    when I go to that .java file in webdynpro and find the method and the line number, it is actually a commented code.
    Whats wrong? how can I find where exactly the problem is?
    thanks
    manoj

    Hi Sumit
    I have deployed it a couple of times, but the problem persists.
    Any thoughts, suggestions?
    Thanks
    Manoj

  • JSF Rendering problems

    Hello
    I have encountered tow problems using JSF 1.0
    First:
    I have a site that has a css file asociated with it.
    In this css file i have a class for the option tag "<option>".
    My problem is that JSF dose not provide a way to pass and render the class attribute on the option tag.
    Is there a way to render this attribute on the option tag without extending the component or writing a renderer for it?
    Second:
    How can I pass the attributes colspan and rowspan of a <td> element rendered for a panelGrid tag without extending the component or writing a renderer for it?
    Thx.

    Hello again
    I forgot to mention this for th above problem.
    The problem with the option tag is that this jsf code
    <h:selectOneMenu id="someId" value="" styleClass="select">
    <f:selectItems value="#{Dummy.dummySelects}" />
    </h:selectOneMenu>
    generates this HTML code
    <span class="select">
    <select id="someId" name="someName" size="1">
    <option value="dummy select">dummy select</option>
    <option value="dummy select">dummy select</option>
    <option value="dummy select">dummy select</option>
    <option value="dummy select">dummy select</option>
    </select>
    </span>
    the class="select" attribute should be on the <select> tag but is on the <span> tag.
    Why is this and how can I fix it ?

  • JSF Renderer encoding html link to call bean

    I have custom renderer. I would like to write out links in the same that when clicked will call a backing mean method.
    For example, suppose the backing bean method has a method foo(), I would like to be able to call that in my decode method and make it forward to a jsp. How can I accomplish this?
    Thanks in advance

    Thank you for reply, after making few chages by taking your suggestion i am still struggling to get the desired result in my jsp. please into the code below
    public class Database {
            public List calToDatabase;
         public static void initialCalToList()
              System.out.println("Contents in the List#########");
              List al=new ArrayList();
              al.add("JAya");
              al.add("chandra");
              al.add("raheem");
              al.add("balu");
              System.out.println("Contents in the List"+al);
              Database db= new Database();
              db.setCalToDatabase(al);  // calling the setter with list as an argument
    public List getCalToDatabase() {
              return calToDatabase;
         public void setCalToDatabase(List calToDatabase) {
              this.calToDatabase = calToDatabase;
         }I have also made changes in success.jsp
    <%@ page contentType="text/html"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    Login Successful
    <html>
    <f:view>
       <h:form id="result">
         <p>
               <c:forEach var="x" items="#{Database.getCalToDatabase}" >
                     ${x}
                   </c:forEach>
         </p>
       </h:form>
    </f:view>
    </html>

  • Problem with JSF rendered

    Hi,
    I have strange problem in my JSF project. When i use rendered along with <h:commandButton> it is not invoking method specified in action attribute. In following code
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <h:commandButton
         action="#{myBean.updateMyData}"
         value="EditButton"
         rendered ="#{myBean.buttonClicked == 'edit'}">
    </h:commandButton>
    <h:commandButton
         action="#{myBean.saveMyData}"
         value="SaveButton"
         rendered ="#{myBean.buttonClicked == 'save'}">
    </h:commandButton>
    It is showing proper buttons on jsp pages. i.e. if value of "myBean.buttonClicked" = save , it shows save button else it shows edit button.
    But problem is when i click the button, it is not calling any method.ie. neither "saveMyData" nor "updateMyData".
    Now, if i make use of <t:saveState> of myfaces, it works fine. Following is code after inserting which it works fine.
    <%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
    <t:saveState value="#{myBean}"/>
    Please help me out on this. I dont want to save the state and i want rendered to work fine. Any pointers will be really helpful to me.
    Thanks,
    Vishal

    Hi rlubke,
    Thank you very much for replying. I understood first two work arounds but not clear about third one. i.e "modifying the rendered attribute directly via method calls instead of via expressions" .
    Can you please elaborate this technique?If you can provide some example code then it would be great.
    Thanks,
    vishal

  • JSF Rendering in IE 7 and Firefox 2.0

    Hello everyone,
    I have developed a JSF page and have been testing it mostly with Firefox 2.0. I liked how it worked: when virtual forms where submitted only the related components where re-rendered. However, when using IE 7 or firefox 1.0 (haven't tested with firefox 1.5), every time any virtual form is submitted, the browser seems to re-render the entire page, this is really annoying for users since, when you have scrolled down the page and submit one of the virtual forms, the browser scrolls you back to the top. This is ridiculous since simply ordering a table at the bottom of the page takes user back to the top.
    I thought I could avoid that by using of Virtual Forms, without Ajax (ajax4jsf) components.
    So far it seems to me it's more of a browser issue, and there's not much I can do on the server side besides Ajax. I might be wrong, and that's why I'm asking the forums.
    Am I doing something wrong?? How could I make IE behave like Firefox 2.0 without resorting to Ajax?? do I have any alternatives to Ajax?? any suggestion is welcome.
    Thanks.

    What is not working?

  • JSF rendering problem in IE

    Hi,
    I am having a problem with the following JSF page:
    <f:view>
    <afh:html binding="#{backing_add_Sponsor.html1}" id="html1">
    <afh:body binding="#{backing_add_Sponsor.body1}" id="body1">
    <h:form binding="#{backing_add_Sponsor.form1}" id="form1">
    <af:panelPage title="Add - Sponsor"
    binding="#{backing_add_Sponsor.panelPage1}"
    id="panelPage1">
    <af:message binding="#{backing_add_Sponsor.message1}" id="message1"/>
    <h:panelGrid columns="3" binding="#{backing_add_Sponsor.panelGrid1}"
    id="panelGrid1">
    <af:outputText value="Sponsor Name"
    binding="#{backing_add_Sponsor.outputText2}"
    id="outputText2" inlineStyle="font-size:small;"/>
    <h:inputText binding="#{backing_add_Sponsor.inputText1}"
    id="inputText1" size="30" tabindex="1"/>
    <af:outputText value="Sponsor Address 1"
    binding="#{backing_add_Sponsor.outputText3}"
    id="outputText3" inlineStyle="font-size:small;"/>
    <h:inputText binding="#{backing_add_Sponsor.inputText2}"
    id="inputText2" size="30" tabindex="2"
    style="background-color:transparent;"/>
    Problem is that some fields in this form are displayed differently in Internet Explorer and Firefox. In IE some of them have yellow background, that disappears during the page refresh and is displayed again after the page is refreshed. For example, the "Sponsor Name" field has no background color, while "Sponsor Address 1" has. In Firefox all the fields are correctly displayed without the background color.
    Did anyone have similar problem?
    Thank you,
    Zrinka

    Hi,
    which version of IE do you use. If this occurs in IE7, please check with IE6. Also, make sure there is no browser setting causing this issue. Different behavior in color usually doesn't point to a rendering but a browser problem
    Frank

  • JSF Backing bean code

    Hi every body ,
    I am creating one form , on that form I have created six tabs.On my entire application I have one backing bean .I have taken that backing bean in a session scope .
    My question :
    Can I create six different backing bean for each tab ?
    A short example :
    //MyBackingBean.java
    //This is the main backing bean.
    class MyBackingBean
            //for first tab
            private FirstTabBackingBean  firstTabBackingBean ;
            //for second tab
            private SecondTabBackingBean  secondTabBackingBean ;
            //for third tab
            private ThirdTabBackingBean  thirdTabBackingBean ;
            //for fourth tab
            private FourthTabBackingBean  fourthTabBackingBean ;
            //for fifth tab
            private FifthTabBackingBean  fifthTabBackingBean ;
            //for sixth tab
            private SixTabBackingBean  sixTabBackingBean ;
            //Simple getter and setter for each backing bean , such as :
           public FirstTabBackingBean getFirstTabBackingBean()
                   if(this.firstTabBackingBean ==null)
                        this.firstTabBackingBean  = new FirstTabBackingBean();
                   return this.firstTabBackingBean;
            public void setFirstTabBackingBean(FirstTabBackingBean firstTabBackingBean )
                  this.firstTabBackingBean  =  firstTabBackingBean ;
            //Same for other remaining 5 beans.
    //FirstTabBackingBean.java
    class FirstTabBackingBean 
          //Here I am doing all actions related to button click & radio button click .........
    }  my faces-config.xml is :
    <managed-bean>
       <managed-bean-name>mainBackingBean</managed-bean-name>
          <managed-bean-class>
              com.myPkg.MyBackingBean
         </managed-bean-class>
       <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>my jsf is somthing like that :
    <h:commandButton  action="#{mainBackingBean.firstTabBackingBean.previousAction }" value="Previous"/>It is working fine for my application.For code maintain purpose I just separate each tabs actions into different beans.
    Is it the proper way ?
    or is there any different way to write code ?
    Thanks,
    SB

    Hi thanks for your suggestion , but the problem is in my app there are more than 60 operations(Actions) are going on , in different tabs , for that reason I just separated all operations & putted in different backing bean .If I use one backing bean it will give a lot of pain to maintain the code , because then only I have to write all action specific codes in that one backing bean .
    Is there any other way out ?
    regards,
    SB

  • Jsf rendering urgenttttttt.................

    Hi mates,
    I have a litle problem, If we type something in a textfield then after a arrow key press or enter key press it should be typed on another textfiled.
    I have create it with rendering can,
    can anyone help me its urgeeeeeeeeent.....

    Two things:
    1) We don't care if it is urgent or not. Putting pressure to others is rude.
    2) This isn't a serverside problem, but a clientside problem. Javascript can help you solving this problem. JSF can't do anything for you here.

  • Auto-Removal of .lib reference comment code?

    [Pls keep in mind that English is not my native language - German is.]
    Hello there,
    from working with Golive we are used that .lib references are being removed from the source code automatically when the page is being uploaded via FTP.
    Now with DW it is no longer the case. We can only upload it with the .lib references in the code or have to go through the hassle as to export the whole site completely elsewhere with the markup removal AND THEN upload it in cleared code.
    As we have way to many web projects that extra step would practically kill our workflow and make it extremely fragile.
    And yes, we do want the code removal. Appearently for most it seems not to be so important - for us it was the reason to stay with an almost antique version of Golive for an extremly long time.
    This is discussion is not intended to discuss you may or may not find it neccessary to have that function, but whether it is possible to have the comment removal directly when uploading. Does CS5 do that? Why is it only possible with an extra export of the site in another local version?
    As for us - we are also working with a subversion server, which also ensures us to actually have the original coded version with all the references simultanuesly.

    DW does have the ability to strip comments out of the source code.
    e.g. http://forums.adobe.com/message/1032675
    That thread is pretty much unrelated to this question though.  You can create a Regular expression to strip all comments from the code, or to only strip the Library item comments from the code.  But this must be done manually on each page.  That's hardly a useful tool in this instance.
    DW has no ability to strip anything from the code at the moment that a page is uploaded.  You can certainly suggest this to the dev team as a potential feature for future versions, however -
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Maybe you are looking for

  • My mail application keeps shutting down after a few seconds

    I am all of a sudden having this issue with my email quitting unexpectedly and I can't have it open long enough to even read an email or see what emails are there. I need to see my email folders and can't access them please help! I ran the report and

  • Change standard price

    Hi experts,              can u explain me how to valuate the material for which split valuation is active?  When i am going to t code MR22  i entered material it asked for valuation type i entered the batch which are existing next what to do. plz exp

  • Mosaic screensaver asks 100 pics, I got 400 in folder

    I tried using Mosaic screensaver for the first time in Lion, it asks for 100, I got 400+ in folder.  Am I missing something?

  • IMac G4 Wireless Mouse?

    Can some one help me? I want to have a Wireless Mouse for my iMac G4 (800 Mhz), is that possible? Thanks for the Help!

  • XServe RAID volume does not mount

    Without any modification to the system, a panic log from our XServe indicates: "Thu Jan 18 17:28:58 2007 panic(cpu 0): HFS: corrupt VH on PBSRaid1, sig 0x4100, ver 0, blksize 0" The volume PBSRaid1 does not mount anyway from that date. Diskutil repor