You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Leung Ming Sum <bl...@yahoo.com.hk> on 2005/04/20 14:25:47 UTC

DynamicBlock add a component with listener Not Work!?

Dear All,

I have a final year project that use the Tapestry
framework to implement portal system. Now, I have a
DynamicBlock component in my Home page. The
dynamicblock component dynamic load a Login component
called BlockLogin. The BlockLogin component has a
Listener.

Home.html
<span jwcid="@DynamicBlock"
componentName="ognl:loginName" />

I view it in browser, it generates a link:
direct/1/Home/$Home.$DynamicBlock.BlockLoginBlock.BlockLogin.$From0

When I click the submit, it show the following
error...
Component
components.DynamicBlock$Enhance_101@1142653[Home/$DynamicBlock]
does not contain a component BlockLoginBlock

I try my best to find out the solution but I really
don't know.

Is there somebody know solution..
Thank you for help my final year project.

Sam Leung.

_______________________________________________________________________
Yahoo! 工具列 - 內置防止彈出視窗工能!
http://toolbar.yahoo.com.hk

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: DynamicBlock add a component with listener Not Work!?

Posted by Jun Tsai <ju...@gmail.com>.
Now I have a same problem.
I want to do a portal system. A page contains some block.But these
block isn't sticky.

Who can give me an example about generating a dynamic block from a jwc + .html?

thanks.

On 4/20/05, Leung Ming Sum <bl...@yahoo.com.hk> wrote:
> Dear All,
> 
> I have a final year project that use the Tapestry
> framework to implement portal system. Now, I have a
> DynamicBlock component in my Home page. The
> dynamicblock component dynamic load a Login component
> called BlockLogin. The BlockLogin component has a
> Listener.
> 
> Home.html
> <span jwcid="@DynamicBlock"
> componentName="ognl:loginName" />
> 
> I view it in browser, it generates a link:
> direct/1/Home/$Home.$DynamicBlock.BlockLoginBlock.BlockLogin.$From0
> 
> When I click the submit, it show the following
> error...
> Component
> components.DynamicBlock$Enhance_101@1142653[Home/$DynamicBlock]
> does not contain a component BlockLoginBlock
> 
> I try my best to find out the solution but I really
> don't know.
> 
> Is there somebody know solution..
> Thank you for help my final year project.
> 
> Sam Leung.
> 
> _______________________________________________________________________
> Yahoo! 工具列 - 內置防止彈出視窗工能!
> http://toolbar.yahoo.com.hk
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 


-- 
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net

Re: DynamicBlock add a component with listener Not Work!?

Posted by Hugo Palma <hp...@digitalis.pt>.
If i understand correctly you have a BlockLogin component that get
insertid by the DynamicBlock component. Then the BlockLogin component
problably generates a login form with a listener method to do the submit
right ?
So the BlockLogin component actually shows up ? If it does then it
shouldn't be a DynamicBlock component problem.
If so, can you post the BlockLogin.html part where you set the listener
method ?


Cheers


Hugo

Leung Ming Sum wrote:

>Dear All,
>
>I have a final year project that use the Tapestry
>framework to implement portal system. Now, I have a
>DynamicBlock component in my Home page. The
>dynamicblock component dynamic load a Login component
>called BlockLogin. The BlockLogin component has a
>Listener.
>
>Home.html
><span jwcid="@DynamicBlock"
>componentName="ognl:loginName" />
>
>I view it in browser, it generates a link:
>direct/1/Home/$Home.$DynamicBlock.BlockLoginBlock.BlockLogin.$From0
>
>When I click the submit, it show the following
>error...
>Component
>components.DynamicBlock$Enhance_101@1142653[Home/$DynamicBlock]
>does not contain a component BlockLoginBlock
>
>I try my best to find out the solution but I really
>don't know.
>
>Is there somebody know solution..
>Thank you for help my final year project.
>
>Sam Leung.
>
>_______________________________________________________________________
>Yahoo! 工具列 - 內置防止彈出視窗工能!
>http://toolbar.yahoo.com.hk
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org