I just avoided the use of JSON, and use the <s:url /> and <s:div /> approach
instead. Not what i have originally planned but works as well. 

Thanks everyone. 


Paweł Wielgus wrote:
> 
> Hi Christian,
> can't You update a div or a form or a table with parsed contents of a
> json from ajax call. Or even simplier, get this whole "a href" from
> ajax call at the first place, and don't use json here at all. Have in
> mind that strut is something completly different than ajax, those are
> two different worlds.
> 
> Best greetings,
> Pawel Wielgus.
> 
> 2009/9/12, Christian Javellana <cjjavell...@gmail.com>:
>>
>> Hi All,
>>
>> I'd like to know if there is a way how to build a struts anchor
>> (theme='ajax') using javascript alone?
>>
>> I'd like to construct a struts ajax anchor wherein the href value comes
>> from
>> a JSON response. Is there a way to do this?
>> --
>> View this message in context:
>> http://www.nabble.com/Create-a-struts-ajax-anchor-using-javascript-tp25419564p25419564.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Create-a-struts-ajax-anchor-using-javascript-tp25419564p25430683.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to