Bugs item #849207, was opened at 2003-11-25 20:57
Message generated for change (Comment added) made by fgiust
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=849207&group_id=73068

Category: None
>Group: v 1.0-b2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: fabrizio giustina (fgiust)
Summary: href, paramID, paramName, paramProperty, paramScope bug

Initial Comment:
When using struts like  approach to create dynemic link
for href
It does not properly create the href

for example

<display:table requestURI="searchAction.do"   
name="sessionScope.searchForm.results" id="client">

  <display:column property="name"
href="clientAction.do" paramId="edit_by_pk"
paramProperty="pk" paramName="company" paramScope="page"/> 

</display:table>


Currently we have two defects :
1- On the href url, the edit_by_pk has the name of
Client (instacde of PK)
2- For  evey rows, the first client name has repated


Fix1:
line 675:  
  lExpression.append('.').append(property);
to
  lExpression.append('.').append(paramProperty);

Fix2:
remove lines 686,687,697


Thanks
Reza Shahbazi

----------------------------------------------------------------------

>Comment By: fabrizio giustina (fgiust)
Date: 2004-01-02 17:03

Message:
Logged In: YES 
user_id=798060

item (1) has been fixed (curently in CVS, will be included in 
1.0-b3 release).
About (2): since you are using paramName and paramScope 
the property is not fetched from the list you're iterating on, 
so it seems to be correct. You always get the "pk" property 
from the object "company" in the page scope.
If you want to get a property from the object in the list you 
should not include the paramName and paramScope attributes.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=849207&group_id=73068


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to