hi,

just try: <input jwcid="[EMAIL PROTECTED]" value="ognl:newuser.name"/>

as java ognl is case sensitive




                                                                           
             Alan Chandler                                                 
             <[EMAIL PROTECTED]                                             
             ily.org.uk>                                                An 
                                        [email protected]   
             19.03.2006 23:14                                        Kopie 
                                                                           
                                                                     Thema 
              Bitte antworten           @InjectComponent not working for   
                    an                  me                                 
             "Tapestry users"                                              
             <[EMAIL PROTECTED]                                             
             karta.apache.org>                                             
                                                                           
                                                                           
                                                                           




I think I must be doing something stupid, but I can't see what


My home page has statements like this in it

             @InjectComponent("newuser")
             public abstract TextField getNewuserField();

And my templage has what I think is the new user component

                                     <tbody>
                                                 <tr class="usercreate">
                                                             <td>

<input jwcid="[EMAIL PROTECTED]" value="ognl:newUser.name"/>
                                                             </td>
                                                             <td>

<input jwcid="[EMAIL PROTECTED]" value="ognl:newUser.password"/>
                                                             </td>
...

Yet when I start up the application, during the load of the first page I
get
an exception

Component [EMAIL PROTECTED] does not contain a component newuser.

Any ideas what could be wrong?

--
Alan Chandler
http://www.chandlerfamily.org.uk
Open Source. It's the difference between trust and antitrust.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to