SetInvokesStopCellEditing(true) not working

hi
setInvokesStopCellEditing(true) in jTree is not working.
when i set it true it should save the data entered in textfield but it doesnot
any help
thanks

I've found that setting it to true makes JTree save the changes if you click on another node during editing, but hitting the Esc key discards changes regardless of this setting.

Similar Messages

  • Flash Builder buttonMode = true not working

    Hi, I am having a really strange issue where I can't get any hand cursors to come up in Flash Builder. Anybody else have this problem. I ran into a situation where I've had to convert a ton of Flash Builder projects just to get the hand cursors to come up. Weird this is if I open the swf's in Flash the hand cursors will show up. Once they get on the web though, though don't work. It's almost as if the buttonMode property will not work in swf's compiled in Flash Builder. I've tried with Flash Builder 4 and 4.5 and no luck. I told a friend, and he didn't believe me. So I asked him to just do a simple test in Flash Builder to create a Sprite and add it to the stage, add a click listener, and set it's buttonMode to true. He has the same problem, no hand cursor. I've even tried to set useHandCursor true with buttonMode, etc.... to no avail. Any help? Thanks!

    If you are viewing your files in Firefox, this is a known bug:
    http://support.mozilla.com/en-US/questions/796828

  • SetRendered(true) not working for an LOV

    Hi,
    I have a dropdown(soc1) in my page which has three values : A, B and C. Below that drop down are three LOVs (say ilov1, ilov2 and ilov3), which are to be rendered dynamically based on the values selected from the dropdown. i.e. if I select A, then ilov1 has to be rendered, if I select B then ilov2, if I select C then ilov3 has to be rendered. I have used the below piece of code in a backing bean :
    I have set the rendered property for ilov1, ilov2 and ilov3 as false in my jsff page. And I have set AutoSubmit property to true for soc1.
    The below method is invoked through the valueChangeListener when I select a particular value from a drop down (soc1).
    *public void setRendered(ValueChangeEvent event){*
    String str = (String)valueChangeEvent.getNewValue();
    *if (str.equalsIgnoreCase("A")) {*
    getIlov1().setRendered(true);
    getIlov2().setRendered(false);
    getIlov3().setRendered(false);
    *} else if (str.equalsIgnoreCase("B")) {*
    getIlov1().setRendered(false);
    getIlov2().setRendered(true);
    getIlov3().setRendered(false);
    *} else if (str.equalsIgnoreCase("C")) {*
    getIlov1().setRendered(false);
    getIlov2().setRendered(false);
    getIlov3().setRendered(true);
    AdfFacesContext.getCurrentInstance().addPartialTarget(ilov1);
    AdfFacesContext.getCurrentInstance().addPartialTarget(ilov2);
    AdfFacesContext.getCurrentInstance().addPartialTarget(ilov3);
    If I debug the code, I can see the control passing through this method in the desired manner. It is executing the above code correctly as per the condition provided. But the Lov is not rendered on the page.
    Can anyone please let me know the solution for the above problem ?
    Thanks in advance.
    -Kavitha

    Thanks John. This worked. Am just curious to know why it didnt work with Rendered. Any particular reason ?
    -Kavitha

  • Collab.showAnnotToolsWhenNoCollab = True Not Working in Acrobat 9

    I have a VB6 program that uses AcroExch.AVDoc.OpenInWindowEx to open a PDF document in our small app (similar to the ActiveViewVB sample). For Acrobat versions 7 and 8 we were able to enable the editing of comments (annotations) by getting the JSObject and executing:
    jso.collab.showAnnotToolsWhenNoCollab = True
    as documented in the SDK topic "Acrobat Interapplication Communication > Developing Applications Using Interapplication Communication > Using OLE > Using the JSObject interface > Working with annotations".
    In Acrobat 9 Pro running on WinXP SP3 when I single step that line in debug I go to the error handler for my Sub. Inspecting the VB Err object has Number = -2147417851 and Description = "Automation error
    The server threw an exception." I get a Microsoft crash notice about Acrobat a short while later.
    I've run a number of searches and haven't found any documentation indicating that you can't do this anymore. My app will be less useful if I can't do this. I've already logged this as a bug with Adobe but have no idea if they intend to fix it. Does anyone have any additional information or a work-around?

    Hello Everyone,
    I use the following VBS code, but to tell the truth, I don't know if it works or not. The main idea was to enable commenting from Adobe Reader. But after execution code, saving document and reopening it in Reader, commenting is still 'Not Allowed'. Is showAnnotToolsWhenNoCollab really capable to allow this and there is only error in my code? Or is the functionality different and this way can never be used for what I want?
    There is another issue that application is not closed on Exit, but is still shown.
    scriptPath = "C:\Acrobat\"
    Set gApp = CreateObject("AcroExch.App")  
    Set pdDoc = CreateObject("AcroExch.PDDoc")
    sampleFilePath = scriptPath & "AR_test_orig.pdf"
    pdDoc.Open sampleFilePath
    pdDoc.OpenAVDoc "myFile"
    gApp.Show
    Set formApp = CreateObject("AFormAut.App")
    'formApp.Fields.ExecuteThisJavascript "app.alert(""hello"");"
    formApp.Fields.ExecuteThisJavascript "Collab.showAnnotToolsWhenNoCollab = true;"
    Set formApp = Nothing
    pdDoc.Save 1, scriptPath & "AR_test.pdf"
    'pdDoc.Close
    gApp.CloseAllDocs
    gApp.Exit
    Set pdDoc = Nothing
    Set gApp = Nothing
    Thanks for any ideas.
    Jan
    PS: I use Acrobat 9.0 Pro

  • Sdi1.setDisclosed(true) not working correctly

    Hi all,
    I use Jdev 11g.
    I created a page with a table and two tabs.
    When a new row is selected in the table then tab1 should be shown if tab2 was selected..
    I use this code:
        public void rowSelected(SelectionEvent selectionEvent) {
            resloveMethodExpression("#{bindings.DevPlanning1.collectionModel.makeCurrent}", null, new Class[] {SelectionEvent.class}, new Object[] {selectionEvent});    
            sdi1.setDisclosed(true);
            AdfFacesContext.getCurrentInstance().addPartialTarget(sdi1);
            sdi2.setDisclosed(false);
            AdfFacesContext.getCurrentInstance().addPartialTarget(sdi2);
        }What I do is open tab 2, that is working.
    Then I select a new row.
    Then tab 1 is opened but it is empty :S.
    What is going wrong?

    Hi,
    You're not adding the right component to the partialTargets, the panel is what need to be redisplayed, try the following:
    public void rowSelected(SelectionEvent selectionEvent)
        resloveMethodExpression("#{bindings.DevPlanning1.collectionModel.makeCurrent}", null, new Class[] {SelectionEvent.class}, new Object[] {selectionEvent});
        sdi1.setDisclosed(true);
        sdi2.setDisclosed(false);
        RequestContext.getCurrentInstance().addPartialTarget(sdi1.getParent()); // could binf the panelTabbed as well
    }Also, I'm not too sure why you need the method expression code there.
    Finally, what is in the first tab? a region?
    Regards,
    ~ Simon
    Edited by: Simon Lessard on Feb 16, 2010 7:59 AM

  • UseDefaultWebProxy = true not working on send port to call web service.

    Hi
    I have a local http proxy and have set this up in IE - which is working fine (confirmed through proxy log). I am testing a wcf basicHttpBinding to an asmx web service. Setting the useDefaultWebProxy = true does not trigger the send port to use the proxy
    (I can confirm this via the proxy logs). However setting this property to false and explicity setting the proxy using the proxyAddress binding property will cause the send port to use the proxy to send the request.
    My understanding was that setting the useDefaultWebProxy = true causes the send port to use the
    auto-configured HTTP proxy of the system (which I set up in IE).
    Furthermore removing
    the proxy address from the proxyAddress property and changing back to useDefaultWebProxy = true causes the send port to error with the error along the lines of "You cannot specify an explicit Proxy Address as well as UseDefaultWebProxy=true" even
    though the proxyAddress property is now cleared. Changing back to useDefaultWebProxy = false causes a different error "System.InvalidOperationException: This operation is not supported
    for a relative URI"
    The only way to fix this is to re-import the bindings
    Biztalk Developer

    Hi,
    Are you sure the proxy is configured (using IE) for the user running the host instance? (Especially on non development machines) this is not by default the same user as the currently logged in user.
    HTH,
    Randal van Splunteren 2 x MVP BizTalk Server, MCTS BizTalk Server
    my blog
    Check out the PowerShell provider for BizTalk
    Please mark as answered if this answers your question.

  • EditText {wantReturn: true} not working?

    I'm trying to use the new {wantReturn: true} property to have multiline edittext boxes in my UI. I can't seem to get it to function. The enter key doesn't line return and any text pasted in comes in as one line.
    I'm using this line in the creation of the editText
    {multiline:true,wantReturn:true}

    Thank you for the quick reply.
    However, I don't get the point. Do you say, a trusted library cannot call an untrusted (= unsigned) library other than by reflection?
    Then how do I use the unsigned library from my applet? The problem is mixed code (= signed and unsigned jars), there should be a way to use the unsigned jars of 3rd party contributions. For example, I would have an applet and would like to create a PDF using itext. The itext jar is unsigned, how can I use it? The same is true for the apache libraries like commons etc.
    From http://download.oracle.com/javase/6/docs/technotes/guides/jweb/mixed_code.html, I understood, that the applet jar (= the jar, that contains the class inheriting from Applet and referred to in the "code" attribute of the applet tag), should be signed and have a manifest with attribute "Trusted-Library: true" set. Then it could use classes from unsigned jars. There may be some difficulties when using reflection (Class.forName, Resource.getBundle etc.), but in general it could use the untrusted libraries without change. The explanation of the new classloader hierarchy in that document did not match (the unsigned jars have been described there as being loaded by the applet classloader, which would be the child of the new trusted library class loader. So the classes of the trusted library would not see the untrusted classes as to my understanding) but the rest of the description pointed to that.
    Did I understand this incorrectly? Then how can I use the unsigned libraries? What I need is a simple, but complete example that is working, including the applet tag, two jars, one unsigned and one signed and the code of the source and the manifests of these jars. Can you scetch such an example or do you know of some?
    Anyway, thank you again for the response.
    Edited by: 883189 on Sep 5, 2011 2:17 AM

  • -Dsun.java2d.opengl=True not working

    Hello,
    I'm trying to run java application using -Dsun.java2d.opengl=True, but I
    always get "Could not enable OpenGL pipeline for default config on screen 0".
    I use 1.5.0_04-b05 SE running on WinXP. The graphics controller is
    Intel 82852/82855 GM/GME, driver Nr. 6.14.10.3762.
    Can anyone help?
    Thanx.
    Milan

    Because there is none, then intel chipset has some shortcomings when it comes down to OpenGL.
    This should be clear even when buying such a card.
    In your case I would write Intel an email telling them that java does not run properly. If enough do this maybe we see really fast java in near future...
    lg Clemens

  • J connector. autoReconnect=true not working

    hi all ! Im having an issue with my app, when the app is left "iddle" during the night when someone tries to connect in the next morning they get an error saying:
    The last packet sent successfully to the server was 72.264.329 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
    This is the context.XML wich controls the connection pool:
    <Resource auth="MyApp" driverClassName="com.mysql.jdbc.Driver" maxActive="-1"
      maxIdle="20" maxWait="10000" name="jdbc/MedPro" password="admin" removeAbandoned="true"
      removeAbandonedTimeout="60"
      type="javax.sql.DataSource" url="jdbc:mysql://127.0.0.1:3306/Myapp?autoReconnect/autoReconnectForPools=true" username="root"/>Im using Mysql server 5.1 and Jconnector 5.1.11
    Any help is appreciated.
    THanks in advance.
    Edited by: juanmanuelsanchez on Feb 20, 2010 5:09 PM

    here is the log of the error:
    Error: Communications link failure
    The last packet successfully received from the server was 35.071.594 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago. Communications link failure
    The last packet successfully received from the server was 35.071.594 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    The last packet successfully received from the server was 35.071.594 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.
    log4j:ERROR Failed to excute sql
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    The last packet successfully received from the server was 35.081.110 milliseconds ago.  The last packet sent successfully to the server was 16 milliseconds ago.
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
         at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1119)
         at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3057)
         at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2943)
         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3486)
         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
         at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2687)
         at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1647)
         at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1566)
         at org.apache.log4j.jdbc.JDBCAppender.execute(JDBCAppender.java:178)
         at org.apache.log4j.jdbc.JDBCAppender.flushBuffer(JDBCAppender.java:250)
         at org.apache.log4j.jdbc.JDBCAppender.append(JDBCAppender.java:146)
         at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
         at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
         at org.apache.log4j.Category.callAppenders(Category.java:206)
         at org.apache.log4j.Category.forcedLog(Category.java:391)
         at org.apache.log4j.Category.error(Category.java:305)
         at SvMedPro.doPost(SvMedPro.java:4342)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at beans.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:34)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at beans.MDCUserServletFilter.doFilter(MDCUserServletFilter.java:71)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
         at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2502)
         at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2954)
         ... 39 moreThanks again

  • Prepared=True Not working. Parse:Execute ration is one in tkprof report

    Hello,
    DB Version 9.2.0
    OS NT
    Provider: OraOLEDB 9.2.0.1.0
    I have a small .NET application. I use bind variables all overe my application. But my parse:execute ratio is 1 for some of all SELECT statements. There are many softparses in my application. I have also set session_cached_cursors.
    While using ADODB command object I set the "Prepared" parameter to true. But even though
    there are many parses.
    Heres is the simple block of code ..
    strCmd = "SELECT DISTINCT TO_CHAR(exp_date,'Month') Months, " _
    TO_CHAR(exp_date,'MM') MM FROM expenses ORDER BY MM"
    cmd1 = New ADODB.Command()
    cmd1.ActiveConnection = cConn
    cmd1.CommandText = strCmd
    cmd2 = New ADODB.Command()
    cmd2.ActiveConnection = cConn
    cmd2.CommandText = strCmd
    cmd2.Prepared = True
    For intLoop = 1 To 4
    cmd1.Execute()
    Next intLoop
    For intLoop = 1 To 4
    cmd2.Execute()
    Next intLoop
    Heres the tkprof trace output
    SELECT DISTINCT TO_CHAR(exp_date,'Month') Months, TO_CHAR(exp_date,'MM') MM
    FROM
    expenses ORDER BY MM
    call count cpu elapsed disk query current rows
    Parse 8 0.00 0.00 0 0 0 0
    Execute 8 0.04 0.06 0 0 0 0
    Fetch 8 0.01 0.01 0 56 0 226
    total 24 0.06 0.07 0 56 0 226
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 62
    Rows Row Source Operation
    23 SORT ORDER BY
    23 TABLE ACCESS FULL EXPENSES
    Logically it should be one parse and 8 execution. Will anybody please suggest me, how do I minimise the number of parses?
    Thanks in advance
    Sameer

    "db file parallel read" is likely to be associated with something like index prefetching.
    See:
    http://www.freelists.org/post/oracle-l/RE-Calculating-LIOs,11
    http://aprakash.wordpress.com/2012/05/29/index-range-scan-and-db-file-scattered-read-as-session-wait-event/
    http://jonathanlewis.wordpress.com/2006/12/15/index-operations/
    Tune the SQL.
    Review the execution plan.
    Check whether the statistics are accurate.
    Review whether the index hint (and others that we can't see) is appropriate.

  • Resizable=true not working in window.open

    In window.open() in my jsp page
    window.open('http:/'+document.IPPBX_Form.ippbx.value,
    width=400,height=200,resizable=1
    have tried resizeable=true, resizable=true,resizeable=1,resizable=1
    but no hope. The maximizable button remains disabled.
    Help Please.
    Thanks in advance,
    Phani

    try this code.....
    <html>
    <script type="text/javascript">
    var WindowObjectReference; // global variable
    function openRequestedPopup()
    WindowObjectReference = window.open('http://www.google.com','DescriptiveWindowName','width=420,height=230,resizable,scrollbars=yes,status=1');
    </script>
    <body onload="javascript:openRequestedPopup();">
    hello world
    </body>
    </html>

  • VariableRowHeight="true" not working in advanced datagird

    I have a advanced datagird that uses custom icons in grouped collection level 1. However all the other rows in level to have the same row height as the one with the largeish icon even though I have variableRowHeight="true"
    Any help good people?

    Did you use some container to arrange these images? Maybe container isn't increasing with a image contained inside it, then the row will think that all are accommodated.  Put your container renderer height and width to 100%.

  • SelectBooleanCheckbox required=true not working - need custom validator?

    To All:
    Searched the web (and this forum) and saw only one post related to this issue and it concluded that a custom validator was necessary.
    I want to have the required attribute make the selectBooleanCheckbox actually required when the form is submitted.
    1. Is it true that I have to wrtie a custom validator? It seems by now MyFaces or somewhere out there a validator must exist
    OR
    2. Does someone know how to make a checkbox required in JSF?
    Many Thanks!
    Matt

    The problem with a selectBooleanCheckbox is that it will ALWAYS return a value. Thus, if you set it to required, it doesn't matter if it's checked or unchecked, it has returned a value. It would incorrect to assume that setting the required flag to true would mean the checkbox must be checked. What if it's required to be unchecked?
    Anyways, the bottom line is that you will have to create a custom validator to ensure that the checkbox is checked (or unchecked, depending on what your requirements might be). However, this is simpler than you might be thinking. Use the validator attribute and a method in your backing bean to perform the check.
    Like this:
    <h:selectBooleanCheckbox id="myRequiredCheckbox"
              value="#{backBean.requiredBox}" validator="#{backBean.checked}" />backBean will have something like the following validator method (this one throws an error if the box isn't checked):
         public void checked(FacesContext context, UIComponent component,
              Object value) throws ValidatorException {
              if (context == null || component == null || value == null)
                   throw new NullPointerException();
              Boolean isChecked = (Boolean)value;
              if (!isChecked .booleanValue()) {
                   FacesMessage msg = new FacesMessage("You must check the box before proceeding.");
                   msg.setSeverity(FacesMessage.SEVERITY_ERROR);
                   throw new ValidatorException(msg);
         }See, pretty easy eh?
    CowKing

  • Rtexprvalue true does not work

    I write a tag ,it works well( tomcat 5.5 ,jdk5):
         <u:repeat num="5">
                   ${count} of 5<br>
              </u:repeat>
         <%
              request.setAttribute("number",2);
         %>
    but when I use it like this:
              <u:repeat num="${number}">
                   ${count} of 5
              </u:repeat>     
    i got the error:
    NumberFormatException: For input string: "${number}"
    It seems the rtexprvalue does not work at runtime.
    tag class:
    import javax.servlet.jsp.JspException;
    import javax.servlet.jsp.tagext.SimpleTagSupport;
    import java.util.HashMap;
    import java.io.IOException;
    public class RepeatSimpleTag extends SimpleTagSupport {
         private int num;
         public void doTag() throws JspException, IOException {
              for (int i = 0; i < num; i++) {
                   getJspContext().setAttribute("count", String.valueOf(i + 1));
                   getJspBody().invoke(null);
         public void setNum(int num) {
              this.num = num;
    TLD:
         <tag>
              <name>repeat</name>
              <tag-class>boc.common.tags.RepeatSimpleTag</tag-class>
              <body-content>scriptless</body-content>
              <variable>
                   <description>Current invocation count (1 to num)</description>
                   <name-given>count</name-given>
              </variable>
              <attribute>
                   <name>num</name>
                   <required>true</required>
                   <rtexprvalue>true</rtexprvalue>
              </attribute>
         </tag>
    then I change the code to:
         public void setNum(String num) {
              this.num = Integer.parseInt(num);
    still got the error
    org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/spring/userauth.jsp:22
    19:           request.setAttribute("number",2);
    20:      %>
    21:      
    22:           <u:repeat num="${number}">
    23:                ${count} of 5
    24:           </u:repeat>          
    25:           <u:repeat num="5">
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    root cause
    java.lang.NumberFormatException: For input string: "${number}"
         java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         java.lang.Integer.parseInt(Integer.java:447)

    I set <el-ignored>true</el-ignored>
    change it to false and all is ok

  • Security Issue httpOnlyCookies="true" is not working with production environment

    Dear All, 
    I have tired to make set cookie value as httpOnly
    The development environment is working fine and give me an output like that 
    Set-Cookie
    WSS_KeepSessionAuthenticated={3644d93c-d1d3-46cd-845f-42c01640ab21};
    path=/;
    HttpOnly
    But when implement the same changes in web.config production environment its not working 
    Set-Cookie                NLSessionCdomainweb=a98q9jnsy0vXk5+RHeHnlKmM+HnneA9KmhIAR6g1bJiwTs8sD6d7dfV1gBffc8HiJXBowxdO8LhZAiIEKiFY6PzNWySyRs5rvgCfPu8XIFnqKcN4XQ4UL9PN3JI3f4E6;path=/;domain=.domain.com
    I am using sharepoint 2010, under web.config i made the following changes  
    Add following tags under system.web
    <httpRuntime maxRequestLength="2097151" enableVersionHeader="false"
    />
    <httpCookies httpOnlyCookies="true"/>
    Add following tags under <system.webServer>
      <httpProtocol>
          <customHeaders>
                   <remove name="X-Powered-By" />
                 <remove name="MicrosoftSharePointTeamServices" />
          </customHeaders>
        </httpProtocol>
    Can any one tell me why it's happening i have checked all possible reasons from my side but no success  
    Regards 
    Rashid Bilgrami 
    RB

    Hi,
    From your description, I know you want to set cookie value as httpOnly but it is not work.
    Please try to add codes below to your global.asax file:
    <SCRIPT language="C#" runat="server">
    protected void Session_Start(Object sender, EventArgs e)
     try
      if (Request.IsSecureConnection == true)
                    Response.Cookies ["ASP.NET_SessionId"].Secure = true;
     catch (Exception)
    </SCRIPT>
    Please refer to this article:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/0fe55c13-3911-422e-af17-cb5c1ab2abd7/missing-secure-httponly-flags-on-sharepoint-2010-cookie?forum=sharepointadminprevious.
    Best Regards
    Vincent Han
    TechNet Community Support

Maybe you are looking for

  • Solaris 8 graphical logon (CDE) in branded zone

    How do I enable/configure a graphical interface (cde) for my Solaris 8 branded zone in solaris 10?

  • Why Are the Text Boxes I Create in a Layout Not Editable When I Add Them?

    I've made some chapter and section layouts and in the layouts panel when I select them the text boxes are red and editable. But when I apply the layout to a page in my book, everything is greyed out. Nothing is locked, but now my layouts are useless.

  • SNMP not responding

    Hi, I have a Windows 2003 R2 server with SNMP enabled. I monitor it via Nagios, and have been working fine since a few days ago, that snmp started to not answering. I've removed SNMP services, and reinstalled, clean registry entries, but unsuccedfull

  • ITunes updates hijacking file types?

    I would like for my .m4v files to play in quicktime when I open them in Finder. I can get them to do this using the "Open with: .. Change All..." option in the get info window for a .m4v file. The problem is that every time iTunes updates it takes ov

  • Firefox does not work on my new motorola razr i (XT890). Will my phone be supported soon?

    Firefox does not work on my new phone, motorola razr i (XT980). When finishing the download from googlePlayStore it says, that the package is invalid. (I use the german interface, so I don't know the exact translation being used). I suppose this is b