holod wrote:
As I understood, I have to use dojo plugin (additional jar).
Please, tell me, is it possible to avoid usage of dojo plugin?
Seems like my problem can be solved:
if <s:div/> would not send request automatically, when page is loaded, but
only on user mouse click, I would be happy using it without additional dojo
plugin.
I've set autoStart="false" but it doesn't help :( Is there are any other
oppotunities to stop automatic first-time execution?
If using Struts 2.0.x, dojo is bundled in the main jar. It is a plugin
in 2.1.x.
Yes, you can avoid using Dojo. Instead using a different client-side
library or XMLHttpRequest directly. However the struts2 tags only
support Dojo at the moment.
Don't use s:div. As Dave suggested, use an s:a or s:submit with the
target pointing at a div that contains your image. The content of the
target will be replaced by your action's response when the link/button
is clicked. If use use s:a, the anchor can contain the image, so
clicking the image replaces itself with the response from your action.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]