Hi,

Thank u for ur suggestion. As given, the application is able to display three 
boxes(textfields) in one row but how to append label name( phonenumber)  and 
hyphens(-) b/w the textfields(boxes).
Here i used the label attribute in the textfield tag but the name was not being 
rendered as well the hyphens even.
So, could u pls help me out


--- On Mon, 12/8/08, Dave Newton <[EMAIL PROTECTED]> wrote:
From: Dave Newton <[EMAIL PROTECTED]>
Subject: Re: How to make three text boxes appear in one row using struts2 tags?
To: "Struts Users Mailing List" <user@struts.apache.org>
Date: Monday, December 8, 2008, 6:55 AM

The mailing list usually (always?) doesn't allow attachments.

I feel, however, that I have understood the requirement of "three text
boxes on a single row separated by hypens".

You can use theme="simple" on each one to render only the textbox and
build the rest of the form row manually. You'll need to do validation
manually (which you'd probably want to do anyway for this composite field)
and check for the presence of the "field" error manually.

Dave

--- On Mon, 12/8/08, taj uddin <[EMAIL PROTECTED]> wrote:
> First please go through the attachment in which the rquired
> GUI to be generated using struts2 tags was shown.
> In
> my application, the GUI should appear with three textfield
> boxes
> separated with hyphens(-), ("as shown in the
> attachment")where each textfield boxes has unique
> names.
> 
> I'm working on the label PhoneNumber which displays
> three boxes(one for STD code, second and third for phone
> number prefix and suffix). Here three textfileds should have
> the label name as PhoneNumber but each textfield or box is
> of unique name.
> Note: all the three boxes should appear in GUI separated by
> hyphens.
> I hope u have understood.
> Pls help me in this issue
> 
> 
> 
>      
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




      

Reply via email to