-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

could you post your entire page (java + tml)?

Am 15.05.2012 14:47, schrieb karthi:
> I just interchanged this
> 
> <input t:type="submit" t:id="topLevel"
> context="videoItem.position" defer="false"
> t:value="${videoItem.name}" />
> 
> to
> 
> <input t:type="submit" t:id="topLevel" context="videoItem.name" 
> defer="false" t:value="${videoItem.position}" />
> 
> now it correctly displays the position in the ui like below
> 
> 0 1 2 3 4
> 
> and when I clicked any one of those it throws the following
> exception
> 
> Failure reading parameter 'context' of component Index:toplevel:
> Property 'videoItem' (within property expression 'videoItem.name',
> of web.app.video.pages.Index@1301061) is null.
> 
> When I used this videoItem.name in t:value it correctly displays
> the name videoItem.position in t:value correctly displays the
> position : *but when I used this videoItem.name or position in
> context it throws NPE*, what is wrong here? Please help me to
> overcome this?
> 
> -- View this message in context:
> http://tapestry.1045711.n5.nabble.com/How-to-send-the-selected-button-value-from-tml-page-to-corr-java-page-tp5709890p5709988.html
>
> 
Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+yW+8ACgkQbmZsMyUPuXQ4xgCgjSkSzngFZqf8ZG+qIWIsf0Ul
uooAoPssIMGQGw1MCtzKgJxOUmohLTQi
=TNWs
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to