You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Earnshaw, Wayne" <wa...@fanniemae.com> on 2005/12/06 21:04:14 UTC

TableComponent and Friendly URLs

Hi all,
 
We're using Tapestry with friendly URLs and the TableComponent.
 
The problem :
 
We have implemented J2EE security that restricts access to only friendly
URLs.
The TableComponent generates links that are based on unfriendly URLs
e.g. 
 
/PhoneBook/?component=table.tablePages.linkPage&amp;page=Home&amp;servic
e=direct&amp;sp=AHome%2Ctable.tableView&amp;sp=2
 
Question : 
 
Is there a way to configure the TableComponent to generate friendly
URLs?
 
 
Wayne Earnshaw
email:   wayne_earnshaw@fanniemae.com
<ma...@fanniemae.com> 
 
The electronic mail message you have received and any files transmitted
with it are confidential and solely for the intended addressee(s)'s
attention. Do not divulge, copy, forward, or use the contents,
attachments, or information without permission of Fannie Mae .
Information contained in this message is provided solely for the purpose
stated in the message or its attachment(s) and must not be disclosed to
any third party or used for any other purpose without consent of Fannie
Mae. If you have received this message and/or any files transmitted with
it in error, please delete them from your system, destroy any hard
copies of them, and contact the sender.

 

Re: TableComponent and Friendly URLs

Posted by Kent Tong <ke...@cpttm.org.mo>.
Earnshaw, Wayne <wayne_earnshaw <at> fanniemae.com> writes:

> We have implemented J2EE security that restricts access to only friendly
> URLs.
> The TableComponent generates links that are based on unfriendly URLs
> e.g. 
> 
> /PhoneBook/?component=table.tablePages.linkPage&amp;page=Home&amp;servic
> e=direct&amp;sp=AHome%2Ctable.tableView&amp;sp=2

Are you sure you have enable the service encoder for the direct
service?

<contribution configuration-id="tapestry.url.ServiceEncoders">
  <direct-service-encoder id="direct" 
     stateless-extension="direct" 
     stateful-extension="sdirect"/>
</contribution>

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


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