Open eclipse-faces-bot opened 13 years ago
@glassfishrobot Commented Reported by @edburns
@glassfishrobot Commented
lamine_ba said:
One solution of this problem could be to attach to the
1) The current index 2) The current Object 3) the current UI representation of the current object
@glassfishrobot Commented
lamine_ba said:
JB> Yes to all of the above. As proposed in the JIRA item I think the ability to call a method on the
public void handleRepeatItem(Object currentObjectFromCollection, UIComponent currentContainerHoldingChildComponents)
MLB> Thus you can programmaticaly create an UI representation for your object and attach this representation to its UI container (Builder Pattern). From a programmer perspective, I can only appreciate this solution which is really scalable at the condition you don't keep the UI reference (UIComponent currentContainerHoldingChildComponents). Once we have this feature, I bet that any programmer will say " Oh! I love it so much. I have now the freedom to do whatever I want" and I bet that any web designer will say " Oh! I hate it so much. I can't program and I can't help. Who can save a wretch like me? "
@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
@glassfishrobot Commented @manfredriem said: Setting priority to Minor
@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-989
JB> 3) programmatically manipulation of an item in a displayed list - JB> The is ok, but ASP.NET ups the ante once again by
JB> letting you raise a method on the backing class to easily manipulate
JB> the child components for the current row
JB> Example tag
JB> <asp:Repeater ID="rptEvents" runat="server" JB> OnItemDataBound="handleRepeaterRow" >
JB> .... child components here
JB> </ asp:Repeater>
JB> Corresponding method on the backing class
JB> protected void handleRepeaterRow(object sender, JB> System.Web.UI.WebControls.RepeaterItemEventArgs e)
JB> this is REALLY powerful as it provides an excellent way to solve JB> issue #2 plus a whole lot more
Affected Versions
[1.1, 1.2, 2.0, 2.1]