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:
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
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
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
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
...
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
hello this is my code
!-- UserAction.java --
if (!isCancelled(request)) {
//business logic
ActionMessages errorMsgs = new ActionMessages();
errorMsgs.add(messageId, new
ActionMessage(User,message.insert));
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
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
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
hello all
I've got a ArrayList in my ActionForm like
ArrayList alist = new ArrayList();
User user = new User();
user.setName(test1);
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);
hello all
html:multibox name=myQuestions property=questionid
onclick=
bean:write name=myQuestions
property=questionid bundle=TRAINER/
/html:multiboxbean:write name=myQuestions
property=question/
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/
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
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
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
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
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
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.
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 .
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.
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
23 matches
Mail list logo