Yep that's fine


Regards,

Mark Wallace
Architect, ICS Social Application Development
IBM Master Inventor

Phone: 353-1-815-4091 | Mobile: 353-86-2418605
E-mail: mark_wallace@ie.ibm.com
Find me on:   


Technology Campus
Mulhuddart, Dublin 15
Ireland


IBM Ireland Limited. Registered in Ireland with no.: 16226. Registered 
Office: Oldbrook House, 24-32 Pembroke Road, Ballsbridge, Dublin 4 



From:
fmoloney <notifications@github.com>
To:
OpenNTF/SocialSDK <SocialSDK@noreply.github.com>
Cc:
Mark E Wallace/Ireland/IBM@IBMIE
Date:
04/09/2013 14:15
Subject:
Re: [SocialSDK] Properties tab + mutable context roots (#455)



In 
src/eclipse/plugins/com.ibm.commons.runtime/src/com/ibm/commons/runtime/util/ParameterProcessor.java:
> +     */
> +    private static String processParameter(String name, 
ParameterProvider provider) {
> +        String[] parts = StringUtil.splitString(name, '|');
> +        String[] namePart = StringUtil.splitString(parts[0], '=');
> +        if (namePart.length == 2) {
> +            String value = provider.getParameter(namePart[0]);
> +            return StringUtil.isEmpty(value) ? namePart[1] : value;
> +        } else {
> +            return provider.getParameter(namePart[0]);
> +        }
> +    }
> + 
> + 
> +    /**
> +     * Gets the specified part out of a parameter of format
> +     * name[=value][|label=xxx][|idHelpSnippet=snippet_id][|required]

It could but the way the parameters worked when I started was that name 
was just the name, and = value was its default value. Could change it so 
that it is 
name=theName|value=theDefaultValue|label=...
%{name=sample.id|value=derp...}
Is that ok?
?
Reply to this email directly or view it on GitHub.