Hi Madan,
it is currently not possible to do ajax refresh for components inside
of a sheet.
The current algorithm to find and render the requested componenent did
not setup a parent UIData component to the requested rowIndex.
so you will not get the correct values if you use the var attribute of
the sheet.
If you want to update a panel with a value which did not depends on the var
(did not make mutch sense inside a sheet) it should work just by setting the id
of the panel as renderedPartially e.g.:
<tc:attribute name="renderedPartially" value="outPanel "/>
In this case the command(-facet) and the panel needs to be inside the same
NamingContainer (the sheet in this case).
Regards,
Volker
2007/5/17, Madan Narra <[EMAIL PROTECTED]>:
Hi ,
Is there anyway to implement the below said feature...
awaiting for a response eagerly as we were in a urgent with this feature...
Thnx
Regards,
Madan N
On 5/16/07, Madan Narra <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I have a sheet which has an inputText in one of its column and a simple
<tc:out> in another columns.
>
> I need to add a <f:facet name="change"> for all the inputText available in
the sheet.
>
> Based upon the value change in one of the rows in text filed, i need to
update its corresponing <tc:out>
>
> Say the id of the sheet is " search" , now the inputText filed has got "
page:search:0:text " and the panel around tc:out has
"page:search:0:outPanel" for the first row
>
>
> <tc:column label="Text" id="text">
> <tc:in value="#{search.text}" id="p_quantity" width="40"
markup="number">
> <f:validateLength maximum="4"/>
> <f:facet name="change">
> <tc:command action="#{search.status}">
> <tc:attribute name="renderedPartially"
value=":page:search:0:outPanel "/>
> </tc:command>
> </f:facet>
> </tc:in>
> </tc:column>
> <tc:column label="Status" >
> <tc:panel id="outPanel">
> <tc:out value="#{search.statusText}" markup="sheetTxt"/>
> </tc:panel></tc:column>
>
> Was able to send the ajax request and update the panel in the first (0th)
row and show up the status.
>
> But as you can see, i specifid the row number statically..which should not
be the case.
>
> Based upon the value change in the text filed i need to get that value in
the controller and update that particular panel in the row.
>
> How can this be achieved....
>
> Thnx in Advance,
>
> Regards,
>
> Madan N
--
Regards,
Madan N