Hello Tapestry-developers,
I'm new in Tapestry. And i've got a question.
I display table of items and under this table i want to create list of
link to another portions of items
--------------------
| id | name | price|
--------------------
| 1 | Item1 | 10$ |
--------------------
| 2 | Item2 | 20$ |
--------------------
1-20 21-40 41-60
in jwc file a wrote
<component id="loopItemsLink" type="Foreach">
<binding name="source" property-path="countItems"/>
</component>
<component id="itemsLink" type="Direct">
<binding name="listener" property-path="listeners.getItems"/>
<binding name="parameters" property-path="components.loopItemsLink.value"/>
</component>
<component id="insertNumber" type="Insert">
<binding name="value" property-path="components.loopItemsLink.value"/>
</component>
html code
<TABLE border='0' width='100%' cellpadding='0' cellspacing='0'>
<TR>
<span jwcid="loopItemsLink">
<TD class="clear"><a jwcid="itemsLink"><span jwcid="insertNumber"/></a></TD>
</span>
</TR>
</TABLE>
Everything's OK, but i want to disable current portion but if i do
<binding name="disabled" property-path="disablePageLink"/>
theh every links become disable. Could you say how to solve this
problem ?
--
Best regards,
DarkIT mailto:[EMAIL PROTECTED]
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer