DisplayTag

I18StrutsAdapter requires struts 1.2

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0 RC2
  • Fix Version/s: 1.0
  • Component/s: I18N
  • Labels:
    None
  • Application server:
    NA

Description

I18StrutsAdapter actually requires struts 1.2. Dependencies on TagUtils and RequestUtils should be removed to allow it to be used in 1.1 (and 1.0?).



1-)import org.apache.struts.taglib.TagUtils;

but in struts.jar , there is no TagUtils class

2-) import org.apache.struts.util.RequestUtils

But in code the below code , compiler says no "getUserLocale" method in
RequestsUtils

RequestUtils.getUserLocale(request, Globals.LOCALE_KEY);

Issue Links

Activity

Hide
fabrizio giustina added a comment -
fixed in cvs. Struts adapter is now compatible with struts 1.1
Show
fabrizio giustina added a comment - fixed in cvs. Struts adapter is now compatible with struts 1.1
Hide
fabrizio giustina added a comment -
see issue DISPL-149
You are probably using displaytag 1.0 rc2, this has been fixed in 1.0. The struts adapter in displaytag rc2 required struts 1.2 (RequestUtils.getUserLocale() is from struts 1.2, not from Spring)
Show
fabrizio giustina added a comment - see issue DISPL-149 You are probably using displaytag 1.0 rc2, this has been fixed in 1.0. The struts adapter in displaytag rc2 required struts 1.2 (RequestUtils.getUserLocale() is from struts 1.2, not from Spring)
Hide
fabrizio giustina added a comment -
Marking fixed issue as closed.
Show
fabrizio giustina added a comment - Marking fixed issue as closed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: