After playing with ajaxTags to no avail (on this problem anyways ),
I switched to AjaxAnywhere for use with displayTag.
Took about 20 min total using this awesome source!
<http://raibledesigns.com/page/rd?entry=the_future_of_the_displaytag>
Works like a charm :)
-Joe
[EMAIL PROTECTED] wrote:
Hai
A trivial question ?
I have a problem with DisplayTags (DT) in Struts2 where OGNL throws
exception from DT-
parameter like 'o-434343-p'. (See discussion "Struts2, DisplayTags
OGNL-error Sakari.Isoniemi " )
So the solution is to use Ajax to bybass Struts2-frame and OGNL ?
/S
-----Original Message-----
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: 20. joulukuuta 2006 3:02
To: Struts Users Mailing List
Subject: Re: [OT] ajaxArea embedded with displayTag
If you put the displayTag inside the ajax:area it won't get reloaded
after the ajax call, what you can do is put the displayTag on a page
let's say A, the create a page B that has:
<ajax:area ..>
<%@ include file="A.jsp" %> //or call the action here
</ajax:area>
then create an action, that the ajax:area will call to update its
content, that action return value must map to the page A.jsp so the
content is evaluated, sent back to the page, and displayed inside the
ajax:area.
musachy
Joseph McGranaghan wrote:
I'm trying to use an ajaxArea for the main portion of my site.
Inside it I have control panel of several tiles.
One of the tiles contains a displayTag that I want ajaxified
unto it's own self, not the whole main ajaxArea.
Matter of fact, I can't even get it to work right with the enclosed
ajaxArea either.
I've tried every combination imaginable of ajaxArea, anchors,
displaytag, and ajax:displayTag
Hoping some poor soul solved this one already.
Basically:
<ajax:area id="ajaxFrame" ajaxAnchors="true" ajaxFlag="ajaxFrame">
<display:table name="data" id="row" scope="request"
class="displaytag" requestURI="/myaction.do">
<display:column property="itemID" title="ID:"
class="leftalign" headerClass="" sortable="true" />
</display:table>
</ajax:area>
Thanks,
Joe
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
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]