Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

user Digest 20 Mar 2008 08:37:28 -0000 Issue 7938

user-digest-help

2008-03-20


Author LoginPost Reply

user Digest 20 Mar 2008 08:37:28 -0000 Issue 7938

Topics (messages 184484 through 184496):

[OT] Dupe msgs?
 184484 by: Dave Newton
 184485 by: Jeromy Evans
 184486 by: Jeromy Evans
 184487 by: Dave Newton

Re: ModelDriven action with action property
 184488 by: Jeromy Evans

Re: authentication question
 184489 by: Jeromy Evans

<s:fielderrors/> customization
 184490 by: Niral Trivedi
 184491 by: Prajapati Manish Narandas

html:radio in struts
 184492 by: Sonu S
 184495 by: Antonio Petrelli

About tag <bean>
 184493 by: Chen Chunwei
 184494 by: Antonio Petrelli

Re: struts 2 jsf plugin problem
 184496 by: Daniel

Administrivia:

---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)

----------------------------------------------------------------------

Attachment: user_184484.ezm (zipped)
Is anybody else getting a lot of dupes today?

Dave



Attachment: user_184485.ezm (zipped)
Dave Newton wrote:
> Is anybody else getting a lot of dupes today?
>
> Dave
>
>  
Nope

Attachment: user_184486.ezm (zipped)
Dave Newton wrote:
> Is anybody else getting a lot of dupes today?
>
> Dave
>
>
>  
Nope


Attachment: user_184487.ezm (zipped)
:p

--- Jeromy Evans <jeromy.evans@(protected):

> Dave Newton wrote:
> > Is anybody else getting a lot of dupes today?
> >
> > Dave
> >
> >
> >  
> Nope
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>


Attachment: user_184488.ezm (zipped)
Emil.I wrote:
> Hello
> i have a textfield with the name="firstName"
> and a textfield with the name="address.city" etc..
> the action is model driven where firstName is the property of model.
> Since address is a property of action (not property of model)
>
> how come address.city does not get set it doesn't eve go to the setter???
> p.s model properties get set eg. firstName.value etc..
>  

Is it possible that you don't have a getter for address?
OGNL will first check your model for an address property, shouldn't find
it, then checks your action for an address property (and deeper in the
stack).
If you don't have a getter (getAddress()) it can't call the setter
(getAddress().setCity(String)). Also ensure it can instantiate an
address and set it (or that your action has created it)

Other than that I don't see why you can't do what you're attempting.

Hope that helps,
Jeromy Evans

Attachment: user_184489.ezm (zipped)


mojoRising wrote:
> Thanks. That's interesting. I am using Weblogic9.2, and I seem to have no
> problem using the request object in the jsp( for getParameter at least). I
> am wondering what type of request object manipulation, as you are referring
> to, may cause issues?
>
>
>
>  

I don't recall specifics any more, but it resulted in anchors like this:
<a href="/WEB-INF/anotherjsp.jsp"> instead of <a href="/anotherjsp.jsp">
because of the way the path was constructed.

Attachment: user_184490.ezm (zipped)
Hi All,

I am successfully able to use S2 validators using validation.xml file and
also able to display field error messages on the page. But I want to
customize the error messages. For example, by default <s:fielderros/> tag
will put errors using html <ul><li> tags. but instead I want to wrap the
errors in <table><tr><td> tag and put some warning image kind of thing.

Is there anyway to achieve this? If so, how to do that and also, can you
please point me to any websites where I can find such examples?

Thank you.

Attachment: user_184491.ezm (zipped)
Hi Niral,
Go through following url it will be useful for creating ur own templates for
errors.
http://www.vitarara.org/cms/struts_2_cookbook/creating_a_theme

Read it thoroughly it would turn out useful for u.

*Manish*

On 3/20/08, Niral Trivedi <niral22@(protected):
>
> Hi All,
>
> I am successfully able to use S2 validators using validation.xml file and
> also able to display field error messages on the page. But I want to
> customize the error messages. For example, by default <s:fielderros/> tag
> will put errors using html <ul><li> tags. but instead I want to wrap the
> errors in <table><tr><td> tag and put some warning image kind of thing.
>
> Is there anyway to achieve this? If so, how to do that and also, can you
> please point me to any websites where I can find such examples?
>
> Thank you.
>

Attachment: user_184492.ezm (zipped)
Hi,

I have something like this in JSP :

<html:radio property="gender" value="male"/>MALE
<html:radio property="gender" value="female"/>FEMALE

1) i want to know how to make "Male" to be default selected when page is
loaded
2) I would set the value in form bean and on second page i would display
radio buttons to change the value. i would like to know how to make one
radio button selected as per the value set in form bean. I have already set
value in form bean... i have printed on console.. it is showing value but
not selecting in second page.

thank you
Sonu

Attachment: user_184495.ezm (zipped)
2008/3/20, Sonu S <sonu.in@(protected)>:
> Hi,
>
> I have something like this in JSP :
>
> <html:radio property="gender" value="male"/>MALE
> <html:radio property="gender" value="female"/>FEMALE
>
> 1) i want to know how to make "Male" to be default selected when page is
> loaded

Initialize your ActionForm's "gender" property with "male".

> 2) I would set the value in form bean and on second page i would display
> radio buttons to change the value. i would like to know how to make one
> radio button selected as per the value set in form bean. I have already set
> value in form bean... i have printed on console.. it is showing value but
> not selecting in second page.

Use a session-scoped form-bean.

Antonio

Attachment: user_184493.ezm (zipped)
Hi all,

Can tag <bean> fetch the value processed by a specified ActionForm?
For instance, there's an ActionForm named TestActionForm, which has a field defined with "String test". And the corresponding get-method getTest() will add a prefix "p:" to the field test. Supposing the origin value of test is "a", then whether I can use tag <bean> to get the processed value "p:a"? If can, then how?

Talos

Attachment: user_184494.ezm (zipped)
2008/3/20, Chen Chunwei <out-chenchunwei@(protected)>:
> Can tag <bean> fetch the value processed by a specified ActionForm?
> For instance, there's an ActionForm named TestActionForm, which has a field defined with "String test". And the corresponding get-method getTest() will add a prefix "p:" to the field test. Supposing the origin value of test is "a", then whether I can use tag <bean> to get the processed value "p:a"? If can, then how?

I suppose that you are writing about <bean:write>.
Well, you can do it by using:
<bean:write name="formBeanName" property="test" />
"formBeanName" is the name that you declared in your
struts-config.xml, along with the called action.
The "getTest" will get called.

Antonio

P.S.: It seemed too simple to be true. Is it really this what you want?

Attachment: user_184496.ezm (zipped)
Ok i've done something like this :

struts-jsf.xml

<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
  <package name="portlet-jsf-default" extends="struts-portlet-default">

    <result-types>
       <result-type name="jsf"
                class="org.apache.struts2.jsf.FacesResult"/>
    </result-types>
    <interceptors>
       <interceptor
            class="org.apache.struts2.jsf.FacesSetupInterceptor"
name="jsfSetup"
            />
       <interceptor
            class="org.apache.struts2.jsf.RestoreViewInterceptor"
            name="jsfRestore"/>
       <interceptor
            class="
org.apache.struts2.jsf.ApplyRequestValuesInterceptor"
            name="jsfApply"/>
       <interceptor
            class="
org.apache.struts2.jsf.ProcessValidationsInterceptor"
            name="jsfValidate"/>
       <interceptor
            class="
org.apache.struts2.jsf.UpdateModelValuesInterceptor"
            name="jsfUpdate"/>
       <interceptor
            class="
org.apache.struts2.jsf.InvokeApplicationInterceptor"
            name="jsfInvoke"/>

       <interceptor-stack name="jsfStack">
          <interceptor-ref name="jsfSetup">
            <param
                  name="variableResolver">
org.apache.struts2.jsf.StrutsVariableResolver
            </param>
            <param
                  name="navigationHandler">
