struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs
Date Sun, 01 Apr 2007 23:25:52 GMT
Dave,

for (1),  if you have a testcase at hand and could attach it to a jira
ticket it would be great.

for (2), do you have executeScripts set to "true"? I'm not sure what to do
here, as it works for me and showcase. In other words, it is certified :)

http://www.codinghorror.com/blog/archives/000818.html

musachy

On 4/1/07, Dave Newton <newton.dave@yahoo.com> wrote:
>
> --- Musachy Barroso <musachy@gmail.com> wrote:
> > And it shows the two alerts, and sets the tab
> > content to: "Show me some text also"
>
> I have run in to a similar problem now under 2.0.6...
>
> My top-level page is a JSP with a tabbedPanel and two
> divs, one remote. I've had two issues.
>
> (1) Remote div URL issue
>
> The remote div has a form and an embedded remote div,
> which has never worked, given me a funky URL: the url
> generated via <s:url.../> is correct, but the error I
> get is showing the URL as
>
> /webapp/namespace/"/webapp/namespace/action!method
>
> When I displayed the <s:url.../> on the same page it
> was correct.
>
> <s:tabbedPanel...>
>   <s:div...>local crap</s:div>
>   <s:div id="foo" href="%{}" theme="ajax">...</s:div>
> </...>
>
> The pseudo-JSP for div "foo":
>
> <s:form...>
>   <s:form stuff.../>
> </s:form>
> <s:div id="bar" href="%{}">
> </...>
>
> To continue testing I moved that JSP directly into the
> <s:div.../> so now it looks like:
>
> <s:tabbedPanel...>
>   <s:div...>local crap</s:div>
>   <s:div id="foo" >
>     <s:form...>
>       <s:form stuff.../>
>     </s:form>
>     <s:div id="bar" href="%{}">
>     </...>
>   </s:div>
> </...>
>
> ...which led to the problems the OPs were having...
>
> (2) Scripts in returned JSP not executing.
>
> I have a <script...>...</script> chunk that
> theoretically does an alert and runs some
> scriptaculous on an element "above" it.
>
> I see the JavaScript in the GET return, but the alert
> doesn't pop and the scriptaculous bits are never
> executed.
>
> d.
>
>
>
>
>
> ____________________________________________________________________________________
> Never miss an email again!
> Yahoo! Toolbar alerts you the instant new Mail arrives.
> http://tools.search.yahoo.com/toolbar/features/mail/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message