MMBase

Parameters.add(); not implemented

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.7.0
  • Fix Version/s: None
  • Component/s: Utils
  • Description:
    Hide
    original bugid: #6368
    While internally passing function Parameters to each other, I stumbled upon a missing add() implementation for org.mmbase.util.functions.Parameters... The thing is that one of my functions (toXML) has a Parameter "wrapbuildername", and another one of my funnctions (relationToXML). Other Parameters are in common. So, I just wanted to .add() the missing one and send the Parameters instance with my to node.getFunctionValue().

    Unfortunately, as mentioned earlier, the Parameters.add(); was not implemented... which pretty much sums up my wish for an implementation.
    You can use Parameter.Wrapper for the definition, I think is wat you mean.

    To copy a complete Parameters into another you could use setAll(parameters.toMap());
    Show
    original bugid: #6368 While internally passing function Parameters to each other, I stumbled upon a missing add() implementation for org.mmbase.util.functions.Parameters... The thing is that one of my functions (toXML) has a Parameter "wrapbuildername", and another one of my funnctions (relationToXML). Other Parameters are in common. So, I just wanted to .add() the missing one and send the Parameters instance with my to node.getFunctionValue(). Unfortunately, as mentioned earlier, the Parameters.add(); was not implemented... which pretty much sums up my wish for an implementation. You can use Parameter.Wrapper for the definition, I think is wat you mean. To copy a complete Parameters into another you could use setAll(parameters.toMap());

Activity

Hide
Wouter van Vliet added a comment - 2004-03-05 12:06
Parameters.add(); not implemented
While internally passing function Parameters to each other, I stumbled upon a missing add() implementation for org.mmbase.util.functions.Parameters... The thing is that one of my functions (toXML) has a Parameter "wrapbuildername", and another one of my funnctions (relationToXML). Other Parameters are in common. So, I just wanted to .add() the missing one and send the Parameters instance with my to node.getFunctionValue().

Unfortunately, as mentioned earlier, the Parameters.add(); was not implemented... which pretty much sums up my wish for an implementation.
Show
Wouter van Vliet added a comment - 2004-03-05 12:06 Parameters.add(); not implemented While internally passing function Parameters to each other, I stumbled upon a missing add() implementation for org.mmbase.util.functions.Parameters... The thing is that one of my functions (toXML) has a Parameter "wrapbuildername", and another one of my funnctions (relationToXML). Other Parameters are in common. So, I just wanted to .add() the missing one and send the Parameters instance with my to node.getFunctionValue(). Unfortunately, as mentioned earlier, the Parameters.add(); was not implemented... which pretty much sums up my wish for an implementation.

People

Dates

  • Created:
    2004-06-03 18:53
    Updated:
    2006-11-24 13:23
    Resolved:
    2006-11-24 13:23