DisplayTag

displaytagform() javascript function and hidden form fields not rendered when "paging.banner.placement"="bottom" used

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.2
  • Fix Version/s: None
  • Component/s: HTML Generation
  • Labels:
    None
  • Application server:
    Tomcat 6.0

Description

When defining the "form" atribute on a "<display:table>" tag, links are modified to use <a href="javascript:displaytagform() to post using the form.
However, when the banner is at the bottom (<display:setProperty name="paging.banner.placement" value="bottom" />), a javascript error happens.
This is due to a bug in HtmlTableWriter.java consisting in javascript code and hidden form fields not being rendered.

Regards,

Juan

Activity

Hide
Mohit Keswani added a comment -
I am using JBoss 4.2 with Spring Framework 2.5 and getting the same issue. There is no generation of javascript which causes objectnotfound error in IE 7.
Show
Mohit Keswani added a comment - I am using JBoss 4.2 with Spring Framework 2.5 and getting the same issue. There is no generation of javascript which causes objectnotfound error in IE 7.
Hide
Sudheer Palyam added a comment -
We faced the same issue and it was so hard for us to determine this.
We had to spend two days to realize this was causing issue, at one stage we thought of rewriting the flow itself :< .
Our application is on weblogic 10.3 and Spring 2.5 with web flow, Ajax & Firefox.
For now we will use paging.banner.placement as either 'both' or 'top'.
Show
Sudheer Palyam added a comment - We faced the same issue and it was so hard for us to determine this. We had to spend two days to realize this was causing issue, at one stage we thought of rewriting the flow itself :< . Our application is on weblogic 10.3 and Spring 2.5 with web flow, Ajax & Firefox. For now we will use paging.banner.placement as either 'both' or 'top'.

People

Vote (4)
Watch (3)

Dates

  • Created:
    Updated: