myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Weber" <v.we...@inexso.de>
Subject Re: [Tobago] how I can speed up popup?
Date Fri, 30 Mar 2007 08:30:31 GMT
Hi David,

please check the librarys in you war. Seems that you have mixed up
different versions.

AjaxUtils.getAjaxComponents() is new in 1.0.11-SNAPSHOT.

Regards,
  Volker

2007/3/30, David Steinkopff <david.steinkopff@googlemail.com>:
> Now is my project unable to start in tomcat. and it doesnt help to setting
> on tobago 1.0.10 :-( that is a bad day ...
>
> HTTP Status 500 -
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException:
> org.apache.myfaces.tobago.ajax.api.AjaxUtils.getAjaxComponents(Ljavax/faces/context/FacesContext;)Ljava/util/List;
>
> javax.faces.webapp.FacesServlet.service(FacesServlet.java
> :154)
>
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
>
> root cause
>
> java.lang.NoSuchMethodError:
> org.apache.myfaces.tobago.ajax.api.AjaxUtils.getAjaxComponents(Ljavax/faces/context/FacesContext;)Ljava/util/List;
>
> org.apache.myfaces.tobago.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:45)
>
> org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.render(TobagoLifecycle.java:135)
>     javax.faces.webapp.FacesServlet.service
> (FacesServlet.java:140)
>
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.17 logs.
>
>
> 2007/3/30, David Steinkopff <david.steinkopff@googlemail.com>:
> > Tobago 1.0.10
> > MyFaces 1.1.5
> > Facelets 1.1.11
> > Tomcat 5.5.17
> > Netbeans 5.5
> >
> > the problem is, in a stripped example ajax works, but if I put this code
> in the complete gui the value doesnt works.
> >
> > I used the firebug extension from firefox and watch the reload javascript
> function. two times popup open correct, two times I submit my selection,
> reload javascript starts with the same parameter and in the end in the
> stripped example I see a value in my input field, in the complex gui non
> effect is to see and no value be saved.
> >
> > but in both example in the javascript code LOG.warn("Illegal Container for
> reload:" + (typeof container)); is started.
> > What Issue is the bug or what svn revision solved the problem?
> > I try today the nightly.
> >
> > david
> >
> >
> > 2007/3/29, Volker Weber < v.weber@inexso.de>:
> >
> > > Hi David,
> > >
> > > which version of tobago?
> > >
> > > The 1.0.11-SNAPSHOT had a bug with ajax requests between 17. and 28. of
> march.
> > > I fixed this yesterday, so the todays nightly should work.
> > >
> > > Regards,
> > >   Volker
> > >
> > > 2007/3/29, David Steinkopff <david.steinkopff@googlemail.com>:
> > > > Maybe it doesnt work so fine.
> > > > popup open and close is fine, but if I press my send-button the value
> from
> > > > the selectone component doesnt store in the bean. this effect I have
> only
> > > > when I combine <tc:attribute name="renderedPartially"
> > > > value=":pageid:tabgroup"/> with
> > > > <tc:button label="Ok">
> > > > <tc:attribute name="popupClose" value="afterSubmit"/>
> > > > </tc:button>
> > > > the button with only popupClose works, but I have a complete loading
> page
> > > > :-(
> > > >
> > > > david
> > > >
> > > > 2007/3/28, David Steinkopff <david.steinkopff@googlemail.com>:
> > > > > Thanks for the reference where I find the answer in the demo. Now
> its work
> > > > fine in my application.
> > > > >
> > > > > david
> > > > >
> > > > >
> > > > > 2007/3/27, Volker Weber < v.weber@inexso.de >:
> > > > >
> > > > > > Hi David,
> > > > > >
> > > > > > the tobago demo [1] has a popup example with renderedPartially
> (config
> > > > > > for table demo).
> > > > > > the popupReference ins needed to open a popup from a command
which
> is
> > > > > > not parent of the popup(used in the toolbar example).
> > > > > >
> > > > > > Regards,
> > > > > >   Volker
> > > > > >
> > > > > > [1] lifedemo:
> > > > http://tobago.atanion.net/tobago-example-demo/
> > > > > >     sources:
> > > >
> http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/demo/
> > > > > >
> > > > > >
> > > > > > 2007/3/27, David Steinkopff < david.steinkopff@googlemail.com
>:
> > > > > > > hello,
> > > > > > >
> > > > > > > I have a complex gui build up with tobago. I used
> renderedPartially
> > > > > > > attribute to speed up the main window. now I build some
popup as
> > > > separate
> > > > > > > window and every time I open a popup the complete page
go
> reloading.
> > > > > > >
> > > > > > > my question:
> > > > > > > how I can use renderedPartially with popup and popup reference
> > > > components?
> > > > > > >
> > > > > > > david
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>
>

Mime
View raw message