myfaces_113 should be fine (see MYFACES-1259)
Can you try tomahawk 113 instead ?

See [1]. But setting that parameter to false should work.

Thx,
Matthias

[1] 
http://myfaces.zones.apache.org/dist/maven-repository/org/apache/myfaces/tomahawk/tomahawk/1.1.3/

On 6/8/06, Jim the Standing Bear <[EMAIL PROTECTED]> wrote:

Hi Matthias,

I will check those two documents either tomorrow or this weekend. The
version of myfaces I am using is 1.1.3, and the tomahawk is 1.1.2.  Those
are the stable versions. thanks

Jim




On 6/8/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> Can you set the AUTO_SCROLL param to false`?
>
> See also [1] for more. Maybe there is still some issue w/ MYFACES-1259
> (see [2]).
> Can you check?
>
> Btw. are you using the *latest* MyFaces? Or a nightly build ?
>
> -Matthias
>
> [1]
http://www.mail-archive.com/[email protected]/msg21853.html
> [2] http://issues.apache.org/jira/browse/MYFACES-1259
>
> On 6/8/06, Jim the Standing Bear <[EMAIL PROTECTED] > wrote:
> >
> > Hi Matthias,
> >
> > Below is the web.xml.
> >
> > <?xml version="1.0"?>
> >
> >
> > <!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>
> >   <display-name>Workspace Browser</display-name>
> >   <context-param>
> >     <param-name>javax.faces.CONFIG_FILES</param-name>
> >     <param-value>/WEB-INF/examples- config.xml</param-value>
> >     <description>
> >       Comma separated list of URIs of (additional) faces config files.
> >       (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2, 10.3.2
> >     </description>
> >   </context-param>
> >
> >   <context-param>
> >     <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
> >     <!-- param-value>server</param-value-->
> >     <param-value>server</param-value>
> >     <description>
> >       State saving method: "client" or "server" (= default) See JSF
> >       Specification 2.5.2
> >     </description>
> >   </context-param>
> >
> >   <context-param>
> >
> >
<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
> >     <param-value>true</param-value>
> >     <description>
> >       This parameter tells MyFaces if javascript code should be allowed
> >       in the rendered HTML output. If javascript is allowed,
> >       command_link anchors will have javascript code that submits the
> >       corresponding form. If javascript is not allowed, the state saving
> >       info and nested parameters will be added as url parameters.
> >       Default: "true"
> >     </description>
> >   </context-param>
> >
> >   <context-param>
> >
> >
<param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
> >     <param-value>false</param-value>
> >     <description>
> >       This parameter tells MyFaces if javascript code should be allowed
> >       in the rendered HTML output. If javascript is allowed,
> >       command_link anchors will have javascript code that submits the
> >       corresponding form. If javascript is not allowed, the state saving
> >       info and nested parameters will be added as url parameters.
> >       Default: "false"
> >
> >       Setting this param to true should be combined with
> >       STATE_SAVING_METHOD "server" for best results.
> >
> >       This is an EXPERIMENTAL feature. You also have to enable the
> >       detector filter/filter mapping below to get JavaScript detection
> >       working.
> >     </description>
> >   </context-param>
> >
> >   <context-param>
> >     <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
> >     <param-value>true</param-value>
> >     <description>
> >       If true, rendered HTML code will be formatted, so that it is
> >       "human readable". i.e. additional line separators and whitespace
> >       will be written, that do not influence the HTML code. Default:
> >       "true"
> >     </description>
> >   </context-param>
> >
> >
> >   <context-param>
> >     <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
> >     <param-value>true</param-value>
> >     <description>
> >       If true, a javascript function will be rendered that is able to
> >       restore the former vertical scroll on every request. Convenient
> >       feature if you have pages with long lists and you do not want the
> >       browser page to always jump to the top if you trigger a link or
> >       button action that stays on the same page. Default: "false"
> >     </description>
> >   </context-param>
> >
> >
> >
> >   <!-- Extensions Filter -->
> >   <filter>
> >     <filter-name>extensionsFilter</filter-name>
> >     <filter-class>
> >
> > org.apache.myfaces.component.html.util.ExtensionsFilter
> >     </filter-class>
> >     <init-param>
> >       <param-name>uploadMaxFileSize</param-name>
> >       <param-value>100m</param-value>
> >       <description>
> >         Set the size limit for uploaded files. Format: 10 - 10 bytes 10k
> >         - 10 KB 10m - 10 MB 1g - 1 GB
> >       </description>
> >     </init-param>
> >     <init-param>
> >       <param-name>uploadThresholdSize</param-name>
> >       <param-value>100k</param-value>
> >       <description>
> >         Set the threshold size - files below this limit are stored in
> >         memory, files above this limit are stored on disk.
> >
> >         Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
> >       </description>
> >     </init-param>
> >   </filter>
> >
> >
> >   <!-- Filter Mappings -->
> >
> >   <filter-mapping>
> >     <filter-name>extensionsFilter</filter-name>
> >     <url-pattern>*.jsf</url-pattern>
> >   </filter-mapping>
> >   <filter-mapping>
> >     <filter-name>extensionsFilter</filter-name>
> >     <url-pattern>/faces/*</url-pattern>
> >   </filter-mapping>
> >
> >
> >
> >   <!-- Listener, that does all the startup work (configuration, init).
-->
> >   <listener>
> >     <listener-class>
> >
> > org.apache.myfaces.webapp.StartupServletContextListener
> >     </listener-class>
> >   </listener>
> >
> >   <!-- Welcome files -->
> >
> >   <welcome-file-list>
> >     <welcome-file> index.jsf</welcome-file>
> >     <welcome-file>index.jsp</welcome-file>
> >     <welcome-file>index.html</welcome-file>
> >   </welcome-file-list>
> >
> >
> >   <!-- Faces Servlet -->
> >   <servlet>
> >     <servlet-name>Faces Servlet</servlet-name>
> >     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
> >     <load-on-startup>1</load-on-startup>
> >   </servlet>
> >
> >
> >
> >
> >   <!-- source code servlet (will not work with JSF virtual path mapping)
-->
> >
> >   <!-- Faces Servlet Mapping -->
> >
> >   <!-- virtual path mapping -->
> >
> >     <servlet-mapping>
> >     <servlet-name>Faces Servlet</servlet-name>
> >     <url-pattern>/faces/*</url-pattern>
> >     </servlet-mapping>
> >
> >
> >   <!-- extension mapping -->
> >   <servlet-mapping>
> >     <servlet-name>Faces Servlet</servlet-name>
> >     <url-pattern>*.jsf</url-pattern>
> >   </servlet-mapping>
> >
> > <!--
> >   <servlet-mapping>
> >     <servlet-name>SourceCodeServlet</servlet-name>
> >     <url-pattern>*.source</url-pattern>
> >   </servlet-mapping>
> > -->
> > <!--
> >   <servlet-mapping>
> >     <servlet-name>JnlpServlet</servlet-name>
> >     <url-pattern>/mlquery.jnlp</url-pattern>
> >   </servlet-mapping>
> > -->
> >
> > </web-app>
> >
> >
> >
> >
> >
> > On 6/8/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> > > can you send abit of your web.xml ?
> > >
> > > On 6/8/06, Jim the Standing Bear < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Right now, my way of working around is to put my own getScrolling()
java
> > > > script function inside of each jsp.  But I hope this is not the only
way
> > to
> > > > get around the problem because it is rather messy.  Has anyone else
seen
> > > > this problem?
> > > >
> > > >
> > > >
> > > >
> > > > On 6/8/06, Jim the Standing Bear <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > >
> > > > > Is this a bug with myfaces 1.1.3?  I have this very simple JSP
file
> > with 1
> > > > text field and 1 submit button.  Whenever I click on submit, it pops
out
> > an
> > > > "object expected" error message.  By using a script debugger, it
seems
> > to be
> > > > missing a function called "getScrolling()"
> > > > >
> > > > > Why is that?  How do I fix it?  Thanks
> > > > >
> > > > >
> > > > > --
> > > > > --------------------------------------
> > > > > Standing Bear Has Spoken
> > > > > --------------------------------------
> > > >
> > > >
> > > >
> > > > --
> > > > --------------------------------------
> > > > Standing Bear Has Spoken
> > > > --------------------------------------
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > Aechterhoek 18
> > > 48282 Emsdetten
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> > >
> >
> >
> >
> > --
> > --------------------------------------
> > Standing Bear Has Spoken
> > --------------------------------------
>
>
> --
> Matthias Wessendorf
> Aechterhoek 18
> 48282 Emsdetten
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>



--
--------------------------------------
Standing Bear Has Spoken
--------------------------------------


--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to