BigInteger property - overflow?

Hi,
I noticed a srange and annoying behaviour:
I have a text input which maps to a property named "big" of type BigInteger on my backing bean:
<h:inputText value="#{myBean.big}" />
The strange thing is that if I enter a value bigger than 19 decimals, e.g. 33333333333333333333, it suddenly changes to -3560154814085769899 after submitting the form. There are no validation errors and the same happens if I explicitly specify the BigInteger Converter (which should not be necessary anyways).
I put debug statements in the getter and setter of my backing bean and I could observe that the getter is already called with the wrong value.
Can't believe that the converter does not work (looked at the source and it looks ok...
JSF-RI 1.2, Tomcat 5.5, Facelets, SEAM 1.2
Does anybody have an idea? Thanks a lot for help.

You're right!
Just deployed on Tomcat 6.0 (jsf 1.2.04) - and it works fine!
Who knows why..
Thanks for the tip!

Similar Messages

  • CSS - Overflow: Scroll

    Hi, I have a question about Overflow: Scroll option. heres
    the scneario:
    Say I have a box 500px wide, 250 high. theres too much text
    to fit into that box, so i go into my css positioning tab and
    change "Overflow: " to "Overflow: Scroll". Now in a browser the box
    will have a scroll bar. But it has both horizonal & vertical
    bars. the bottom one (i'm calling it the horizontal scroll bar) is
    grayed out and you cannot use it, but the vertical scroll bar is
    usuable so you can scroll up and down to read the text, which works
    great. But heres the issue: the horizontal one looks really ugly...
    how would i make it so the horizontal one does not show, and only
    the vertical scroll bar will? or vis versa for other scenarios?
    While were at it, could i change the way the scroll bar
    looks, like some websites do?
    Thanks.

    I have begun always using
    :root { overflow-y:scroll; }
    to force a scrollbar on FF and Safari on all pages. It seems
    to work
    fine....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "ZzarkZul" <[email protected]> wrote in
    message
    news:goa6h3$b2a$[email protected]..
    > Hmm overflow-y (and x) arent working quite right. it
    sometimes does the
    > job,
    > but other times it doesn't. i am using firefox. Also
    when i type in the
    > code i
    > get a green squiggle line under the text, and it says:
    Unsupported
    > property:
    > overflow-y, may cause problems with firefox, ie on mac,
    safari, etc
    > etc....
    >

  • Spry tabbed panel and scroll bar cross browser

    Hi everybody, I would like to insert into a
    site a
    scroolbar like this
    example1
    or also like this
    example2
    but I have a problem:
    The scrollabar works in the default tab, in the other tabs
    it's impossible to view the tab's content.
    I have found a similar problem looking around
    here
    but this solution did'nt work, probably because the example
    is for a php site, my site instead is developed in ASP.
    Does someone has a solution?I woul like to avoid to display
    the default scrollbar using the property overflow:auto, because in
    firefox the color attribute doesn't works and the graphic aspect is
    very important.
    Thank you very much.

    Hi cammellonellacruna,
    Can you provide a link where the problem can be seen?
    I've tried with IE 6,7 and Firefox 2 and couldn't see the
    problem.
    Also, try to put more content in the other tabs, to make the
    scrollbars show up.
    Thank you,
    --Florin TUDOR
    Adobe Spry Team

  • Collapse Element on Window Scroll event?

    Hi
    I am trying to implement a functionality wherein:
    I have  a page with multiple panels. I have made the panels expand and collapse enabled.
    When I scroll my page, I would like to be able to collapse the panel, which goes out of scope.
    I tried to apply the logic of reducing the height of the panel for doing this. However, since it needs window.scrollTop to generate the condition to collapse or expand the pane, based on the position of the scroll, it is impossible at the moment.
    I found that we cannot use the window.scrollTop() functionality on SAPUI5 controls. It always ends up gving a 0 value.
    Is there any other way to implement this?
    Can someone please guide me on this??
    Here is an example of what I am trying to achieve in SAPUI5. Please help!
    Edit fiddle - JSFiddle

    Hi Anaya,
    Window.Scroll() will not work. Content in the SAPUI5 application are not directly added to body part.
    In SAPUI5 we have App view which contains Header and Section.
    The page content goes to Section. The CSS property overflow-y of Section is set to auto. so the scroll bar appears at the right side of window is the scroll bar of Section.
    Use,
    $('#id_of_section').scroll(function(){
             alert("Scrolling Happend");  
    It will get the scrolling event. Here you can set the Collapsed true for your panel.
    Regards,
    KK

  • Unbound item in mutli records block

    Hi,
    is it possible to have an unbound item in a block with 4 rows to be displayed only 1 time instead af 4 like a computed item ?
    Thanks
    Jean-Yves

    Set the context-property of the items that you want to display multiple times to Yes, the context property of the unbound item to No (and change te order of the items, so the unbound item is the last one). Set the block property 'Overflow' to Overflow Below (or Right whatever you prefer).
    That should do the trick...

  • [Webrtc] [mozilla 26] Getting unhanded state type: 1 after adding remote stream

    Hi,
    I am working on a webRTC application. So far, I am able to make call b/w Chrome to Chrome and mozilla to mozilla. But sometimes mozilla to mozilla and almost everytime mozilla to chrome or vice-versa not working.
    I see that there is connection being made but audio/video stream are not being played.
    The onaddstream callback get triggered, but just after that "Unhandled state type: 1" warning get appeared.
    Please help.
    here is my code of onaddstream.
    pc.onaddstream = function(event) {
    // TODO: Finalize this API
    rtc.fire('add remote stream', event.stream, id);
    setAppLog('', 'add remote stream : ' + event.stream);
    console.log( ' add remote stream : ' + event.stream);
    //On console..
    20:25:32.895 Unknown property 'overflow-wrap'. Declaration dropped. connect.css:56
    20:25:32.895 Unknown property 'spacing'. Declaration dropped. connect.css:76
    20:25:32.896 Unknown property 'spacing'. Declaration dropped. connect.css:240
    20:25:32.896 Error in parsing value for 'padding'. Declaration dropped. connect.css:250
    20:25:32.896 Unknown pseudo-class or pseudo-element '-webkit-slider-thumb'. Ruleset ignored due to bad selector. connect.css:302
    20:25:32.896 Unknown property '-moz-box-shadow'. Declaration dropped. connect.css:326
    20:25:32.896 Error in parsing value for 'background'. Declaration dropped. connect.css:329
    20:25:32.896 Unknown property '-moz-border-radius'. Declaration dropped. connect.css:332
    20:25:32.897 SyntaxError: Using //@ to indicate source map URL pragmas is deprecated. Use //# instead jquery.min.js:1
    20:25:33.453 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.min.js:5
    20:25:33.529 [object HTMLHeadingElement] webrtcconnection.js:51
    20:25:33.532 "This appears to be Firefox" adapter.js:17
    20:25:33.829 Unknown property 'box-sizing'. Declaration dropped. video
    20:25:36.445 "rtc.createStream : [object Object]" webrtc.io.js:338
    20:25:37.530 "rtc.on get_peers : [object Object]" webrtc.io.js:172
    20:25:39.995 "rtc on ready " webrtc.io.js:476
    20:25:40.221 "rtc.createPeerConnection : 71b80816-3832-2b33-9301-b04db3a561fb" webrtc.io.js:246
    20:25:40.222 "rtc.addStreams : [object LocalMediaStream]" webrtc.io.js:389
    20:25:40.223 "createDataChannel 71b80816-3832-2b33-9301-b04db3a561fb" webrtc.io.js:434
    20:25:40.224 "rtc.sendOffer : 71b80816-3832-2b33-9301-b04db3a561fb" webrtc.io.js:287
    20:25:40.225 "sendOffer : 71b80816-3832-2b33-9301-b04db3a561fb" webrtc.io.js:229
    20:25:41.180 "rtc.on receive_answer : [object Object]" webrtc.io.js:217
    20:25:41.181 "rtc.receiveAnswer : 71b80816-3832-2b33-9301-b04db3a561fb" webrtc.io.js:332
    20:25:41.580 " ADDING REMOTE STREAM... + 71b80816-3832-2b33-9301-b04db3a561fb : [object MediaStream]" webrtcconnection.js:573
    20:25:41.586 [object HTMLVideoElement] webrtcconnection.js:576
    20:25:41.601 " Remote stream added" webrtcconnection.js:671
    20:25:41.603 " add remote stream : [object MediaStream]" webrtc.io.js:276
    20:25:41.620 Unhandled state type: 1
    Thanks
    R.

    Hi R,
    Note: If the answer is not found here, I would certainly recommend going to stackoverflow.com and posting your question. [http://stackoverflow.com/questions/tagged/webrtc]
    *What version of the WebRTC API are you using, check the streaming api to see if its up to date
    *The spacing error, maybe try the [http://jigsaw.w3.org/css-validator/ W3C Validator] will help find why 'spacing' css value is not recognized
    *Found this discussion on the error, it looks like it is a mismatched json standard between the browsers? [https://groups.google.com/forum/#!topic/mozilla.dev.media/W3_dOXyEBBc]
    *would it be an unhandled object in that "rtc.fire()" call?
    *This discussion has how to turn on WebRTC degugging on: [https://groups.google.com/forum/#!topic/mozilla.dev.media/FrQE1OV7y38]

  • AF grouping element that renders as a DIV?

    Hello,
    Is there an ADF component similar to an af:panelGroup that renders as a DIV rather than a SPAN? I need to explicitly set the width, and you cannot set width on a "span" element. I need to enclose more ADF components inside this grouping(in particular, af:commandLink"), which is why I'm under the impression that it has to be an ADF component enclosing it.. (I'm trying not to use an afh:tableLayout to do this!)
    Any suggestions?
    Thanks in advance,
    - Visser

    Alright I've thrown in the towel, wrote a custom tag to act as a DIV, and it works swell. Here is the URL to a tutorial that shows exactly how to do it:
    http://www.it-eye.nl/weblog/2006/04/25/creating-a-jsf-div-component/
    For anyone else searching the forums with the seemingly unsolved question of how to make the width of a column in an ADF table fixed, you can:
    1. Integrate the custom DIV tag implementing the styleClass property as shown in the above tutorial
    2. Set the width of the DIV element to the size you want the column to be
    3. Set the CSS property "overflow-x" to be hidden, or scroll, or whatever suits your fancy
    Then all you have to do is make sure the column width is set to less than what you set the width of your DIV and it will no longer stretch to the content of the cell!
    I hope that helps someone, thanks for everyone's input into this problem.
    Branden

  • Link to anchor in a scrolling text box?

    Hi,
    I am designing a page that has a left menu and middle text
    section. the client wants the top and left stay in screen all the
    time and middle section, which is a long text, to be scrollable and
    moves up and down with no effect on left and top. and the left menu
    links should make the middle text jump to the right section of it.
    I know how to use frame and know to use the anchors. but I
    don't know how to make both work together, or if it is possible
    this way.
    or I might need Javascript for the whole thing?
    I appreciate all your help.

    You don't really need to use frames for this. Look at the CSS
    property overflow.

  • It has error when table row big than 500

    Hi,All
    my war file in Appserver8 is correct,but in JBoss4.0.2,when table row only 100 or 200, be ok yet,but big than 500,has below error.
    2007-12-14 14:43:22,062 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[yx].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
    com.sun.data.provider.DataProviderException: java.lang.reflect.InvocationTargetException
         at com.sun.data.provider.impl.MethodResultTableDataProvider.invokeDataMethod(MethodResultTableDataProvider.java:257)
         at com.sun.data.provider.impl.MethodResultTableDataProvider.invokeDataMethod(MethodResultTableDataProvider.java:215)
         at com.sun.data.provider.impl.MethodResultTableDataProvider.testInvokeDataMethod(MethodResultTableDataProvider.java:267)
         at com.sun.data.provider.impl.MethodResultTableDataProvider.getRowCount(MethodResultTableDataProvider.java:397)
         at com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.java:806)
         at com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:429)
         at com.sun.rave.web.ui.component.TableRowGroup.getSortedRowKeys(TableRowGroup.java:1385)
         at com.sun.rave.web.ui.component.TableRowGroup.getRenderedRowKeys(TableRowGroup.java:876)
         at com.sun.rave.web.ui.component.TableRowGroup.iterate(TableRowGroup.java:1956)
         at com.sun.rave.web.ui.component.TableRowGroup.processDecodes(TableRowGroup.java:1679)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
         at com.sun.rave.web.ui.component.Form.processDecodes(Form.java:78)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:306)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.data.provider.impl.MethodResultTableDataProvider.invokeDataMethod(MethodResultTableDataProvider.java:236)
         ... 43 more
    Caused by: java.rmi.ServerException: RuntimeException; nested exception is:
         java.lang.NullPointerException
         at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:386)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
         at org.jboss.ejb.Container.invoke(Container.java:873)
         at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
         at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
         at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
         at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
         at $Proxy129.getAmmeterByBooknumForInputData(Unknown Source)
         at khdf.khdfsession.KhdfSessionClient.getAmmeterByBooknumForInputData(KhdfSessionClient.java:214)
         ... 47 more
    Caused by: java.lang.NullPointerException
         at khdf.KhdfSessionBean.getAmmeterByBooknumForInputData(KhdfSessionBean.java:7024)
         at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130)
         at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
         ... 68 more
    Heading 6: h6.

    Hi,Futeleufu_John
    Yes,All rows of the table display in a page througe setting layoutpanel's property "overflow:scroll".
    Same war file & jar files,it works fine when i deploys in SunAppserver8 whether the table have many rows,but in Jboss,few rows are fine,e.g. 200 rows are ok,but the table rows more than 500,it's error.
    i has test the ejb's method in Jbuilder,it's fine more than 500 rows,that is, the method is fine,only because of displaying in Jboss.
    the method KhdfSessionBean.getAmmeterByBooknumForInputData's code snippets as follows:
    public AmmeterDTO[] getAmmeterByBooknumForInputData(String charcomid,
          Integer booknum, String operid)
        if (charcomid == null || booknum == null)
          return null;
        ArrayList ammeterList = new ArrayList();
        AmmeterDTO ammeterDto = new AmmeterDTO();
        try
          Context ctx = new InitialContext();
          DataSource ds = (DataSource) ctx.lookup(strJdbc);
          conn = ds.getConnection();
          callstat = conn.prepareCall("{call p_get_ammeterinfo(?,?,?,?,?)}");
            ammeterDto = new AmmeterDTO(..........);
            ammeterList.add(ammeterDto);
        catch (SQLException ex)
        catch (NamingException ex)
        catch (ParseException ex)
        finally
          try
            if (callstat != null)
              callstat.close();
            if (conn != null)
              conn.close();
            if (rs != null)
              rs.close();
          catch (SQLException ex1)
        return (AmmeterDTO[]) ammeterList.toArray(new AmmeterDTO[0]);
      }

  • Page over flow - please turn over

    Is it possible to add text "please turn over"  if the page overflows to another page?
    I have designed an  In design document that get variable data filled from an external source. When this happens the page may or may not overflow to a new page depending on the data that goes in the document.
    I want to is to add text "please turn over" only if the page over flows? How do I do this? Can this done in In design? Page Overflow works fine. Not sure how to add a conditional text. Is there a way to check if page overflows in design?

    Pages do not overflow in InDesign, textframes do.
    Beware of terminology issues. In scripting, textframes have a property "overflows", which indicates there is "overset" text in the frame, that is, there is not room enough in that particular text frame for all of the text and it does not thread to a next frame. That last part is, by the way, the indicator you are looking for here: if a text frame "nextTextFrame" is valid, then there is a possibility text runs from the current into that next frame.
    It's only a possibility because it is perfectly valid and possible (and often true) that this next frame is totally empty, so you might want to double-check on that.

  • How can I get an "Overflows" frame property in IDML?

    I am using InDesign CS5.
    In scripting, I can get the "Overflows" property to see if a given text frame requires overflowing. I could not find any similar property in IDML. Is there any way to determine solely from an exported IDML if text overflow is required? By this, I mean that the story is too long to be displayed in its entirety and thus a continuation text frame needs to be displayed.
    What I am trying to do is to take an IDML, check on each text frame to see if there is undisplayed text due to a "too-small" frame, and if so take requisite action. Any IDML-based suggestions, workarounds, or pointers would be gratefully accepted.
    TIA,
    mlavie

    IDML contains unformatted text, and you cannot see how much space is going to take up when opened with InDesign -- it's InDesign itself that does all the formatting, word-breaking, justification, paragraph composing and all the rest. IDML only defines the pages, the frames, and the text that's going into it.

  • Using BigInteger as type for JavaFX property

    Hello,
    Why is BigInteger not a legitimate type for a JavaFX property?
    Is there a way for me to use a java.math.BigInteger as shown below:
    class HomePhone
    BigInteger landLine1 = 0
    BigInteger landLine2 = 0
    } // end class HomePhone
    Thank you very much.

    Why is BigInteger not a legitimate type for a JavaFX property?Because it does not implement the JavaFX property interface:
    http://docs.oracle.com/javafx/2/api/javafx/beans/property/Property.html
    You could fit your phone numbers in an IntegerProperty or LongProperty, which have maxvalues of 2147483647 and 9223372036854775807 respectively or you could use a SimpleStringProperty.
    One could make a high quality BigIntegerProperty with a bit of work. To do a full implementation of property management for BigIntegers which handles expressions, type conversions, etc, requires quite a few classes. For example, you can see some of the hierarchy implemented to enable rich Double properties - something similar could be created for BigInteger - a feature request could be created at http://javafx-jira.kenai.com.
    java.lang.Object
    javafx.beans.binding.NumberExpressionBase
    javafx.beans.binding.DoubleExpression
    javafx.beans.property.ReadOnlyDoubleProperty
    javafx.beans.property.DoubleProperty
    javafx.beans.property.DoublePropertyBase
    javafx.beans.property.SimpleDoubleProperty

  • Anyone knows the analog property for Overflows in Illustrator

    Hi!!
    I need to know when a textframe object contains overset text to resize it..
    In Indesign I use the next code..
                While TextFrameMM.Overflows()
                    TextFrameMM.Paragraphs.Item(1).HorizontalScale = TextFrameMM.Paragraphs.Item(1).HorizontalScale - 1
                    If i = 0 Then
                        TextFrameMM.Paragraphs.Item(1).PointSize = TextFrameMM.Paragraphs.Item(1).PointSize - 0.5
                        TextFrameMM.Paragraphs.Item(1).HorizontalScale = LastHorizontalScale
                        i = 10
                    End If
                    i = i - 1
                End While
    I resize the text to keep it visible...
    Thanks!!

    Hi James,
    If you use a binary function, performance should be tremendously improved.
    This seems to work (basic original binary function by Kris Coppieters):
    (InDesign has much better ways of doing this...)
    JET_AutoFitVertical.jsx
    A Javascript for Adobe Illustrator by James E. Talmage.
    Purpose: Eliminates overset text by incrementally enlarging the textFrame's textPath until
    all of its text is visible. Shrinks oversized textFrame textPaths by incrementally reducing the height
    until the number of characters visible is fewer than those contained, then enlarges one increment to reveal all the text.
    var docRef=activeDocument;
    alert("The bottoms of selected AreaType objects will be raised or lowered\runtil they fit against the contained text.");
    for(i=0;i<docRef.selection.length;i++){
        var currObj=docRef.selection[i];
        if(currObj.typename=="TextFrame"&&currObj.kind=="TextType.AREATEXT"){
            binaryFit(currObj);
            redraw();
    function countChars(textFrame){
        var charCount=0;
        for(l=0;l<textFrame.lines.length;l++){
            charCount+=textFrame.lines[l].characters.length;
        return charCount;
    function binaryFit(textFrame){
        var textFrame=currObj;
        var currTextPath=textFrame.textPath;
        var paraCount=textFrame.paragraphs.length;
        var totalCharsCount=textFrame.characters.length;
        var visibleCharsCount=countChars(textFrame)+(paraCount-1);
            //alert(visibleCharsCount<totalCharsCount);
        var fitStep = 16;
        var kFitFrameTolerancePoints = 0.01;
        var antiLockupCounter = 0;
        var growFitStep = true
        while ((fitStep >= kFitFrameTolerancePoints) && antiLockupCounter++ < 40){
                    //alert(antiLockupCounter);
            if(visibleCharsCount<totalCharsCount){
    //                    growFitStep = false;
                currTextPath.height+= fitStep;
                visibleCharsCount=countChars(textFrame)+(paraCount-1);
                if(visibleCharsCount<totalCharsCount){
            // It's still overset after the change of bounds -
            // we'll continue enlarging the frame.
            // Depending on the phase we're in (grow/shrink) make the next step
            // larger, or smaller
                    if (growFitStep){fitStep = fitStep * 2.0;}
                    else{fitStep = fitStep / 2.0;}
                else{
            // By decreasing the frame size, we changed over from 
            // being not overset to being overset
            // Stop growing the step - now we need to shrink it back
            // to a small value
                    fitStep = fitStep / 2.0;
            else{//first stage...
                if(fitStep>=currTextPath.height){
                //the fitStep is too big. cut frame size in half... and start decreasing step size.
                    currTextPath.height = currTextPath.height/2;
                    visibleCharsCount=countChars(textFrame)+(paraCount-1);
                    fitStep = currTextPath.height ;
                    growFitStep = false;
                } else {
                    currTextPath.height -= fitStep;
                    visibleCharsCount=countChars(textFrame)+(paraCount-1);
                if (! visibleCharsCount<totalCharsCount ){
            // It's still not overset after the change of bounds -
            // we'll continue shrinking the frame.
            // Depending on the phase we're in (grow/shrink) make the next step
            // larger, or smaller
                    if (growFitStep){fitStep = fitStep * 2.0;}
                    else{fitStep = fitStep / 2.0;}
                else{
                    fitStep = fitStep / 2.0;
                    growFitStep = false;
        if(visibleCharsCount<totalCharsCount){
            currTextPath.height += kFitFrameTolerancePoints;
    Harbs

  • Error: #1023 Stack overflow occurred (internal resolved property)

    Hi there,
    After working on my site for months with different versions of Adobe Muse CC I recently did the update to CC 2014.3.0 and after doing so, every time I open the site file it throws a #1023 error message. After doing some digging, it would seem it relates to paragraph styles and a recurring loop.
    Editing on Mac Pro (Late 2013) OSX Yosemite Version 10.10 - Have deleted all previous versions of Muse from system, cleared all Library preferences, reinstalled the latest version, tried all the tricks. Have wetransferred the site file to [email protected], awaiting a response (For Adobe the reference is [email protected]).
    Has anybody else experienced this issue? As is the case with these things, we are meant to be finalising and going live this week so any support as soon as possible would be great. Would be good to hear from Adobe?

    Hi there,
    Adobe replied via email to our muse file over the weekend. Below is their reponse:
    "You recently submitted a muse file to [email protected]
    Your file had a very deeply nested submenu which was causing a crash in Muse.
    I’ll work on fixing that crash for a future version of Muse. Until then, I have edited your file, marking the page named ‘xxxxxxxx’ as ‘exclude from menu’ to prevent Muse from trying to build a very deeply nested menu that caused the crash.
    Based on the other pages you’ve marked as ‘exclude from menu’, I suspect you may have wanted to exclude this page and it’s child pages from your menu anyways."
    Thank you for the response Adobe, greatly appreciated! The error was a result of a large number of child pages on top of child pages, not visible on the site but used to help customise a search widget. Hope this information helps anyone in the future with this problem....
    JE

  • XMLTRANSFORM Too large stylesheet - code buffer overflow issue

    Hi All,
    My question is related to MSWordML generation from PLSQL stored procedure.
    1. I have table, containing XSLT stylesheets for different documents
    2. PLSQL stored procedure is generating dynamic content depending on some params and at the end I'm using
    SELECT XMLTRANSFORM(XMLTYPE.createxml(db_data_clob), XMLTYPE.createxml(x.xslt_clob)).GetClobVal()
    INTO   res
    FROM   msword_ml_data x
    WHERE  x.report_id = rep_id_variable;
    where : x.xslt_clob -> column, containing XSLT CLOB
    db_data_clob -> dynamic content CLOB
    res -> CLOB result
    All this was working fine on Oracle11gR1, but I had to reinstall database and I said why not install Oracle11gR2 ...
    Guess what. Stored procedure is raising exception when using XMLTRANSFORM :
    Exception : : ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00004: internal error "Too large stylesheet - code buffer overflow"
    Google says nothing about it. I don't recall setting some special DB property in Oracle11gR1.
    Has anyone encountered this ?
    I haven't changed procedure nor table.
    I'm using exactly the same XSLT's from Java code and they are working just fine, so they are not the reason. My guess is that something in Oracle11gR2 related to XML processing is changed.
    If anyone could help, thanks in advance

    For those who are interested.
    I have logged a service request and it turned out that this is is a bug in Oracle 11gR2.
    "The limitation on the style sheet is not exactly a size limit but a limitation on the number of style sheet instructions and depends on the way the style sheet has been written. This is a C based parser limitation"
    Anyway, the workaround is to create Java stored procedure and do transformation from there.

Maybe you are looking for

  • I am expat from US.  How do I access content from my US iTunes account on my UAE iTunes account?

    I live in UAE but have been accessing the US ITunes Store.  With latest upgrade, can no longer do that from a foreign country.  If I open a UAE ITunes account, will I have to repurchase items I already purchased from US account?  Any way to link the

  • How do I get Captivate 8 (MAC) to record keystrokes?

    I am trying to do the following and am very confused...I thought Captivate records keystrokes and then let's users try out what is recorded. For example, I am trying to record a log in screen. I record my screen where I type in my username and passwo

  • Manage Cache option grayed out in online RPD

    Ran into a problem today, trying to perform manual caching but cache option is grayed out when ascessing manage cache option, this is happening even though i have enabled the cache option in the NQSConfig file as follows ENABLE=YES YET IT IS GRAYED O

  • Oraclepreparestatement and WebSphere data source

    Currently, I'm using data source in WebSphere instead of DriverManager.getConnection() to getting the database connection. Although I'm able to get the connection, but I failed to call OraclePrepareStatetement and OraclePrepareStatetement.setFormOfUs

  • Problems with JNDI between JSP and EJB

    Good morning: I've got a problem related to EJB and JNDI. I want to run methods of an EJB that is in Weblogic, from a JSP that runs IPlanet. When I try to execute getInitialContext() I catch a NamingException. The error description is :Cannot instant