-
1. Re: Problems with @RequestParameter
kosl Jan 24, 2008 1:27 PM (in response to kosl)Ok, it seems like I've solved it.
The parameter is set in the method annotated with @Create,
I also tried the @Factory tag but it looks like its working only for injected fields...
Is the solution with @Create correct ?
Thanks in advance,
Karol -
2. Re: Problems with @RequestParameter
damianharvey Jan 24, 2008 6:10 PM (in response to kosl)It might be helpful to describe what functionality you require. From what you've said so far it sounds like you want to pass in a parameter that is then outjected for another component to use. Is this correct? So this bean is just an intermediary?
Cheers,
Damian. -
3. Re: Problems with @RequestParameter
kosl Jan 25, 2008 12:15 PM (in response to kosl)Hi thank you for your answer.
The bean is not just an intermediary, it is a backing bean for page displaying in some way data in the entity which id I want to pass through url parameter. For example http://URL/page.html?id=324
After entering page.html the id is passed to the bean and in the @Create method I'm finding the entity with id 324 setting the beans local variables some of them @outjected and whose value is taken from the entity with id 324.
Kind Regards,
Karol