Problem in s:text tag

2007-10-18 Thread shan99


I have a tag like this
s:textarea name=txtMsg cssStyle=width: 200px
key=PROGRAM_SETTINGS
/

and also i have a radio buttin calld chkText
I wnt to chang thr key of the  s:text if user select 'yes' of that radio
buttopn
so i have to use a java script so how can i change the key os S:text from
the java script
-- 
View this message in context: 
http://www.nabble.com/struts2-validation-for-only-one-method-in-action-tf3267302.html#a13272200
Sent from the Struts - User mailing list archive at Nabble.com.


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



RE: S2 : Validation per Action method - ideas?

2007-10-17 Thread shan99

I got a problem like  this

I have 2 mothods caled edit() and create() I used annotation based
validation
but tthing is i want to validate some of experssions in edit method and some
of the in create() method
cant use @skipValidation in this
my problem is i can not difine this seperatly in my actiion class ..both
methods get validate from all expressions? any 1 have a ida?
-- 
View this message in context: 
http://www.nabble.com/S2-%3A-Validation-per-Action-method---ideas--tf4242670.html#a13249097
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: struts2 validation for only one method in action

2007-10-17 Thread shan99


I have 2 mothods caled edit() and create() I used annotation based
validation
but tthing is i want to validate some of experssions in edit method and some
of the in create() method
cant use @skipValidation in this
my problem is i can not difine this seperatly in my actiion class ..both
methods get validate from all expressions? any 1 have a ida?
-- 
View this message in context: 
http://www.nabble.com/struts2-validation-for-only-one-method-in-action-tf3267302.html#a13249573
Sent from the Struts - User mailing list archive at Nabble.com.


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



need help in struts 2

2007-10-09 Thread shan99

i have a class like this

public class TDorgrnize{
private long orgID
private orgnizMini org

//getter and setters
}

public class orgnizMini{
long id
Sting name
//getter setter
}

in a action class i m getting this TDOrgrnize to generic list like this

private ListTDorgrnize() torg;
so i want to display this List actually name property of orgnizMini in a
select tag trough torg list so how can i do this guid me new to struts 2
-- 
View this message in context: 
http://www.nabble.com/need-help-in-struts-2-tf4594910.html#a13117889
Sent from the Struts - User mailing list archive at Nabble.com.


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



Struts 2 s:select tag

2007-10-09 Thread shan99

i have a class like this

public class TDorgrnize{
private long orgID
private orgnizMini org

//getter and setters
}

public class orgnizMini{
long id
Sting name
//getter setter
}

in a action class i m getting this TDOrgrnize to generic list like this

private ListTDorgrnize() torg;
so i want to display this List actually name property of orgnizMini in a
select tag trough torg list so how can i do this
-- 
View this message in context: 
http://www.nabble.com/Struts-2-%3Cs%3Aselect-tag-tf4596011.html#a13121574
Sent from the Struts - User mailing list archive at Nabble.com.


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