View 1 « Web « Spring Q&A





1. Overview of the various java web view technologies    stackoverflow.com

Generally speaking, what are the advantages/disadvantages of the various java servlet/spring-mvc view technologies? (jsp, freemarker, velocity, etc) E.g. is one faster than the other? More built-in support? flexibility? wide-spread usage? My use ...

2. Passing a java array and use it in a spring view    stackoverflow.com

I am having some troubles with how to pass variables in spring. My intention is to pass an double array and to use this to create a google visualization by using the ...

3. how to graphically view the dependencies in spring application context file    stackoverflow.com

i have a few application context files for an application. I want to view graphically the dependencies between them. Is there a free plugin in eclipse or some viewer? Thanks!

4. View Resolution in Spring 3.0.5    forum.springsource.org

5. Which view technology would you use?    forum.springsource.org

Which view technology would you use? We are currently doing a proof of concept to see if Spring MVC (2.5.6) is a viable replacement of our current web application technology. I ...

6. Issue with viewResolver.    forum.springsource.org

Issue with viewResolver. Hello all My entry for view resolver in config file is as follows. ...

7. Extending Spring View    forum.springsource.org

Hi, I'd like to know how to access the ModelAndView's View component from JSP file? I need it because I want to store in it the names of required CSS/JS files, ...

8. Customize views    forum.springsource.org

I need a way to configure roo view templates. I need to add a div to all the views and some jsp tags to what is generated by roo. How do ...

9. Problem mixing ViewResolver's    forum.springsource.org

Problem mixing ViewResolver's Hi, I wan to have JSP and PDF output in my webapplication. I can get both seperate but not together, depending on my *-servlet.xml contents. With this I ...





10. Flexibility of ViewResolver    forum.springsource.org

Flexibility of ViewResolver Folks, Wanted to start a dialog in hopes of clearing up some confusion about ViewResolvers. I have checked the docs on this ... and a question still remains. ...

11. @Embeddable and web create view    forum.springsource.org

Hi all, I have created an Embeddable class. I would like to have in the create view managing the cointaner class also the management of the contained (Embeddable) class. In the ...

12. Path Variable, resolving view    forum.springsource.org

Hello all, I'm new with Spring 3. I'm stuck in the following problem: I cannot map the view to the method with path variable. My code: Code: @Controller @RequestMapping(value = "/owner") ...

13. dockable views    forum.springsource.org

I'm developing a demo application with spring rcp. It rocks!!!! I'm already stunned with my results (I have a working app in half a day), so I guess I won't have ...

14. VLDocking View Update Problem    forum.springsource.org

VLDocking View Update Problem Hi guys, hope you can help me. I set up a view using the VLDockingViewDescriptor. The view should be initialized upon a certain event. However, the view ...

15. the view doesn't update    forum.springsource.org

I've created a simple web application using roo. Then I have deleted all the generated controller and I created new controllers (using controller scaffold command). I thought the view would be ...

16. Wrong view    forum.springsource.org

I have a controller. The correct method gets called byt the view is incorrect. Before I submit a form my url are. This is the code from my form Code: var ...





17. Internal Views    forum.springsource.org

Internal Views First, a quick thanks. I have a demo application up and running with very little time invested. It's not much more complex than the usual "Hello World" endeavor, but ...

18. Field visibility in different views    forum.springsource.org

Hi, Is there a way to annotate a field in an entity as not form backed ? I have a Person entity with a registration date. I want the date to ...

19. how to use view    forum.springsource.org

how to use "org.springframework.web.servlet.view.ResourceBund leViewResolver"? who can give me a example about views.xml ? And I want to know whether the "views.properties" must be in "/WEB-INF/classes/"? it can be put another ...

20. PropertiesBeanDefinitionReader bug won't allow certain views    forum.springsource.org

PropertiesBeanDefinitionReader bug won't allow certain views If you are using a ResourceBundleViewResolver and you want to use view names that contain a "." (that's a dot), you are out of luck. ...

21. 2.6.0 xerces patch blanks out project explorer and navigator views !?    forum.springsource.org

i just agreed to a software update popup in the lower right hand corner (and i thought it was pretty cool to be notified in that way), and everything went smoothly ...

