If you need to pass a Class type, there's nothing stopping you having
it as a Parameter, in Gallery:
@Parameter
private Class classType;
only you'd have to pass the Class in via a getter in code:
wrote:
>
> Thanks Thiago...
>
> No I really dont have to pass the classtype as the parameter... I c
Thanks Thiago...
No I really dont have to pass the classtype as the parameter... I can hardwire
it in the java class.
My code is still in prototype development state... and I appreciate your taking
the time and helping.
I am upgrading my Gallery widget... and happy to share when done... I use
On Sun, 04 Sep 2011 02:31:47 -0300, Ken in Nashua
wrote:
Hi All,
Hi!
I am doing a custom gallery widget... ok I am upgrading my t-4.1.2
gallery to T5... fun stuff...
Is the class type notation still legal ?
I am referring to this guy...
collectionType="ognl:@org.tynamo.example
If you're doing a straight forward unit test, with all class
dependencies mocked out, then this becomes a plain Java question...
You either create a setter for IOrganizationDAO for testing purposes
or start using constructor injection, and pass your mock in when you
construct the service:
public
This should be easy, but I can't figure how to do this.
I have a service that has a dependency to a DAO, that I manage using injection:
@Inject
private IOrganizationDAO orgDao;
As far as i know, tapestry uses the construction mechanism to injection, so I
have not a setter, tapestry does this th
This sounds like a problem I had a while ago. Check out [1] and [2]
A stream response will casue the pages onUnload to be called cleaning up
all the zone managers (I believe). A quick fix is to add a
target="_blank" to your download link. But this will in most browsers
cause an empty tab to b