In JIRA, There's a much longer list slated for 2.0.10 right now. Are
you suggesting that the others be rolled over to 2.0.11?
I also note that there are 30 issues that haven't had a Fix Version
set. Someone should review those and set the version to a pending
release or Future.
There were two
Hello Everyone,
I am trying to figure out on how to implement custom URL format in Struts 2.
Specifically, I needed URLs like
- http://mysearchsite.com/XYZ+ABC = This should be calling a default
Action class and pass XYZ , ABC as parameters
- http://myseachsite.com/images/1 = This should be
This is very rails like. This is a tough one because of the way that
Struts handles the URL to find the action mapping. If you want to
support the Rails ID concept inside your URLs, I would suggest writing a
custom filter to change the URL as it comes in based on some pre-defined
criteria.
Writing a custom ActionMapper is the way to go - it maps the URL to an
action configuration and back again.
I would write one for the http://mysearchsite.com/XYZ+ABC; pattern, and
then use the Restful2ActionMapper for the
http://myseachsite.com/images/1; pattern. The CompositeActionMapper
What's the advantage of using Restful2ActionMapper/CompositeActionMapper over
something like the UrlRewriteFilter?
http://tuckey.org/urlrewrite/
I like the UrlRewriteFilter because it can alter outgoing URLs to be
RESTful-looking as well.
Matt
Ian Roughley wrote:
Writing a custom
In my tests is occurring the following error :
...
According to TLD or attribute directive in tag file, attribute href does not
accept any expressions
...
the code :
s:a href=portal!showContent.action?linkId=${codSubLinkContent}
Go Item
/s:a
In this new release in not permited
I believe this is related to a security issue that Don Brown is working to
resolve. See these links:
http://www.nabble.com/-s2--Possible-security-issue-when-using-JSP-FreeMarker-EL-in-Struts-tags-tf4259754.html
https://issues.apache.org/struts/browse/WW-2107
James
On Wed Aug 15 12:10 , Pedro
hu... makes sense...
I´ll need to test my applicatin with more attention now, to prevent this
feature
Thanks .
James Holmes-2 wrote:
I believe this is related to a security issue that Don Brown is working to
resolve. See these links:
The ajax validation depends on DWR
musachy
On 8/15/07, Ian Roughley [EMAIL PROTECTED] wrote:
Is the ajax theme in the 2.0.x branch completely Dojo driven now? If
so, there seems to be a lot of DWR code that could be removed (i.e. from
the web.xml and form.ftl). I can open a ticket if this
Is the ajax theme in the 2.0.x branch completely Dojo driven now? If
so, there seems to be a lot of DWR code that could be removed (i.e. from
the web.xml and form.ftl). I can open a ticket if this is the case.
/Ian
-
To
Yes, I knew the list was much longer. My plan was to move anything not fixed
now to the 2.0.11 bucket. I think it would be best to have regular incremental
releases so that we get fixes out to people sooner. Most people can't truly get
access to the latest fixes until a GA release is made
The Restful2ActionMapper will call different methods of the action class
depending on the HTTP type. If this is not important, or you are using
different actions then the UrlRewriteFilter is a great option.
The Restful2ActionMapper is also part of Struts2 ;-)
/Ian
mraible wrote:
What's the
I´m changing my app to dont use {$, but I found a problem. I´m using
displayTag and the code is :
this codes works is struts 2.0.9 (s:checkbox)
dt:table name=listagem pagesize=15 id=primitivo
dt:column
s:checkbox name=sel fieldValue=${primitivo.codSubLink}
thanks so much !
fieldValue=%{#attr.primitivo.codSubLink}
Herrera
Musachy Barroso wrote:
try:
#attr.primitivo.codSubLink
musachy
On 8/15/07, Pedro Herrera [EMAIL PROTECTED] wrote:
I´m changing my app to dont use {$, but I found a problem. I´m using
displayTag and the
try:
#attr.primitivo.codSubLink
musachy
On 8/15/07, Pedro Herrera [EMAIL PROTECTED] wrote:
I´m changing my app to dont use {$, but I found a problem. I´m using
displayTag and the code is :
this codes works is struts 2.0.9 (s:checkbox)
dt:table name=listagem pagesize=15
Folks,
I've set up a few artifacts to mirror http://people.apache.org/builds/
struts/nightlies/2.0.x/
You can check it out at:
http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN/latest
and click on the Artifacts tab. Let me know if it's missing
anything or you want me change how it
This commit was causing problems for me because of this code:
@Inject(struts.portlet.dispatcherServletName)
public void setDispatcherServletName(String dispatcherServletName) {
this.dispatcherServletName = dispatcherServletName;
}
There was not a
Thanks for fixing the mistake, James.
Nils-H
On 8/16/07, James Holmes [EMAIL PROTECTED] wrote:
This commit was causing problems for me because of this code:
@Inject(struts.portlet.dispatcherServletName)
public void setDispatcherServletName(String dispatcherServletName) {
18 matches
Mail list logo