struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitc...@telocity.com>
Subject RE: getting link parameters from a bean
Date Mon, 01 Jul 2002 15:14:53 GMT
Hi Nina-Annick,

There was a custom tag written by Phase Web that can do what you need.






James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta




> -----Original Message-----
> From: Nina-Annick Stranzenbach [mailto:nina.stranzenbach@sourcepark.net]
> Sent: Monday, July 01, 2002 3:55 AM
> To: struts-user@jakarta.apache.org
> Subject: getting link parameters from a bean
>
>
> Hi all,
> I posted this question before, but no one answered -
> Doesn't anyone understand my problem or
> Does no one know any answer???
> Here it is:
>
> Hi,
>
> I am trying to open a new window via javascript command that submits
> command to an action path. As this action path needs a request
> parameter, it's got to be submitted as well. When I tested the action, I
> did it like this:
>
> <html:link page="/details.do" paramId="ticketId" paramName="ticket"
> target="_blank"> </html:link>
>
> It work well, but I need to open a window without menues, so I would
> like to open a popup-window with javascript, but I've encountered
> problems with getting the request parameters into the link:
>
> <html:link page="" onclick="popup(340,300,'details','/details.do?
>         ')">
>
> Where the white spaces are, I would like to find the contents of the
> bean called 'ticket', like with <bean:write name="ticket"/>
> Does anyone have any idea how this could be done?
> I already tried to put a <bean:write> and a <html:rewrite> into it, but
> those did not seem to be any possible solutions to the problem.
>
> Help will be greatly appreciated,
> Thanks,
>
> Nina.
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message