And apparently there doesnt seem to be any way in which this can
degrade gracefully in case JS is not available....

Thanks for your help guys.

Sawan

On 11/15/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
It's a basic principle of JSF that every link needs JavaScript. The
problem is with the sizes of the state of a modern web-application: it
is (almost) impossible to cut this state down to sizes which can be
transferred via a link without IE restricting this.

So what JSF does is posting the form with a click on a link - as tree2
relies on links, you have the same issue here...

regards,

Martin

On 11/15/06, Sawan Vithlani <[EMAIL PROTECTED]> wrote:
> So it's not possible to do this, for example, with the node being an
> HTML link back to the appropriate submission?
>
> Sawan
>
> On 11/15/06, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> > JavaScript is required. Even with server side state toggling, the
> > javascript is what submits the tree when the icon is clicked.
> >
> > On 11/14/06, Sawan Vithlani <[EMAIL PROTECTED]> wrote:
> > > Hello all,
> > >
> > > I'm currently evaluating some JSF controls and one of our requirements
> > > is that we be able to use the Tree control when Javascript is
> > > unavailable on the client side.
> > >
> > > I have downloaded and tried the Tomahawk examples.
> > >
> > > The Tree2 control example given
> > > (http://localhost:8080/myfaces-example-simple-1.1.5-SNAPSHOT/tree2.jsf,
> > > assuming a local installation) does not seem to work without
> > > Javascript. The description here:
> > > http://myfaces.apache.org/tomahawk/tree2.html says that "...there is
> > > an option for client-side or server-side toggling of the
> > > expand/collapse state. " I take this to mean that the whole tree is
> > > submit to the server, and comes back with the clicked node expanded,
> > > and that this operation was performed without Javascript.
> > >
> > > Was I correct in assuming this? If no, is there any other way in which
> > > this behaviour can be acheived?
> > >
> > > Thanks
> > >
> > > Sawan
> > >
> >
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to