Re: struts 2 jsf plugin problem

2008-03-25 Thread Daniel
I have done that. Every time i get this error. I have no idea why this is
thrown, and i don't know what he wants. Is there no librabry loaded for
parsing the jsf page? I have no idea.

On Mon, Mar 24, 2008 at 4:03 PM, Randy Burgess <[EMAIL PROTECTED]> wrote:

> I would take everything out of your JSF page and then start adding things
> in
> one by one until you find what is causing the missing the property editor
> error.
>
> Regards,
> Randy Burgess
> Sr. Web Applications Developer
> Nuvox Communications
>
>
>
> > From: Daniel <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List 
> > Date: Sat, 22 Mar 2008 22:53:09 +0200
> > To: Struts Users Mailing List 
> > Subject: Re: struts 2 jsf plugin problem
> >
> > At first i have tried to make the portlet only with JSF. Unfortunately
> > Weblogic has some problems , many problems, it's the first time when i
> use
> > weblogic and it's not worthing it's money. After i failed making the
> portlet
> > with pure JSF i said to make a try with struts 2 and jsf plugin. Using
> this
> > method i have reached far than using pure JSF. I will try more to see if
> > there is any hope with this solution.
> >
> > On Fri, Mar 21, 2008 at 5:55 PM, Nils-Helge Garli Hegvik <
> [EMAIL PROTECTED]>
> > wrote:
> >
> >> Sorry, no clue. As I said, I have no idea if this combination will
> >> work at all. Maybe someone with JSF experience can point out what's
> >> wrong. At least it looks like the portlet dispatcher has been able to
> >> execute the action, but it's failing with the JSF result.
> >>
> >> You might want to consider creating your portlet with either JSF or
> >> Struts 2 instead of combining them both.
> >>
> >> Nils-H
> >>
> >> On Fri, Mar 21, 2008 at 1:55 PM, Daniel <[EMAIL PROTECTED]> wrote:
> >>> I've done what you have said, unfortunately without results.  I still
> >>>  receive  index.jsp:16:26: No property editor found for the bean "
> >>>  javax.el.ValueExpression".
> >>>
> >>>  Any other ideas?
> >>>
> >>>
> >>>  On Thu, Mar 20, 2008 at 12:43 PM, Nils-Helge Garli Hegvik <
> >> [EMAIL PROTECTED]>
> >>>  wrote:
> >>>
> >>>
> >>>
> >>>> First of all, I'm not even sure if it's possible to use the portlet
> >>>> and the jsf plugin at the same time. I have not tried, but there
> >> might
> >>>> be issues with it if they try to do conflicting things in the
> >>>> interceptors and the results.
> >>>>
> >>>>>  struts.xml
> >>>>>
> >>>>>   >>>> namespace="/view">
> >>>>>
> >>>>> 
> >>>>> 
> >>>>> 
> >>>>> 
> >>>>> /WEB-INF/jsp/view/index.jsp
> >>>>> 
> >>>>> 
> >>>>>
> >>>>
> >>>> A couple of things here. You're extending portlet-jsf-default, which
> >>>> still has the jsfStack as the default interceptor ref. Since you have
> >>>> defined a "jsf" package that extends "portlet-jsf-default", you
> >> should
> >>>> probably extend the "jsf" package instead. However, it's probably
> >> just
> >>>> as easy configuring the correct interceptor stack and default
> >>>> interceptor ref right there in the "portlet-jsf-default" package. In
> >>>> addition, you're overriding the default interceptor stack in your
> >>>> action definition, so it's not really using the portletDefaultStack,
> >>>> even if you had configured your default interceptor stack correctly.
> >>>> Unless you need to use different interceptors in your action, there's
> >>>> no need configuring those interceptor-refs there.
> >>>>
> >>>> You could also try swapping the order of the portletDefaultStack and
> >>>> the jsfStack and see if that makes a difference.
> >>>>
> >>>> Nils-H
> >>>>
> >>>
> >>>
> >>>> -
> >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
>
>
>
> This email and any attachments ("Message") may contain legally privileged
> and/or confidential information.  If you are not the addressee, or if this
> Message has been addressed to you in error, you are not authorized to read,
> copy, or distribute it, and we ask that you please delete it (including all
> copies) and notify the sender by return email.  Delivery of this Message to
> any person other than the intended recipient(s) shall not be deemed a waiver
> of confidentiality and/or a privilege.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: struts 2 jsf plugin problem

