Thank you Arno Haase for your continuous help...
I will check encoder method in my code for correct implementation, however I
have used this in previous app without any issues... Also I just removed
that encoder and directly assigned the string values to the list and display
it in the tml page *it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Your encoder returns null both ways - that is probably the cause for
your NPE.
It is responsible for storing (and retrieving) the collection elements
of the loop for the time between rendering and submit - returning null
basically means that all eleme
Sorry,
Constants.PAGINATION_URL;
public interface Constants {
String PAGINATION_URL = "./";
}
--
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-tp5709890p5710046.html
Sent from the Tapestry
-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
>
> context="videoItem.position" defer="false"
> t:value="${videoItem.name}" />
>
> to
>
> defer="false" t:value="${videoItem.position}"
I just interchanged this
to
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 'vid
Hi
As the expection says "Property videoItem is null" and so videoItem.position
will cause an NPE.
regards
Taha
On May 15, 2012, at 4:48 PM, karthi wrote:
> Arno Haase,
>
> Thank you for your reply.
>
> I have changed the code to:
>
> defer="false" t:value="${videoItem.name}" />
>
> pu
I have worked with samples using that tree component, but I need this also to
work..
--
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-tp5709890p5709941.html
Sent from the Tapestry - User mailing list arch
Arno Haase,
Thank you for your reply.
I have changed the code to:
public void onSelectedFromTopLevel(int position) {
System.out.println("Selected button item is --> " + position);
}
but it throws the following error:
An unexpected application exception has occurred.
F
Have you considered using the Tree component?
Examples:
http://jumpstart.doublenegative.com.au/jumpstart/examples/component/treebrowse
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/treefromdatabasewithzones
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/H
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Using the context attribute is the way to go. It's plain 'context' and
not 't:context', though.
The context must be a primitive (or encoded as a primitive), so I
would recommend you start by passing only the position
value="videoItem.position"
There
Anyone help me?
--
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-tp5709890p5709916.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
11 matches
Mail list logo