struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Tag Lib Question [List Attribute]
Date Thu, 13 Mar 2014 17:56:48 GMT
You probably want to ask this on the users list; the dev list is for the
development of Struts itself.

Dave



On Thu, Mar 13, 2014 at 1:54 PM, Gaurav Daga <togauravdaga@gmail.com> wrote:

> Hello Dev Community
>
> Basic functionality of Struts Select tag, I understand.  I am using
> following construct where source of list is from a method, written in
> action class.
>
> <s:select cssClass="portlet-form-field" id="task_viewType"
> name="task.viewType" list="getTaskEntryViewTypes()"
> tabindex="1" listKey="viewTypeCode" headerValue="--Select View--"
> headerKey="-1" listValue="displayValue"  onChange="getSubTypes(this.value,
> 'task_taskType')" tabindex="1"/>
>
>
> What I want to know is,  if the list source is from a different class
> (which is not Struct Action), how can it be done? I tried OGNL Method
> invocation but seems I am not able to make it work.  Any help would be
> greatly appreciated.
>
> Thanks.
>
> *Thanks & Regards/ **सादर**,*
> *Gaurav Daga*
> *togauravdaga@gmail.com <togauravdaga@gmail.com> | +1.201.308.3242 | Web
> Presence <http://goo.gl/lW0nh>  *
> Do not follow where the path may lead. Go instead where there is no path
> and leave a trail. - Harold R. McAlindon
>



-- 
e: davelnewton@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message