2008-03-24 Thread Randy Burgess
I would take everything out of your JSF page and then start adding things in
one by one until you find what is causing the missing the property editor
error.

Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications



> From: Daniel <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List 
> Date: Sat, 22 Mar 2008 22:53:09 +0200
> To: Struts Users Mailing List 
> Subject: Re: struts 2 jsf plugin problem
> 
> At first i have tried to make the portlet only with JSF. Unfortunately
> Weblogic has some problems , many problems, it's the first time when i use
> weblogic and it's not worthing it's money. After i failed making the portlet
> with pure JSF i said to make a try with struts 2 and jsf plugin. Using this
> method i have reached far than using pure JSF. I will try more to see if
> there is any hope with this solution.
> 
> On Fri, Mar 21, 2008 at 5:55 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>
> wrote:
> 
>> Sorry, no clue. As I said, I have no idea if this combination will
>> work at all. Maybe someone with JSF experience can point out what's
>> wrong. At least it looks like the portlet dispatcher has been able to
>> execute the action, but it's failing with the JSF result.
>> 
>> You might want to consider creating your portlet with either JSF or
>> Struts 2 instead of combining them both.
>> 
>> Nils-H
>> 
>> On Fri, Mar 21, 2008 at 1:55 PM, Daniel <[EMAIL PROTECTED]> wrote:
>>> I've done what you have said, unfortunately without results.  I still
>>>  receive  index.jsp:16:26: No property editor found for the bean "
>>>  javax.el.ValueExpression".
>>> 
>>>  Any other ideas?
>>> 
>>> 
>>>  On Thu, Mar 20, 2008 at 12:43 PM, Nils-Helge Garli Hegvik <
>> [EMAIL PROTECTED]>
>>>  wrote:
>>> 
>>> 
>>> 
>>>> First of all, I'm not even sure if it's possible to use the portlet
>>>> and the jsf plugin at the same time. I have not tried, but there
>> might
>>>> be issues with it if they try to do conflicting things in the
>>>> interceptors and the results.
>>>> 
>>>>>  struts.xml
>>>>> 
>>>>>  >>> namespace="/view">
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> /WEB-INF/jsp/view/index.jsp
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> A couple of things here. You're extending portlet-jsf-default, which
>>>> still has the jsfStack as the default interceptor ref. Since you have
>>>> defined a "jsf" package that extends "portlet-jsf-default", you
>> should
>>>> probably extend the "jsf" package instead. However, it's probably
>> just
>>>> as easy configuring the correct interceptor stack and default
>>>> interceptor ref right there in the "portlet-jsf-default" package. In
>>>> addition, you're overriding the default interceptor stack in your
>>>> action definition, so it's not really using the portletDefaultStack,
>>>> even if you had configured your default interceptor stack correctly.
>>>> Unless you need to use different interceptors in your action, there's
>>>> no need configuring those interceptor-refs there.
>>>> 
>>>> You could also try swapping the order of the portletDefaultStack and
>>>> the jsfStack and see if that makes a difference.
>>>> 
>>>> Nils-H
>>>> 
>>> 
>>> 
>>>> -
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> 
>>>> 
>>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 



This email and any attachments ("Message") may contain legally privileged 
and/or confidential information.  If you are not the addressee, or if this 
Message has been addressed to you in error, you are not authorized to read, 
copy, or distribute it, and we ask that you please delete it (including all 
copies) and notify the sender by return email.  Delivery of this Message to any 
person other than the intended recipient(s) shall not be deemed a waiver of 
confidentiality and/or a privilege.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts 2 jsf plugin problem

2008-03-22 Thread Daniel
At first i have tried to make the portlet only with JSF. Unfortunately
Weblogic has some problems , many problems, it's the first time when i use
weblogic and it's not worthing it's money. After i failed making the portlet
with pure JSF i said to make a try with struts 2 and jsf plugin. Using this
method i have reached far than using pure JSF. I will try more to see if
there is any hope with this solution.

On Fri, Mar 21, 2008 at 5:55 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>
wrote:

