Standardizing the impl-specific "org.eclipse.krazo.defaultViewFileExtension" config property

25 views
Skip to first unread message

Neil Griffin

unread,
Jan 26, 2019, 10:18:21 AM1/26/19
to MVC 1.0 Users Mailing List
Dear friends of MVC,

Would it be possible to change "org.eclipse.krazo.defaultViewFileExtension" to "javax.mvc.engine.defaultViewFileExtension" and make it a required feature by the Spec?

Thanks,

-- Neil

Christian Kaltepoth

unread,
Jan 27, 2019, 6:36:11 AM1/27/19
to MVC 1.0 Users
Hey Neil,

back then we discussed if this feature should go directly into the spec or should be an implementation-specific feature of the RI _for now_. We decided to keep it as a Krazo-specific feature because there were some doubts regarding the usefulness and how to handle some corner cases. See this thread on the mailing list for details. My impression is that this feature is a very good candidate for MVC 1.1, but we should wait to get more feedback from the community.

Christian

--
You received this message because you are subscribed to the Google Groups "MVC 1.0 Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsr371-users...@googlegroups.com.
To post to this group, send email to jsr371...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jsr371-users/928f894d-e6f3-4937-a5dd-07ebcf65efb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Neil Griffin

unread,
Feb 1, 2019, 6:12:07 PM2/1/19
to MVC 1.0 Users Mailing List
Hi Christian,

FWIW, the "javax.mvc.engine.defaultViewFileExtension" feature would be roughly equivalent to the Spring MVC "suffix" element in the following snippet from WEB-INF/applicantContext.xml:

<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver" id="viewResolver">
<property name="contentType" value="text/html;charset=UTF-8" />
<property name="prefix" value="/WEB-INF/views/" />
<property name="suffix" value=".jspx" />
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView" />
</bean>


Neil

Daniel Dias Dos Santos

unread,
Feb 1, 2019, 9:18:12 PM2/1/19
to jsr371...@googlegroups.com
Hi Neil,

as far as I know it would be similiar to the one you reported .




--
Daniel Dias dos Santos
Java Developer
SouJava & JCP Member
Linkedin: www.linkedin.com/in/danieldiasjava


Christian Kaltepoth

unread,
Feb 2, 2019, 4:45:59 AM2/2/19
to MVC 1.0 Users
Hi Neil,

thanks for pointing us to the equivalent Spring MVC feature.

Could you perhaps file an issue for this in the spec issue tracker, so we don't forget about it?

Thanks

Christian




For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages