You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by James CE Johnson <jc...@tragus.org> on 2003/03/13 21:55:47 UTC

Using the display:* taglib with tiles

Hi,

I'm pretty sure I read the solution to this just last night but now I
can't find it...

The display:* taglib will let me do something like this:
<display:table width="75%" name="reportList">
  <display:column property="reportCategoryName"
    title="Category" group="1" sort="true"/>

The resulting HTML will be a table and the 'Category' header will be a
link of the form:
    http://.../MyApplication/WEB-INF/jsp/layout.jsp?order=dec&sort=1

What I want is more along the lines of:
    http://.../MyApplication/some/action.do?order=dec&sort=1

Isn't there some tiles trick that sets things up so that this works?

Thanks,
J


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: [displaytag-user] Using the display:* taglib with tiles

Posted by James CE Johnson <jc...@tragus.org>.
>> Hi,
>>
>> I'm pretty sure I read the solution to this just last night but now I
>> can't find it...
>>
>> The display:* taglib will let me do something like this:
>> <display:table width="75%" name="reportList">
>>   <display:column property="reportCategoryName"
>>     title="Category" group="1" sort="true"/>
>>
>> The resulting HTML will be a table and the 'Category' header will be
>> a link of the form:
> http://.../MyApplication/WEB-INF/jsp/layout.jsp?order=dec&sort=1
>>
>> What I want is more along the lines of:
>>     http://.../MyApplication/some/action.do?order=dec&sort=1
>>
>> Isn't there some tiles trick that sets things up so that this works?
>>
>> Thanks,
>> J
>>
>
> You can specify a requestURI attribute as part of the <display:table>
> tag.

Yes, thank you. That does help a lot. Not to be a dumbass... but where the
heck are all those attribute documented?

>
> HTH,
>
> Matt


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: [displaytag-user] Using the display:* taglib with tiles

Posted by Matt Raible <ma...@raibledesigns.com>.
> Hi,
> 
> I'm pretty sure I read the solution to this just last night but now I
> can't find it...
> 
> The display:* taglib will let me do something like this:
> <display:table width="75%" name="reportList">
>   <display:column property="reportCategoryName"
>     title="Category" group="1" sort="true"/>
> 
> The resulting HTML will be a table and the 'Category' header will be 
> a link of the form:   
http://.../MyApplication/WEB-INF/jsp/layout.jsp?order=dec&sort=1
> 
> What I want is more along the lines of:
>     http://.../MyApplication/some/action.do?order=dec&sort=1
> 
> Isn't there some tiles trick that sets things up so that this works?
> 
> Thanks,
> J
> 

You can specify a requestURI attribute as part of the <display:table> tag.

HTH,

Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org