> Sorry, no clue. As I said, I have no idea if this combination will
> work at all. Maybe someone with JSF experience can point out what's
> wrong. At least it looks like the portlet dispatcher has been able to
> execute the action, but it's failing with the JSF result.
>
> You might want to consider creating your portlet with either JSF or
> Struts 2 instead of combining them both.
>
> Nils-H
>
> On Fri, Mar 21, 2008 at 1:55 PM, Daniel <[EMAIL PROTECTED]> wrote:
> > I've done what you have said, unfortunately without results.  I still
> >  receive  index.jsp:16:26: No property editor found for the bean "
> >  javax.el.ValueExpression".
> >
> >  Any other ideas?
> >
> >
> >  On Thu, Mar 20, 2008 at 12:43 PM, Nils-Helge Garli Hegvik <
> [EMAIL PROTECTED]>
> >  wrote:
> >
> >
> >
> > > First of all, I'm not even sure if it's possible to use the portlet
> >  > and the jsf plugin at the same time. I have not tried, but there
> might
> >  > be issues with it if they try to do conflicting things in the
> >  > interceptors and the results.
> >  >
> >  > >  struts.xml
> >  > >
> >  > >   >  > namespace="/view">
> >  > >
> >  > > 
> >  > > 
> >  > > 
> >  > > 
> >  > > /WEB-INF/jsp/view/index.jsp
> >  > > 
> >  > > 
> >  > >
> >  >
> >  > A couple of things here. You're extending portlet-jsf-default, which
> >  > still has the jsfStack as the default interceptor ref. Since you have
> >  > defined a "jsf" package that extends "portlet-jsf-default", you
> should
> >  > probably extend the "jsf" package instead. However, it's probably
> just
> >  > as easy configuring the correct interceptor stack and default
> >  > interceptor ref right there in the "portlet-jsf-default" package. In
> >  > addition, you're overriding the default interceptor stack in your
> >  > action definition, so it's not really using the portletDefaultStack,
> >  > even if you had configured your default interceptor stack correctly.
> >  > Unless you need to use different interceptors in your action, there's
> >  > no need configuring those interceptor-refs there.
> >  >
> >  > You could also try swapping the order of the portletDefaultStack and
> >  > the jsfStack and see if that makes a difference.
> >  >
> >  > Nils-H
> >  >
> >
> >
> > > -
> >  > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  > For additional commands, e-mail: [EMAIL PROTECTED]
> >  >
> >  >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: struts 2 jsf plugin problem

2008-03-21 Thread Nils-Helge Garli Hegvik
Sorry, no clue. As I said, I have no idea if this combination will
work at all. Maybe someone with JSF experience can point out what's
wrong. At least it looks like the portlet dispatcher has been able to
execute the action, but it's failing with the JSF result.

You might want to consider creating your portlet with either JSF or
Struts 2 instead of combining them both.

Nils-H

On Fri, Mar 21, 2008 at 1:55 PM, Daniel <[EMAIL PROTECTED]> wrote:
> I've done what you have said, unfortunately without results.  I still
>  receive  index.jsp:16:26: No property editor found for the bean "
>  javax.el.ValueExpression".
>
>  Any other ideas?
>
>
>  On Thu, Mar 20, 2008 at 12:43 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>
>  wrote:
>
>
>
> > First of all, I'm not even sure if it's possible to use the portlet
>  > and the jsf plugin at the same time. I have not tried, but there might
>  > be issues with it if they try to do conflicting things in the
>  > interceptors and the results.
>  >
>  > >  struts.xml
>  > >
>  > >> namespace="/view">
>  > >
>  > > 
>  > > 
>  > > 
>  > > 
>  > > /WEB-INF/jsp/view/index.jsp
>  > > 
>  > > 
>  > >
>  >
>  > A couple of things here. You're extending portlet-jsf-default, which
>  > still has the jsfStack as the default interceptor ref. Since you have
>  > defined a "jsf" package that extends "portlet-jsf-default", you should
>  > probably extend the "jsf" package instead. However, it's probably just
>  > as easy configuring the correct interceptor stack and default
>  > interceptor ref right there in the "portlet-jsf-default" package. In
>  > addition, you're overriding the default interceptor stack in your
>  > action definition, so it's not really using the portletDefaultStack,
>  > even if you had configured your default interceptor stack correctly.
>  > Unless you need to use different interceptors in your action, there's
>  > no need configuring those interceptor-refs there.
>  >
>  > You could also try swapping the order of the portletDefaultStack and
>  > the jsfStack and see if that makes a difference.
>  >
>  > Nils-H
>  >
>
>
> > -
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts 2 jsf plugin problem

2008-03-21 Thread Daniel
I've done what you have said, unfortunately without results.  I still
receive  index.jsp:16:26: No property editor found for the bean "
javax.el.ValueExpression".

Any other ideas?

