Solved the problem:

In my case the problem was a type conversion :-) I have a bean class, which
is filled by hidden fields. I have some overloaded setters with a type and a
string which converts into the type. So I assume struts doesn't look at the
signature of the setter and just uses the first it gets. So in my case it
tried to put a String in the setter with a type which causes a type
conversion error which leads to the result input problem. So I added a
setter with different name which does the conversion from String to my type.

Marc

2007/12/12, Dave Newton <[EMAIL PROTECTED]>:
>
> There is *some* reason it's expecting an input result: it could be your
> configuration, a type conversion error, something... if nothing else I'd
> crank up logging full-blast and see what's there.
>
> HTHBIPD (Hope This Helps But It Probably Doesn't)
> d.
>
> --- Marc Eckart <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I have a problem when I call a action with dojo by publishing a topic.
> > Struts wants a input result and I don't know why. I haven't changed
> > anything
> > in this region of the application and it worked for a long time. I don't
> > have any validation methods neither have I added a validation
> intercepter.
> >
> > I added a input page and tried to print all actionmessages and
> > actionerrors,
> > but there was nothing....
> >
> > Any other advice what I can try to resolve this problem?
> >
> > Best regards,
> > Marc
> >
> >
> > Errormessage:
> >
> >  No result defined for action de.seb.bpc.presentation.SessionCtxActionand
> > result input - action -
> >
> file:/C:/workspace_bpc2/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/bpc/WEB-INF/classes/bpc.struts.xml:68:88
>
> >     at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(
> > DefaultActionInvocation.java:350)     at
> > com.opensymphony.xwork2.DefaultActionInvocation.invoke(
> > DefaultActionInvocation.java :253)     at
> > com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(
> > ValidationInterceptor.java:150)     at
> >
>
> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept
> > (AnnotationValidationInterceptor.java:48)     at
> > com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(
> > MethodFilterInterceptor.java:86)     at
> > com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling (
> > DefaultActionInvocation.java:224)     at
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to