Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/DISPL-158

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DISPL-158
    Summary: Allow displaytag in a form possible solution
       Type: Improvement

     Status: Unassigned
   Priority: Major

 Original Estimate: 2 hours
 Time Spent: Unknown
  Remaining: 2 hours

    Project: DisplayTag

   Assignee: 
   Reporter: Paul Woodward

    Created: Fri, 17 Dec 2004 1:49 PM
    Updated: Fri, 17 Dec 2004 1:49 PM

Description:
Basically I would like to be able to make the sort/page links be javascript 
calls to a function. This is so that I can incorporate the displaytag in 
existing forms/framework I am using without losing information that is kept on 
the page.

I can almost achieve this by:
1. using a custom RequestHelperFactory to create custom RequestHelper that 
creates a special type of Href - a JavascriptHref that takes the displaytag 
parameter map and passes it to a function to package up in my existing form.
2. the same RequestHelper to retrieve the displaytag parameters from the 
request object where they are being and pass them back to TableTag when 
requested.

The only downfall of this plan is gereating the javascript link.
getSortingHref in TableTag (and the similar functions) do:
Href href = new Href(this.basehref);
And hence I lose the functionality of my special JavascriptHref class.

If it was:
Href href = this.basehref.clone();
or similar my plan would work perfectly.

As far as I can tell, this would be a minimal impact change, just a clone 
method in Href and the use of it in TableTag.

Would this be possible?

Apart from this tiny issue I have, it's a truly excellent project.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to