how do i align elements?

2010-11-08 Thread m.harig
hi all , am designing a user creation page in struts2 , i want to align the elements as per my requirements , how do i make it? because struts2 itself align the elements by its own , is there anyway to override it? please any1 help me -- View this message in context:

struts2 html redering problem

2010-11-03 Thread m.harig
hello , am doing a application in struts2.2.1 , in which am adding some html values in my setter method , like Home lt;Bgt;Loanlt;/Bgt; Transfer , when i print this values in jsp page by s:property value=msg / , but i want the words should be highlighted as Home Loan Transfer , how do i

text box bean:write

2009-09-15 Thread m.harig
hello all i've doubt in generating dynamic text box values using bean:write , am populating a TreeSet object which has unique values , and i've to display it on jsp page on text boxes (for example ,the TreeSet has 5 elements) . how do i do it? please any1 suggest me. -- View this

struts business objects

2009-08-26 Thread m.harig
hello all , am developing a struts web application , how do i use business objects in struts , since we're using ActionForms for getting setting values ? is there any idea -- View this message in context: http://www.nabble.com/struts-business-objects-tp25147216p25147216.html Sent from

html:messages

2009-01-19 Thread m.harig
hello all i've a new-user page (say new_user.jsp) . am inserting a new user into db. after inserting am mapping my page to new_user.jsp . what my doubt is i've to display a message User created successfully. how do i do it? help me out of this please. note : am

Re: html:messages

2009-01-19 Thread m.harig
... interceptor-ref name=store AUTOMATIC /interceptor -D m.harig wrote: hello all i've a new-user page (say new_user.jsp) . am inserting a new user into db. after inserting am mapping my page to new_user.jsp . what my doubt is i've to display a message

display a message

2009-01-19 Thread m.harig
hello this is my code !-- UserAction.java -- if (!isCancelled(request)) { //business logic ActionMessages errorMsgs = new ActionMessages(); errorMsgs.add(messageId, new ActionMessage(User,message.insert));

dissplay a message in jsp

2009-01-17 Thread m.harig
hello all I've a LoginAction in my application . Am checking my username , password with my db. If the user doesn't exist i've to display a message in my jsp page. Now am using session object to store the message . to print the message in jsp am using

checkbox

2009-01-12 Thread m.harig
hello all this is my code in jsp ArrayList levelList = (ArrayList)request.getAttribute(levelsList); pageContext.setAttribute(levelsList,levelsList,pageContext.PAGE_SCOPE); html:select property=levelid

checkbox doubt

2009-01-12 Thread m.harig
hello all this is my doubt. i've five checkboxes . how do i check three checkboxes is checked among these five checkboxes input type=checkbox name=one input type=checkbox name=two checked=true input type=checkbox name=three

html:multibox problem

2008-12-29 Thread m.harig
hello all I've got a ArrayList in my ActionForm like ArrayList alist = new ArrayList(); User user = new User(); user.setName(test1);

RE: html:multibox problem

2008-12-29 Thread m.harig
thanks Mr.Seshagiri V , sorry .. this is my code ArrayList alist = new ArrayList(); for(int i=1;i=3;i++){ User user = new User(); user.setName(test+i);

call javascript from jsp

2008-12-29 Thread m.harig
hello all html:multibox name=myQuestions property=questionid onclick= bean:write name=myQuestions property=questionid bundle=TRAINER/ /html:multiboxbean:write name=myQuestions property=question/

Re: call javascript from jsp

2008-12-29 Thread m.harig
found the solution myself. html:multibox name=myQuestions property=questionid onclick=addValues(this.value) bean:write name=myQuestions property=questionid bundle=TRAINER/,bean:write name=myQuestions property=questionid bundle=TRAINER/

Re: how many forms do i need??

2008-12-17 Thread m.harig
once again thanks for giving me answer Mr.Robert . am newbie to struts . if i get an idea to how to use those forms it'll be helpful to proceed my application . thanks in advance -- View this message in context: http://www.nabble.com/how-many-forms-do-i-need---tp21050504p21051365.html

how many forms do i need??

2008-12-17 Thread m.harig
hi all i've started doing my project in struts . am using DispatchAction class . i've a doubt . that is can i use separate forms for every page . for example for login-page i've LoginForm. and for

Re: how many forms do i need??

2008-12-17 Thread m.harig
Thanks Robert then how can i handle it?? this is my situation in my login form username,password createuser username,password,role,city,coutry edituser username,password,role

Re: html:option tag

2008-12-16 Thread m.harig
is there anyone to answer my question%-| m.harig wrote: hi all am getting no.of users from DAO class and all username are in the form of User Object. ArrayList list = new ArrayList(); while(rs.next()){ User user = new User

struts data-source

2008-12-15 Thread m.harig
hello all am newbie to struts . am developing a login application . this is my java package structure Action - Helper - DAO . my ActionClass calls Helper method and it'll call DAO method for accessing database . is this correct??? and i've gone through

Re: struts data-source

2008-12-15 Thread m.harig
Thanks Lukasz how do i implement then . because i need pooled connections . could anyone tell me about that -- View this message in context: http://www.nabble.com/struts-data-source-tp21011491p21012275.html Sent from the Struts - User mailing list archive at Nabble.com.

html:option tag

2008-12-15 Thread m.harig
hi all am getting no.of users from DAO class and all username are in the form of User Object. ArrayList list = new ArrayList(); while(rs.next()){ User user = new User(); user.setUsername(abc); list.add(user); } this is my code .

Re: cannot be greater than null characters

2008-12-11 Thread m.harig
i did it . but no changes still am getting the same -- View this message in context: http://www.nabble.com/cannot-be-greater-than-null-characters-tp20950855p20952645.html Sent from the Struts - User mailing list archive at Nabble.com.

cannot be greater than null characters

2008-12-10 Thread m.harig
hi all am newbee to struts . am doing a login application on struts . am using Validator framework for page validation my configuration is validation.xml form name=testingForm field property=name depends=required, minlength, maxlength