You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by sajidbigler <sa...@gmail.com> on 2009/03/02 10:38:35 UTC
when we add any UI Tag how can we eliminate next line
I want to add three button as shown below in a same row but i am not able
to make it.i tried using table ,tr,td but still when ever i place
<s:component(textfield,label,submit etc) next line will be taken how can i
make it to come in same row?
<s:submit value="Save" />
<s:submit value="Cancel" onclick="form.onsubmit=null" />
<s:reset onclick="alert('Resetting form now... Press OK to continue!');" />
--
View this message in context: http://www.nabble.com/when-we-add-any-UI-Tag-how-can-we-eliminate-next-line-tp22284662p22284662.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: when we add any UI Tag how can we eliminate next line
Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
Either style it as you want it with css, or use the "simple" theme to
have full control of how elements are rendered.
Nils-.H
On Tue, Mar 3, 2009 at 7:19 AM, sajidbigler <sa...@gmail.com> wrote:
>
> Hi List,
>
> I think we need to fix this issue by adding one more tag as for example
> <s:nextLine .
> By default struts-tags place components in next line
> instead we need to have elements to be placed in same line and developer
> needs to get an option to decide whether it should be placed in next line as
> <s:nextLine or by default it remains in same row.
> --
> View this message in context: http://www.nabble.com/when-we-add-any-UI-Tag-how-can-we-eliminate-next-line-tp22284662p22303099.html
> - Show quoted text -
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: when we add any UI Tag how can we eliminate next line
Posted by sajidbigler <sa...@gmail.com>.
Hi List,
I think we need to fix this issue by adding one more tag as for example
<s:nextLine .
By default struts-tags place components in next line
instead we need to have elements to be placed in same line and developer
needs to get an option to decide whether it should be placed in next line as
<s:nextLine or by default it remains in same row.
--
View this message in context: http://www.nabble.com/when-we-add-any-UI-Tag-how-can-we-eliminate-next-line-tp22284662p22303099.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org