As to your other problem - anything more in your log, stacktrace?
regards,
Martin
On 10/25/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> It depends if you provide the maxItems attribute or not - if not,
> first example below, if yes, second sample below:
>
> public List getItems(String prefix)
> {
> List li = new ArrayList();
> li.add(prefix+1);
> li.add(prefix+2);
> li.add(prefix+3);
> li.add(prefix+4);
> li.add(prefix+5);
> li.add(prefix+6);
> return li;
> }
>
>
> public List getItems(String prefix, Integer maxSize) {
>
> List li = new ArrayList();
>
> for(int i = 0; i < maxSize.intValue(); i++) {
> li.add(prefix+ " " +(i+1));
> }
>
> return li;
> }
>
> regards,
>
> Martin
>
> On 10/25/05, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> > hello,
> > actually i have deployed the sandbox.war application from examples nightly
> > build....
> >
> > Martin, since i get hold of you, forgive me if i ask you a question about
> > the ajax tag.
> >
> > The method of the backing bean that is supposed to be called, what would be
> > its signature?
> > public List myMethod()
> >
> > or
> >
> > public List myMethod(String inputParam) ?
> >
> > thanks for your answer and regards
> >
> > marco
> >
> >
> >
> >
> > On 10/25/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > > Are you using a different version of sandbox.jar and myfaces-all.jar?
> > >
> > > regards,
> > >
> > > Martin
> > >
> > > On 10/25/05, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> > > > hello all,
> > > > i m trying to get acquainted wiht Ajax tag from sandbox
> > > > i downloaded the latest nightly build (as of now, it is
> > > > myfaces-20051024-examples.zip)..
> > > > i have deployed the sandbox.war application on jboss 3.2.5, and what i
> > got
> > > > is the following
> > > > error
> > > >
> > > > javax.faces.FacesException:
> > > >
> > org.apache.myfaces.component.html.util.AddResource.addJavaScriptToHeader
> > (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;ZLjavax/faces/context/FacesContext;)V
> > > >
> > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
> > > >
> > org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView
> > (JspViewHandlerImpl.java:234)
> > > >
> > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
> > > >
> > javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
> > > >
> > org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter
> > (ExtensionsFilter.java:122)
> > > >
> > > >
> > > > anyone could help me out?
> > > >
> > > > thanks in advance and regards
> > > > marco
> > > >
> > >
> > >
> > > --
> > >
> > > http://www.irian.at
> > > Your JSF powerhouse -
> > > JSF Trainings in English and German
> > >
> >
> >
>
>
> --
>
> http://www.irian.at
> Your JSF powerhouse -
> JSF Trainings in English and German
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German