On Thu, Mar 20, 2008 at 12:43 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>
wrote:

> First of all, I'm not even sure if it's possible to use the portlet
> and the jsf plugin at the same time. I have not tried, but there might
> be issues with it if they try to do conflicting things in the
> interceptors and the results.
>
> >  struts.xml
> >
> >   namespace="/view">
> >
> > 
> > 
> > 
> > 
> > /WEB-INF/jsp/view/index.jsp
> > 
> > 
> >
>
> A couple of things here. You're extending portlet-jsf-default, which
> still has the jsfStack as the default interceptor ref. Since you have
> defined a "jsf" package that extends "portlet-jsf-default", you should
> probably extend the "jsf" package instead. However, it's probably just
> as easy configuring the correct interceptor stack and default
> interceptor ref right there in the "portlet-jsf-default" package. In
> addition, you're overriding the default interceptor stack in your
> action definition, so it's not really using the portletDefaultStack,
> even if you had configured your default interceptor stack correctly.
> Unless you need to use different interceptors in your action, there's
> no need configuring those interceptor-refs there.
>
> You could also try swapping the order of the portletDefaultStack and
> the jsfStack and see if that makes a difference.
>
> Nils-H
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: struts 2 jsf plugin problem

2008-03-20 Thread Daniel
I have changed the myfaces lib with jsf lib.

Now i am getting the error :

javax.portlet.PortletException
at com.bea.portlet.container.PortletRequestDispatcherImpl.include(
PortletRequestDispatcherImpl.java:143)
at org.apache.struts2.portlet.result.PortletResult.executeRenderResult(
PortletResult.java:200)
at org.apache.struts2.portlet.result.PortletResult.doExecute(
PortletResult.java:91)
at org.apache.struts2.dispatcher.StrutsResultSupport.execute(
StrutsResultSupport.java:185)
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(
DefaultActionInvocation.java:355)
Truncated. see log file for complete stacktrace
javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException:
Failed to compile JSP /WEB-INF/jsp/view/index.jsp

index.jsp:16:26: No property editor found for the bean "
javax.el.ValueExpression".

-
index.jsp:17:29: No property editor found for the bean "
javax.el.ValueExpression".


index.jsp:22:26: No property editor found for the bean "
javax.el.ValueExpression".



at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java
:247)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(
ServletStubImpl.java:391)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java
:309)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java
:42)
Truncated. see log file for complete stacktrace
weblogic.servlet.jsp.CompilationException: Failed to compile JSP
/WEB-INF/jsp/view/index.jsp
index.jsp:16:26: No property editor found for the bean "
javax.el.ValueExpression".

-
index.jsp:17:29: No property editor found for the bean "
javax.el.ValueExpression".


index.jsp:22:26: No property editor found for the bean "
javax.el.ValueExpression".



at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java
:296)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java
:235)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(
ServletStubImpl.java:391)
Truncated. see log file for complete stacktrace


This message is thrown after my action method is called (execute).

My JSP file :

<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"; %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"; %>





JSF Integration Examples




Modify Employee



















On Thu, Mar 20, 2008 at 12:43 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>
wrote:

> First of all, I'm not even sure if it's possible to use the portlet
> and the jsf plugin at the same time. I have not tried, but there might
> be issues with it if they try to do conflicting things in the
> interceptors and the results.
>
> >  struts.xml
> >
> >   namespace="/view">
> >
> > 
> > 
> > 
> > 
> > /WEB-INF/jsp/view/index.jsp
> > 
> > 
> >
>
> A couple of things here. You're extending portlet-jsf-default, which
> still has the jsfStack as the default interceptor ref. Since you have
> defined a "jsf" package that extends "portlet-jsf-default", you should
> probably extend the "jsf" package instead. However, it's probably just
> as easy configuring the correct interceptor stack and default
> interceptor ref right there in the "portlet-jsf-default" package. In
> addition, you're overriding the default interceptor stack in your
> action definition, so it's not really using the portletDefaultStack,
> even if you had configured your default interceptor stack correctly.
> Unless you need to use different interceptors in your action, there's
> no need configuring those interceptor-refs there.
>
> You could also try swapping the order of the portletDefaultStack and
> the jsfStack and see if that makes a difference.
>
> Nils-H
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: struts 2 jsf plugin problem

2008-03-20 Thread Nils-Helge Garli Hegvik
First of all, I'm not even sure if it's possible to use the portlet
and the jsf plugin at the same time. I have not tried, but there might
be issues with it if they try to do conflicting things in the
interceptors and the results.

