You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Manuel Hartl (JIRA)" <de...@myfaces.apache.org> on 2011/05/17 18:37:47 UTC

[jira] [Created] (EXTCDI-186) Trinidad2-support-module

Trinidad2-support-module
------------------------

                 Key: EXTCDI-186
                 URL: https://issues.apache.org/jira/browse/EXTCDI-186
             Project: MyFaces CODI
          Issue Type: New Feature
          Components: Trinidad Support
    Affects Versions: 0.9.5
            Reporter: Manuel Hartl




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Commented] (EXTCDI-186) Trinidad2-support-module

Posted by Manuel Hartl <ha...@flexsecure.de>.
Hi Rudy,

i thought that was clear:

yes i testet with the trinidad compat module. and this gave me an error
because of the functions that werent overriden. so i took the source
code and implemented the functions by delegating it to the wrapped
Renderkit (i do not know if this is enough...).

afterwards there is no more "No RenderingContext" error, but navigating
in our app does not work anymore:

the index.xhtml is displayed, but clicking on any link gives a blank
page (completely blank, no bytes arrive at the browser). it seems that
actions are executed, because when i click on a link on the index.xhtml
(and get a blank page). i can afterwards reload the page (by entering in
the URL adress field of the browser) and get a page again (with
different content - the action was executed).

it seems that navigating (http posts!?) do not work, but HTTP GETs do?!

Regards,
	Manuel.


> Hello Manuel,
> 
> As I wrote in the mail of May 18th, this is what I tested:
> 
> ============================================= (taken from the mail)
> - Took the Trinidad demo example (can be found here [1])
> - Added Weld-Servlet as CDI to the project (as CDI implementer so that I can
> run the demo in Tomcat )
> - Added the CODI DIST package
> 
> When I added the CODI jars, I see also the "No RenderingContext" error.
> 
> To solve this, I added the Trinidad compatibility module (I know, it says
> that it is for JSF 1.2 and Trinidad 1.2, but it also works for the 2.0
> versions)
> 
> And I don't have the issue with the RenderingContext.
> 
> I didn't test with dialogs but since the Trinidad compatibility module makes
> the CODI renderkit wrapper Trinidad compatible, I assume there are no
> issues.
> 
> Can you test your application by adding the Trinidad compatibility module
> and let us know if it solves your problems?
> 
> [1] =
> http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo
> 
> ===============================================(end of quote)
> 
> 
> The Jira issue now has a patch that implements, among others, the methods
> you mention. It should be integrated in the comming days.
> 
> Regards


-- 
Dipl. Inform. Manuel Hartl
Software Architect

FlexSecure GmbH
Industriestr. 12
D - 64297 Darmstadt
Tel: +49 (0) 6151 501 23-18
Fax: +49 (0) 6151 501 23-19

E-Mail: hartl@flexsecure.de
Internet: www.flexsecure.de

Geschäftsführer:
Erwin Stallenberger, Markus Ruppert

Amtsgericht Darmstadt HRB 8036
Umsatzsteuernummer: DE 214745269

Re: [jira] [Commented] (EXTCDI-186) Trinidad2-support-module

Posted by Rudy De Busscher <rd...@gmail.com>.
Hello Manuel,

As I wrote in the mail of May 18th, this is what I tested:

============================================= (taken from the mail)
- Took the Trinidad demo example (can be found here [1])
- Added Weld-Servlet as CDI to the project (as CDI implementer so that I can
run the demo in Tomcat )
- Added the CODI DIST package

When I added the CODI jars, I see also the "No RenderingContext" error.

To solve this, I added the Trinidad compatibility module (I know, it says
that it is for JSF 1.2 and Trinidad 1.2, but it also works for the 2.0
versions)

And I don't have the issue with the RenderingContext.

I didn't test with dialogs but since the Trinidad compatibility module makes
the CODI renderkit wrapper Trinidad compatible, I assume there are no
issues.

Can you test your application by adding the Trinidad compatibility module
and let us know if it solves your problems?

[1] =
http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo

===============================================(end of quote)


