Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DSRequest.addToCriteria(String fieldName, Object value) (serverside) not javadocd

    Hi Isomorphic,

    http://www.smartclient.com/smartgwte...lang.Object%29 misses an description to overload addToCriteria(String fieldName, Object value).

    Is it allowed to use this (and equal to addToCriteria(String fieldName, "equals", Object value))?

    Thank you,
    Blama

    #2
    We don't follow the question, please try rephrasing.

    Comment


      #3
      Hi Isomorphic,

      sorry for not being clear.

      The javadoc for com.isomorphic.datasource.DSRequest (http://www.smartclient.com/smartgwte...DSRequest.html) has a description for addToCriteria(java.lang.String fieldName, java.lang.String operator, java.lang.Object value).

      In Eclipse I can also see addToCriteria(String fieldName, Object value). Is it allowed to use this method (and the javadoc is missing) or is it an internal method I may not use?
      If allowed to use, is it a shorthand for addToCriteria(String fieldName, "equals", Object value)?

      Thank you,
      Blama

      Comment


        #4
        Yes, that's what addToCriteria(String, String) does, and we've now doc'd it officially (in 4.1) so it's safe to use.

        Comment

        Working...
        X