>  struts.xml
>
>  
>
> 
> 
> 
> 
> /WEB-INF/jsp/view/index.jsp
> 
> 
>

A couple of things here. You're extending portlet-jsf-default, which
still has the jsfStack as the default interceptor ref. Since you have
defined a "jsf" package that extends "portlet-jsf-default", you should
probably extend the "jsf" package instead. However, it's probably just
as easy configuring the correct interceptor stack and default
interceptor ref right there in the "portlet-jsf-default" package. In
addition, you're overriding the default interceptor stack in your
action definition, so it's not really using the portletDefaultStack,
even if you had configured your default interceptor stack correctly.
Unless you need to use different interceptors in your action, there's
no need configuring those interceptor-refs there.

You could also try swapping the order of the portletDefaultStack and
the jsfStack and see if that makes a difference.

Nils-H

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts 2 jsf plugin problem

2008-03-20 Thread Daniel
Ok i've done something like this :

struts-jsf.xml

http://struts.apache.org/dtds/struts-2.0.dtd";>

















org.apache.struts2.jsf.StrutsVariableResolver


org.apache.struts2.jsf.StrutsNavigationHandler

























/WEB-INF/jsp/index.jsp








struts.xml






/WEB-INF/jsp/view/index.jsp




I am getting the nullpointerexception error now :


<20.03.2008 10:33:15 EET>  <
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher>  


On Wed, Mar 19, 2008 at 5:36 PM, Randy Burgess <[EMAIL PROTECTED]> wrote:

> It seems to me that you will need to create an interceptor stack that has
> both portlet support and jsf support. Even though your package extends
> struts-portlet-default the action in question does not since you have
> defined interceptors specifically for the action.
>
> Regards,
> Randy Burgess
> Sr. Web Applications Developer
> Nuvox Communications
>
>
>
> > From: Daniel <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List 
> > Date: Wed, 19 Mar 2008 17:29:25 +0200
> > To: Struts Users Mailing List 
> > Subject: Re: struts 2 jsf plugin problem
> >
> > My last attempt was like this :
> >
> >  namespace="/view">
> > 
> > 
> > 
> >  > type="jsf">/WEB-INF/jsp/view/index.jsp
> >  
> > 
> >
> > This didn't worked either. I have no problems when i am using pure
> struts 2
> > portlet support. I have problems when i try to integrate the JSF plugin
> > support. When i am using only the portlet support without any other
> plugins
> > the portlet is shown.
> >
> > On Wed, Mar 19, 2008 at 5:05 PM, Randy Burgess <[EMAIL PROTECTED]>
> wrote:
> >
> >> The problem is with line 10 starting somewhere around character 64.
> This
> >> doesn't look good to me:
> >>
> >> 
> >>> 
> >>> 
> >>> 
> >>> index
> >>
> >> The result named index redirects back to the same action, a potential
> >> circular reference. You also have removed the struts-portlet-default
> >> interceptors from this action by specifying the interceptors
> specifically
> >> *for* this action.
> >>
> >> See the portlet tutorial at
> >> http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html.
> >>
> >> Regards,
> >> Randy Burgess
> >> Sr. Web Applications Developer
> >> Nuvox Communications
> >>
> >>
> >>
> >>> From: Daniel Posirca <[EMAIL PROTECTED]>
> >>> Reply-To: Struts Users Mailing List 
> >>> Date: Wed, 19 Mar 2008 16:11:17 +0200
> >>> To: 
> >>> Subject: struts 2 jsf plugin problem
> >>>
> >>> Hello, i am new to this list. I am trying to develop an application
> >> based on
> >>> struts 2 + jsf plugin + portlet. I am using struts 2 support for
> >> portlet. As
> >>> appl server i am using weblogic.
> >>> Now i have reached a point were i am getting an error, but i have no
> >> idea
> >>> how to pass it. I have managed to make the portlet working in weblogic
> >> but
> >>> when a try to add the jsf support i get stuck. Here are my files :
> >>>
> >>> web.xml
> >>>
> >>> 
> >>>  Application
> >> 2.3
> >>> //EN"
> >>> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> >>> 
> >>> 
> >>> 
> >>> faces
> >>> javax.faces.webapp.FacesServlet
> >>> 1
> >>> 
> >>> 
> >>> JspSupportServlet
> >>> org.apache.struts2.views.JspSupportServlet
> >>> 
> >>> 1
> >>> 
> >>>
> >>>
> >>> 
> >&g

