whow... Sounds like everybody is flaming here. Sorry guys, I don't want to waste your time. Yes, there is a annotation in a green box right in the middle telling about the feature, but there is no example about how do that with ajax behavior. Can I just set the theme as simple and use the ajax behavior?
Once again, sorry for to be so dummie. Maybe something that are so clear to you, is not so clear to me. Regards, Felipe Rene Gielen wrote: > > Of course it was ok to ask first before filing a bug. For the docs you > pointed out, there is an annotation in a green box right in the middle: > > "The xhtml theme renders out a two-column table. If a different layout > is needed, do not write your own HTML. Create a new theme or utilize the > simple theme." > > Thanks anyway, > - Rene > > Felipe Rodrigues schrieb: >> Hi Philip, >> >> We are look guys, since I asked here, before create an issue at Jira, >> isn't >> it? >> >> By the way I read the documentation at >> http://cwiki.apache.org/WW/form-tags.html >> http://cwiki.apache.org/WW/form-tags.html but it don't tell anything >> about >> this hidden "feature". >> >> I posted here, because I really think that if it is not a bug, it can be >> improved. >> >> I imagined that it could be a feature, to put each component in a >> diferent >> line. >> >> But how about when we want all them in a single line and use the theme >> ajax >> to some components? >> A little confuse, don't you think? >> >> xhtml theme extends simple, but if I want to use my components without a >> label and all of them in a single line, I must >> set hte theme as simple. Hum... How could we improve that? >> >> Anyway, could you give me a example about how to work around this >> feature? >> The FAQ link you sent me have no example. :-) >> >> Best Regards, >> >> Felipe >> >> >> Philip Luppens wrote: >>> You might want to read the documentation of Struts 2 (hint, under FAQ >>> [1]) before you shout 'BUG'. >>> >>> Plus, you should use the user mailing list for questions like this, >>> the dev list is for the development of Struts 2. >>> >>> [1] >>> http://cwiki.apache.org/WW/why-do-the-form-tags-put-table-tags-around-controls.html >>> >>> Thank you, >>> >>> Phil >>> >>> On 3/29/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: >>>> Hi everyone, >>>> >>>> I'm using a <table> to organize the layout of my form. I'd like to get >>>> all >>>> components in one line, so, I'm using this code: >>>> <table> >>>> <tr> >>>> <td>some text</td> >>>> <td>other text</td> >>>> <td><s:textfield name="any" size="30" required="true"/></td> >>>> <td><s:checkbox name="check" value="OUT"></s:checkbox></td> >>>> <td><s:checkbox name="check2" value="INV"></s:checkbox></td> >>>> </tr> >>>> </table> >>>> >>>> But when rendering the page, struts put each component under the other. >>>> I >>>> checked out the generated code and found some <tr> tags lost in middle >>>> of >>>> my >>>> <td> tags. These <tr> tags was added by struts. >>>> >>>> Is that a real bug? Any idea? >>>> >>>> Regards, >>>> >>>> Felipe >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/BUG---Struts-ui-components-inside-%3Ctable%3E-mess-the-layout.-tf3488497.html#a9741411 >>>> Sent from the Struts - Dev mailing list archive at Nabble.com. >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>> >>> -- >>> iDTV System Engineer >>> "Always code as if the guy who ends up maintaining your code will be a >>> violent psychopath who knows where you live." - John F. Woods >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> > > > -- > Rene Gielen | http://it-neering.net/ > Aachen | PGP-ID: BECB785A > Germany | gielen at it-neering.net > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/BUG---Struts-ui-components-inside-%3Ctable%3E-mess-the-layout.-tf3488497.html#a9743841 Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]