You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ooschn <Pa...@gmx.de> on 2006/05/16 10:13:46 UTC

Tree2

Hello,

I have a problem using Tomahawk's Tree2 - Component.
I'm using Sun's JSF - RI and the additional Tomahawk_1.1.2-JAR, the
MyFacesExtensionsFilter is installed and seems working (tree renders the + -
Icon).
The Problem i get is that the Tree2-Component just renders a "<!-- MYFACES
JAVASCRIPT -->", but no other "real" JavaScript-Code, so the Component
doesn't work :-( In my Web.yml i have set myfaces_allow_javascript to
"true", but does this have any impact if i'm not using the MyFaces-Servlet
but Sun's ?
Changing javax.faces.STATE_SAVING_METHOD to true or false doesn't help
anything, nor does myfaces_allow_javascript = true/false ...

How do i get the necessary JavaScript-Functions (clear_MyFormsName() etc.)
get rendered ?!
--
View this message in context: http://www.nabble.com/Tree2-t1625729.html#a4404946
Sent from the MyFaces - Users forum at Nabble.com.


Re: Tree2

Posted by Sean Schofield <se...@gmail.com>.
Well a lot of people will appreciate that ;-)  It's being worked on now.

Sean

On 5/18/06, Ooschn <Pa...@gmx.de> wrote:
>
> The Tree now works so far ;-)
>
> I simply replaced Sun's RI with MyFaces' JAR-Files and as far as i can see
> it also runs on Sun's AppServer PE 8.2.
> Nevertheless I'd really appreciate if it Tomahawk would also run with Sun's
> RI ;-)
>
> --
> View this message in context: http://www.nabble.com/Tree2-t1625729.html#a4444419
> Sent from the MyFaces - Users forum at Nabble.com.
>
>

Re: Tree2

Posted by Ooschn <Pa...@gmx.de>.
The Tree now works so far ;-)

I simply replaced Sun's RI with MyFaces' JAR-Files and as far as i can see
it also runs on Sun's AppServer PE 8.2.
Nevertheless I'd really appreciate if it Tomahawk would also run with Sun's
RI ;-)

--
View this message in context: http://www.nabble.com/Tree2-t1625729.html#a4444419
Sent from the MyFaces - Users forum at Nabble.com.


Re: Tree2

Posted by Mike Kienenberger <mk...@gmail.com>.
Yes, I was also looking at TOMAHAWK-416 for different reasons -- this
is our #1 critical bug right now -- I'm sure it'll be fixed very soon.

On 5/16/06, Ooschn <Pa...@gmx.de> wrote:
>
> Some more lookup in this forum brought me to the conclusion that my problem
> is related to MYFACES-1171 and TOMAHAWK-416, since the JavaScript-error my
> Browser claims is the lack of the function clear_<MyFormsName>(), all other
> JS-stuff is rendered well.
>
> So what to do? Would it be a good idea to switch from Sun's RI to to MyFaces
> (Core)?
> Are there some special issues?!
> I'm afraid it just won't run on my  Sun Application Server 8.2..

Re: Tree2

Posted by Ooschn <Pa...@gmx.de>.
Some more lookup in this forum brought me to the conclusion that my problem
is related to MYFACES-1171 and TOMAHAWK-416, since the JavaScript-error my
Browser claims is the lack of the function clear_<MyFormsName>(), all other
JS-stuff is rendered well.

So what to do? Would it be a good idea to switch from Sun's RI to to MyFaces
(Core)?
Are there some special issues?!
I'm afraid it just won't run on my  Sun Application Server 8.2..
--
View this message in context: http://www.nabble.com/Tree2-t1625729.html#a4417744
Sent from the MyFaces - Users forum at Nabble.com.


Re: Tree2

Posted by Mike Kienenberger <mk...@gmail.com>.
On 5/16/06, Ooschn <Pa...@gmx.de> wrote:
> the
> MyFacesExtensionsFilter is installed and seems working (tree renders the + -
> Icon).

The extensions filter has two mappings -- one serves page-independent
resources (probably the +/- icons above), the other modifies the
generated html for each page, adding in references to javascript
files, css files, adding javascript snippets, etc.

Make sure you have both working.

Re: Tree2

Posted by Ooschn <Pa...@gmx.de>.
I guess my problem is related with  commandLinks - javascript errors , since
my pages also cause a JavaScript-Error (that some Mehtods are not definet
etc..)

But I think this might be just a little Parameter to set in my Config-Files,
since all other Tomahawk-Components cause the same failure, but are
otherwise rendered well... ?!?


ANY help is warmly appreciated!
--
View this message in context: http://www.nabble.com/Tree2-t1625729.html#a4407392
Sent from the MyFaces - Users forum at Nabble.com.