Re: struts 2 jsf plugin problem

2008-03-19 Thread Randy Burgess
It seems to me that you will need to create an interceptor stack that has
both portlet support and jsf support. Even though your package extends
struts-portlet-default the action in question does not since you have
defined interceptors specifically for the action.

Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications



> From: Daniel <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List 
> Date: Wed, 19 Mar 2008 17:29:25 +0200
> To: Struts Users Mailing List 
> Subject: Re: struts 2 jsf plugin problem
> 
> My last attempt was like this :
> 
> 
> 
> 
> 
>  type="jsf">/WEB-INF/jsp/view/index.jsp
>  
> 
> 
> This didn't worked either. I have no problems when i am using pure struts 2
> portlet support. I have problems when i try to integrate the JSF plugin
> support. When i am using only the portlet support without any other plugins
> the portlet is shown.
> 
> On Wed, Mar 19, 2008 at 5:05 PM, Randy Burgess <[EMAIL PROTECTED]> wrote:
> 
>> The problem is with line 10 starting somewhere around character 64. This
>> doesn't look good to me:
>> 
>> 
>>> 
>>> 
>>> 
>>> index
>> 
>> The result named index redirects back to the same action, a potential
>> circular reference. You also have removed the struts-portlet-default
>> interceptors from this action by specifying the interceptors specifically
>> *for* this action.
>> 
>> See the portlet tutorial at
>> http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html.
>> 
>> Regards,
>> Randy Burgess
>> Sr. Web Applications Developer
>> Nuvox Communications
>> 
>> 
>> 
>>> From: Daniel Posirca <[EMAIL PROTECTED]>
>>> Reply-To: Struts Users Mailing List 
>>> Date: Wed, 19 Mar 2008 16:11:17 +0200
>>> To: 
>>> Subject: struts 2 jsf plugin problem
>>> 
>>> Hello, i am new to this list. I am trying to develop an application
>> based on
>>> struts 2 + jsf plugin + portlet. I am using struts 2 support for
>> portlet. As
>>> appl server i am using weblogic.
>>> Now i have reached a point were i am getting an error, but i have no
>> idea
>>> how to pass it. I have managed to make the portlet working in weblogic
>> but
>>> when a try to add the jsf support i get stuck. Here are my files :
>>> 
>>> web.xml
>>> 
>>> 
>>> > 2.3
>>> //EN"
>>> "http://java.sun.com/dtd/web-app_2_3.dtd";>
>>> 
>>> 
>>> 
>>> faces
>>> javax.faces.webapp.FacesServlet
>>> 1
>>> 
>>> 
>>> JspSupportServlet
>>> org.apache.struts2.views.JspSupportServlet
>>> 
>>> 1
>>> 
>>> 
>>> 
>>> 
>>> 
>>> faces
>>> *.action
>>> 
>>> 
>>> 
>>> 
>>> portlet.xml
>>> 
>>> 
>>> 
>>> >> version="1.0"
>>> xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>> xsi:schemaLocation="
>>> http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
>>> http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
>>> id="bookmark-portlet">
>>> 
>>> 
>>> Simple hello world portlet
>>> StrutsDocumentPortlet
>>> StrutsDocumentPortlet
>>> 
>>> 
>>> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher
>>> 
>>> 
>>> 
>>> viewNamespace
>>> /view
>>> 
>>> 
>>>  
>>> 
>>> defaultViewAction
>>> index
>>> 
>>> 
>>> 
>>> 
>>> editNamespace
>>> /edit
>>> 
>>> 
>>>  
>>> 
>>> defaultEditAction
>>> index!input
>>> 
>>> 
>>> 0
>>> 
>>> 
>>> text/html
>>> view
>>> edit
>>&g

Re: struts 2 jsf plugin problem

2008-03-19 Thread Daniel
My last attempt was like this :





/WEB-INF/jsp/view/index.jsp
 


This didn't worked either. I have no problems when i am using pure struts 2
portlet support. I have problems when i try to integrate the JSF plugin
support. When i am using only the portlet support without any other plugins
the portlet is shown.

On Wed, Mar 19, 2008 at 5:05 PM, Randy Burgess <[EMAIL PROTECTED]> wrote:

