Well, that's all Struts will do, insert the html in  the target element

musachy

On 6/15/07, Mansour <[EMAIL PROTECTED]> wrote:


Jeff Amiel wrote:
> I assume the value of  %{ajaxSubmit} is a struts action...?
> And you are sure it is actually putting NEW content in the div after
> the image is clicked on?
>
Yes, the value of %{ajaxSubmit} is an action.

<table>
    <s:url id="ajaxSubmit" value="/updateTaskList.action" />
    <s:submit id="save_btn"
        type="image" src="/fe/pages/images/fdisk.gif" href="%{ajaxSubmit}"
        theme="ajax" notifyTopics="/updateOrSave" targets="tasksDIV"
        formId="tasks"  />
</table>

And yes, the html is inserted in DIV. I checked it with FF DOM inspector.

>
>
> On 6/15/07, Mansour <[EMAIL PROTECTED]> wrote:
>> I can  see expected out put coming back. And when I view the page
source
>> it's even there in the right place but not rendered on the browser!
>> On both FF and IE
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to