-
1. Re: Entity Id as Page Parameters (pages.xml)
kahliburke Jan 17, 2007 6:54 PM (in response to fabio.ita04)I believe you need to specify a Faces converter for the string:
<param name="entityId" value="#{entity.id}" converterId="javax.faces.Long" />
This is in the documentation, Section 5.1.1
Hope it helps.
Kahli -
2. Re: Entity Id as Page Parameters (pages.xml)
gavin.king Jan 17, 2007 7:40 PM (in response to fabio.ita04)Yes, declare it as a page parameter, and specify a converter.
-
3. Re: Entity Id as Page Parameters (pages.xml)
fabio.ita04 Jan 18, 2007 12:02 AM (in response to fabio.ita04)It's working now! I haven't read chapter 5 yet, and when tried to follow the examples in chapter 14, had no knowledge about the need of converter.
Seam Application Framework is a nice solution! Learn Seam become easier after I read chapter 14, because it showed a lot of cool stuffs:
1) compares two alternatives to install seam components (annotations and components.xml);
2) makes easier to understands "factory" usages;
3) shows IoC properties initialization at components.xml;
4) shows that Seam annotated classes can be easily extended;
5) ilustrates how productive can be using Seam!
Maybe it could be interesting to place an example at the first chapter (Seam Tutorial) so new Seam users can have an earlier "tasting" of its advantages.
Thanx again!
Fábio.