Is bound ?

Hi
As a newbie to ABAP, I would like to know the meaning of the phrase 'is bound'
as in: 'IF htmlb_event IS BOUND AND htmlb_event->name = 'button'. '
Can you also refer me to a tutorial on OO ABAP?
Thank you
yuval

OO ABAP
http://www.sapgenie.com/abap/OO/
For understanding COntrol Frameworks in OO ABAP, check this.
http://www.sapgenie.com/abap/controls/index.htm
ABAP_OBJECTS_ENJOY_0 Template for Solutions of ABAP Object Enjoy Course
ABAP_OBJECTS_ENJOY_1 Model Solution 1: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_2 Model Solution 2: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_3 Model Solution 3: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_4 Model Solution 4: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_5 Model Solution 5: ABAP Objects Enjoy Course
DEMO_ABAP_OBJECTS Complete Demonstration for ABAP Objects
DEMO_ABAP_OBJECTS_CONTROLS GUI Controls on Screen
DEMO_ABAP_OBJECTS_EVENTS Demonstration of Events in ABAP Objects
DEMO_ABAP_OBJECTS_GENERAL ABAP Objects Demonstration
DEMO_ABAP_OBJECTS_INTERFACES Demonstration of Interfaces in ABAP Objects
DEMO_ABAP_OBJECTS_METHODS Demonstration of Methods in ABAP Objects
DEMO_ABAP_OBJECTS_SPLIT_SCREEN Splitter Control on Screen
You can get nice docs regarding OO ABAP from these links also...
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf

