Just to confirm what Dave said, in 2.0.x you will have to modify the
template to remove the layout tags. In 2.1 the submit button will have the
layout tags only if it is inside a form, for which the theme is either
"css_xhtml"(divs) or "xhtml"(trs) (to keep backward compatibility).

musachy

On 5/17/07, Dave Newton <[EMAIL PROTECTED]> wrote:

--- Martin Gainty <[EMAIL PROTECTED]> wrote:
> 1)first instinct says to change the 'theme' as soap
> themes typically interact with <div> tag

I think he means ajax.

I don't know which bits of the ajax are rendered by
the tag template. The idea is correct; if you don't
want the extra decorations you'll probably (for now)
need to either tweak the template, or examine the
output of the ajax theme and do a bit of manual work.

I know that in 2.1 the ajax stuff is being moved in to
a plugin, so hopefully using the ajax functionality in
arbitrary layout themes will be easier :/

>
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/JspContext.html
> 2)override the setContext with a new context
> (JspContext) where

Honestly, I have no idea what that has to do with this
issue, but maybe it does. I've had a few extra
Guinness this evening.

> From: "Jason Wyatt" <[EMAIL PROTECTED]>
>> I want to use ajax submit buttons to refresh tabs,
>> but when ajax theme is set, the buttons are wrapped

>> in additional <tr> and <td> tags. This is doing
>> interesting and unhelpful things to our page
layout.

Yeah, but you got to say that last sentence, and
that's worth something right there.

See the following link for a bit more info on themes
and templates.

http://struts.apache.org/2.x/docs/themes-and-templates.html

d.




____________________________________________________________________________________Pinpoint
customers who are looking for what you sell.
http://searchmarketing.yahoo.com/

---------------------------------------------------------------------
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