Re: Struts ui components inside in a single line.

2007-04-04 Thread Mark Menard
Ugh... I missed this thread. On 3/29/07 9:16 PM, "Felipe Rodrigues" <[EMAIL PROTECTED]> wrote: > I found the solution to my case. I got the rendered html and put it direct on > my jsp page. But I've thinking. Could anyone figure out how to create an > attribute like autoLayout="true" to the forms

Re: Struts ui components inside in a single line.

2007-04-04 Thread tobinibot
Someone has already created a theme that allows you to place multiple form elements on the same row. http://www.vitarara.org/cms/node/85 http://www.vitarara.org/cms/node/85 Tobin -- View this message in context: http://www.nabble.com/Struts-ui-components-inside-%3Ctable%3E-in-a-single-line.-t

Re: Struts ui components inside in a single line.

2007-03-29 Thread joey
web page designers should like your method.You also can achieve it by overriding the template file which genernate the html codes. regarding joey On 3/30/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: Hi guys, I found the solution to my case. I got the rendered html and put it direct on my

Re: Struts ui components inside in a single line.

2007-03-29 Thread Ted Husted
I believe most of the Ajax/Dojo plugin is already done in the HEAD. The one that's still in the talking stage is moving the porlet support to a plugin. :) On 3/29/07, Dave Newton <[EMAIL PROTECTED]> wrote: I know there's some talk about making the ajax support a plugin... I don't know exactly

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
So, I'll create a Jira issue for that. May I? []'s Felipe Musachy Barroso wrote: > > For the autocompleter and datetimepicker, if the "label" attribute is set, > it renders a row, with the 2 cells, like in the xhtml now, but the submit > tag doesn't. This could change based on feedback, and n

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
Hi guys, I found the solution to my case. I got the rendered html and put it direct on my jsp page. But I've thinking. Could anyone figure out how to create an attribute like autoLayout="true" to the forms tags? Anyway, I will study the code when I get some time, and if nobody say anything agains

Re: Struts ui components inside in a single line.

2007-03-29 Thread Musachy Barroso
For the autocompleter and datetimepicker, if the "label" attribute is set, it renders a row, with the 2 cells, like in the xhtml now, but the submit tag doesn't. This could change based on feedback, and now it would be a good time for it :) regards musachy On 3/29/07, Dave Newton <[EMAIL PROTECT

Re: Struts ui components inside in a single line.

2007-03-29 Thread Dave Newton
--- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > It worked. I only needed some clue like that. Sometimes the answer is right in front of you and you just can't see it... happens to me a *LOT* :/ > PS.: But I still think we could create some attribute > to set this behavior or not to the ajax the

Re: Struts ui components inside in a single line.

2007-03-29 Thread Ted Husted
For Struts 2.1.x, the Ajax theme is being migrated to a plugin, and I don't know how much of this would apply. On 3/29/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: PS.: But I still think we could create some attribute to set this behavior or not to the ajax theme. Something like ( automatciLa

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
Great!!! It worked. I only needed some clue like that. I didn't had figured out that I can use the rendered html direct on my jsp. So, now I have more time to learn how to extend a theme. PS.: But I still think we could create some attribute to set this behavior or not to the ajax theme. Somethi

Re: Struts ui components inside in a single line.

2007-03-29 Thread Dave Newton
--- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > Are you sure the only way to do that is by extending > a theme? I'm sure there's all sorts of ways to do what you want. Frankly, if I had been doing it, I would have just looked at how the button rendered with the ajax theme and just put that in

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
Yes, I will have to learn how to extends a theme, only to make a button stay on the line. Thi is why I put it at StrutsDev forum, to see if it is really correct make some inexperient users, like me, to make a new theme. Of course it is possible, and some of us can say it is easy, but I have a rea

Re: Struts ui components inside in a single line.

2007-03-29 Thread Dave Newton
--- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > Did you take a look at my code, in the this thread? His suggestion to consider modifying/creating a theme was probably a good idea. d. Food fight? Enjoy some

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
Sorry Ted, these informations I already had read at docs. Did you take a look at my code, in the this thread? I think, you could have a better idea of what I mean. Thanks anyway... Felipe Ted Husted-4 wrote: > > To include your own formatting, use the simple theme. > > The default theme can

Re: Struts ui components inside in a single line.

2007-03-29 Thread Ted Husted
To include your own formatting, use the simple theme. The default theme can be specified for the application in the struts configuration. A different theme can be specified for individual forms as needed. http://struts.apache.org/2.x/docs/template-loading.html HTH, Ted

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
How about that? If you have some time, try this code and tell me how to keep this form in a single line, and use the ajax behavior to the button. Register Form!

Re: Struts ui components inside in a single line.

2007-03-29 Thread Dave Newton
--- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > Does somebody have an example about how make a form > using the struts tags, > with all of components in a single line? I believe you already got the answer to this, but for the sake of completeness... setting theme="simple" on a component will ke

Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
Hi guys, Does somebody have an example about how make a form using the struts tags, with all of components in a single line? I tried this, but did not worked: some text other text Thanks, Felipe -- View this message in context: http://www.nabble.com/Struts-u