navin mca ha scritto:
Hi,
I my project at run time when modify the tile definition based on some condition.
Wht I want to know that when symultaneous request come for that tile (which will be used in rendering the page for that request.) Unexpected results for diff user.
for e.g
one userwithoutBody the from the tile definition we will remove the attribute 'body' and for the userwithBody 's request we will add attribute 'body' in the definition at run time.
In the above scenerio is it possible that tile definition(where attribute 'body' is removed for userwithoutBody ) can be sent back to userwithBody due to multiple request coming for userwithoutBody & userwithoutBody.
the above code is my action handler.
Basically this qn. bvelongs to multithreading.
Do i need to use synchonised block?
Pls let me know.
Oh boy your English gave me an headache!
Anyway are you trying to modify Tiles definitions at runtime? If so,
remember that you change it for EVERY user, at least if you are trying
to use the default DefinitionsFactory.
If you want to give different Tiles definitions for different users
(this is something like "MyYahoo" and similar) consider implementing
DefinitionsFactory or FactorySet (that is better).
If you only need different tiles definitions with different user ROLES,
then consider downloading Dimensions:
http//mutidimensions.sf.net/
HTH
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]