thank you very much,
when I try the following code, or the equivalent without the s:url stuff, I
get this error :

Attribute target invalid for tag a according to TLD at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at 

my code :
<s:url id="reloadBooks" action="BookAction" namespace="/" />
                        <s:a theme="ajax" href="%{reloadBooks}" 
target="bookdiv">
                        mylink
                        </s:a>

that should refer to :
<s:tabbedPanel id="third_tabbed_Panel" >
                    <s:panel id="tab_one_of_third_Panel" tabName="My books">
                                                <s:div id="bookdiv" 
theme="ajax" href="/BookAction.do"
delay="1000" updateFreq="60000" loadingText="loading...">

strange no ?!


Hi everybody,
My new dilema is :
I have created my "own" ajax widgets by putting <s:div theme="ajax" in a
struts 2 tabbedPanel. This allows to refresh its content and works fine.
I want to put links inside this widget (a button for exemple or a " 

-- 
View this message in context: 
http://www.nabble.com/-s2-Targeting-a-link-to-open-in-a-%3Cs%3Adiv-theme%3D%22ajax%22-box---tf3040935.html#a8455843
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to