struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Collins" <james.coll...@blueyonder.co.uk>
Subject Off Topic Expression Language question
Date Wed, 22 Feb 2006 23:12:09 GMT
Hi All,

Appologies for the off topic posting. Does anyone Know how I can access a 
bean property that takes a parameter using EL.

For example if in a bean I have define a name property with public String 
getName(){return name;}

I can access this with EL

${mybean.name}

But suppose in my bean the method signature is:

public String getName(String someParam){return name;}

How would I access this in EL and pass a value in for the parameter?

Any ideas would be appreciated.

Thanks

Jim 



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


Mime
View raw message