struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Smith <psm...@infonow.com>
Subject Re: Simple html:link question
Date Thu, 26 Jun 2003 19:46:20 GMT
Thanks Kris, that worked.

I tried that earlier, but I had paramName="${remoteUser} instead of
paramName="remoteUser".  Sigh.

-- 
Peter Smith
Software Engineer
InfoNow Corporation

> From: Kris Schneider <kris@dotech.com>
> Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> Date: Thu, 26 Jun 2003 15:20:24 -0400
> To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> Subject: Re: Simple html:link question
> 
> Maybe:
> 
> <c:set var="remoteUser" value="${pageContext.request.remoteUser}"/>
> <html:link action="/profileEdit"
>          paramId="userId"
>          paramName="remoteUser"/>
> 
> paramName is a key used to look up a scoped attribute.
> 
> Quoting Peter Smith <psmith@infonow.com>:
> 
>> Hi all,
>> 
>> I have a simple question about the html-el link tag.  I am trying to add a
>> user id onto the url.  I would like the parameter to be named "userId" and
>> its value is found at ${pageContext.request.remoteUser}.  I have tried the
>> following ...
>> 
>> <html:link action="/profileEdit"
>>            paramId="userId"
>>            paramName="${pageContext.request.remoteUser}"/>
>> 
>> I get this error: 'Cannot find bean psmith_INOW in any scope'
>> 
>> (psmith_INOW is the value of remoteUser)
>> 
>> Anyone have a suggestion?
>> 
>> Thanks, Peter
>> 
>> -- 
>> Peter Smith
>> Software Engineer
>> InfoNow Corporation
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>> 
> 
> 
> -- 
> Kris Schneider <mailto:kris@dotech.com>
> D.O.Tech       <http://www.dotech.com/>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 


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


Mime
View raw message