22. No way to change title of active view?    forum.springsource.org

Andy, Do you mean the current window title or the message area title? For the window you could do this but it would probably be better if we made getApplicationWindowConfigurer public... ...

23. Laszlo View    forum.springsource.org

Hi, A simple question : is there someone working on a Laszlo View for spring ? For people who doesn't know Laszlo, it is like Macromedia's Flex, but it is now ...

24. install view command broken?    forum.springsource.org

install view command broken? I'm getting the following error when trying to install a new view: roo> web mvc install view --path /register --title Register --viewName registrationForm Created SRC_MAIN_WEBAPP\WEB-INF\views\register Created SRC_MAIN_WEBAPP\WEB-INF\views\register\registrationform.jspx ...

25. Is there a way to selectively override a view?    forum.springsource.org

Is there a way to selectively override a view? I would like to use view "a" if it exists and if it does not default to view "b". I've been scouring ...

26. Create link to "Create new" in empty list view    forum.springsource.org

I would to make a change to the behaviour of the tagx-libraries when displaying an empty list of objects. Currently, it only says: "No XXX found". I would also like it ...

27. View resolution/rendering problem    forum.springsource.org

View resolution/rendering problem Hi, I'm having trouble with views not being rendered properly. My app is deployed on Tomcat under /app, and I have a view /app/view. Its controller returns the ...

28. Changing a field to enumerated type doesn't update the view...    forum.springsource.org

I had a field that changed from a number to an enumerated type: field number --fieldName mType --notNull - CHANGED TO- field number --fieldName mType --type ~.reference.MType --notNull The create view ...

29. SpringMVC3's Strange behaviour in View Resolution    forum.springsource.org

I just tested this with a demo app I have and it worked. The only difference is the location of my .jsp files. I have them under /WEB-INF/jsp/spring/ and my "prefix" ...

30. Problem renderering views    forum.springsource.org

Problem renderering views Hello, I am having a problem getting views resolved. I am using the latest 3.0.5 release, Tiles and JSP for the view. When I have the controller defined ...

31. Sets not appearing in "show" views.    forum.springsource.org

