You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tim Smal <t....@home.nl> on 2003/10/09 13:25:22 UTC

in

I'd like to use a <bean:write> within my <html:text> tag. Like this:

<html:text property="value(key1)" onmouseover="<bean:write name="myForm"
property="myMethod"/>"/>

But I can't do it this way. Anyone has suggestions?



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


RE: in

Posted by Tim Smal <t....@home.nl>.
Thank you! You guys are quick!

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Markus Meier
Sent: donderdag 9 oktober 2003 13:35
To: struts-user@jakarta.apache.org
Subject: Re: <bean:write> in <html:text>

Tim Smal wrote:
> I'd like to use a <bean:write> within my <html:text> tag. Like this:
> 
> <html:text property="value(key1)" onmouseover="<bean:write
name="myForm"
> property="myMethod"/>"/>
> 
> But I can't do it this way. Anyone has suggestions?

this should work...

<bean:define id="tmp">
     <bean:write name="myForm" property="myMethod"/>
</bean:define>
<html:text property="value(key1)" onmouseover="<%= tmp %>"/>


-- 
------------------------------------------------------
NO ePATENTS - http://petition.eurolinux.org/index.html



---------------------------------------------------------------------
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


Re: in

Posted by Markus Meier <ne...@bluewin.ch>.
Tim Smal wrote:
> I'd like to use a <bean:write> within my <html:text> tag. Like this:
> 
> <html:text property="value(key1)" onmouseover="<bean:write name="myForm"
> property="myMethod"/>"/>
> 
> But I can't do it this way. Anyone has suggestions?

this should work...

<bean:define id="tmp">
     <bean:write name="myForm" property="myMethod"/>
</bean:define>
<html:text property="value(key1)" onmouseover="<%= tmp %>"/>


-- 
------------------------------------------------------
NO ePATENTS - http://petition.eurolinux.org/index.html



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


RE: in

Posted by Mark Galbreath <mg...@dirtroad.net>.
Whatever, O'Rielly-boy.

-----Original Message-----
From: Andrew Hill [mailto:andrew.david.hill@gridnode.com]
Sent: Thursday, October 09, 2003 7:47 AM
To: Struts Users Mailing List
Subject: RE: <bean:write> in <html:text>


<snip>
Struts does not support
</snip>

You mean "JSP does not support" surely?

-----Original Message-----
From: Mark Galbreath [mailto:mgalbreath@dirtroad.net]
Sent: Thursday, 9 October 2003 19:44
To: Struts Users Mailing List
Subject: RE: <bean:write> in <html:text>


You will have to use JSP scripting or JSTL - Struts does not support nested
tags as attributes.

Mark

-----Original Message-----
From: Tim Smal [mailto:t.smal@home.nl]
Sent: Thursday, October 09, 2003 7:25 AM
To: struts-user@jakarta.apache.org
Subject: <bean:write> in <html:text>


I'd like to use a <bean:write> within my <html:text> tag. Like this:

<html:text property="value(key1)" onmouseover="<bean:write name="myForm"
property="myMethod"/>"/>

But I can't do it this way. Anyone has suggestions?



---------------------------------------------------------------------
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


---------------------------------------------------------------------
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


RE: in

Posted by Andrew Hill <an...@gridnode.com>.
<snip>
Struts does not support
</snip>

You mean "JSP does not support" surely?

-----Original Message-----
From: Mark Galbreath [mailto:mgalbreath@dirtroad.net]
Sent: Thursday, 9 October 2003 19:44
To: Struts Users Mailing List
Subject: RE: <bean:write> in <html:text>


You will have to use JSP scripting or JSTL - Struts does not support nested
tags as attributes.

Mark

-----Original Message-----
From: Tim Smal [mailto:t.smal@home.nl]
Sent: Thursday, October 09, 2003 7:25 AM
To: struts-user@jakarta.apache.org
Subject: <bean:write> in <html:text>


I'd like to use a <bean:write> within my <html:text> tag. Like this:

<html:text property="value(key1)" onmouseover="<bean:write name="myForm"
property="myMethod"/>"/>

But I can't do it this way. Anyone has suggestions?



---------------------------------------------------------------------
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


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


RE: in

Posted by Mark Galbreath <mg...@dirtroad.net>.
You will have to use JSP scripting or JSTL - Struts does not support nested
tags as attributes.

Mark

-----Original Message-----
From: Tim Smal [mailto:t.smal@home.nl]
Sent: Thursday, October 09, 2003 7:25 AM
To: struts-user@jakarta.apache.org
Subject: <bean:write> in <html:text>


I'd like to use a <bean:write> within my <html:text> tag. Like this:

<html:text property="value(key1)" onmouseover="<bean:write name="myForm"
property="myMethod"/>"/>

But I can't do it this way. Anyone has suggestions?



---------------------------------------------------------------------
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


RE: in

Posted by hari_s <ha...@indonesian-aerospace.com>.
Are you want to display the value inside of the html:text ? if it's so
how about if you do with html-el.... <html-el:text
property="yourProperty" value="${yourForm.displayValue}" /> (sorry if
don't get the point from your question ,my English really bad..)

-----Original Message-----
From: Tim Smal [mailto:t.smal@home.nl] 
Sent: Thursday, October 09, 2003 6:25 PM
To: struts-user@jakarta.apache.org
Subject: <bean:write> in <html:text>

I'd like to use a <bean:write> within my <html:text> tag. Like this:

<html:text property="value(key1)" DEFANGED_Onmouseover="<bean:write
name="myForm"
property="myMethod"/>"/>

But I can't do it this way. Anyone has suggestions?



---------------------------------------------------------------------
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