Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-208


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WW-208
    Summary: it would be nice to be able to disable context prepending and url encoding
       Type: New Feature

     Status: Assigned
   Priority: Major

    Project: WebWork
 Components: 
             Views
   Versions:
             1.3.1

   Assignee: Patrick Lightbody
   Reporter: Konstantin Pribluda

    Created: Thu, 5 Jun 2003 5:05 AM
    Updated: Thu, 5 Jun 2003 5:05 AM
Environment: any , this issue is follow up on WW-196

Description:
<webwork:url> tag is responsible for correct rendering of URL's,
also - prepending context path to absolute ones, management of 
parameters and  mangling to include session ID  ( if necessary )

But there are situations when some of those features are best disabled.

In my portal application I need to manage user favorites inside 
this one ( I know this can be done by browser, bt my customers like
to have frames, and this favorites management integrated into portal )

So, I need to feed actual URL as parameter to action instantiating favorite object. In 
current situation  it gets context path prependet & 
session ID appended. 

Then this URL is saved  - along with context path and session ID
which is undesirable in this case - those need to be added 
only when favorite URL is rendered ( I can see no value in saving
context path & session ID in persistent store... )

So I added 2 more parameters to URL tag:
"context" and "encode" - they have no efect unless they are set to "false"

Here is small example:
---%<----------
<webwork:param name="'favoriteUrl'"><webwork:url context="false" 
encode="false"/></webwork:param>
---%<--------------

Patches are attached


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to