org.apache.struts2.jsf.StrutsNavigationHandler
            </param>
          </interceptor-ref>
          <interceptor-ref name="jsfRestore"/>
          <interceptor-ref name="jsfApply"/>
          <interceptor-ref name="jsfValidate"/>
          <interceptor-ref name="jsfUpdate"/>
          <interceptor-ref name="jsfInvoke"/>
       </interceptor-stack>
    </interceptors>

    <default-interceptor-ref name="jsfStack"/>

  </package>

  <package name="jsf" namespace="/jsf" extends="portlet-jsf-default">
    <interceptors>
       <interceptor-stack name="jsfFullStack">
          <interceptor-ref name="portletDefaultStack"/>
          <interceptor-ref name="jsfStack"/>
       </interceptor-stack>
    </interceptors>

    <default-interceptor-ref name="jsfFullStack"/>

    <action name="Jsf">
       <result name="success"
            type="jsf">/WEB-INF/jsp/index.jsp
       </result>
    </action>

    <!-- action name="JsfSubmit">
      <result name="success"
  type="jsf">/WEB-INF/pages/hello-form-submit.jsp</result>
    </action -->

  </package>
</struts>

struts.xml

<package name="default" extends="portlet-jsf-default" namespace="/view">
    <action name="index" class="com.mycompany.HelloAction">
       <interceptor-ref name="basicStack"/>
       <interceptor-ref name="jsfStack"/>
       <result name="success" type="jsf"/>
       <result>/WEB-INF/jsp/view/index.jsp</result>
    </action>
  </package>


I am getting the nullpointerexception error now :


<20.03.2008 10:33:15 EET> <Error> <
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher> <BEA-000000> <Could
not execute a
ction
java.lang.NullPointerException
at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java
:920)
at javax.faces.webapp.UIComponentTag.doStartTag (UIComponentTag.java:310)
at org.apache.myfaces.taglib.core.ViewTag.doStartTag (ViewTag.java:70)
at jsp_servlet._web_45_inf._jsp._view.__index._jsp__tag0(__index.java:154)
at jsp_servlet._web_45_inf._jsp._view.__index._jspService(__index.java:121)
Truncated. see log file for complete stacktrace
>


On Wed, Mar 19, 2008 at 5:36 PM, Randy Burgess <RBurgess@(protected):

