Skip to main content

contains an unknown id

2 replies [Last post]
capitanu
Offline
Joined: 2009-10-19

I'm getting this error
javax.servlet.ServletException: contains an unknown id 'teamsGrid' - cannot locate it in the context of the component deleteImage
javax.faces.webapp.FacesServlet.service(FacesServlet.java:323)

when running this code and I do not understand why. Maybe I can get some help here.

0}">

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jim Driscoll

Wow. That's a lot of stuff going on in there.

You could, if you wanted, laborously figure out what to do here:

http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api/javax/faces/...

Or, if you're like me, if the first try (simple name) doesn't work, just
use the complex absolute name, with a leading ":".

So, if teamGrid is inside form, then :form:teamGrid should work.

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

capitanu
Offline
Joined: 2009-10-19

Thanks Jim for the quick response. The complex name is working: ':form:componentId' did the trick.

George