Something like this should do the trick:

<display:column title="<input .../>" escapeXml="false"/>

-Brian

On Wed, Jan 27, 2010 at 8:13 AM, Saeed Iqbal <saee...@gmail.com> wrote:

> For header this is an interesting situation i have not come across
> yet. I cannot say anything.
>
> On Wednesday, January 27, 2010, Arpan <arpan.deb...@gmail.com> wrote:
> > Hi Saeed,
> >
> > Replacing that with checkbox element will give me checkbox for every row
> for
> > that column.
> > But still my column header or title  will not have any checkbox.
> >
> > On Wed, Jan 27, 2010 at 5:58 PM, Saeed Iqbal <saee...@gmail.com> wrote:
> >
> >> Replace the <s:property value="%{getText('titles.edit'
> >> )}" />
> >>
> >>
> >> <display:column href="adminaddoreditarticle"  title="Edit" paramId="id"
> >> paramProperty="id" headerClass="listHeader">
> >>        <s:property value="%{getText('titles.edit'
> >> )}" />
> >>    </display:column>
> >>
> >>
> >> On Wed, Jan 27, 2010 at 5:23 PM, Arpan <arpan.deb...@gmail.com> wrote:
> >>
> >> > Hi Saeed,
> >> >
> >> > Thanks for the reply. But how can you display your checkbox inside
> that
> >> > "column Title"?
> >> >
> >> > On Wed, Jan 27, 2010 at 4:45 PM, Saeed Iqbal <saee...@gmail.com>
> wrote:
> >> >
> >> > > For display you can close your display tag open and end your tag
> >> > > separately.
> >> > > In between you can place your checkbox.
> >> > > For example:
> >> > > <display:column href="adminaddoreditarticle"  title="Edit"
> paramId="id"
> >> > > paramProperty="id" headerClass="listHeader">
> >> > >        <s:property value="%{getText('titles.edit')}" />
> >> > >    </display:column>
> >> > >
> >> > > For checking all (javascript) include an id with each checkbox and
> have
> >> > > onclick with the top one to be able to code in javascript to check
> all
> >> > > others.
> >> > >
> >> > > On Wed, Jan 27, 2010 at 4:11 PM, Arpan <arpan.deb...@gmail.com>
> wrote:
> >> > >
> >> > > > My scenario is that I need a column only for checkboxes. In the
> title
> >> > > there
> >> > > > will be a checkbox and a link "Delete". How can I show these using
> >> > > display
> >> > > > tag.
> >> > > > When the user will select the top checkbox, all other checkboxes
> in
> >> > that
> >> > > > column should be selected or unselected accordingly.
> >> > > >
> >> > > >
> >> > > > On Thu, Jan 7, 2010 at 6:35 AM, Chris Pratt <
> thechrispr...@gmail.com
> >> >
> >> > > > wrote:
> >> > > >
> >> > > > > Maybe this will clear things up.  This is a working example from
> >> our
> >> > > > site:
> >> > > > >
> >> > > > >  <s:url action="reset-password-csr" id="reset"
> escapeAmp="false"/>
> >> > > > >  <display:table uid="user" name="${users.list}" pagesize="20"
> >> > > > > requestURI="csr-search-results.html" class="tableWithHeaderBG"
> >> > > > > cellpadding="0" cellspacing="0" summary="This table lists Users
> >> > > > > resulting from a previous search" export="false">
> >> > > > >    <display:setProperty name="basic.msg.empty_list">No Users
> >> > > > > Found</display:setProperty>
> >> > > > >    <display:column title="Last Name" property="name.lastname"
> >> > > > > class="tdLeft" scope="row"/>
> >> > > > >    <display:column title="First Name" property="name.firstname"
> >> > > > > class="tdLeftNoPad"/>
> >> > > > >    <display:column title="User ID" property="userid"
> >> paramId="userid"
> >> > > > > value="%{'userid'}" paramProperty="userid" class="tdLeft"
> >> > > > > scope="row"/>
> >> > > > >    <display:column title="Email" property="email"
> paramId="email"
> >> > > > > paramProperty="email" class="tdLeftNoPad"/>
> >> > > > >    <display:column title="Security Questio
>
> --
> Saeed Iqbal
> Independant Consultant
> J2EE - Application Architect / Developer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to