So if <c:out value="${itemList}"/> is valid, then the problem with
itemList.name isn't with displaytag, it's with something you're doing with
the objects.

Let me hazard a guess at this.  I'm betting that you're referencing the
list instead of the bean within the list.  Specifically, that itemList is
the list.  Then what you'd need to do is:

<display:table name="itemList" uid="item">
  <display:column ...>
    <c:out value="${item.tableName}"/> : <c:out value="${itemname}"/>
  </display:column>
</display:table>

See what I'm saying?  In this case, itemList IS a valid object, so you can
print it out, but it's not the row object.

The only reason this guess falls apart is that you said the table used to
work.  If what I think is wrong is actually what's wrong, it never could
have worked.  But maybe the code got modified in the migration?

If this isn't the issue, then you need to post some more code,
specifically the <display:table> tag itself, as well as a description of
the list and the type of beans it contains.

Rajesh Kalluri wrote:
> Hi Rick,
>
> Confirmation of what is not working:
>
>  C:out does not print anything to the screeen when nested  inside a
> display tag.
>
> I have made sure itemList  is a valid object by printing <c:out
> value="${itemList}"/>
>
> The Url link is working correctly even though my description being
> printed by c:out does not show up.
>
> Thanks
> Raj
>
>>>> [EMAIL PROTECTED] 6/6/2006 4:48 pm >>>
> Rajesh Kalluri wrote:
>> I am in the process of upgrading my struts based web-app to weblgic
> 9.
>> The following snippet used to work just fine in weblogic 8.1 and not
> any
>> more in weblogic 9.
>>
>> <display:column href="field.do?method=data"
>>                      paramId="id" paramProperty="id"
>> titleKey="field.fieldName">
>>                        <c:out value="${itemList.tableName}"/> :
>> <c:out value="${itemList.name}"/>
>> </display:column>
>>
>> I have seen that I can use decorators to solve this issue, but that
>> will involve lot of code changes. Is there a way I can make this
> work
>> with config/jsp changes.
>>
>> I am on Display tags 1.0.
>
> "Doesn't work" is a pretty broad description.  Doesn't work how?
> Doesn't
> display any data?  It certainly should, I would think.  Doesn't give
> you
> the correct params on your URL?  I can't see why not, but maybe the
> paramProperty and paramIds are causing a problem.
>
> But in addition to saying what you mean when you say it doesn't work,
> there's also more context required.  I'm assuming that itemList is a
> valid
> row object, but I can't tell.  You need to post more of the code for
> people to find the problem.  On the basis of this code, this should
> work.
>
> --
> Rick Herrick
> [EMAIL PROTECTED]
>
> I haven't got time for inner peace.
>
> "No reasonable definition of reality could be expected to permit
> this."--Albert Einstein, Boris Podolsky and Nathan Rosen in 1935
>
>
>
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
> "CONFIDENTIALITY NOTICE: This communication, including any attachments,
> may contain confidential information and is intended only for the
> individual or entity to whom it is addressed.  Any review, dissemination,
> or copying of this communication by anyone other than the intended
> recipient is strictly prohibited.  If you are not the intended recipient,
> please contact the sender by reply email and delete and destroy all copies
> of the original message."
>
>
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>


-- 
Rick Herrick
[EMAIL PROTECTED]

I haven't got time for inner peace.

"No reasonable definition of reality could be expected to permit
this."--Albert Einstein, Boris Podolsky and Nathan Rosen in 1935



_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to