> The problem is with line 10 starting somewhere around character 64. This
> doesn't look good to me:
>
> 
> > 
> > 
> > 
> > index
>
> The result named index redirects back to the same action, a potential
> circular reference. You also have removed the struts-portlet-default
> interceptors from this action by specifying the interceptors specifically
> *for* this action.
>
> See the portlet tutorial at
> http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html.
>
> Regards,
> Randy Burgess
> Sr. Web Applications Developer
> Nuvox Communications
>
>
>
> > From: Daniel Posirca <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List 
> > Date: Wed, 19 Mar 2008 16:11:17 +0200
> > To: 
> > Subject: struts 2 jsf plugin problem
> >
> > Hello, i am new to this list. I am trying to develop an application
> based on
> > struts 2 + jsf plugin + portlet. I am using struts 2 support for
> portlet. As
> > appl server i am using weblogic.
> > Now i have reached a point were i am getting an error, but i have no
> idea
> > how to pass it. I have managed to make the portlet working in weblogic
> but
> > when a try to add the jsf support i get stuck. Here are my files :
> >
> > web.xml
> >
> > 
> >  2.3
> > //EN"
> > "http://java.sun.com/dtd/web-app_2_3.dtd";>
> > 
> > 
> > 
> > faces
> > javax.faces.webapp.FacesServlet
> > 1
> > 
> > 
> > JspSupportServlet
> > org.apache.struts2.views.JspSupportServlet
> > 
> > 1
> > 
> >
> >
> > 
> > 
> > faces
> > *.action
> > 
> >
> > 
> >
> > portlet.xml
> >
> > 
> >
> >  > version="1.0"
> > xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:schemaLocation="
> > http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
> > http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
> > id="bookmark-portlet">
> >
> > 
> > Simple hello world portlet
> > StrutsDocumentPortlet
> > StrutsDocumentPortlet
> >
> > 
> > org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher
> >
> > 
> > 
> > viewNamespace
> > /view
> > 
> >
> >  
> > 
> > defaultViewAction
> > index
> > 
> >
> > 
> > 
> > editNamespace
> > /edit
> > 
> >
> >  
> > 
> > defaultEditAction
> > index!input
> > 
> >
> > 0
> >
> > 
> > text/html
> > view
> > edit
> > 
> >
> > 
> >
> > 
> > HelloPortlet
> > HelloPortlet
> > struts 2,portlet,hello,world
> > 
> > 
> >
> > 
> >
> > struts.xml
> >
> > 
> >  > "-//Apache Software Foundation//DTD Struts Configuration 2.0
> //EN"
> > "http://struts.apache.org/dtds/struts-2.0.dtd";>
> >
> > 
> > 
> >  > namespace="/view">
> > 
> > 
> > 
> > 
> > index
> > /WEB-INF/jsp/view/index.jsp
> > 
> > 
> >
> >  namespace="/edit">
> >
> > 
> > 
> > index
> > view
> > 
> > /WEB-INF/jsp/edit/index.jsp
> > 
> > 
> > 
> >
>

Re: struts 2 jsf plugin problem

2008-03-19 Thread Randy Burgess
The problem is with line 10 starting somewhere around character 64. This
doesn't look good to me:


> 
> 
> 
> index

The result named index redirects back to the same action, a potential
circular reference. You also have removed the struts-portlet-default
interceptors from this action by specifying the interceptors specifically
*for* this action.

See the portlet tutorial at
http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html.

Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications



