On 3/2/07, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
Ok, its getting hot now, there is a difference between your two html
snippets:

not working
> <select size="1"
> name="masterForm:connectPageForm:chooseMemberForm:_id48">

working
> <select size="1"
> name="masterForm:connectPageForm:chooseMemberForm:memberInput"
> id="masterForm:connectPageForm:chooseMemberForm:memberInput">

As you can see, the first lacks the id.

Well, yes.   That's what I'd expect to see.   On the working one, I
have id="memberInput" and on the non-working one, I've deleted that
value.   So the two are equivalent.   Or are you saying that there
should be a id="masterForm:connectPageForm:chooseMemberForm:_id48"?



Though, the last version of submitOnEvent uses getElementsByName, though
from the java script error in your last pos I see that you must use
another version of it.

> I manually copied it into my project on Jan 24th, though.
There must be something went wrong, only the first version dated with
10.10.2006 used getElementById by accident.

So, you should be able to fix this problem when you copy the latest
version of submitOnEvent.js in your project.
But I guess it's simply load it from your old sandbox jar, no? So you
might replace it from within.

No, there's no submitOnEvent.js in my sandbox.   I had to manually add
it elsewhere to my project and point to it manually.   That's why I
get these errors :-)

15:17:12.375 ERROR! [SocketListener0-1]
org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader.serveResource(MyFacesResourceLoader.java:143)
16> Unable to find resource resource/submitOnEvent.js for component
submitOnEvent.SubmitOnEventRenderer. Check that this file is available
in the classpath in sub-directory /resource of the package-directory.

I will go ahead and grab the latest version of this from svn and copy
it into my project and let you know if anything changes.

Reply via email to