Similar Messages

  • 10.4.8 Client takes long time to get to login window when bound to OD.

    I am working on a system in a school. We have a dual processor g5 xserve with 4 gb of ram, the raid card, and 3 500 gb drives.
    Fresh install of 10.4.8 with all the updates.
    Raid 5 split in 2 volumes, one for server and one for data.
    AFP service running.
    Local dns running.
    Promoted to open directory master.
    This is the following test scenario i have.
    there is a user called studenttest and he belongs to a group called cccarstarmembers and is in a workgroup called student.
    the studenttest users home folder exists in a sharepoint called students that is set up on the data partition.
    there is a sharepoint called cccarstar that holds data for some educational software we use. The owner is administrator with rw access, the group is cccarstarmembers with rw access and others have no access.
    The student workgroup only has a few changes like dock location just for testing purposes to verify that the work group is working properly.
    When i bind a newly built 10.4.8 client with all the updates to the od server it intermittantly takes a long time for the client to get to the login window when it is powered up. Sometimes it will get to the login window in 45 seconds and other times it will take 5 minutes. This is not consistant. if you unbind the client then the computer will behave properly consistantly.
    I have tried binding the client to the od master using the fully qualified domain name and the ip address with the same results.
    the search path on the server is "dc=osx1,dc=erm,dc=sd,dc=bc,dc=ca" and on the client it auto populates at cn=config,dc=osx1,dc=erm,dc=sd,dc=bc,dc=ca".
    I have changed the search path on the client to match the search path on the server with no success as this is what used to work for us on panther setups.
    But this school has a panther client i am working on at the same time with the same applications installed and system preference settings and when i bind it to the same od master with the same search path that is displayed on the server it works fine. all users work, all groups and work groups work.
    Dns appears to be working. lookup provides the correct forward and reverse lookup info on the server, if i use either the panther or tiger client and use lookup with the servers fully qualified domain name and ip address i get the correct answers back.
    I had this problem before where tiger gave me slow to login screen problems but panther wouldnt when bound, and apple told me that it was because i had afp guest access disabled on the server. Enabling it resolved the issue about 6 months ago at another site but this time when building the server i made sure it was on from the start even thoug it is off by default.
    Any suggestions, i am pulling my hair out and about 8 working hours from a deadline.

    I've seen this a lot.
    This Knowledge Base article refers to Active Directory but we've seen this fix login delays with OD-only environments too:
    http://docs.info.apple.com/article.html?artnum=303841
    Another one of the causes is when you have multiple network mounts and your AFP service has guest access disabled. The loginwindow is trying to authenticate to each share with the username given and it is failing when that user account is not authorised for that share.
    Another can be the LDAP timeout value(s). Try adjusting these in the LDAPv3 plug-in.
    Also make sure your network ports have portfast/faststart set on the Mac ports. Sometimes because of STP the port isn't initialised fast enough for the OS when it's ready to start LDAP'ing.
    Let me know if any of this helps.

  • A question about a method with generic bounded type parameter

    Hello everybody,
    Sorry, if I ask a question which seems basic, but
    I'm new to generic types. My problem is about a method
    with a bounded type parameter. Consider the following
    situation:
    abstract class A{     }
    class B extends A{     }
    abstract class C
         public abstract <T extends A>  T  someMethod();
    public class Test extends C
         public <T extends A>  T  someMethod()
              return new B();
    }What I want to do inside the method someMethod in the class Test, is to
    return an instance of the class B.
    Normally, I'm supposed to be able to do that, because an instance of
    B is also an instance of A (because B extends A).
    However I cannot compile this program, and here is the error message:
    Test.java:16: incompatible types
    found   : B
    required: T
                    return new B();
                           ^
    1 errorany idea?
    many thanks,

    Hello again,
    First of all, thank you very much for all the answers. After I posted the comment, I worked on the program
    and I understood that in fact, as spoon_ says the only returned value can be null.
    I'm agree that I asked you a very strange (and a bit stupid) question. Actually, during recent months,
    I have been working with cryptography API Core in Java. I understood that there are classes and
    interfaces for defining keys and key factories specification, such as KeySpec (interface) and
    KeyFactorySpi (abstract class). I wanted to have some experience with these classes in order to
    understand them better. So I created a class implementing the interface KeySpec, following by a
    corresponding Key subclass (with some XOR algorithm that I defined myself) and everything was
    compiled (JDK 1.6) and worked perfectly. Except that, when I wanted to implement a factory spi
    for my classes, I saw for the first time this strange method header:
    protected abstract <T extends KeySpec> T engineGetKeySpec
    (Key key, Class<T> keySpec) throws InvalidKeySpecExceptionThat's why yesterday, I gave you a similar example with the classes A, B, ...
    in order to not to open a complicated security discussion but just to explain the ambiguous
    part for me, that is, the use of T generic parameter.
    The abstract class KeyFactorySpi was defined by Sun Microsystem, in order to give to security
    providers, the possibility to implement cryptography services and algorithms according to a given
    RFC (or whatever technical document). The methods in this class are invoked inside the
    KeyFactory class (If you have installed the JDK sources provided by Sun, You can
    verify this, by looking the source code of the KeyFactory class.) So here the T parameter is a
    key specification, that is, a class that implements the interface KeySpec and this class is often
    defined by the provider and not Sun.
    stefan.schulz wrote:
    >
    If you define the method to return some bound T that extends A, you cannot
    return a B, because T would be declared externally at invocation time.
    The definition of T as is does not make sense at all.>
    He is absolutely right about that, but the problem is, as I said, here we are
    talking about the implementation and not the invocation. The implementation is done
    by the provider whereas the invocation is done by Sun in the class KeyFactory.
    So there are completely separated.
    Therefore I wonder, how a provider can finally impelment this method??
    Besides, dannyyates wrote
    >
    Find whoever wrote the signature and shoot them. Then rewrite their code.
    Actually, before you shoot them, ask them what they were trying to achieve that
    is different from my first suggestion!
    >
    As I said, I didn't choose this method header and I'm completely agree
    with your suggestion, the following method header will do the job very well
    protected abstract KeySpec engineGetKeySpec (Key key, KeySpec key_spec)
    throws InvalidKeySpecException and personally I don't see any interest in using a generic bounded parameter T
    in this method header definition.
    Once agin, thanks a lot for the answers.

  • How to add item to a List with a bounded wildcard

    Hi,
    Is there a way to add a subtype instance to a List with a bounded wildcard? For example, say I have an
    abstract class called Car. Then I have 2 concrete subclasses--Ford and Toyota. Now say I have another
    class that contains a prepopulated list and is wildcard bounded like this: List<? extends Car> carList. I
    want to add a method where I pass in a Car subtype as a parameter and then add it into this list, e.g:
    public void addCar(Car car) {
    carList.add(car);
    Trying this, I keep getting "cannot find symbol" compilation errors. When I went back to read the Generics
    tutorial by Bracha, he mentions that explicitly adding a subtype, e.g. carList.add(new Ford()), can not be
    done. But here I'm adding the "upper bound" of the wildcard, i.e. the Car type. Therefore there should be no
    discrepancy between supertype and subtype an thus the carList.add(car) should be ok, IMO.
    Am I misunderstanding something with this logic? Also, if carList.add(car) can not be done, then how can
    I go about doing something similar which will allow me to add subtypes to a "generic" list?
    Thanks in advanced!
    -los

    I get a compilation error expecting an Object instead of a Car. Of course you did. List<? super Car> is a list into which you can put cars -- and possibly other stuff. List<? extends Car> is a list out of which you can get cars (possibly of different makes).
    Do you need a list that you can put cars in and get cars out? That's List<Car>
    This isn't a linguistic problem you are having; this is a design problem. If you have a function that takes an argument which is a list that you can put any kind of car into and be sure of getting a car out of, it isn't reasonable to pass in a List<Ford> (because the function might put in a Chevy) or a List<Object> (but there might be motorcycles already in there). By the requirements you have, you need a List<Car> and nothing else.
    Yes, you could use a cast, but all you are doing is circumventing the type system by saying "I know this List<Object> only has Cars in it."

  • Cursor bound to out parameter with Connection Pool

    Is it possible to retrieve a cursor bound to an out parameter when using the thin
    driver to establish the connection pool to the database? I am currently using
    the JDriver to connect create the pool and the pool driver to connect from the
    app to the connection pool. We'd like to avoid using the Oracle client if possible.
    Currently I register the out parameter as java.sql.Types.OTHER, then call getResultSet(1)
    on the weblogic.jdbc.pool.CallableStatement object. But it breaks when I change
    the connection pool to use the thin driver. The error is at the bottom of this
    post.
    I think I could possibly get the current pool driver to work if can find some
    documentation on these two methods:
    void registerOutParameter(int i, int j, int k, int l)
    void registerOutParameter(int i, int sqlType, java.lang.String typeName)
    I have no idea what to put in for the ints in the first method or for sqlType
    or typeName. Can anyone point me to where I can find this documentation?
    E-docs mentions this class: weblogic.jdbc.vendor.oracle.OracleCallableStatement.
    (http://edocs.bea.com/wls/docs61/jdbc/thirdparty.html#1023867). Should I consider
    this? If so where is it?
    Thanks a lot,
    Matt Savino
    <<< error when using thin driver >>>
    preparing callable stmt
    callable stmt prepared, java.sql.Types.OTHER = 1111
    java.sql.SQLException: Invalid column type
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
    at oracle.jdbc.driver.OracleStatement.get_internal_type(OracleStatement.java:4560)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:225)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:350)
    at weblogic.jdbc.pool.Statement.registerOutParameter(Statement.java:617)
    at jsp_servlet._reportmanager.__thin_outputresultset._jspService(__thin_outputresultset.java:145)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Thanks Joe, your answer pointed me in the right direction. Just in case anyone
    wants to know, the solution took two changes:
    CHANGE
    cStat.registerOutParameter(1, java.sql.Types.OTHER);
    TO
    cStat.registerOutParameter(1, oracle.jdbc.driver.OracleTypes.CURSOR);
    (cStat is an instance of weblogic.jdbc.pool.CallableStatement)
    AND
    rs = cStat.getResultSet(1);
    TO
    rs = cStat.getCursor(1);
    Thanks again,
    Matt
    Joseph Weinstein <[email protected]> wrote:
    Hi Matt.
    Look at the Oracle thin driver documentation to determine what type you
    should define in the registerOutParameter call. We use 'OTHER', but
    their driver may use something else for CURSOR output parameters.
    joe
    Matt Savino wrote:
    Is it possible to retrieve a cursor bound to an out parameter whenusing the thin
    driver to establish the connection pool to the database? I am currentlyusing
    the JDriver to connect create the pool and the pool driver to connectfrom the
    app to the connection pool. We'd like to avoid using the Oracle clientif possible.
    Currently I register the out parameter as java.sql.Types.OTHER, thencall getResultSet(1)
    on the weblogic.jdbc.pool.CallableStatement object. But it breaks whenI change
    the connection pool to use the thin driver. The error is at the bottomof this
    post.
    I think I could possibly get the current pool driver to work if canfind some
    documentation on these two methods:
    void registerOutParameter(int i, int j, int k, int l)
    void registerOutParameter(int i, int sqlType, java.lang.String typeName)
    I have no idea what to put in for the ints in the first method or forsqlType
    or typeName. Can anyone point me to where I can find this documentation?
    E-docs mentions this class: weblogic.jdbc.vendor.oracle.OracleCallableStatement.
    (http://edocs.bea.com/wls/docs61/jdbc/thirdparty.html#1023867). Should
    I consider
    this? If so where is it?
    Thanks a lot,
    Matt Savino
    <<< error when using thin driver >>>
    preparing callable stmt
    callable stmt prepared, java.sql.Types.OTHER = 1111
    java.sql.SQLException: Invalid column type
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
    at oracle.jdbc.driver.OracleStatement.get_internal_type(OracleStatement.java:4560)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:225)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:350)
    at weblogic.jdbc.pool.Statement.registerOutParameter(Statement.java:617)
    at jsp_servlet._reportmanager.__thin_outputresultset._jspService(__thin_outputresultset.java:145)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advanced
    positions
    for people who want to work with Java, XML, SOAP and E-Commerce infrastructure
    products.
    We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San Jose
    CA.
    Send resumes to [email protected]

  • Java Game and bounds problem

    Hey all,
    I created four different backgrounds for a project I am creating. (The background are a top down view of a road with sidewalks). I have them named as road1, road2, road3, and road4.
    I have two questions. My first and most important is if I have a little box I want to move around the screen (a character), how do I set bounds so it can't go past a certain point (i.e. the road is the only place it is allowed to go)???
    And secondly, I know how to remove panels but if I wanted this to be a long road and once the character reaches the right side of the screen it would remove road1 and replace it with road 2. How would I accomplish this?? And once that is figured out, road 3 would replace road 2, but road 3 goes vertical so the character would go right through road 1 and right through road 2, but vertical through road 3 to get to road 4.
    I have a bunch of code if anyone would like to see to help make sense of this, just let me know exactly what you would like to see.
    Thanks in advance for all the help and I hope I didn't confuse anyone too much.
    P.S. If this has already been discussed, I apologize. I looked, but couldn't find anything.

    I created four different backgrounds for a project I
    am creating. (The background are a top down view of
    a road with sidewalks). I have them named as road1,
    road2, road3, and road4.
    I have two questions. My first and most important is
    if I have a little box I want to move around the
    screen (a character), how do I set bounds so it can't
    go past a certain point (i.e. the road is the only
    place it is allowed to go)???You have a couple of options that I know of--
    1 - simple boundary check, your road needs to be straight or mathematically defined so you can check by position.
    2 - easier: since you have sidewalks, you have a natural boundary--before you move check to see if the color of pixel is road or sidewalk. if road, then move to it, if sidewalk then do something else.
    And secondly, I know how to remove panels but if I
    wanted this to be a long road and once the character
    reaches the right side of the screen it would remove
    road1 and replace it with road 2. How would I
    accomplish this?? And once that is figured out, road
    3 would replace road 2, but road 3 goes vertical so
    the character would go right through road 1 and right
    through road 2, but vertical through road 3 to get to
    road 4.You have to figure out what type of overlap point you want in each pannel: when you come off of 1 and go to 2 do you want to start on the extream edge or part way through? Once this is done you just need to make a simple adjustment to your location and repaint onto the new panel. Same for when you go to the left side. keep track of what road you are on and implement a conversion from 1 to 2, 2 to 3, 3 to 4, 4 to 1, 3 to 2, and 2 to 1.

  • ORA-01008 All variables are not bound

    Hi I am running this query and getting this exception ORA-01008 All variables are not bound .
    Could anyone please insight ?
    SELECT EQMT_INGT_LOG_ID, EQMT_ID,
    XMLSerialize(DOCUMENT XMLType(ingLog.BUCK_SLIP_XML) AS CLOB) BUCK_SLIP_XML
    FROM TOS_EQMT_INGT_LOG ingLog
    where BUCK_SLIP_XML is not null and ingt_date between to_date(:fromDate, 'MM/DD/YYYY HH24:MI')
    and to_date(:toDate,'MM/DD/YYYY HH24:MI' )
    and eqmt_id in (select eqmt_id from tos_eqmt
    where eqmt_init = :eqmtInit and eqmt_nbr = :eqmtNbr
    and orig_loca_id in (select loca_id from tos_loca where altn_src_sys_stn_id = :circ7 ))
    and SCAC = :scac
    and STCC = :stcc
    and SHPR_NAME = :shprName
    and CNSE_NAME = :cnseName
    and driv_id in (select driv_id from tos_driv where lcns = :lcns )
    and driv_id in (select driv_id from tos_driv where sabv = :sabv )
    and ingt_stat_ind = :ingtStatInd
    and BUCK_SLIP_XML like :inspectedBy
    ORDER BY INGT_DATE

    Slightly off-topic but what do you think this does :
    XMLSerialize(DOCUMENT XMLType(ingLog.BUCK_SLIP_XML) AS CLOB) BUCK_SLIP_XML?

  • Parameters & Not all variables bound

    select like this:
    select *
    from t_department
    where (:param is null and parent_id is null) or
    parent_id = :param
    OracleParameter Param = new OracleParameter("param",OracleDbType.NVarchar2,null,ParameterDirection.Input);
    dbCommand.Parameters.Add(Param);
    OracleDataReader dbReader = dbCommand.ExecuteReader(CommandBehavior.SingleResult);
    Result: ORA-01008: Not all variables bound.

    You need 2 parameters bind calls for that (even though you use the same name :param, ODP.NET does care about the name by default, more later on that)
    You should repeat the same call again to bind to the 2nd ':param'
    OracleParameter Param = new OracleParameter("param",OracleDbType.NVarchar2,null,ParameterDirection.Input);
    dbCommand.Parameters.Add(Param);
    Remember ODP.NET is use bind by position by default (The first OracleParameters in the Collection binds to the first ":param", then the 2nd to ":param"). you can do named bind by setting OracleCommand.BindByName property.
    Arnold

  • Removing duplicate values from selectOneChoice bound to List Iterator

    I'm trying to remove duplicate values from a selectOneChoice that i have. The component binds back to a List Iterator on the pageDefinition.
    I have a table on a JSF page with 5 columns; the table is bound to a method iterator on the pageDef. Then above the table, there are 5 separate selectOneChoice components each one of which is bound to the result set of the table's iterator. So this means that each selectOneChoice only contains vales corresponding to the columns in the table which it represents.
    The selectOneChoice components are part of a search facility and allow the user to select values from them and restrict the results that are returned. The concept is fine and i works. However if i have repeating values in the selectOneChoice (which is inevitable given its bound to the table column result set), then i need to remove them. I can remove null values or empty strings using expression language in the rendered attribute as shown:
    <af:forEach var="item"
    items="#{bindings.XXXX.items}">
    <af:selectItem label="#{item.label}" value="#{item.label}"
    rendered="#{item.label != ''}"/>
    </af:forEach>
    But i dont know how i can remove duplicate values easily. I know i can programatically do it in a backing bean etc.... but i want to know if there is perhaps some EL that might do it or another setting that ADF gives which can overcome this.
    Any help would be appreciated.
    Kind Regards

    Hi,
    It'll be little difficult removing duplicates and keeping the context as it is with exixting standard functions. Removing duplicates irrespective of context changes, we can do with available functions. Please try with this UDF code which may help you...
    source>sort>UDF-->Target
    execution type of UDF is Allvalues of a context.
    public void UDF(String[] var1, ResultList result, Container container) throws StreamTransformationException{
    ArrayList aList = new ArrayList();
    aList.add(var1(0));
    result.addValue(var1(0));
    for(int i=1; i<var1.length; i++){
    if(aList.contains(var1(i)))
         continue;
    else{
    aList.add(var1(i));
    result.addValue(var1(i));
    Regards,
    Priyanka

  • Getting *Not all values are bound* error while creating the VO

    Hi
    When i create a VO with the following query i am getting ORA-01008: not all variables bound error after giving apply.
    The Query is:
    SELECT
    emp.full_name CSA,
    COUNT(*) "Total # disputes",
    SUM(rac.total_amount) "Total Dispute Amt",
    (SELECT
    COUNT(jtb4.task_id)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) = trunc(SYSDATE)
    AND rac4.org_id = *:1*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.owner_id=emp.resource_id
    AND jtb4.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "#D's on Today",
    (SELECT
    NVL (SUM (rac4.total_amount), 0)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) = trunc(SYSDATE)
    AND rac4.org_id = *:2*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.owner_id=emp.resource_id
    AND jtb4.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "$Val Disp on Today",
    (SELECT
    COUNT (jtb4.task_id)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) < trunc(SYSDATE)
    AND rac4.org_id = *:3*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.owner_id=emp.resource_id
    AND jtb4.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "#D's <Today",
    (SELECT
    NVL (SUM (rac4.total_amount), 0)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) < trunc(SYSDATE)
    AND rac4.org_id = *:4*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.owner_id=emp.resource_id
    AND jtb4.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "$Val Disp<Today",
    (SELECT
    COUNT (jtb4.task_id)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) > trunc(SYSDATE)
    AND rac4.org_id = *:5*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.owner_id=emp.resource_id
    AND jtb4.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "#D's >Today",
    (select
    nvl(SUM (rac4.total_amount), 0)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) > trunc(SYSDATE)
    AND rac4.org_id = *:6*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.open_flag = 'Y'
    AND jtb4.owner_id=emp.resource_id
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "$Val Disp>Today",
    MIN(jtb.scheduled_end_date) "EARLIEST_END_DATE",
    MAX(jtb.scheduled_end_date) "LATEST_END_DATE"
    FROM
    jtf_tasks_b jtb,
    ra_cm_requests_all rac,
    jtf_rs_emp_dtls_vl emp
    WHERE
    rac.request_id=jtb.attribute8
    AND jtb.owner_id=emp.resource_id
    AND jtb.attribute_category='Dispute'
    AND rac.org_id =*:7*
    AND jtb.scheduled_end_date IS NOT NULL
    AND rac.status = 'PENDING_APPROVAL'
    AND jtb.owner_type_code = 'RS_EMPLOYEE'
    AND jtb.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM apps.dnb_ac_orc_coll_csa_map_s orc
    WHERE orc.csa_id = jtb.owner_id
    AND NVL(orc.attribute1,107) = *:8*
    AND orc.customer_segment = *:9*
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp
    WHERE rac.customer_trx_id = arp.customer_trx_id
    AND arp.amount_in_dispute IS NOT NULL
    GROUP BY emp.full_name
    ,emp.resource_id
    I dont have any cue why the error is prompting while creating the VO itself. Kindly let me know the issue with the above query.
    Thanks,
    Praveen

    Praveen,
    In the Query , you are given alias name like "#D's on Today" . Avoid to use special charaters in coulmn alias in the view query, as the alias name is failed to conver it into view attributes.
    During creating view object, in the query screen, there is dropdown which is below the query region. By default it is style of "oracle named" , changed it to "Oracle Positional".
    Thanks,
    Kumar

  • Text put into a canvas element with context.fillText() always has a black box where each letter goes. If the text is black you just see the black rectangle. If the text is not black you see it on the black bounding box. Surely this is not right.

    This has happened on the last few versions of firefox, as long as canvas has been supported. I see other people's screen shots from canvas tutorials, and the text always looks normal. On my system, any text put into a canvas element via context.fillText() will have a black bounding box for each letter, sized appropriately for the letter. If the text is black, of course you only see rectangles. If the text is a contrasting color, then you can read it, but it looks bizarre.

    Thomas...same kind of crap here.
    I used Custom Text - entered a sentence, hit return, entered another.
    Set to 72 pt.
    The default alignment is centred - I want left aligned text...the text start point stays at the centre of frame and the sentence runs off the edge of the bounding box.
    There is no settings in the Text or Title inspector dialog to correct that!
    Using Transform will not sort it!

  • Label bounds bigger than they really are

    I have a question regarding the calculation of the bounds of labels and how they are used to take up space in a parent.
    In my example, i have an application where the top element is a border pane. In the left part of the borderpane i have a VBox with a specified maxWidth (in this case, 250). The last element of the VBox is another VBox to display a label (a headline) and a GridPane. In this GridPane i have several other labels. Consider this picture:
    pic1
    This is how it should look like (i enabled gridLinesVisible for sake of demonstration).
    When i use a Text instead of a label in the right column, i get this:
    pic2
    Since the Text in the second row exceeds the maxWidth of the top VBox but cannot be made smaller, the VBox grows in width. Everything ok here.
    But when i use a label, i expect the label to respect the maxWidth of the top VBox. Altough it seems that it does this, see the result:
    pic3
    The label cuts the text at the correct place and the grid column is not larger than the needed space, but still the VBox width grew.
    Is this a bug or am i doing something wrong? When i set the ColumnConstraints of the GridPane to a value, i get the result of the first picture. But this workaround isn't practicable since it's a hazzle to find out the right amount of pixels and what i really want is the label to fill the remaining space it has available from the top VBox.

    jsmith wrote:
    Should i write a minimal example for reproducing this issueYes.Main.java:
    package labelboundsissue;
    import javafx.application.Application;
    import javafx.fxml.FXMLLoader;
    import javafx.geometry.Pos;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.layout.StackPane;
    import javafx.scene.shape.Line;
    import javafx.stage.Stage;
    import java.net.URL;
    public class Main extends Application {
      public static void main(String[] args) {
        launch(args);
      @Override
      public void start(Stage primaryStage) throws Exception {
        BorderPane pane = new BorderPane();
        StackPane center = new StackPane();
        center.setAlignment(Pos.CENTER_LEFT);
        Label someLabel = new Label("  Label Bounds Issue Test");
        Line line = new Line(0,0,0,500);
        center.getChildren().addAll(line, someLabel);
        pane.setCenter(center);
        FXMLLoader loader = new FXMLLoader();
        URL resource = getClass().getResource("left.fxml");
        loader.setLocation(resource);
        Parent  left = (Parent) loader.load();
        pane.setLeft(left);
        Scene scene = new Scene(pane, 800, 500);
        primaryStage.setScene(scene);
        primaryStage.show();
    }left.fxml:
    <?xml version="1.0" encoding="utf-8"?>
    <?import java.lang.*?>
    <?import java.net.URL?>
    <?import javafx.scene.shape.*?>
    <?import javafx.scene.control.*?>
    <?import javafx.scene.paint.*?>
    <?import javafx.scene.layout.*?>
    <?import javafx.scene.image.*?>
    <?import javafx.geometry.Insets?>
    <?import javafx.scene.text.*?>
    <?import javafx.scene.web.*?>
    <?import javafx.scene.*?>
    <VBox maxWidth="200">
      <GridPane gridLinesVisible="true" hgap="5">
        <columnConstraints>
          <ColumnConstraints hgrow="NEVER"/>
          <ColumnConstraints hgrow="NEVER"/> <!-- comment this -->
          <!--<ColumnConstraints hgrow="NEVER" maxWidth="155"/>--> <!-- uncomment this -->
        </columnConstraints>
        <Text GridPane.columnIndex="0" GridPane.rowIndex="0" text="Name:"/>
        <Label GridPane.columnIndex="1" GridPane.rowIndex="0" text="Karl Theodor Maria Nikolaus Johann Jacob Philipp Franz Joseph Sylvester Freiherr von und zu Guttenberg" />
      </GridPane>
    </VBox>When starting the application you can see vast amount of space between the end of the label and the left border of the border pane, altough it should be limited by the VBox' maxWidth.
    Adjusting the maxWidth of the Column solves it.

  • Adding Interior Bounds to a Slider

    I am attempting to create a version of JSlider which has interior bounds that its value must respect. Included in the default Bounded Range model, employed by JSlider, is a value called extent, whose function is similar to the end product I am working towards. The Default Bound Range Model has the following constraints for its values:
    min <= value <= value + extent <= max
    where min is the minimum value, max is the maximum value, value is its current value and extent is a sort of buffer that limits how close value can get to max. When this model is employed by JSlider, it usually has extent set to zero, but if extent takes on a non zero value, then the slider will prevent the thumb from being dragged all the way max value, with extent being the closest to max it can get. I would like to have this effect on both the left and right sides of the slider, effectively decreasing the sliders range by a total of 2*extent.
    In order to do this, I have extended the default bounded range model so that it now obeys the following constraint:
    min <= value - extent <= value <= value + extent <= max
    where extent can only take on values between zero and (max - min)/2. If value is found to be too large or small to obey the constraints involving extent, then value is adjusted so that extent is maintained and value is found within the inner bounds.
    So as it is now, the Model seems to be working, enforcing an inner boundary defined by extent, but the visual representation (the slider) does not reflect this. Below is a simple class that displays the problem. The window includes a label to the right of the slider which displays the slider's current value. As you can see, you cannot pull the thumb past 80 (because extent = 20), but you can pull the thumb all the way to zero, though value will not go below 20. If you resize the window, forcing it to repaint the component, then the thumb moves up to 20, where it should be. Also, only drag events cause this problem, simply clicking or using the arrow keys will not take the thumb below 20. How do I fix this? I have tried extending JSlider and rewriting the setValue() method so that it calls repaint() or revalidate(), but that does not work. Please help!!! Thank you so much! (sorry for the long explanation)
    Here is the code:
    /*BoundedSliderTest.java */
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.DefaultBoundedRangeModel;
    public class BoundedSliderTest extends JPanel
    implements ChangeListener {
    private JSlider slider;
    private JLabel label;
    private int extent;
    private int min;
    private int max;
    private int initValue;
    public BoundedSliderTest() {
         min = 0;
         max = 100;
         initValue = 50;
         extent = 20;
    public void init() {
         setLayout(new BorderLayout(5,5));
         DoubleBoundedRangeModel myModel = new DoubleBoundedRangeModel();
         slider = new JSlider();
         slider.setModel(myModel);
         slider.setMinimum(min);
         slider.setMaximum(max);
         slider.setExtent(extent);
         slider.setValue(initValue);
         slider.setMajorTickSpacing(20);
         slider.setMinorTickSpacing(2);
         slider.setPaintLabels(true);
         slider.setPaintTicks(true);
         slider.addChangeListener(this);
         Dimension size = new Dimension(3slider.getMinimumSize().width,
                        slider.getMinimumSize().height);
         slider.setMinimumSize(size);
         slider.setPreferredSize(size);
         slider.setMaximumSize(size);
         label = new JLabel(String.valueOf(slider.getValue()));
         add(slider, BorderLayout.CENTER);
         add(label, BorderLayout.EAST);
    public void stateChanged(ChangeEvent e) {
         JSlider source = (JSlider)e.getSource();
         int value = (int)source.getValue();
         label.setText(String.valueOf(value));
    public static void main(String [] args) {
         JFrame frame = new JFrame("Bounded Slider Test ...");
         frame.getContentPane().setLayout(new BorderLayout());
         MyWindowListener l = new MyWindowListener();
         frame.addWindowListener(l);
         BoundedSliderTest test = new BoundedSliderTest();
         test.init();
         test.setOpaque(true);
         frame.getContentPane().add(test,BorderLayout.CENTER);
         frame.pack();
         frame.setVisible(true);
         frame.show();
    class MyWindowListener extends WindowAdapter {
    public void windowClosing(WindowEvent e) {
         System.exit(0);
    class DoubleBoundedRangeModel extends DefaultBoundedRangeModel{
    public DoubleBoundedRangeModel() {
    public int getValueRules(int tryValue) {
         int extent = super.getExtent();
         int min = super.getMinimum();
         int max = super.getMaximum();
         if((tryValue-extent) < min){
         tryValue = min + extent;
         if((tryValue+extent) > max) {
         tryValue = max - extent;
         return tryValue;
    public void setValue(int newValue) {
         //System.out.println("Try setting value of " + newValue);
         int value = super.getValue();
         int extent = super.getExtent();
         int min = super.getMinimum();
         int max = super.getMaximum();
         //Now must ensure compliance with inner bounds;
         if((newValue-extent) < min){
         newValue = min + extent;
         if((newValue+extent) > max) {
         newValue = max - extent;
         if( newValue != value)
         super.setValue(newValue);
    public void setExtent(int newExtent) {
         int value = super.getValue();
         int extent = super.getExtent();
         int min = super.getMinimum();
         int max = super.getMaximum();
         if (newExtent < 0)
         newExtent = 0;
         else if (newExtent > (int)Math.floor((max - min)/2.))
         newExtent = (int)Math.floor((max - min)/2.);
         if( newExtent != extent)
         super.setExtent(newExtent);
    public void setRangeProperties(int newValue,
                        int newExtent,
                        int newMin,
    int newMax,
    boolean newAdjusting) {
         //System.out.println("setRangeProps");
         int value = super.getValue();
         int extent = super.getExtent();
         int min = super.getMinimum();
         int max = super.getMaximum();
         boolean isAdjusting = super.getValueIsAdjusting();
    if (newMax < newMin) {
    if(max >= newMin)
              newMax = max;
         else if(min <= newMax)
              newMin = min;
         else {
              newMin = min;
              newMax = max;
         if (newExtent < 0)
         newExtent = 0;
         else if (newExtent > (int)Math.floor((newMax - newMin)/2.))
         newExtent = (int)Math.floor((newMax - newMin)/2.);
         if (!bounded(newMin,newMax,newValue)) {
         if (newMin == newMax)
              newValue = newMin;
         else if (bounded(newMin,newMax,value))
              newValue = value;
         else
              newValue = (int)Math.round((newMax+newMin)/2.);
         //Now must ensure compliance with inner bounds;
         if((newValue-newExtent) < newMin){
         newValue = newMin + newExtent;
         if((newValue+newExtent) > newMax) {
         newValue = newMax - newExtent;
    boolean changeOccurred = false;
    if (newValue != value) {
    value = newValue;
    changeOccurred = true;
    if (newMax != max) {
    max = newMax;
    changeOccurred = true;
    if (newMin != min) {
    min = newMin;
    changeOccurred = true;
    if (newExtent != extent) {
         extent = newExtent;
    changeOccurred = true;
    if (newAdjusting != isAdjusting) {
    isAdjusting = newAdjusting;
    changeOccurred = true;
    if (changeOccurred)
    super.setRangeProperties(newValue, newExtent, newMin, newMax,
                        newAdjusting);
    private static boolean bounded(int lowBound, int highBound,
                        int num) {
         boolean bounded = false;
         if(num >= lowBound && num <= highBound) bounded = true;
         return bounded;

    perrymanp-
    I tried employing your suggestion by including the following code in my stateChanged listener for the slider, but it had no effect... maybe I am missing something? Thanks.
         BoundedRangeModel brm = source.getModel();
         source.setModel(new DoubleBoundedRangeModel(value,brm.getExtent(),
                                  brm.getMinimum(),
                                  brm.getMaximum()));
    -kheldar83
    PS any more suggestions or clarifications are greatly appreciated!

  • I am using 10.6.8 and I cannot get an Imac to appear in workgroup manager, the mac is bound to both AD and OD. I have removed the bindings, rebuilt the mac and also removed it from bot system but still it does not appear in OD in work group manager.

    I have a mac which is connected to a network and is bound to both OD and AD with no issues on my server when I try to manage it through Workgroup manager it does not appear.
    I have unbound it , removed it from both systems completely and even rebuilt it but it still does not appear in WGM.

    If your server is 10.6 and your client is 10.7 you'll have to add it manually to WGM
    via mac address.  10.7 clients don"t automatically appear in 10.6 server wgm

  • Session timeout while in a bounded taskflow.

    Hi all,
    I have ADFSecurity configured on project.
    If a session timeout occurs while we are in view1,(click dialog ok button) is redirect to login.
    If a session timeout occurs while we are in some-btf,(click dialog ok button) isn't redirect to login. White page with text Session expired appears.
    How can we redirect to login when a session timeout occurs while we are in a bounded TF?
    I already try to add servlet filter on the FacesServlet, but when i click on the ok button, the filter isn't called.
    Using JDev 12.1.3
    Thanks in advance.

    Session expiry has changed in 12.1.3 (see https://java.net/jira/browse/ADFEMG-264).
    Have you configured the session timeout warning?
    How?
    Do you use the filter approach?
    Have you installed an error handler in the bounded task flow?
    Timo

  • Is it possible using Applescript to place a PDF as a link at a crop bounds other than Art Box?

    I've spent countless hours trying to have an applescript place a PDF as an Illustrator Link at the PDF's Media Box using "make new placed item". The only result possible as far as I can tell is a link at the PDF's Art Box.
    I've seached around and have seen others with the same issue, but no answers as to whether it is actually possible. As with most Applescript stuff, I am either way overthinking it or it is not possible directly.
    Currently I have a workaround using an Applescript script controlling Acrobat to sidestep the problem by setting the Art and Crop box to Media box, then place as a link in Illustrator, but it is not a direct route into illustrator.
    I have also noticed that in the "Adobe Illustrator CS5 Scripting Reference" that the "PDF options object properties" do not honor the PDF crop bounds (except for the default value of Media Box). Is this an inherent problem with Applescript/Illustrator and PDF crop boxes? Could it be that the options for Open PDF and Place PDF are crossed?
    Thanks for any input on this, It has actually been a problem I could not get past for years.
    Nate

    The AppleScript Dictionary says the same as the OMV and Jongs helper… CropToBox for placing & pageToOpen for opening… For me a misleading doc mistake… And forgiven for the fact that it should dammed well be there in the first place…
    Properties
    Property
    Type
    Access
    Description
    pDFCropToBox
    PDFBoxType:
    PDFBoxType.PDFARTBOX
    PDFBoxType.PDFCROPBOX
    PDFBoxType.PDFTRIMBOX
    PDFBoxType.PDFBLEEDBOX
    PDFBoxType.PDFMEDIABOX
    PDFBoxType.PDFBOUNDINGBOX
    r/w
    What box should be used when placing a multipage document (default: PDF media box)
    pageToOpen
    int
    r/w
    What page should be used when opening a multipage document (default: 1)
    parent
    Object
    readonly
    The object's container.
    typename
    string
    readonly
    The class name of the object.
    Isn't it cool that those can just be C&P into here… Thanks Jong…

Maybe you are looking for