The exception for 
<form t:id="myForm"

is in my orginal email.

Shing

<form t:id="myForm">
with 

@Component(id = "myForm")
private Form form;

in the page java class works.

Thanks!

Shing 


--- Eugene Lozovan <[EMAIL PROTECTED]> wrote:

>  Hello again,
> 
> as far as I understand, you'd like to have "form"
> component with
> id="myForm", right?
> So,  try this:
> 
> <form t:id="myForm"
>    ...
> </form>
> 
>  E.L.
> 
> 
> On 14/07/07, Shing Hing Man <[EMAIL PROTECTED]>
> wrote:
> >
> >
> > <form t:id="form"> and <t:form>
> >
> > both give rendered id="form".
> >
> >
> > <form t:type="form" t:id="myform" > gives me the
> same
> > exception as <t:form  t:id="myForm">.
> >
> > Shing
> >
> >
> >
> >
> > --- Eugene Lozovan <[EMAIL PROTECTED]>
> wrote:
> >
> > > Hello,
> > >
> > > try to use  something like:
> > >
> > > <form t:id="form">
> > > ...
> > > </form>
> > >
> > > E.L.
> > >
> > >
> > >
> > > On 14/07/07, Shing Hing Man <[EMAIL PROTECTED]>
> > > wrote:
> > > >
> > > > When I have
> > > >   <t:form id="myForm">
> > > >
> > > > in my html template, the rendered id is still
> > > "form".
> > > >
> > > >
> > > > When  I have <t:form  t:id="myForm">,
> > > >
> > > > I got the following exception.
> > > > Component test/Sum does not contain an
> embedded
> > > > component with id 'form'.
> > > >
> > > > Stack trace
> > > >
> > > >         *
> > > >
> > > >
> > >
> >
> >
>
org.apache.tapestry.internal.structure.ComponentPageElementImpl.getEmbeddedElement
> > > > (ComponentPageElementImpl.java:831)
> > > >         *
> > > >
> > > >
> > >
> >
> >
>
org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.getEmbeddedComponent
> > > > (InternalComponentResourcesImpl.java:97)
> > > >         *
> > > >
> > >
> >
>
com.man.testTapestry5.pages.test.Sum.containingPageDidLoad(Sum.java)
> > > >         *
> > > >
> > >
> >
>
org.apache.tapestry.internal.structure.ComponentPageElementImpl$3.run(
> > > > ComponentPageElementImpl.java:92)
> > > >         *
> > > >
> > >
> >
>
org.apache.tapestry.internal.structure.ComponentPageElementImpl.invoke(
> > > > ComponentPageElementImpl.java:923)
> > > >         *
> > > >
> > > >
> > >
> >
> >
>
org.apache.tapestry.internal.structure.ComponentPageElementImpl.containingPageDidLoad
> > > > (ComponentPageElementImpl.java:772)
> > > >         *
> > > >
> > >
> >
>
org.apache.tapestry.internal.structure.PageImpl.loaded(PageImpl.java:139)
> > > >         *
> > > >
> > >
> >
>
org.apache.tapestry.internal.services.PageLoaderProcessor.loadPage(
> > > > PageLoaderProcessor.java:399)
> > > >         *
> > > >
> > >
> >
>
org.apache.tapestry.internal.services.PageLoaderImpl.loadPage(
> > > > PageLoaderImpl.java:59)
> > > >         *
> > > >
> > >
> >
>
org.apache.tapestry.internal.services.PagePoolImpl.checkout(
> > > > PagePoolImpl.java:70)
> > > >         *
> > > >
> > >
> >
>
org.apache.tapestry.internal.services.RequestPageCacheImpl.get(
> > > > RequestPageCacheImpl.java:44)
> > > >         *
> > > >
> > >
> >
>
org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> > > > PageLinkHandlerImpl.java:57)
> > > >         *
> > > >
> > >
> >
>
org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> > > > PageLinkHandlerImpl.java:49)
> > > >
> > > >
> > > > Thanks in advance for any assistance!
> > > >
> > > > Shing
> > > >
> > > > Home page : http://uk.geocities.com/matmsh/
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
___________________________________________________________
> > > > To help you stay safe and secure online, we've
> > > developed the all new
> > > > Yahoo! Security Centre.
> > > http://uk.security.yahoo.com
> > > >
> > > >
> > >
> >
>
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> >
> >
> > Home page : http://uk.geocities.com/matmsh/
> >
> >
> >      
>
___________________________________________________________
> > Yahoo! Mail is the world's favourite email. Don't
> settle for less, sign up
> > for
> > your free account today
> >
>
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
=== message truncated ===


Home page : http://uk.geocities.com/matmsh/


        
        
                
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

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

Reply via email to