You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Döring Markus <Ma...@tcc-products.de> on 2008/07/29 10:18:03 UTC
[Trinidad] DEPRECATED_TRIGGER_SYNTAX
Hi List,
since an upgrade of trinidad (I think from 1.0.3 to 1.0.7, might be an earlier update and I didn't saw the log) I get the following log warning:
10:04:29,671 WARN [RequestContextImpl] DEPRECATED_TRIGGER_SYNTAX
My xhtml code ist he following:
Outer xhtml:
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:trh="http://myfaces.apache.org/trinidad/html" xmlns:c="http://java.sun.com/jstl/core">
<tr:poll id="poll" interval="1000" pollListener="#{table.scroll}" />
<ui:include src="/table.xhtml" />
</ui:composition>
table.xhtml
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:trh="http://myfaces.apache.org/trinidad/html" xmlns:c="http://java.sun.com/jstl/core">
<tr:table rows="20"
value="#{table.model}"
binding="#{table.component}"
var="rowValue"
partialTriggers="poll">
//lots of columns stuff...
</tr:table>
</ui:composition>
There is a lot more stuff involved in this, that's why I have to include the page with the table. But I think this should be everything related to the Log Warning. I've already searched for changes in the change log but didn't found anything. What has changed here and what have I do to use the "new" not deprecated trigger syntax?
Thanks for help.
Regards
Markus Döring
Re: [Trinidad] DEPRECATED_TRIGGER_SYNTAX
Posted by Andrew Robinson <an...@gmail.com>.
Use ::
On Tue, Jul 29, 2008 at 4:43 AM, Döring Markus
<Ma...@tcc-products.de> wrote:
> Hi,
>
> it says:
>
> TRINIDAD-936 changed the partialTrigger syntax so '::' pops out of naming container.
>
> But I don't use '::' at all. What must I change so that the warning don't occure?
>
> Regards
> Markus
>
>
> -----Ursprüngliche Nachricht-----
> Von: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] Im Auftrag von Matthias Wessendorf
> Gesendet: Dienstag, 29. Juli 2008 11:29
> An: MyFaces Discussion
> Betreff: Re: [Trinidad] DEPRECATED_TRIGGER_SYNTAX
>
> Hi Markus,
>
> this is related to a change of the partial Trigger syntax.
>
> See
> http://svn.apache.org/viewvc?rev=628919&view=rev
>
> HTH,
> Matthias
>
> On Tue, Jul 29, 2008 at 10:18 AM, Döring Markus
> <Ma...@tcc-products.de> wrote:
>> Hi List,
>>
>> since an upgrade of trinidad (I think from 1.0.3 to 1.0.7, might be an
>> earlier update and I didn't saw the log) I get the following log warning:
>>
>>
>>
>> 10:04:29,671 WARN [RequestContextImpl] DEPRECATED_TRIGGER_SYNTAX
>>
>>
>>
>> My xhtml code ist he following:
>>
>>
>>
>> Outer xhtml:
>>
>>
>>
>> <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
>> xmlns:h="http://java.sun.com/jsf/html"
>> xmlns:f="http://java.sun.com/jsf/core"
>> xmlns:tr="http://myfaces.apache.org/trinidad"
>> xmlns:trh="http://myfaces.apache.org/trinidad/html"
>> xmlns:c="http://java.sun.com/jstl/core">
>>
>> <tr:poll id="poll" interval="1000" pollListener="#{table.scroll}" />
>>
>> <ui:include src="/table.xhtml" />
>>
>> </ui:composition>
>>
>>
>>
>> table.xhtml
>>
>>
>>
>> <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
>> xmlns:h="http://java.sun.com/jsf/html"
>> xmlns:f="http://java.sun.com/jsf/core"
>> xmlns:tr="http://myfaces.apache.org/trinidad"
>> xmlns:trh="http://myfaces.apache.org/trinidad/html"
>> xmlns:c="http://java.sun.com/jstl/core">
>>
>> <tr:table rows="20"
>>
>> value="#{table.model}"
>>
>> binding="#{table.component}"
>>
>> var="rowValue"
>>
>> partialTriggers="poll">
>>
>>
>>
>> //lots of columns stuff...
>>
>>
>>
>> </tr:table>
>>
>> </ui:composition>
>>
>>
>>
>>
>>
>> There is a lot more stuff involved in this, that's why I have to include the
>> page with the table. But I think this should be everything related to the
>> Log Warning. I've already searched for changes in the change log but didn't
>> found anything. What has changed here and what have I do to use the "new"
>> not deprecated trigger syntax?
>>
>>
>>
>> Thanks for help.
>>
>>
>>
>> Regards
>>
>> Markus Döring
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>
AW: [Trinidad] DEPRECATED_TRIGGER_SYNTAX
Posted by Döring Markus <Ma...@tcc-products.de>.
Hi,
it says:
TRINIDAD-936 changed the partialTrigger syntax so '::' pops out of naming container.
But I don't use '::' at all. What must I change so that the warning don't occure?
Regards
Markus
-----Ursprüngliche Nachricht-----
Von: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] Im Auftrag von Matthias Wessendorf
Gesendet: Dienstag, 29. Juli 2008 11:29
An: MyFaces Discussion
Betreff: Re: [Trinidad] DEPRECATED_TRIGGER_SYNTAX
Hi Markus,
this is related to a change of the partial Trigger syntax.
See
http://svn.apache.org/viewvc?rev=628919&view=rev
HTH,
Matthias
On Tue, Jul 29, 2008 at 10:18 AM, Döring Markus
<Ma...@tcc-products.de> wrote:
> Hi List,
>
> since an upgrade of trinidad (I think from 1.0.3 to 1.0.7, might be an
> earlier update and I didn't saw the log) I get the following log warning:
>
>
>
> 10:04:29,671 WARN [RequestContextImpl] DEPRECATED_TRIGGER_SYNTAX
>
>
>
> My xhtml code ist he following:
>
>
>
> Outer xhtml:
>
>
>
> <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:tr="http://myfaces.apache.org/trinidad"
> xmlns:trh="http://myfaces.apache.org/trinidad/html"
> xmlns:c="http://java.sun.com/jstl/core">
>
> <tr:poll id="poll" interval="1000" pollListener="#{table.scroll}" />
>
> <ui:include src="/table.xhtml" />
>
> </ui:composition>
>
>
>
> table.xhtml
>
>
>
> <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:tr="http://myfaces.apache.org/trinidad"
> xmlns:trh="http://myfaces.apache.org/trinidad/html"
> xmlns:c="http://java.sun.com/jstl/core">
>
> <tr:table rows="20"
>
> value="#{table.model}"
>
> binding="#{table.component}"
>
> var="rowValue"
>
> partialTriggers="poll">
>
>
>
> //lots of columns stuff...
>
>
>
> </tr:table>
>
> </ui:composition>
>
>
>
>
>
> There is a lot more stuff involved in this, that's why I have to include the
> page with the table. But I think this should be everything related to the
> Log Warning. I've already searched for changes in the change log but didn't
> found anything. What has changed here and what have I do to use the "new"
> not deprecated trigger syntax?
>
>
>
> Thanks for help.
>
>
>
> Regards
>
> Markus Döring
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org
Re: [Trinidad] DEPRECATED_TRIGGER_SYNTAX
Posted by Matthias Wessendorf <ma...@apache.org>.
Hi Markus,
this is related to a change of the partial Trigger syntax.
See
http://svn.apache.org/viewvc?rev=628919&view=rev
HTH,
Matthias
On Tue, Jul 29, 2008 at 10:18 AM, Döring Markus
<Ma...@tcc-products.de> wrote:
> Hi List,
>
> since an upgrade of trinidad (I think from 1.0.3 to 1.0.7, might be an
> earlier update and I didn't saw the log) I get the following log warning:
>
>
>
> 10:04:29,671 WARN [RequestContextImpl] DEPRECATED_TRIGGER_SYNTAX
>
>
>
> My xhtml code ist he following:
>
>
>
> Outer xhtml:
>
>
>
> <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:tr="http://myfaces.apache.org/trinidad"
> xmlns:trh="http://myfaces.apache.org/trinidad/html"
> xmlns:c="http://java.sun.com/jstl/core">
>
> <tr:poll id="poll" interval="1000" pollListener="#{table.scroll}" />
>
> <ui:include src="/table.xhtml" />
>
> </ui:composition>
>
>
>
> table.xhtml
>
>
>
> <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:tr="http://myfaces.apache.org/trinidad"
> xmlns:trh="http://myfaces.apache.org/trinidad/html"
> xmlns:c="http://java.sun.com/jstl/core">
>
> <tr:table rows="20"
>
> value="#{table.model}"
>
> binding="#{table.component}"
>
> var="rowValue"
>
> partialTriggers="poll">
>
>
>
> //lots of columns stuff…
>
>
>
> </tr:table>
>
> </ui:composition>
>
>
>
>
>
> There is a lot more stuff involved in this, that's why I have to include the
> page with the table. But I think this should be everything related to the
> Log Warning. I've already searched for changes in the change log but didn't
> found anything. What has changed here and what have I do to use the "new"
> not deprecated trigger syntax?
>
>
>
> Thanks for help.
>
>
>
> Regards
>
> Markus Döring
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org