struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JavaNoobie87 <vivek...@enzentech.com>
Subject Re: RE: loading Dropdown dynamically from database
Date Wed, 16 Mar 2011 04:55:11 GMT

Dave Newton-6 wrote:
> 
> The snippet doesn't actually help, and can't you just include small
> samples in the email itself?
> 
> The headerKey is a number, what are the ones filled by the tag? What
> does the setDomainType method take as a parameter? Have you defined
> any custom type converters?
> 
> Dave
> 
Well , Sorry I thought code had to be pasted using pastebin . I'm not sure
if this is the answer to the question you are asking , but the tag (if you
meant the drop down) is being used to populate a dropdown box from the
database . setDomainType takes a string as a parameter. The snippet for the
same is below.

	public void setDomainType(String domainType) {
		this.domainType = domainType;	}

	public String getDomainType() {
	return domainType;
}
And no I havent defined any cutom type converters

--
View this message in context: http://struts.1045723.n5.nabble.com/loading-Dropdown-dynamically-from-database-tp3555885p3757953.html
Sent from the Struts - User mailing list archive at Nabble.com.

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


Mime
View raw message