Package com.webobjects.foundation

Examples of com.webobjects.foundation.NSMutableArray.addObject()


        NSMutableArray pks = new NSMutableArray();
        String pkAtttributeName = entity.primaryKeyAttributes().lastObject().name();

        for ( Enumeration rowEnumerator = pkDicts.objectEnumerator(); rowEnumerator.hasMoreElements(); ) {
            NSDictionary row = (NSDictionary) rowEnumerator.nextElement();
            pks.addObject( row.objectForKey( pkAtttributeName ));
        }

        EOFetchSpecification spec = new EOFetchSpecification(entityName, null, sortOrderings);
        spec.setRefreshesRefetchedObjects( refreshesCache );
        return new ERXFetchSpecificationBatchIterator( spec, pks, ec, batchSize);
View Full Code Here


        NSMutableArray ajaxOptionsArray = new NSMutableArray();

        // Standard options from Control.Rating
        ajaxOptionsArray.addObject(new AjaxOption("min", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("max", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("value", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("capture", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("classNames", AjaxOption.DICTIONARY));
        ajaxOptionsArray.addObject(new AjaxOption("multiple", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("rated", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("reverse", AjaxOption.BOOLEAN));
View Full Code Here

        // Standard options from Control.Rating
        ajaxOptionsArray.addObject(new AjaxOption("min", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("max", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("value", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("capture", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("classNames", AjaxOption.DICTIONARY));
        ajaxOptionsArray.addObject(new AjaxOption("multiple", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("rated", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("reverse", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("afterChange", AjaxOption.FUNCTION_1));
View Full Code Here

        // Standard options from Control.Rating
        ajaxOptionsArray.addObject(new AjaxOption("min", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("max", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("value", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("capture", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("classNames", AjaxOption.DICTIONARY));
        ajaxOptionsArray.addObject(new AjaxOption("multiple", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("rated", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("reverse", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("afterChange", AjaxOption.FUNCTION_1));
       
View Full Code Here

        ajaxOptionsArray.addObject(new AjaxOption("min", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("max", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("value", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("capture", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("classNames", AjaxOption.DICTIONARY));
        ajaxOptionsArray.addObject(new AjaxOption("multiple", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("rated", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("reverse", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("afterChange", AjaxOption.FUNCTION_1));
       
        // updateParameterName is renamed to formValueName to be more WO like
View Full Code Here

                quoteChar = c;
                inQuote = true;
            } else if( inQuote && c == quoteChar ) {
                inQuote = false;
            } else if( inQuote == false && c == '?' ) {
                positions.addObject(position);
            }

            position++;
        }
View Full Code Here

        ajaxOptionsArray.addObject(new AjaxOption("max", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("value", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("capture", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("classNames", AjaxOption.DICTIONARY));
        ajaxOptionsArray.addObject(new AjaxOption("multiple", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("rated", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("reverse", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("afterChange", AjaxOption.FUNCTION_1));
       
        // updateParameterName is renamed to formValueName to be more WO like
        ajaxOptionsArray.addObject(new AjaxConstantOption("updateParameterName", "formValueName", formValueName(context), AjaxOption.STRING));
View Full Code Here

        ajaxOptionsArray.addObject(new AjaxOption("value", AjaxOption.NUMBER));
        ajaxOptionsArray.addObject(new AjaxOption("capture", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("classNames", AjaxOption.DICTIONARY));
        ajaxOptionsArray.addObject(new AjaxOption("multiple", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("rated", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("reverse", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("afterChange", AjaxOption.FUNCTION_1));
       
        // updateParameterName is renamed to formValueName to be more WO like
        ajaxOptionsArray.addObject(new AjaxConstantOption("updateParameterName", "formValueName", formValueName(context), AjaxOption.STRING));
View Full Code Here

        ajaxOptionsArray.addObject(new AjaxOption("capture", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("classNames", AjaxOption.DICTIONARY));
        ajaxOptionsArray.addObject(new AjaxOption("multiple", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("rated", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("reverse", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("afterChange", AjaxOption.FUNCTION_1));
       
        // updateParameterName is renamed to formValueName to be more WO like
        ajaxOptionsArray.addObject(new AjaxConstantOption("updateParameterName", "formValueName", formValueName(context), AjaxOption.STRING));

        // These parameters are mutually exclusive at present, but dataUpdateUrl could be used with an input if there is a reason for it.
View Full Code Here

        ajaxOptionsArray.addObject(new AjaxOption("rated", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("reverse", AjaxOption.BOOLEAN));
        ajaxOptionsArray.addObject(new AjaxOption("afterChange", AjaxOption.FUNCTION_1));
       
        // updateParameterName is renamed to formValueName to be more WO like
        ajaxOptionsArray.addObject(new AjaxConstantOption("updateParameterName", "formValueName", formValueName(context), AjaxOption.STRING));

        // These parameters are mutually exclusive at present, but dataUpdateUrl could be used with an input if there is a reason for it.
        // I can't think of one right now
        if ( ! actAsInput(context)) {
            ajaxOptionsArray.addObject(new AjaxConstantOption("dataUpdateUrl", AjaxUtils.ajaxComponentActionUrl(context), AjaxOption.STRING));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.