Menu

#1 incorrect header fields' action URLs

open-accepted
None
5
2002-11-12
2002-10-25
No

in its current implementation v0.31 the sorting header
links are mapped to ServeTable.do?action=...

this value is hardcoded:

com.zubarev.htmltable.taglib.TableHeaderTag line 221

the problem is many struts applications use
/action/someAction mapping - e.g. both url and case are
changed, extension .do is omitted

i didn't find any way to specify the action i want to use.

so, it would be nice to have the actionName attribute
for tableHeader tag.

i'm only starting to explore the package, it seems
valuable. maybe i will submit this extension myself,
but cannot say for sure now.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hello,

    Thanks for this bug-report. This problem is well known about
    as well as some other imperfections of the package. Right
    now I'm in process of developing version 1.0 which in most
    cases is a rewrite.

    If the lack of the functionality you've pointed out is important
    for yuo then I would advice to make a change in a code and
    have your own HTMLTable package.

    Thanks,
    Yuriy ZUbarev

     
  • Andrew Perepelytsya

    Logged In: YES
    user_id=565729

    Could you please provide an approximate list of new/fixed
    features for v1.0 and some sort of expected release date
    (though this last one could be quite hard to point out ;)

    I just do not want to duplicate your efforts, but instead
    focus on adding extra functionality to the package, perhaps
    by submitting to CVS, if it's ok.

    ===========
    2 yuri: nu prosto hochetsya pomoch cheloveku, idea klassnaya :)

     
  • Yuriy Zubarev

    Yuriy Zubarev - 2002-11-12

    Logged In: YES
    user_id=375842

    I'm sorry for late response. The feature I want to include into
    the next version is ability to navigate through a table by
    issuing POST request which means that all potential
    checkbox values won't disappear as you browse around. I'm a
    little bit short on time right now so it would be safe to state
    that those changes will not be available earlier than a month
    from now. As per your suggestion, I may put the
    path "ServeTable.do" into a configuration file or so.

    Thanks!

     
  • Yuriy Zubarev

    Yuriy Zubarev - 2002-11-12
    • status: open --> open-accepted
     
  • Yuriy Zubarev

    Yuriy Zubarev - 2002-11-12
    • assigned_to: nobody --> yuriy_zubarev
     

Log in to post a comment.