View 2 « Web « Spring Q&A





1. Are there a WML/WAP views?    forum.springsource.org

2. Complex views    forum.springsource.org

Complex views Hi, I have a question which is probably common to all frameworks (Struts, Spring, etc), concerning the construction of "complex views". In our application, a user can have a ...

3. Sending an update from a command to a view    forum.springsource.org

Sending an update from a command to a view Sorry for the second newbie question. I have an ActionCommand to load a file which I have set up and triggers nicely. ...

4. WML View    forum.springsource.org

5. a question about view    forum.springsource.org

Hi I'm new to use mvc. When I try to deploy my view I found if I use ${variable} in jsp it will simply show ${variable}. However I can use <%=request.getAttribute("variable") ...

6. Scope of the attributesMap in viewResolver    forum.springsource.org

Hi All, I have stored a key value pair which I wanted to access only on a particular page. That page includes other jsp files. I have set that attribute in ...

7. Spring - Return different types of views??    forum.springsource.org

Within a web application is it possible to return different views?? So for example, I have a ControllerX which gathers data and returns using Velocity templates. Can I have ControllerY return ...

8. Decorating a view....    forum.springsource.org

Decorating a view.... Hello, I am bit stuck with a wizard controller. I have several pages that I would like to add additional headers to (specifically content-disposition headers so the browser ...

9. Using a JFrame as a View implementation    forum.springsource.org

I have an application which displays multiple Views in a single JFrame. Consequently, when I minimize the JFrame, all of the views are minimized. What I would like to do is ...





10. File Download View Implementation    forum.springsource.org

File Download View Implementation I need to render a streaming file from raw bytes onto a browser using the appropriate content type. I have created a view which extends from AbstractView ...

11. Force view instantiation    forum.springsource.org

Force view instantiation I have a view that displays record details. I set up event handling so that it will receive events (contains an id), get the data and display itself. ...

12. how to include view in another view    forum.springsource.org

Hello all. I'm new to Spring, and I'm looking for an answer to this same problem. In my particular situation, when I include (using the example in the previous post) "menu.jsp", ...

13. Default view    forum.springsource.org

Hi, in my web app I use SimpleUrlHandlerMapping to map an URL request to a controller (e.g. /internal/welcome.hrml). I am using InternalResourceViewResolver (suffix .jsp) and XmlViewResolver (for redirect views) as view ...

14. Designing a complex view    forum.springsource.org

Designing a complex view I have a view(jsp) that should include several other views(jsp). Each inner view has its own contoller (SimpleFormController). However, a particular inner jsp (view A) changes all ...

15. Question on having same view...    forum.springsource.org

Question on having same view... Hi, I trying to have the same view for the controller. First of all, is this possible? The error i get is page cannot be displayed. ...

16. Problem with passing objects to view.    forum.springsource.org

Problem with passing objects to view. Hello, I'm having some serious issues with being able to pass any objects to my view at all. First I thought it was my application, ...





17. Null Pointer in my View    forum.springsource.org

Null Pointer in my View I'm trying to write a Spring based portlet and and using a JSTLView to render some JSP based views. My view is configured as follows: Code: ...

18. simple application - how to add the contacts view to the initial view    forum.springsource.org

Hi. Using the simple application, is it possible to merge the contacts view in to the bottom of the initial view so that when the application loads you get the initial ...

19. vldocking implementation with two views    forum.springsource.org

vldocking implementation with two views Hi, I'm working on an implementation with vldocking. Works great but I can't seem to get something working. Here's the case. I want two views, at ...

20. spring view problem    forum.springsource.org

Jul 21st, 2007, 07:58 PM #1 vsv0001 View Profile View Forum Posts Private Message Junior Member Join Date Jul 2007 Posts 11 spring view problem hi, I am a new to ...

21. creating a view w/o a descriptor    forum.springsource.org

creating a view w/o a descriptor Hi, there is a design issue that bothers me for some time now, so I would like to know if I'm going about this in ...

22. Using Enumerations in a View.    forum.springsource.org

Hi. I am trying to write good MVC Code and i wonder if there is a clean way to supply information about enums for the view. Since i use AndroMDA to ...

23. Cannot render view    forum.springsource.org

Cannot render view Hi, im quite new to Spring. Ive created a simple spring web application in weblogic. When i try and run my application, i get a 404 error. So, ...

24. Problem about using c:foreach in spring view.    forum.springsource.org

Problem about using c:foreach in spring view. Dear all, I've encountered a strange problem. I have a controller in which I add a List to my result hash like this: Map ...

25. Document View Problem    forum.springsource.org

Document View Problem I have configured an excel document view in my xmlViewResolver; Code: the class ExcelPage creates a excel document from the data that is passed to ...

26. Implementing production-ready view    forum.springsource.org

In all of the examples I've seen, the views include a "include.jsp". I'm guess there would also be a "header.jsp" and a "footer.jsp" included in each page. I'm wondering if there's ...

27. Help on views    forum.springsource.org

In the design structure of my spring application I have all my views in a single folder WEB-INF/jsp (following common practice). My home page is a file called index.jsp outside the ...

28. localized view with FreeMarkerViewResolver    forum.springsource.org

29. View Management    forum.springsource.org

View Management Hi Guys, I'd just like some pointers about view management in spring-rich. I've just been taking a look at simple sample to understand the basic framework. So far most ...

30. working with viewResolver    forum.springsource.org

working with viewResolver hello All, I have a spring MVC application. And viewResolver is defind as: Code: org.springframework.web.servlet.view.JstlView /WEB-INF/jsp/ .jsp ...

31. Are VIEWS destroyed during views switching?    forum.springsource.org

Are VIEWS destroyed during views switching? Hello. I guess I could spend some time figuring it out by myself, but since I'm just learning I prefer to ask SRC specialists ;-) ...

32. checking for isLoggedIn in view?    forum.springsource.org

checking for isLoggedIn in view? Hi, I am using a HandlerInterceptorAdapter as a LoginInterceptor - acegi is overkill for my needs - users are either logged in or not, that's all. ...

33. Make a skeleton view    forum.springsource.org

Hi all, I need a skeleton view like this one http://www.jgoodies.com/freeware/ske...pro/index.html Which is the best way to guide the development? Perhaps rewriting TreeCompositeDialogPage?? Any suggestion? Thank you very much

34. Document view Samples    forum.springsource.org

Document view Samples I've been working with Spring, specifically Web MVC and Web Services for approximately 6 months now on a number of projects. I've found Spring has lived up to ...

35. How to use two view solvers    forum.springsource.org

Hi friends, I need to use two view solvers for my web application with different prefix & suffixes. This is the code now I use for resolving views.

46. Returning no view    forum.springsource.org

IIRC you could return null in a controller to inform dispatcher servlet that no view should be painted (the controller took care of the response itself). Unfortunately when using annotations and ...

47. Calling object methods in the view    forum.springsource.org

Calling object methods in the view Hi, First up I am brand new to Springs and have tried to find the solution to this problem but have been unsuccessful so far, ...

48. sharing datas among views.    forum.springsource.org

Yes, create a class that will hold your data, then define it in your application context, and reference it in the viewproperties your view definitions. Since the data holder is a ...

49. ViewResolver with Directories.    forum.springsource.org

ViewResolver with Directories. Hi everyone. I am trying to get my head around some aspects of spring MVC. I am stuck trying to get the view resolver working with directories. I ...

50. How can I add my own Panel to a View    forum.springsource.org

How can I add my own Panel to a View Dear everyone I'm a newcomer to Spring RCP, and I want to know when I create a panel, how can I ...

51. prepopulating and adding a new view programatically    forum.springsource.org

prepopulating and adding a new view programatically Greetings, I have a simple application (similar to the samples-simple application) which has two views; one which is displayed when the application fires up ...

52. How can I get a specific view?    forum.springsource.org

hello My program has 3 views . How can I get one of them which has a JTable in it. So I can change the data of the table. I try ...

53. Providing and listening for changes between views    forum.springsource.org

and also... is there a best practise to write a Spring RCP app, so it can be extended with plugins? Plugins, in sense that I create a independent Java project that ...

54. Abstract Views and contentTypes    forum.springsource.org

Abstract Views and contentTypes Hello everyone, I am useing a Repository to strore some documents and Images. When i display the stored images i use the Abstract View set the outputstream ...

55. Views - auto resize and reopening problem    forum.springsource.org

1. I'm using vldocking, and I setup my initial layout like this. And that's ok, but when I manualy resize the main window, the proportions don't get respected. I mean, they ...

56. Modular Application Views    forum.springsource.org

Modular Application Views Hello, In my opinion one of the best features of spring combined with maven is allowing you to develop modular applications, each module defining beans in the application ...

57. wild cards in ViewResolver    forum.springsource.org

Hi all, I was wondering whether we could use wildcards in ViewResolvers; similar to the case that we have in flow:registry. Something like: Code: ...

58. intercept-method works, then restore view fails    forum.springsource.org

I have been successful in getting intercept-methods to work, however for some reason the access-denied-page then fails to load due to a ViewExpiredException. The access-denied-page does load correctly if I simply ...

59. How to write complex View Class?    forum.springsource.org

Hello all,I am newbie of spring rcp,I have a question: I have a complex view Class named MyView extends AbstractView,there are many part need write independence Class(Many Inner class will make ...

60. restrict views    forum.springsource.org

61. HandlerInterceptors and view name...    forum.springsource.org

Hi, I'm using an HadlerInterceptor, to perform some operation before the execution of a controller. If the preHandle operation fails I would to redirect the flow to an error view, but ...

62. Showing wizardm in a view    forum.springsource.org

Hi all, I need to show a wizard inside a view instead of showing it with a dialog, could someone give me an example on how to do that? Regards, Riccardo. ...

63. How to implements Partitioning Approache- Breakup by Views    forum.springsource.org

Hi, Can anybody tell me how to implement Partitioning Approach- Breakup by Views. I have used SimpleStepExecutionSplitter class but i am not able to break up my record set into views. ...

64. Different Views for different file extensions    forum.springsource.org

Different Views for different file extensions I heard somewhere you could create different views based on the extension of a requested url. I have a Controller which generates an object graph. ...

65. With a view administrator forum    forum.springsource.org

66. Location for Flexdock Views    forum.springsource.org

Location for Flexdock Views Hi, I'm using fleckdock and have several views in my application. On view serves as a browser for the available views: when I select one entry from ...

67. Selecting the start view    forum.springsource.org

68. How to view (format) numbers Locale-aware?    forum.springsource.org

How to view (format) numbers Locale-aware? Hi there, can somebody please tell me, how i can format (view in a jsp) numbers according to the actual Locale (e.g. 0,2 instead of ...

69. ResourceBundle per View?    forum.springsource.org

ResourceBundle per View? I'd like to be able to have a different message bundle (.properties) for each view. Is there an easy way to set this up? I'm using JSP and ...

70. View rendering interceptor ?    forum.springsource.org

View rendering interceptor ? Hi, I need to display some variables on all JSPs of my application. These variables come from database, they are loaded at application startup and stored in ...

71. Javascript execution after returning view    forum.springsource.org

Sorry for the newbie question, but I am writing a simple webapp with spring and when I return my view, the jquery code I have does not execute. I have a ...

72. Embedded Value Objects and Scaffolded views    forum.springsource.org

I use a lot of Value Objects in my domain model and ROO doesn't seem to be able to handle them in the scaffolded views, instead I just get a single ...

73. Input on choosing view technology    forum.springsource.org

Input on choosing view technology Hi all, I'm coming back to Java after using .NET since after the spring 2.0 release. We're building an app to run on Google's App Engine, ...

74. question on view/table    forum.springsource.org

question on view/table I have a view, not a table.. or

75. JUnit Interfering with returned views    forum.springsource.org

JUnit Interfering with returned views Hi, I am new to Spring and started reading the "step-by-step" tutorial. Instead of using Ant I am compiling directly in Eclipse, and decided to run ...

76. Previous view name    forum.springsource.org

Previous view name I have 2 login pages, I don't create session for those 2 pages. After login pages they come to the same controller for credential checks, session is created ...

77. Intercepting Spring Views    forum.springsource.org

Hi, I need to intercept a Spring view to set a http header value. I used the org.springframework.aop.support.NameMatchMethodPoi ntcutAdvisor for this propose however the view is not getting intercepted. I am ...

78. navigating between views    forum.springsource.org

What are the different ways of navigating betweens views in an rcp? I have a view that will get called many times from different views. How to go about it. I ...

79. Rendering a View object "coming" from another bundle    forum.springsource.org

Rendering a View object "coming" from another bundle Hi, I've written a customized ViewResolver which can map a view with a View object made available by an external bundle (I'm using ...

80. Choosing the right View Technology    forum.springsource.org

Choosing the right View Technology Hi guys! I want to ask You all for some help. Currently the company which I work for, tries to create a Java-oriented developers team, which ...

81. Explicitly NOT using ViewResolver    forum.springsource.org

If I have a view resolver in my config file, and I cannot remove it.... is there a way to explicitly bypass it and give the full path to the views ...

82. View streaming media files?    forum.springsource.org

View streaming media files? I would like to hold .asx (media redirect) files within my web app so that when I hit a certain URL, the "view" that is returned is ...

83. View scope with Spring    forum.springsource.org

Hi, I would like to have a bean with view scope, in order to user ajax in the view tier (it's a JSF and facelets application). How can I implement a ...

84. Sophisticated views possible?    forum.springsource.org

As you may have noticed, by default Roo currently makes use of Apache Tiles for templating and Spring's theming support (swappable CSS and images) to achieve a fair amount of flexibility ...

85. Problem Getting Views Resolved    forum.springsource.org

Problem Getting Views Resolved I'm a JSP/Struts developer recently jumping into Spring. I've worked through many examples, but am having problems getting my own views to work - getting 404 errors ...

86. managing views semi-automatically    forum.springsource.org

Would be a nice feature if we could have something like "automaticallyMaintainView = somewhat" and have roo maintain things like new fields or changing field specs while allowing the developer to ...

87. Loacale specific view    forum.springsource.org

88. Problem with resolving view name.    forum.springsource.org

Problem with resolving view name. Hi, I have just created new app in my multi-applications project. And it seems like I configured something wrong. The problem is: One of my controllers ...

89. How to open a view tabbed with a existing vldocking view?    forum.springsource.org

Hey,guys I'm using vldocking descriptor as the default page docking system. Now I want to open a view to be shown tabbed defaultly. I have known how to programmatically open a ...

90. DRY Views    forum.springsource.org

Hello, When generating the scaffold views, both the create.jspx and update.jspx views contain the same form. In order to facilitate code reuse, shouldn't the form be defined once as a tag ...

91. Tail application trace files into console view is not working    forum.springsource.org

The option that was provided by STS2.3.0's Tail application trace files into console view is not working.I am not able to see all the log information on console view. Is this ...

92. Refresh a view    forum.springsource.org

Yes, it is expected that createControl() is only ever called once for a particular instance of a control. the typical call path goes through code like: Code: public JComponent getControl() { ...

93. View not Resolving    forum.springsource.org

View not Resolving I am getting the following error Feb 16, 2010 5:19:51 PM org.springframework.web.servlet.DispatcherServlet noHandlerFound WARNING: No mapping found for HTTP request with URI [/myapp/WEB-INF/jsp/testme.jsp] in DispatcherServlet with name 'Spring ...

94. VLDocking & show view in float mode    forum.springsource.org

Hi! I use vldocking and I have views which I want to show in float mode or may be as modal dialogs. How I can do so with spring configuration? I ...

95. Forwarding view output?    forum.springsource.org

Forwarding view output? I have a RESTful controller that loads data based on the request path and a MarshallingView with JAXB to produce XML output. Depending on the request path, I'd ...

96. Relationships in view only available via select?    forum.springsource.org

Relationships in view only available via select? Hi, When scaffolding controllers every relationship is automatically formed as a selectbox in the view. Is it possible to automatically create a view which ...

97. List of BindingResults in View    forum.springsource.org

Hi, for a dataset import (CSV, XLS) I have used the builtin DataBinder and ended up having a List of BindingResult objects, which I have added to a formBackingObject to hand ...

98. Adding new view manually with Customcontroller    forum.springsource.org

The 'method not supported' exception suggests that your problem is with the request mapping, not with the view mapping. Possibly your @RequestMapping annotation is not quite right, or you're not using ...

99. view name when validation fails    forum.springsource.org

Hi , I am using a separate Validator for the form validation . when the validation fails , spring mvc looking for the jsp page with beanName .i.e when validation fails ...

100. View without a name    forum.springsource.org

I would like to rework on some of GUIs (the view) of the current project to improve the user experience. Started with a contact form, I would like to have it ...