Hi everybody,

having a class TransportDemand with an action

public TransportDemand selectPath(
      @Named("Path") TransportPath p){
   container.persist(path)
   setPath(path);
   return this;
}

public List<TransportPath>choices0SelectPath(){
    return a list of some non persisted TransportPaths;
}

slelectPath() is never called and the exception below is thrown.

Last cause: Could not parse OID 
'[com.marintek.tpm.dom.demand.TransportPath/!com.marintek.tpm.dom.demand.TransportPath:b0d4e77e-2816-4256-adb8-0f23cf67b163{inUse=F,
 
routes=(com.marintek.tpm.dom.transport.ServedRoute/com.marintek.tpm.dom.transport.ServedRoute:L_2,com.marintek.tpm.dom.transport.ServedRoute/com.marintek.tpm.dom.transport.ServedRoute:L_9,com.marintek.tpm.dom.transport.ServedRoute/com.marintek.tpm.dom.transport.ServedRoute:L_11,com.marintek.tpm.dom.transport.ServedRoute/com.marintek.tpm.dom.transport.ServedRoute:L_12,com.marintek.tpm.dom.transport.ServedRoute/com.marintek.tpm.dom.transport.ServedRoute:L_13)}]';
 should match pattern: 
^((([!])?([^:~$\^@#]+):([^:~$\^@#]+))((~[^:~$\^@#]+:[^:~$\^@#]+)*))([$][^:~$\^@#]+)?([\^](\d+):([^:~$\^@#]+)?:(\d+)?)?$
WicketMessage: Method onFormSubmitted of interface 
org.apache.wicket.markup.html.form.IFormSubmitListener targeted at 
[ActionParameterForm [Component id = inputForm]] on component 
[ActionParameterForm [Component id = inputForm]] threw an exception

The exception is not thrown in selectTransportPath() but somewhere inside isis.

If, however, choices0SelectPath() returns a list of PERSISTED TransportPaths 
then it works fine.

I don't understand, why

            Christian

Reply via email to