> 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 <pdaniel2005@(protected)>
> > Reply-To: Struts Users Mailing List <user@(protected)>
> > Date: Wed, 19 Mar 2008 17:29:25 +0200
> > To: Struts Users Mailing List <user@(protected)>
> > Subject: Re: struts 2 jsf plugin problem
> >
> > My last attempt was like this :
> >
> > <package name="default" extends="struts-portlet-default"
> namespace="/view">
> >      <action name="index" class="com.mycompany.HelloAction">
> >         <interceptor-ref name="basicStack"/>
> >         <interceptor-ref name="jsfStack"/>
> >         <result name="success"
> > type="jsf">/WEB-INF/jsp/view/index.jsp</result>
> >       </action>
> >   </package>
> >
> > 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 <RBurgess@(protected)>
> wrote:
> >
> >> The problem is with line 10 starting somewhere around character 64.
> This
> >> doesn't look good to me:
> >>
> >> <action name="index" class="com.mycompany.HelloAction">
> >>>         <interceptor-ref name="basicStack"/>
> >>>         <interceptor-ref name="jsfStack"/>
> >>>         <result name="success" type="jsf"/>
> >>>         <result name="index" type="redirect-action">index</result>
> >>
> >> 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 <pdaniel2005@(protected)>
> >>> Reply-To: Struts Users Mailing List <user@(protected)>
> >>> Date: Wed, 19 Mar 2008 16:11:17 +0200
> >>> To: <user@(protected)>
> >>> 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
> >>>
> >>> <?xml version="1.0" encoding="UTF-8"?>
> >>> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application
> >> 2.3
> >>> //EN"
> >>>      "http://java.sun.com/dtd/web-app_2_3.dtd">
> >>> <web-app id="bookmark-portlet">
> >>>   <!-- JavaServer Faces Servlet Configuration, not used directly -->
> >>>   <servlet>
> >>>      <servlet-name>faces</servlet-name>
> >>>      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
> >>>      <load-on-startup>1</load-on-startup>
> >>>   </servlet>
> >>>   <servlet>
> >>>      <servlet-name>JspSupportServlet</servlet-name>
> >>>      <servlet-class>org.apache.struts2.views.JspSupportServlet
> >>> </servlet-class>
> >>>      <load-on-startup>1</load-on-startup>
> >>>   </servlet>
> >>>
> >>>
> >>>   <!-- JavaServer Faces Servlet Mapping, not called directly -->
> >>>   <servlet-mapping>
> >>>      <servlet-name>faces</servlet-name>
> >>>      <url-pattern>*.action</url-pattern>
> >>>   </servlet-mapping>
> >>>
> >>> </web-app>
> >>>
> >>> portlet.xml
> >>>
> >>> <?xml version="1.0" encoding="UTF-8"?>
> >>>
> >>> <portlet-app
> >>>   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">
> >>>
> >>>   <portlet id="HelloPortlet">
> >>>      <description>Simple hello world portlet</description>
> >>>      <portlet-name>StrutsDocumentPortlet</portlet-name>
> >>>      <display-name>StrutsDocumentPortlet</display-name>
> >>>
> >>>      <portlet-class>
> >>> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher</portlet-class>
> >>>
> >>>      <!-- The namespace for the actions configured for view mode
> -->
> >>>      <init-param>
> >>>         <name>viewNamespace</name>
> >>>         <value>/view</value>
> >>>      </init-param>
> >>>
> >>>       <!-- The default action to invoke in view mode. -->
> >>>      <init-param>
> >>>         <name>defaultViewAction</name>
> >>>         <value>index</value>
> >>>      </init-param>
> >>>
> >>>      <!-- The namespace for the actions configured for edit mode
> -->
> >>>      <init-param>
> >>>         <name>editNamespace</name>
> >>>         <value>/edit</value>
> >>>      </init-param>
> >>>
> >>>       <!-- The default action to invoke in edit mode. -->
> >>>      <init-param>
> >>>         <name>defaultEditAction</name>
> >>>         <value>index!input</value>
> >>>      </init-param>
> >>>
> >>>      <expiration-cache>0</expiration-cache>
> >>>
> >>>      <supports>
> >>>         <mime-type>text/html</mime-type>
> >>>         <portlet-mode>view</portlet-mode>
> >>>         <portlet-mode>edit</portlet-mode>
> >>>      </supports>
> >>>
> >>>      <!--<supported-locale>en</supported-locale>-->
> >>>
> >>>      <portlet-info>
> >>>         <title>HelloPortlet</title>
> >>>         <short-title>HelloPortlet</short-title>
> >>>         <keywords>struts 2,portlet,hello,world</keywords>
> >>>      </portlet-info>
> >>>   </portlet>
> >>>
> >>> </portlet-app>
> >>>
> >>> struts.xml
> >>>
> >>> <?xml version="1.0" encoding="UTF-8" ?>
> >>> <!DOCTYPE struts PUBLIC
> >>>      "-//Apache Software Foundation//DTD Struts Configuration 2.0
> >> //EN"
> >>>      "http://struts.apache.org/dtds/struts-2.0.dtd">
> >>>
> >>> <struts>
> >>>   <include file="struts-jsf.xml"/>
> >>>   <package name="default" extends="struts-portlet-default"
> >>> namespace="/view">
> >>>      <action name="index" class="com.mycompany.HelloAction">
> >>>         <interceptor-ref name="basicStack"/>
> >>>         <interceptor-ref name="jsfStack"/>
> >>>         <result name="success" type="jsf"/>
> >>>         <result name="index" type="redirect-action">index</result>
> >>>         <result>/WEB-INF/jsp/view/index.jsp</result>
> >>>      </action>
> >>>   </package>
> >>>
> >>>   <package name="edit" extends="struts-portlet-default"
> >> namespace="/edit">
> >>>
> >>>      <action name="index" class="com.mycompany.UpdateNameAction">
> >>>         <result type="redirectAction">
> >>>           <param name="actionName">index</param>
> >>>           <param name="portletMode">view</param>
> >>>         </result>
> >>>         <result name="input">/WEB-INF/jsp/edit/index.jsp</result>
> >>>      </action>
> >>>   </package>
> >>> </struts>
> >>>
> >>>
> >>> struts-jsf.xml
> >>>
> >>> <!DOCTYPE struts PUBLIC
> >>>   "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
> >>>   "http://struts.apache.org/dtds/struts-2.0.dtd">
> >>> <struts>
> >>>  <package name="jsf" extends="jsf-default" namespace="/jsf">
> >>>
> >>>     <result-types>
> >>>       <result-type name="jsf" class="
> >> org.apache.struts2.jsf.FacesResult"
> >>> />
> >>>     </result-types>
> >>>
> >>>   <interceptors>
> >>>     <interceptor-stack name="jsfFullStack">
> >>>      <interceptor-ref name="params" />
> >>>      <interceptor-ref name="basicStack"/>
> >>>      <interceptor-ref name="jsfStack"/>
> >>>     </interceptor-stack>
> >>>   </interceptors>
> >>>
> >>>   <default-interceptor-ref name="jsfFullStack"/>
> >>>
> >>>  </package>
> >>>
> >>>
> >>> </struts>
> >>>
> >>> 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(__gridlayo>>
> u
> >>> t.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
> (
> >>> JspTools.java:123)
> >>> at
> >>>
> >>
> >>
>
> com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRend
> >>
> e
> >>>
> >> r
> >>> (JspControlRenderer.java:72)
> >>> at
> >>>
> >>
>
> com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer
> .>>
> b
> >>> eginRender
> >>> (PresentationControlRenderer.java:65)
> >>> at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java
> :479)
> >>> 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.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.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.runOutbound(Lifecycle.java:188)
> >>> at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:142)
> >>> at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(
> >> UIServlet.java:377)
> >>>
> >>> at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java
> :253)
> >>> at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java
> :206)
> >>> at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java
> >> :191)
> >>> at com.bea.netuix.servlets.manager.SingleFileServlet.service(
> >>> SingleFileServlet.java:258)
> >>> at
> >>> com.bea.netuix.servlets.manager.PortalServlet.service(
> PortalServlet.java
> >> :656)
> >>>
> >>> at javax.servlet.http.HttpServlet.service (HttpServlet.java:820)
> >>> 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.TailFilter.doFilter(TailFilter.java:26)
> >>> at
> >>> weblogic.servlet.internal.FilterChainImpl.doFilter(
> FilterChainImpl.java
> >> :42)
> >>>
> >>> at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(
> >>> HttpContextFilter.java:60)
> >>> at
> >>> weblogic.servlet.internal.FilterChainImpl.doFilter(
> FilterChainImpl.java
> >> :42)
> >>>
> >>> at com.bea.p13n.servlets.PortalServletFilter.doFilter(
> >>> PortalServletFilter.java:315)
> >>> at
> >>> weblogic.servlet.internal.FilterChainImpl.doFilter(
> FilterChainImpl.java
> >> :42)
> >>>
> >>> at weblogic.servlet.internal.RequestEventsFilter.doFilter(
> >>> RequestEventsFilter.java:26)
> >>> at
> >>> weblogic.servlet.internal.FilterChainImpl.doFilter(
> FilterChainImpl.java
> >> :42)
> >>>
> >>> at
> >>>
> >>
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
> >> (
> >>> WebAppServletContext.java:3368)
> >>> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(
> >>> AuthenticatedSubject.java:321)
> >>> at weblogic.security.service.SecurityManager.runAs(Unknown Source)
> >>> at weblogic.servlet.internal.WebAppServletContext.securedExecute(
> >>> WebAppServletContext.java:2117)
> >>> at weblogic.servlet.internal.WebAppServletContext.execute(
> >>> WebAppServletContext.java:2023)
> >>> at
> >>> weblogic.servlet.internal.ServletRequestImpl.run(
> ServletRequestImpl.java
> >> :1359)
> >>>
> >>> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
> >>> at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
> >>>
> >>> Caused by: Unable to load configuration. - action -
> >>>
> >>
>
> file:/C:/srv/bea10/user_projects/domains/domain/autodeploy/portal.ear/portal.>>
> w
> >>> ar/WEB-INF/classes/struts.xml:10:64
> >>>
> >>>
> >>> at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration
> >> (
> >>> ConfigurationManager.java:58)
> >>> at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration
> (
> >>> Dispatcher.java:370)
> >>> at org.apache.struts2.dispatcher.Dispatcher.init (Dispatcher.java:423)
> >>> at org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.init(
> >>> Jsr168Dispatcher.java:198)
> >>> at com.bea.portlet.container.PortletStub.getPortletInstance(
> >>> PortletStub.java:630) ... 76 more
> >>>
> >>> Caused by: Error building results for action index in namespace /view
> -
> >>> action -
> >>>
> >>
>
> file:/C:/srv/bea10/user_projects/domains/domain/autodeploy/portal.ear/portal.>>
> w
> >>> ar/WEB-INF/classes/struts.xml:10:64
> >>>
> >>>
> >>> at
> >>>
> >>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction
> >> (
> >>> XmlConfigurationProvider.java:366)
> >>> at
> >>>
> >>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage
> >>> (XmlConfigurationProvider.java:460)
> >>> at
> >>>
> >>
>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackage
> >>
> s
> >>> (XmlConfigurationProvider.java:268)
> >>> at
> >> org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(
> >>> StrutsXmlConfigurationProvider.java:109)
> >>> at
> >>
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer
> >>> (DefaultConfiguration.java:179)
> >>> at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration
> >> (
> >>> ConfigurationManager.java:55) ... 80 more
> >>>
> >>> Caused by: There is no result type defined for type 'jsf' mapped with
> >> name
> >>> 'success' - result -
> >>>
> >>
>
> file:/C:/srv/bea10/user_projects/domains/domain/autodeploy/portal.ear/portal.>>
> w
> >>> ar/WEB-INF/classes/struts.xml:13:47
> >>>
> >>>
> >>> at
> >>>
> >>
>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResult
> >>
> s
> >>> (XmlConfigurationProvider.java:613)
> >>> at
> >>>
> >>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction
> >> (
> >>> XmlConfigurationProvider.java:364) ...
> >>> 85 more
> >>>
> >>> Nested Exception is Unable to load configuration. - action -
> >>>
> >>
>
> file:/C:/srv/bea10/user_projects/domains/domain/autodeploy/portal.ear/portal.>>
> w
> >>> ar/WEB-INF/classes/struts.xml:10:64
> >>>
> >>>
> >>> at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration
> >> (
> >>> ConfigurationManager.java:58)
> >>> at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration
> (
> >>> Dispatcher.java:370)
> >>> at org.apache.struts2.dispatcher.Dispatcher.init (Dispatcher.java:423)
> >>> at org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.init(
> >>> Jsr168Dispatcher.java:198)
> >>> at com.bea.portlet.container.PortletStub.getPortletInstance(
> >>> PortletStub.java:630)
> >>> 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(__gridlayo>>
> u
> >>> t.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(
> >>> JspTools.java:123)
> >>> at
> >>>
> >>
> >>
>
> com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRend
> >>
> e
> >>>
> >> r
> >>> (JspControlRenderer.java:72)
> >>> at
> >>>
> >>
>
> com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer
> .>>
> b
> >>> eginRender
> >>> (PresentationControlRenderer.java:65) at
> >>> com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
> >>> at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(
> >>> ControlTreeWalker.java:518)
> >>> at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(
> >>> ControlTreeWalker.java:529)
> >>> 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.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.runOutbound(Lifecycle.java:188)
> >>> at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:142)
> >>> at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(
> >> UIServlet.java
> >>> :377)
> >>> at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java
> :253)
> >>> at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java
> :206)
> >>> at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java
> >> :191)
> >>> at com.bea.netuix.servlets.manager.SingleFileServlet.service(
> >>> SingleFileServlet.java:258)
> >>> at
> >>> com.bea.netuix.servlets.manager.PortalServlet.service(
> PortalServlet.java
> >> :656)
> >>>
> >>> at javax.servlet.http.HttpServlet.service (HttpServlet.java:820)
> >>> 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.TailFilter.doFilter(TailFilter.java:26)
> >>> at
> >>> weblogic.servlet.internal.FilterChainImpl.doFilter(
> FilterChainImpl.java
> >> :42)
> >>>
> >>> at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(
> >>> HttpContextFilter.java:60)
> >>> at
> >>> weblogic.servlet.internal.FilterChainImpl.doFilter(
> FilterChainImpl.java
> >> :42)
> >>>
> >>> at com.bea.p13n.servlets.PortalServletFilter.doFilter(
> >>> PortalServletFilter.java:315)
> >>> at
> >>> weblogic.servlet.internal.FilterChainImpl.doFilter(
> FilterChainImpl.java
> >> :42)
> >>>
> >>> at weblogic.servlet.internal.RequestEventsFilter.doFilter(
> >>> RequestEventsFilter.java:26)
> >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(
> >> FilterChainImpl.java
> >>> :42)
> >>> at
> >>>
> >>
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
> >> (
> >>> WebAppServletContext.java:3368)
> >>> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(
> >>> AuthenticatedSubject.java:321)
> >>> at weblogic.security.service.SecurityManager.runAs(Unknown Source)
> >>> at weblogic.servlet.internal.WebAppServletContext.securedExecute(
> >>> WebAppServletContext.java:2117)
> >>> at weblogic.servlet.internal.WebAppServletContext.execute(
> >>> WebAppServletContext.java:2023)
> >>> at
> >>> weblogic.servlet.internal.ServletRequestImpl.run(
> ServletRequestImpl.java
> >> :1359)
> >>>
> >>> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
> >>> at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
> >>>
> >>> Caused by: Error building results for action index in namespace /view
> -
> >>> action -
> >>>
> >>
>
> file:/C:/srv/bea10/user_projects/domains/domain/autodeploy/portal.ear/portal.>>
> w
> >>> ar/WEB-INF/classes/struts.xml:10:64
> >>>
> >>>
> >>> at
> >>>
> >>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction
> >> (
> >>> XmlConfigurationProvider.java:366)
> >>> at
> >>>
> >>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage
> >>> (XmlConfigurationProvider.java:460)
> >>> at
> >>>
> >>
>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackage
> >>
> s
> >>> (XmlConfigurationProvider.java:268)
> >>> at
> >> org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(
> >>> StrutsXmlConfigurationProvider.java:109)
> >>> at
> >>
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer
> >>> (DefaultConfiguration.java:179)
> >>> at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration
> >> (
> >>> ConfigurationManager.java:55) ... 80 more
> >>>
> >>> Caused by: There is no result type defined for type 'jsf' mapped with
> >> name
> >>> 'success' - result -
> >>>
> >>
>
> file:/C:/srv/bea10/user_projects/domains/domain/autodeploy/portal.ear/portal.>>
> w
> >>> ar/WEB-INF/classes/struts.xml:13:47
> >>>
> >>>
> >>> at
> >>>
> >>
>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResult
> >>
> s
> >>> (XmlConfigurationProvider.java:613) a
> >>> t
> >>>
> >>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction
> >> (
> >>> XmlConfigurationProvider.java:364) ...
> >>>
> >>> 85 more
> >>>
> >>>
> >>>
> >>> My libs are :
> >>>
> >>> freemarker-2.3.11.jar
> >>> myfaces-api-1.1.2.jar
> >>> myfaces-impl-1.1.2.jar
> >>> ognl-2.6.11.jar
> >>> struts2-core-2.1.1-SNAPSHOT.jar
> >>> struts2-jsf-plugin-2.0.11.1.jar
> >>> struts2-portlet-plugin-2.1.1-SNAPSHOT.jar
> >>> xwork-2.1.1-SNAPSHOT.jar
> >>>
> >>>
> >>>
> >>> I hope that this mail is not to big. Thx in advanced, i realy need
> help
> >> with
> >>> this issue.
> >>
> >>
> >>
> >> 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: user-unsubscribe@(protected)
> >> For additional commands, e-mail: user-help@(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: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
©2008 gg3721.com - Jax Systems, LLC, U.S.A.