> From: Daniel Posirca <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List 
> Date: Wed, 19 Mar 2008 16:11:17 +0200
> To: 
> Subject: struts 2 jsf plugin problem
> 
> Hello, i am new to this list. I am trying to develop an application based on
> struts 2 + jsf plugin + portlet. I am using struts 2 support for portlet. As
> appl server i am using weblogic.
> Now i have reached a point were i am getting an error, but i have no idea
> how to pass it. I have managed to make the portlet working in weblogic but
> when a try to add the jsf support i get stuck. Here are my files :
> 
> web.xml
> 
> 
>  //EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
> 
> 
> faces
> javax.faces.webapp.FacesServlet
> 1
> 
> 
> JspSupportServlet
> org.apache.struts2.views.JspSupportServlet
> 
> 1
> 
> 
> 
> 
> 
> faces
> *.action
> 
> 
> 
> 
> portlet.xml
> 
> 
> 
>  version="1.0"
> xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="
> http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
> http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
> id="bookmark-portlet">
> 
> 
> Simple hello world portlet
> StrutsDocumentPortlet
> StrutsDocumentPortlet
> 
> 
> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher
> 
> 
> 
> viewNamespace
> /view
> 
> 
>  
> 
> defaultViewAction
> index
> 
> 
> 
> 
> editNamespace
> /edit
> 
> 
>  
> 
> defaultEditAction
> index!input
> 
> 
> 0
> 
> 
> text/html
> view
> edit
> 
> 
> 
> 
> 
> HelloPortlet
> HelloPortlet
> struts 2,portlet,hello,world
> 
> 
> 
> 
> 
> struts.xml
> 
> 
>  "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
> "http://struts.apache.org/dtds/struts-2.0.dtd";>
> 
> 
> 
>  namespace="/view">
> 
> 
> 
> 
> index
> /WEB-INF/jsp/view/index.jsp
> 
> 
> 
> 
> 
> 
> 
> index
> view
> 
> /WEB-INF/jsp/edit/index.jsp
> 
> 
> 
> 
> 
> struts-jsf.xml
> 
>  "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
> "http://struts.apache.org/dtds/struts-2.0.dtd";>
> 
>   
> 
>   
>/>
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
> 
>   
> 
> 
> 
> 
> When i am loading the portlet in browser i get this error (the error is not
> thrown into the weblogic console, i see this error in the portlet window).
> 
> 
> 
> 
> 
> javax.portlet.PortletException
> at 
> com.bea.portlet.container.PortletStub.getPortletInstance(PortletStub.java:645)
> 
> at com.bea.portlet.container.PortletStub.init(PortletStub.java:190)
> at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:637)
> 
> at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireRender(
> JavaPortletContent.java:208)
> at
> com.bea.netuix.servlets.controls.content.JavaPortletContent.renderInternal(
> JavaPortletContent.java:127)
> at com.bea.netuix.servlets.controls.content.JavaPortletContent.beginRender(
> JavaPortletContent.java:83)
> at com.bea.netuix.nf.ControlLifecycle$7.visit(Co

struts 2 jsf plugin problem

2008-03-19 Thread Daniel Posirca
Hello, i am new to this list. I am trying to develop an application based on
struts 2 + jsf plugin + portlet. I am using struts 2 support for portlet. As
appl server i am using weblogic.
Now i have reached a point were i am getting an error, but i have no idea
how to pass it. I have managed to make the portlet working in weblogic but
when a try to add the jsf support i get stuck. Here are my files :

web.xml


http://java.sun.com/dtd/web-app_2_3.dtd";>



faces
javax.faces.webapp.FacesServlet
1


JspSupportServlet
org.apache.struts2.views.JspSupportServlet

1





faces
*.action




portlet.xml



http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
id="bookmark-portlet">


Simple hello world portlet
StrutsDocumentPortlet
StrutsDocumentPortlet


org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher



viewNamespace
/view


 

defaultViewAction
index




editNamespace
/edit


 

defaultEditAction
index!input


0


text/html
view
edit





HelloPortlet
HelloPortlet
struts 2,portlet,hello,world





struts.xml


http://struts.apache.org/dtds/struts-2.0.dtd";>








index
/WEB-INF/jsp/view/index.jsp







index
view

/WEB-INF/jsp/edit/index.jsp





struts-jsf.xml

http://struts.apache.org/dtds/struts-2.0.dtd";>

  

  
  
  


  



  




  




When i am loading the portlet in browser i get this error (the error is not
thrown into the weblogic console, i see this error in the portlet window).





javax.portlet.PortletException
at 
com.bea.portlet.container.PortletStub.getPortletInstance(PortletStub.java:645)

at com.bea.portlet.container.PortletStub.init(PortletStub.java:190)
at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:637)

at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireRender(
JavaPortletContent.java:208)
at
com.bea.netuix.servlets.controls.content.JavaPortletContent.renderInternal(
JavaPortletContent.java:127)
at com.bea.netuix.servlets.controls.content.JavaPortletContent.beginRender(
JavaPortletContent.java:83)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:483)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(
ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(
ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(
ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(
ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(
ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
at com.bea.netuix.servlets.controls.PresentationContext.render(
PresentationContext.java:482)
at 
com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)

at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(
RenderChild.java:62)
at
jsp_servlet._framework._skeletons._portal.__gridlayout._jspService(__gridlayout.java:301)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(
StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)

at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(
ServletStubImpl.java:391)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)

at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(
RequestDispatcherImpl.java:503)
at weblogic.servlet.internal.RequestDispatcherImpl.include(
RequestDispatcherImpl.java:431)
at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(