struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narayana S" <narayanas...@gmail.com>
Subject Re: Extending Struts Controls - problem
Date Tue, 15 Jul 2008 04:19:14 GMT
any one please reply to this... i am kind of stucked....

On Mon, Jul 14, 2008 at 11:49 AM, Narayana S <narayanasgs1@gmail.com> wrote:

> Hi,
>
>          I have extended Simple theme (by modifying XHTML theme),
> implemented the column span for every control as given below.
>
> <s:textfield label="Trucker" name="truker" size="70">
>     <s:param name="labelcolspan" value="%{2}" />
>     <s:param name="inputcolspan" value="%{6}" />
> </s:textfield>
>
> it is working fine.
>
> Now to pass these parameters directly within the textfield tag, i have
> extended org.apache.struts2.views.jsp.ui.TextFieldTag and created my own tag
> with new attributes labelcolspan,inputcolspan. the taglib file also modified
> accordingly, but when i am creating a textfield with the extended class, it
> is not passing these two new parameter info to Free marker template files.
> after extending as shown below i am using the tag,
>
> <ss:textfield  labelcolspan="row21" inputcolspan="row31"  name="myname1"
> label="Enter First Name" />
>
>
> what else i am missing here? can any one suggest me....
>
> Thanks in advance
> ~narayana.
>

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