Hi,
I spent an hour debuging a strange problem. Finally the source of all was the internal mechanism that detects the custom repository implementation names. I have a repository UnitRepository and...
Type: Posts; User: fanfy; Keyword(s):
Hi,
I spent an hour debuging a strange problem. Finally the source of all was the internal mechanism that detects the custom repository implementation names. I have a repository UnitRepository and...
investigating and I had @Repository on my custom repository implementation ... Think that was the cause .... it's working now.
I need to use a custom implementation for CrudRepository.save() method. Following the reference documentation I declared in my repository interface a method: SimpleEntity save(SimpleEntity) and...
Is there any support for a method that extracts the query string from an annotated method parameter? I want to use this method to let the client construct query strings at runtime based on some data...
Have you tried to iterate the fileMap from the MultipartHttpServletRequest like I did in my code? What entries do you have there? I suggest to try my approach for extracting the MultipartFile-s....
I'm sorry but I'm not working in SWF for some time now. Here is some code that I used to extract the multipart files. Hope that helps.
public static List<MultipartFile>...
Thank you. Glad to see a release after all this debate on the maintenance policy. I was afraid that 2.0.4 binaries was only registered partners. Its nice also that the maven repositories was updated....
The problem is that the community will not have access to the svn tags. In other words all the manually builds will be of a snapshot version. There is no hint regarding the stability (the spring team...
Glad that helped you. What I was suggesting was to use only the view state and put your upload logic in the view state transition subelement:
<view-state id="uploadVIew" model="myBean">
...
I'm not sure from your post if you tried to eliminate the action state and use only the view state doing the upload logic in the view transition? (see my earlier post).
I don't understand your...
I don't see the view state. My first suggestion is to try to put your custom action state directly in view's transition and see what happens(that way you will process the MultipartFile in the...
Can you post the flow section related to handling the upload file?
sorry for not reading your entire message. it seems that you had the same problem with swf1 also. please ignore my earlier advice.
This type of exception I've seen sometime ago and in my case was related to the binding mechanism. After using the MultipartFile as property type in the model the problem disappeared. Today I've...
I think your problem is related to an error in the binding process. Swf2 is not using mvc for binding request parameters to properties in the model and they have a problem related to binding...
I want to use spring security for managing the acls in a document management system implemented in jcr. I have a Document abstraction that contains the guid of the jcr node. My service layer works...
If what you are want is editing an entity you can use the model attribute:
<on-start>
<evaluate expression="yourEntityManagementService.loadEntity(requestParameters.entityId)"...
Stupid me! After using <body class="tundra"/> works nice. The customization of dialog attributes remains to be done anyway. For example how can I specify the dialog title? Thank you.
I agree with you! Most of the time the popup it's better fitted at transition level. Hope that this feature will be implemented.
I'm trying to render some checkboxes in a popup view but the dialog has no titlebar, no close button, no border, just my fields. If I'm not using the style (tundra.css) I'm having an 'x' representing...
For me there wasn't any side effects reported till now calling setupForm and bindAndValidate with <evaluate ../>.
There is a bug http://jira.springframework.org/browse/SWF-696 regarding binding...
There are some problems in swf with binding MultipartFile directly to byte[] and also problems with binding to arrays or lists (I encountered the same problems when trying to bind a set checkboxes to...
I think you could let swf do the bind and implement your validate methods in a separate bean with whatever name you want. Then in every transition you call manually the proper validate method with...
I am using tiles and MvcViewFactoryCreator now and I want to keep using it but also want to use jsf in some views.
I want to use jsp's and facelets in the same flow. How can I do that? Is there a way to combine the ViewFactories? Is this supported or do I have to create some sort of a delegating view factory that...