The Jira issue now has a patch that implements, among others, the methods
you mention. It should be integrated in the comming days.

Regards
-- 
Rudy De Busscher
http://www.c4j.be


On 9 August 2011 21:44, Manuel Hartl (JIRA) <de...@myfaces.apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/EXTCDI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081871#comment-13081871]
>
> Manuel Hartl commented on EXTCDI-186:
> -------------------------------------
>
> the trinidad1.2 support module of CODI is definitly not enough. there are
> methods not overriden that need to be overwritten to work:
>
>        public void addClientBehaviorRenderer(String type,
>        public ClientBehaviorRenderer getClientBehaviorRenderer(String type)
> {
>        public Iterator<String> getClientBehaviorRendererTypes() {
>
> what did you test to reproduce!?
>
>
> > Trinidad2-support-module
> > ------------------------
> >
> >                 Key: EXTCDI-186
> >                 URL: https://issues.apache.org/jira/browse/EXTCDI-186
> >             Project: MyFaces CODI
> >          Issue Type: New Feature
> >          Components: Trinidad Support
> >    Affects Versions: 0.9.5, 1.0.0
> >            Reporter: Manuel Hartl
> >            Assignee: Rudy De Busscher
> >
>
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>


-- 
Rudy De Busscher
http://www.c4j.be

Re: [jira] [Commented] (EXTCDI-186) Trinidad2-support-module

Posted by Rudy De Busscher <rd...@gmail.com>.
Hello Manuel,

As I wrote in the mail of May 18th, this is what I tested:

============================================= (taken from the mail)
- Took the Trinidad demo example (can be found here [1])
- Added Weld-Servlet as CDI to the project (as CDI implementer so that I can
run the demo in Tomcat )
- Added the CODI DIST package

When I added the CODI jars, I see also the "No RenderingContext" error.

To solve this, I added the Trinidad compatibility module (I know, it says
that it is for JSF 1.2 and Trinidad 1.2, but it also works for the 2.0
versions)

And I don't have the issue with the RenderingContext.

I didn't test with dialogs but since the Trinidad compatibility module makes
the CODI renderkit wrapper Trinidad compatible, I assume there are no
issues.

Can you test your application by adding the Trinidad compatibility module
and let us know if it solves your problems?

[1] =
http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo

===============================================(end of quote)


The Jira issue now has a patch that implements, among others, the methods
you mention. It should be integrated in the comming days.

Regards
-- 
Rudy De Busscher
http://www.c4j.be


On 9 August 2011 21:44, Manuel Hartl (JIRA) <de...@myfaces.apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/EXTCDI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081871#comment-13081871]
>
> Manuel Hartl commented on EXTCDI-186:
> -------------------------------------
>
> the trinidad1.2 support module of CODI is definitly not enough. there are
> methods not overriden that need to be overwritten to work:
>
>        public void addClientBehaviorRenderer(String type,
>        public ClientBehaviorRenderer getClientBehaviorRenderer(String type)
> {
>        public Iterator<String> getClientBehaviorRendererTypes() {
>
> what did you test to reproduce!?
>
>
> > Trinidad2-support-module
> > ------------------------
> >
> >                 Key: EXTCDI-186
> >                 URL: https://issues.apache.org/jira/browse/EXTCDI-186
> >             Project: MyFaces CODI
> >          Issue Type: New Feature
> >          Components: Trinidad Support
> >    Affects Versions: 0.9.5, 1.0.0
> >            Reporter: Manuel Hartl
> >            Assignee: Rudy De Busscher
> >
>
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>


-- 
Rudy De Busscher
http://www.c4j.be

[jira] [Resolved] (EXTCDI-186) Trinidad2-support-module

Posted by "Rudy De Busscher (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTCDI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rudy De Busscher resolved EXTCDI-186.
-------------------------------------

    Resolution: Cannot Reproduce

If you encounter a "No RenderingContext" exception when using CODI in combination with Trinidad 2.0, you can use the trinidad support module of CODI.  Although the support module says, for Trinidad 1.2, it does also the job for the 2.0 version.

> Trinidad2-support-module
> ------------------------
>
>                 Key: EXTCDI-186
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-186
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: Trinidad Support
>    Affects Versions: 0.9.5, 1.0.0
>            Reporter: Manuel Hartl
>            Assignee: Rudy De Busscher
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (EXTCDI-186) Trinidad2-support-module

Posted by "Manuel Hartl (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTCDI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082704#comment-13082704 ] 

Manuel Hartl commented on EXTCDI-186:
-------------------------------------

i already implemented the functions by myself and got rid of the "No renderingcontext" rpoblem, but now i the "blank page" problem -> index.xhtml works, but when i click on any link of my app i get a blank page.


> Trinidad2-support-module
> ------------------------
>
>                 Key: EXTCDI-186
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-186
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: Trinidad Support
>    Affects Versions: 0.9.5, 1.0.0
>            Reporter: Manuel Hartl
>            Assignee: Rudy De Busscher
>         Attachments: EXTCDI-186.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (EXTCDI-186) Trinidad2-support-module

Posted by "Rudy De Busscher (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTCDI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rudy De Busscher reopened EXTCDI-186:
-------------------------------------


There are in total 5 new methods in RenderKit for JSF 2.0 (all non abstract)  The Trinidad 2.0 support module needs to call the wrapped RenderKit.

> Trinidad2-support-module
> ------------------------
>
>                 Key: EXTCDI-186
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-186
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: Trinidad Support
>    Affects Versions: 0.9.5, 1.0.0
>            Reporter: Manuel Hartl
>            Assignee: Rudy De Busscher
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (EXTCDI-186) Trinidad2-support-module

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTCDI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek resolved EXTCDI-186.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.2

> Trinidad2-support-module
> ------------------------
>
>                 Key: EXTCDI-186
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-186
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: Trinidad Support
>    Affects Versions: 0.9.5, 1.0.0
>            Reporter: Manuel Hartl
>            Assignee: Rudy De Busscher
>             Fix For: 1.0.2
>
>         Attachments: EXTCDI-186.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (EXTCDI-186) Trinidad2-support-module

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTCDI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087118#comment-13087118 ] 

Gerhard Petracek commented on EXTCDI-186:
-----------------------------------------

hi manuel,

it would be great if you could provide a small demo app which illustrates the issue.

thx & regards,
gerhard

> Trinidad2-support-module
> ------------------------
>
>                 Key: EXTCDI-186
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-186
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: Trinidad Support
>    Affects Versions: 0.9.5, 1.0.0
>            Reporter: Manuel Hartl
>            Assignee: Rudy De Busscher
>         Attachments: EXTCDI-186.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (EXTCDI-186) Trinidad2-support-module

Posted by "Manuel Hartl (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTCDI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081871#comment-13081871 ] 

Manuel Hartl commented on EXTCDI-186:
-------------------------------------

the trinidad1.2 support module of CODI is definitly not enough. there are methods not overriden that need to be overwritten to work:

	public void addClientBehaviorRenderer(String type,
	public ClientBehaviorRenderer getClientBehaviorRenderer(String type) {
	public Iterator<String> getClientBehaviorRendererTypes() {

what did you test to reproduce!?


> Trinidad2-support-module
> ------------------------
>
>                 Key: EXTCDI-186
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-186
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: Trinidad Support
>    Affects Versions: 0.9.5, 1.0.0
>            Reporter: Manuel Hartl
>            Assignee: Rudy De Busscher
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (EXTCDI-186) Trinidad2-support-module

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTCDI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082618#comment-13082618 ] 

Gerhard Petracek commented on EXTCDI-186:
-----------------------------------------

thx rudy!

@manuel:
it would be great if you can test it with your application.

> Trinidad2-support-module
> ------------------------
>
>                 Key: EXTCDI-186
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-186
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: Trinidad Support
>    Affects Versions: 0.9.5, 1.0.0
>            Reporter: Manuel Hartl
>            Assignee: Rudy De Busscher
>         Attachments: EXTCDI-186.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira