Thanks a lot Robert

On 8/10/06, Murray Collingwood <[EMAIL PROTECTED]> wrote:
I didn't realise you could code the @Block outside the table...

My mistake.

Cheers
mc


On 10 Aug 2006 at 16:14, [EMAIL PROTECTED] wrote:

> On Fri, Aug 11, 2006 at 08:26:51AM +1000, Murray Collingwood wrote:
> > When you are using the contrib:Table you specify the columns parameter for 
each column to
> > appear in your table.  I think you understand this but you haven't 
mentioned much detail.
> >
> > So, in Robert's example there are 3 columns defined.  By default each 
column will be
> > populated with data from that property as each row is processed.  Is this 
working for you.
> > You haven't mentioned but I will again assume this is working.
> >
> > Next, you want to add or replace a column with a checkbox.  You then code 
the
> >      <span jwcid="[EMAIL PROTECTED]">Something else</span>
> > to specify the replacement column value for this property (that is the 
property is no longer
> > displayed and in it's place something else is inserted).
> >
> > Robert's example closed the table too early, however that it easily 
corrected and we can
> > expand it to include some other parameters.  Something like:
>
> 2 notes here:
>   1) I forgot to put the source attribute in my example, as you noticed.
>   :)
>   2) The block's don't have to be enclosed within the table component.
>   They can come before the table, or after it, or wherever. :)
>
> Robert
>
> >
> > <table jwcid="[EMAIL PROTECTED]:Table" columns="foo,bar,baz"
> >   source="ognl:myCollectionOfValues" row="ognl:currRow">
> >
> >  <span jwcid="[EMAIL PROTECTED]">
> >    <label><input type="checkbox" jwcid="@Checkbox"
> >  selected="ognl:currRow.baz" /> Baz</label>
> >  </span>
> >
> > </table>
> >
> > Maybe this will work for you.
> >
> > Cheers
> > mc
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



FOCUS Computing - web design
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.9/416 - Release Date: 10/08/2006


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to