I have a Risk class defined like this @RooJavaBean @RooToString @RooEntity(inheritanceType = "TABLE_PER_CLASS") public class Risk extends HarmonyElement { @OneToMany(cascade = CascadeType.ALL, mappedBy = "risk") private Set outcomeSufficiencies = new HashSet(); ...

32. checking if Object is in a Set in the view    forum.springsource.org

checking if Object is in a Set in the view HI, i have two Objects, Page and Html. Page contains a Set of html Objects. all is working good but now ...

33. persisting file input streams across views    forum.springsource.org

persisting file input streams across views hmm, how best to describe this. i have successfully implemented reading an excel file via input stream and spring. now i'm trying to do something ...

34. How to pass an object to a view    forum.springsource.org

I hope this isn't a FAQ, again. I would like to implement the following: selecting a table row in one view and pressing a button should open a new view which ...

35. Viewresolver not working    forum.springsource.org

Viewresolver not working I'm trying to get a handle on Annotated controllers. I have a starter web app with just the index.jsp and a home controller there's a method in the ...

36. Navigator view does not show all files in the project    forum.springsource.org

Navigator view does not show all files in the project I am using STS for the first time so this is probably an embarrassingly basic problem but I'm stuck. I created ...

37. viewResolver prefix being prepended twice    forum.springsource.org

Oct 13th, 2011, 05:04 AM #1 shahzadmunir View Profile View Forum Posts Private Message Junior Member Join Date May 2009 Posts 6 viewResolver prefix being prepended twice Dear All I am ...

38. What is the best view technology for use with Spring?    forum.springsource.org

What view technology currently has the best integration with spring? I have done mostly JSP/JSTL development, but I find the lack of good taglibs for Spring annoying. Do any of the ...

39. A really dumb view question...    forum.springsource.org

A really dumb view question... Sorry if this is too stupid, but I have several dropdown lists, which are related, so that choice A populates choice B which populates choice C... ...

40. How to remove View's Title    forum.springsource.org

Originally Posted by cyu What I did was extend DefaultApplicationPage, override the createPageComponent() method, and create my own subclass of PageComponentPane. I have the same desire and this approach certainly works. ...

41. refreshing the view    forum.springsource.org

How can I notify a view that it needs to be refreshed. I am calling Application.instance().getAciveWindow().getPage(). showView("myView") it constructs the view object on the first call, is there a way for ...

42. XSL View    forum.springsource.org

Hi guys, quick little question. I have an application where I want to utulize the AbstractXsltView. My problem is that my Xsl is actually stored in a database, not in a ...

43. ViewResolver problem after upgrading from RC 1.1 to V 1.1.3    forum.springsource.org

Feb 17th, 2005, 11:42 AM #1 dreed View Profile View Forum Posts Private Message Member Join Date Dec 2004 Location New York Posts 30 ViewResolver problem after upgrading from RC 1.1 ...

44. Mixing views problem    forum.springsource.org

Hello all. I have this problem: I want to use the Freemarker template engine with Tiles. I tried different scenarios but just couldn't make it. They both use different view resolvers ...

45. How to close a view/editor ?    forum.springsource.org

How to close a view/editor ? I'd like to know how the framework will handle view and editor closing ? Let assume ApplicationPage has a hideView(View) method. How to implement it ...

46. Use a View as JInternalFrame    forum.springsource.org

im new in Spring RCP. I've spent a couple of time to study this framework. Good Work!!!!! My Question: Is a view similar to a JInternalFrame? Or are there other classes? ...

47. Time To Send ViewResolver Expert    forum.springsource.org

Time To Send ViewResolver Expert I have a very strange question here : I am working on a project now,this project dictate two different contentTypes for FreeMarker template based on their ...

48. testing views    forum.springsource.org

Aug 4th, 2005, 06:00 AM #1 maward View Profile View Forum Posts Private Message Member Join Date Oct 2004 Posts 45 testing views The project I'm working on has a separate ...

49. "Polymorphic Views"    forum.springsource.org

Greetings, Does anyone have a favorite pattern or strategy for resolving a subview "polymorphically"? For example if i have a category that can contain items (these items can be any number ...

50. How to close view?    forum.springsource.org

How to close view? Currently each time i change view the previous data still there and it still exist in show view there. i do not want it to show in ...

51. closing a view..    forum.springsource.org

Hi On a certain event, I would like to be able to close a view. How could I simulate the pressing "X" event? Code: public class MyView extends AbstractView { public ...

52. Composing views    forum.springsource.org

Is there anything that prevents me from creating a View that is composed of other Views? I am thinking about having the createControl method programmatically obtain ViewDescriptors from the application context ...

53. normal and detail view, how to solve this with spring?    forum.springsource.org

normal and detail view, how to solve this with spring? Hi, i have a web application with a product catalog page. Right now i want t to bring users the posibility ...

54. Polymorphic views ?    forum.springsource.org

Polymorphic views ? Hi, I have a JSP that displays a list of objects of supertype Building as a result of a general query. The list includes buildings of many concrete ...

55. Complex views    forum.springsource.org

Complex views Hi, everyone! A few months ago I sent a post about choosing Spring RCP in our project, and I got useful answers, thanx everyone! So, I chose Spring RCP ...

56. Return an object in a view    forum.springsource.org

Can you elaborate on what you're trying to do? What's in the ObjectOutputStream? If you want to build your own view, just subclass org.springframework.web.servlet.view.AbstractView, and then in your controller do something ...

57. RTF view    forum.springsource.org

RTF view I am trying to allow the user to view a report as rtf. I found another posting in this forum and copied it to do the following: File aFile ...

58. Starting a view programmatically    forum.springsource.org

Hi I know that there has been some discussions around the subject of multiple views; this is slightly different. Is there a recommended way for launching a view programmatically? My app ...

59. Send and process parameter before render view    forum.springsource.org

Hi I am looking for a way to send an parameter to portlet and process it before i show the view. Something like http://www.blabla.com/portlet?paramTest=testing and then something like protected Map referenceData(final ...

60. materialized View is [null] ??    forum.springsource.org

materialized View is [null] ?? I know this has got to be some stupid configuration problem of my own, but I've been searching and can't find the problem. Maybe someone with ...

61. Two Command's inside of a same View    forum.springsource.org

Two Command's inside of a same View Hi , a little question... I need a View index.jsp with two dinamic contents blocks, both from differents controllers, for example: index.jsp with a ...

62. hooks for when view changed    forum.springsource.org

Is there any way for a view to know when it is no longer the "active" view? I have an application with several views, and when a view loses focus I ...

63. Views As Tabs    forum.springsource.org

Instead of my list of views being hidden away under the Menu > Window > Views, I would like to have them displayed as tabs. has anyone done something similar or ...

64. ViewResolver    forum.springsource.org

i am trying to write an implementation of an ViewResolver whose loadView logic is dependent on a generic Response object's attributes such as status code (success/failure) and request id. my question ...

65. Is it possible to share an object between 2 views?    forum.springsource.org

Is it possible to share an object between 2 views? Hi, In my application, i have 2 views, say View1 and View2. In the createControl() method of View1, i create an ...

66. Alternative Views    forum.springsource.org

Alternative Views Hi, Is there a way in spring to specify more then one view name for example in ModelAndView({ "view_customer_key", "view_default", model) and have spring use the first available view. ...

67. I just want my view to come from a POJO    forum.springsource.org

I just want my view to come from a POJO Hello, This may win the award for the dumbest question yet. But I've just started moving all my view rendering from ...

68. CFMX as view    forum.springsource.org

Hello, Does anyone have expirience with using ColdFusion MX as view (like jsp, velocity etc)? We have site built on CFMX and now want to port it to spring MVC with ...

69. Getting a view reference...    forum.springsource.org

Getting a view reference... Hi there. I'm trying to implement the observer pattern in order to update my views every time a click a command button from the toolbar. In my ...

70. Rookie Question about View    forum.springsource.org

Rookie Question about View Hi, I need to manage a lot of pdf documents in my system. Can i just do something like this? ...

71. PDFview: view&save at the same time    forum.springsource.org

if your PDF contains user specific info, you'll need to be careful of course. Right now, AbstractPdfView has no way to let you hook the generated content. A simple patch such ...

72. Two actions possible leading to 2 views ?    forum.springsource.org

Two actions possible leading to 2 views ? Hello all, We normally write a property/key in URL mapping element of sn-servlet.xml file. The action mapps to a controller which refers only ...

73. SimpleController when success/actual view is the same    forum.springsource.org

SimpleController when success/actual view is the same hi friends, I have been trying to find out a way to manage a page flow for weeks now. I still couldn't manage to ...

74. How to implement a view handling structure like this...?    forum.springsource.org

How to implement a view handling structure like this...? Hi folks, i want to implement a view structure like explained in the following. First my view pages directory structure shall look ...

75. Refresh my view    forum.springsource.org

Everytime my user opens or re-opens a view I would like to refresh the content in it by calling my custom method "refreshContenct" because meanwhlie the database could have been changed. ...

76. pass some parameters to success view    forum.springsource.org

Hello I have a successView that is a simpleFormController. From the formView (also simpleFormController), I want to pass some parameters in onSubmit() function. Based on different parameters, the success view will ...

77. Best practice for view resolving to different output formats    forum.springsource.org

Best practice for view resolving to different output formats Hi, First of all: greetings to the Spring community. This is my first post! I am using Spring a few weeks now ...

78. The View Technology of choice?    forum.springsource.org

I definitly want to use Spring MVC for building webapplication front-ends. My question is: what view technology to use? Plain JSP , Tiles, Velocity, Freemarker, etc? Has anyone experience with a ...

79. best view technology for public facing site?    forum.springsource.org

best view technology for public facing site? Dear all, We're about to begin a new project which will need to be 1st class in the look and feel department. We've sort ...

80. Views as JInternalFrame    forum.springsource.org

Hi! A recent change (revision 1304, by peterdb) in the RCP made my application stop showing my views as JInternalFrames. Can anybody show me how is the correct way to declare ...

81. View Resolution Breaks in Spring 2.0-RC3    forum.springsource.org

Sep 6th, 2006, 10:45 AM #1 browncoat View Profile View Forum Posts Private Message Junior Member Join Date Oct 2005 Location Wisconsin Posts 13 View Resolution Breaks in Spring 2.0-RC3 We've ...

82. Passing information between views    forum.springsource.org

Passing information between views I have 2 views: one for finding Persons and one for viewing a Person's information. When the user double clicks on the list in the first view, ...

83. In the view, how do I get the command name?    forum.springsource.org

In the view, how do I get the command name? So here's a simple question. The command's name is set when the controller bean is configured, through the commandName tag. The ...

84. Can't view the report!Please help me check it.Thanks!    forum.springsource.org

Can't view the report!Please help me check it.Thanks! I integrate the Spring MVC and Jasperreports, the result is i can't view the people.jrxml report,now i put on the controller and XML ...

85. Initializing a SimpleFormControler view    forum.springsource.org

Initializing a SimpleFormControler view I want to initialize a field with an object from ...

86. DesktopApplicationPageFactory: closing and reopening a view    forum.springsource.org

I'm using DesktopApplicationPageFactory as my applicationPageFactory so that I can have multiple views visible. A view is using a AbstractObjectTable with attached commands for opening/deleting, ... table rows. It works fine ...

87. Switching views    forum.springsource.org

Switching views I have a set of views, each one containing the same names inside, but with different paths: views.properties : name.class = org.springframework.web.servlet.view.JstlView name.url = /WEB-INF/somejsp.jsp views_1.properties : name.class = ...

88. How to ask confirmation to close the view?    forum.springsource.org

Hi! I am using the views in a MDI way, where the views appear as JInternalFrames. I need to let the user decide if he really wants to close the view ...

89. Paradigm/Pattern for determining views based on input?    forum.springsource.org

Paradigm/Pattern for determining views based on input? I'm making a Spring/Hibernate application in which a user can log in via a LoginController. Based on the input, it will find out if ...

90. How to open all views when application starts up?    forum.springsource.org

Hi, Try creating a DesktopPageDescriptor bean with a list of view descriptors as a "viewDescriptors" property, and pass it to your ApplicationLifecycleAdvisor as a "startingPageId" property. hope this helps, Andrius

91. How to open all tab views when application starts up using the TabbedApplicationPage?    forum.springsource.org

I'm using TabbedApplicationPage and it works well, but I'd like to have all of the views opened when the app starts up. Does anyone know of a way to have all ...

92. Does working with domain objects in views have to be so hard?    forum.springsource.org

Does working with domain objects in views have to be so hard? Hi, recently I have been working on a project using JSP+Spring MVC + Hibernate. I found working with JSPs ...

93. Views and tabs    forum.springsource.org

Views and tabs Hi, I'm new to Spring RCP and went over some of the source code and documentation. I was looking at the InitialView/ContactView of the 'Simple' example and had ...

94. Reuse of views?    forum.springsource.org

Reuse of views? Hello, I am doing my first Application with Spring RCP and am quite impressed with it. Simple CRUD views are created fast, easy and elegant. But the lack ...

95. Nesting Views howto please    forum.springsource.org

I am trying to understand the relationship between views and forms/windows. I would like to create 1 page that contains multiple views: for example to have 2 JPanels, one containing a ...

96. Rearranging of views    forum.springsource.org

Rearranging of views Hello, Im new to the Spring RCP and after reading the documentation, I have one question: Applications based on the Eclipse RCP allow the user to rearrange the ...

97. View Definition Usage    forum.springsource.org

This post is about information, but not a question. There is few information in regarding of page composition through view definitions. Just want to share my experience from the past two ...

98. Local view names    forum.springsource.org

Struts 1 and WebWork both provide the capability to declare views (forwards in Struts and Results in WW - with slight differences) whose scope is the Controller (Action in both Struts ...

99. doDispatch() infinite loop never returns view to browser.    forum.springsource.org

doDispatch() infinite loop never returns view to browser. I have simplified the problem to an app with one controller. It appears to loop and never return the JSP page to browser ...

100. Conditioned view definition?    forum.springsource.org

In a view defined page composition, the content region is the same while the menu region varies based on whether a user is signed in or not. That can be done ...