Can you change:
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"/>
<bean...
Type: Posts; User: mpetrashev; Keyword(s):
Can you change:
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"/>
<bean...
Hi, spock
Can you, please, post code that get reference on sqlLoader bean from application context with casting? Can you, also, provide, please, stack trace?
For breadcrumbs back link you have provide _flowExecutionKey from previous response. In this case SWF controller will get old flowExecutionKey and re-store ModelAndView instance based on this key
Dave means that you have create ApplicationContext instance, not XmlBeanFactory instance. BeanFactoryPostProcessors are called by default just in during ApplicationContext initialization process, not...
How about:
UserServiceImpl userService = (UserServiceImpl) ((Advised)context.getBean("userService")).getTargetSource().getTarget();
See BindingResult interface.
You can get Errors instance like this:
Errors errors = (Errors)model.getObject( BindingResult.MODEL_KEY_PREFIX + <your object name> );
If you use continuation repository type all your objects from flash, flow and conversation scope have to implement java.io.Serializable interface (or you have to override serialization logic for...
You are welcome :)
Change
<method-result name="results"/>
on
<method-result name="results" scope="flash"/>
UserDTO and BusinessEntity class configurations are not valid. They haven't id tag
Can you provide whole hbm.xml? I see at least one problem in provided xml:
<property name="uniqueCode"column="UniqueCode" />
(There are no space between " and column)
I think I see where is your problem. Can you, please, change
<render-actions>
<bean-action bean="custommod" method="customModLists">
<method-arguments>
<argument...
Am I right that when you change method signature on:
public List customModLists(ParameterMap requestParameters) throws DataAccessException
code
...
Can you, please, provide 3-4 top lines from stack trace? And which SWF version do you use?
You can extend FlowPhaseListener class and override beforePhase method that catch such exception and change request flow.
yes. Do you have any problems with this?
Can you make this change:
[code]
<many-to-one name="users" class="org.openiam.idm.srvc.user.dto.User" fetch="select" inverse="true">
...
[code]
and re-test it? Can you also provide User and...
For what you have introduced constructor with TransationProxyFactoryBean type, not IUserService?
<ref bean="UserDao"/>
will be resolved into instance that TransationProxyFactoryBean...
<end-state id="goToOverview" view="flowRedirect: overviewService-flow?overviewFlow=true&serviceId=${flowScope.servi ceBackingBean.serviceId}"/>
Can you introduce your own MyMockParameterMap class that extends MockParameterMap class and has additional method:
public MockParameterMap put(String parameterName, Object parameterValue) {...
What do you mean under dataSource? You can call getDataSource() method or repeat the same magic with "&dataSource" bean. But anyway, can you clarify what do you mean under:
Bean instance? Url?...
Can you try:
mockExContext.getMockRequestParameterMap().put( "data.content", new MockMultipartFile.java( "someFile", fileContent );
And can you also provide initBinder method implementation?
Change
JstlView v = new JstlView();
v.setUrl("/WEB-INF/vues/" + arg0 + ".jsp");
return v;
on
Have? Why??? JSF is JBoss specification?
It's not java, it's Spring. When you call getBean method and configured FactoryBean for this bean name you will get instance(s) that this FactoryBean produce, not FactoryBean itself. So, when you...