portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14893] - [FIX] Parameter names collision in Customizer
Date Wed, 11 Jun 2003 18:42:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14893>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14893

[FIX] Parameter names collision in Customizer





------- Additional Comments From morciuch@apache.org  2003-06-11 18:42 -------
I tried adding a namespace to customized parameters using this code:

      #set ($paramName = "_param_$param.Name")
      #if ($param.Type == "style")
        $jetspeed.getPortletParameter($data, $portlet, $paramName)
      #elseif ($param.Type == "boolean")
      $paramName
        <select name="$paramName">
          <option #if ($config.getInitParameter($param.Name) == "false") 
SELECTED #end>false
          <option #if ($config.getInitParameter($param.Name) == "true") 
SELECTED #end>true
         </select>
      #else
        <input type="text" name="$paramName" value="$config.getInitParameter
($param.Name)" size="50" >
      #end

... but all I'm getting is this when the Velocity renders the template:

$jetspeed.getPortletParameter($data, $portlet, $paramName)

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


Mime
View raw message