Re: [Trinidad] PPR table header facet
Not sure this is the same thing but thanks anyway. max.starets wrote: Paul, This bug has been fixed: https://issues.apache.org/jira/browse/TRINIDAD-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Regards, Max Starets Paul Mander wrote: setting the partial triggers to mytable:myselection works fine. Not sure about ::mytable:myselection as I don't have an environment to test at the moment. My query was that I feel uncomfortable exposing my markup to the internal representation of the component's id. It would be nice to be able to reference the real id of the component myselection in such a way that hides the fact that myfaces/trinidad suffixes it with its parent id and :. Andrew Robinson-5 wrote: Try this an let me know how it works: tr:table id=mytable var=row value=#{listBean.items} partialTriggers=::mytable:myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox id=myselection label=Select All autoSubmit=true valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table If that doesn't work try partialTriggers=::mytable:selectRow to try to trigger off of the value change event. -Andrew On 10/26/07, Paul Mander [EMAIL PROTECTED] wrote: I'm trying get get a table to update itself via PPR on the back of an event source from the header facet of a table column. tr:table var=row id=mytable value=#{listBean.items} partialTriggers=myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox label=Select All autoSubmit=true id=myselection valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table The problem appears to be that the real id of the input in the header is mytable:myselection. I can get this working by setting the partial triggers on the table to this value. I am then relying on the way that trinidad/myfaces generates id's for components. Should I be doing this? -- View this message in context: http://www.nabble.com/-Trinidad--PPR-table-header-facet-tf4697400.html#a13427448 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/-Trinidad--PPR-table-header-facet-tf4697400.html#a13524665 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [Trinidad] PPR table header facet
Paul, This bug has been fixed: https://issues.apache.org/jira/browse/TRINIDAD-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Regards, Max Starets Paul Mander wrote: setting the partial triggers to mytable:myselection works fine. Not sure about ::mytable:myselection as I don't have an environment to test at the moment. My query was that I feel uncomfortable exposing my markup to the internal representation of the component's id. It would be nice to be able to reference the real id of the component myselection in such a way that hides the fact that myfaces/trinidad suffixes it with its parent id and :. Andrew Robinson-5 wrote: Try this an let me know how it works: tr:table id=mytable var=row value=#{listBean.items} partialTriggers=::mytable:myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox id=myselection label=Select All autoSubmit=true valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table If that doesn't work try partialTriggers=::mytable:selectRow to try to trigger off of the value change event. -Andrew On 10/26/07, Paul Mander [EMAIL PROTECTED] wrote: I'm trying get get a table to update itself via PPR on the back of an event source from the header facet of a table column. tr:table var=row id=mytable value=#{listBean.items} partialTriggers=myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox label=Select All autoSubmit=true id=myselection valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table The problem appears to be that the real id of the input in the header is mytable:myselection. I can get this working by setting the partial triggers on the table to this value. I am then relying on the way that trinidad/myfaces generates id's for components. Should I be doing this? -- View this message in context: http://www.nabble.com/-Trinidad--PPR-table-header-facet-tf4697400.html#a13427448 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/-Trinidad--PPR-table-header-facet-tf4697400.html#a13516291 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [Trinidad] PPR table header facet
setting the partial triggers to mytable:myselection works fine. Not sure about ::mytable:myselection as I don't have an environment to test at the moment. My query was that I feel uncomfortable exposing my markup to the internal representation of the component's id. It would be nice to be able to reference the real id of the component myselection in such a way that hides the fact that myfaces/trinidad suffixes it with its parent id and :. Andrew Robinson-5 wrote: Try this an let me know how it works: tr:table id=mytable var=row value=#{listBean.items} partialTriggers=::mytable:myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox id=myselection label=Select All autoSubmit=true valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table If that doesn't work try partialTriggers=::mytable:selectRow to try to trigger off of the value change event. -Andrew On 10/26/07, Paul Mander [EMAIL PROTECTED] wrote: I'm trying get get a table to update itself via PPR on the back of an event source from the header facet of a table column. tr:table var=row id=mytable value=#{listBean.items} partialTriggers=myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox label=Select All autoSubmit=true id=myselection valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table The problem appears to be that the real id of the input in the header is mytable:myselection. I can get this working by setting the partial triggers on the table to this value. I am then relying on the way that trinidad/myfaces generates id's for components. Should I be doing this? -- View this message in context: http://www.nabble.com/-Trinidad--PPR-table-header-facet-tf4697400.html#a13427448 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/-Trinidad--PPR-table-header-facet-tf4697400.html#a13463587 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [Trinidad] PPR table header facet
You shouldn't have to use the parent naming container's name, but it is a bug in Trindad that causes this that certain developers do not want to be fixed due to breaking a bunch of current code. We have not decided yet if there is a good answer to this. On 10/29/07, Paul Mander [EMAIL PROTECTED] wrote: setting the partial triggers to mytable:myselection works fine. Not sure about ::mytable:myselection as I don't have an environment to test at the moment. My query was that I feel uncomfortable exposing my markup to the internal representation of the component's id. It would be nice to be able to reference the real id of the component myselection in such a way that hides the fact that myfaces/trinidad suffixes it with its parent id and :. Andrew Robinson-5 wrote: Try this an let me know how it works: tr:table id=mytable var=row value=#{listBean.items} partialTriggers=::mytable:myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox id=myselection label=Select All autoSubmit=true valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table If that doesn't work try partialTriggers=::mytable:selectRow to try to trigger off of the value change event. -Andrew On 10/26/07, Paul Mander [EMAIL PROTECTED] wrote: I'm trying get get a table to update itself via PPR on the back of an event source from the header facet of a table column. tr:table var=row id=mytable value=#{listBean.items} partialTriggers=myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox label=Select All autoSubmit=true id=myselection valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table The problem appears to be that the real id of the input in the header is mytable:myselection. I can get this working by setting the partial triggers on the table to this value. I am then relying on the way that trinidad/myfaces generates id's for components. Should I be doing this? -- View this message in context: http://www.nabble.com/-Trinidad--PPR-table-header-facet-tf4697400.html#a13427448 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/-Trinidad--PPR-table-header-facet-tf4697400.html#a13463587 Sent from the MyFaces - Users mailing list archive at Nabble.com.
[Trinidad] PPR table header facet
I'm trying get get a table to update itself via PPR on the back of an event source from the header facet of a table column. tr:table var=row id=mytable value=#{listBean.items} partialTriggers=myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox label=Select All autoSubmit=true id=myselection valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table The problem appears to be that the real id of the input in the header is mytable:myselection. I can get this working by setting the partial triggers on the table to this value. I am then relying on the way that trinidad/myfaces generates id's for components. Should I be doing this? -- View this message in context: http://www.nabble.com/-Trinidad--PPR-table-header-facet-tf4697400.html#a13427448 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [Trinidad] PPR table header facet
Try this an let me know how it works: tr:table id=mytable var=row value=#{listBean.items} partialTriggers=::mytable:myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox id=myselection label=Select All autoSubmit=true valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table If that doesn't work try partialTriggers=::mytable:selectRow to try to trigger off of the value change event. -Andrew On 10/26/07, Paul Mander [EMAIL PROTECTED] wrote: I'm trying get get a table to update itself via PPR on the back of an event source from the header facet of a table column. tr:table var=row id=mytable value=#{listBean.items} partialTriggers=myselection tr:column f:facet name=header headerText=Select tr:selectBooleanCheckbox label=Select All autoSubmit=true id=myselection valueChangeListener=#{listBean.selectAll} / /f:facet tr:selectBooleanCheckbox id=selectRow value=#{row.select}/ /tr:column /tr:table The problem appears to be that the real id of the input in the header is mytable:myselection. I can get this working by setting the partial triggers on the table to this value. I am then relying on the way that trinidad/myfaces generates id's for components. Should I be doing this? -- View this message in context: http://www.nabble.com/-Trinidad--PPR-table-header-facet-tf4697400.html#a13427448 Sent from the MyFaces - Users mailing list archive at Nabble.com.