creating list in dropdown using struts :
In action class
list.add(new LabelValueBean("ID","Name"));
In Jsp
* Select Item
Select
In Form :
getter and setter for selectedItem.
query : Now I want to retrieve ID and Name both in action class.I am able to
retrieve ID,But i want to r
thanks wes for the information...will try the MEAP version then
Rgds
Yanto
On Mon, Apr 20, 2009 at 9:55 AM, Wes Wannemacher wrote:
> On Sunday 19 April 2009 21:47:24 Yanto wrote:
> > Hi,
> >
> > Just wondering currently is there any book that cover Struts 2.1 ?
> > try to google but so far
wow. books from both dave and wes.
maybe now S2 will get that push rails has been getting :)
On Sun, Apr 19, 2009 at 10:39 PM, Chris Pratt wrote:
> I'm sure there would be quite a few who would sign up for that deal (me
> included).
> (*Chris*)
>
> On Sun, Apr 19, 2009 at 7:28 PM, Martin Gaint
It seems there are some big holes in the file upload interceptor. Validation
doesn't work as stated and and max file size configs are not being used
properly. I verified by checking the 2.1.6 JIRA list. Is there any "robust"
alternative that people are using? Thanks
___
I'm sure there would be quite a few who would sign up for that deal (me
included).
(*Chris*)
On Sun, Apr 19, 2009 at 7:28 PM, Martin Gainty wrote:
>
> is anyone proofreading?..i'll sign up for a free copy
> ..
> Martin
> _
> Disclaimer and Confidentiality/Ve
is anyone proofreading?..i'll sign up for a free copy
..
Martin
_
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de
déni et de confidentialité
This message is confidential. If you should not be the intended receiver, then
we ask
On Sunday 19 April 2009 22:07:00 Dave Newton wrote:
> Yanto wrote:
> > Just wondering currently is there any book that cover Struts 2.1 ?
> > try to google but so far not found yet.
>
> Struts 2 Web Application Development includes S2.1, but is more of an
> S2.1-based end-to-end webapp development
Yanto wrote:
Just wondering currently is there any book that cover Struts 2.1 ?
try to google but so far not found yet.
Struts 2 Web Application Development includes S2.1, but is more of an
S2.1-based end-to-end webapp development book rather than S2.1
reference, for which we have the documen
On Sunday 19 April 2009 21:47:24 Yanto wrote:
> Hi,
>
> Just wondering currently is there any book that cover Struts 2.1 ?
> try to google but so far not found yet.
>
> Thanks & Regards
> Yanto
Yes, my book is in the works and when published, it will cover 2.1. You can
find a link to it in my sig
Hi,
Just wondering currently is there any book that cover Struts 2.1 ?
try to google but so far not found yet.
Thanks & Regards
Yanto
Bhaarat Sharma wrote:
thanks dave!
worked fine. I was trying too many things so got confused.
I have one further question regarding validation. Is it possible to
validate a text field only when certain strings are selected from the
multiple drop down box.
Basically I want to make the text f
thanks dave!
worked fine. I was trying too many things so got confused.
I have one further question regarding validation. Is it possible to
validate a text field only when certain strings are selected from the
multiple drop down box.
Basically I want to make the text feild required only when
Bhaarat Sharma wrote:
by the way. I can do without having errors right beside the textfield.
I can have them grouped up top
Are you saying the tag doesn't render field errors in
the "simple" theme? The template file sure makes it look like it does.
Dave
--
Bhaarat Sharma wrote:
At this time I cant afford to change the theme of the site. Because
that breaks the html on a lot of pages and would require a lot of
effort to correct those pages.
Changing to show field error messages by hand would most likely entail
significantly more work.
show fi
by the way. I can do without having errors right beside the textfield.
I can have them grouped up top
On 4/19/09, Bhaarat Sharma wrote:
> Stop using the "simple" theme.
>
> The "simple" theme tags don't display error messages--they're simple.
> You'll either need to switch themes, show field err
Stop using the "simple" theme.
The "simple" theme tags don't display error messages--they're simple.
You'll either need to switch themes, show field error messages by hand
(if you want the messages near the fields), or modify/extend/create a
theme to emit the HTML you want.
At this time I cant af
Bhaarat Sharma wrote:
However, If i have the following line in my struts.properties then the
validation stops happening and I do not see any errors.
struts.ui.theme=simple
Technically, the validation does not stop happening.
Has someone seen something like this before?
Yes, anybody using th
I have a very weird error.
I am trying to do a very simple basic validation like this example:
http://struts.apache.org/2.x/docs/basic-validation.html
However, If i have the following line in my struts.properties then the
validation stops happening and I do not see any errors.
struts.ui.theme=sim
HariniKaushik wrote:
getUserList would just return the List(java.util.List)
And its just the method that 'll get called when the action
Register_getUserList action is triggered.
I have combined two actions together through Register_* action names.
And no validation is done for getUserList method.
Thanks for the reply.
getUserList would just return the List(java.util.List)
And its just the method that 'll get called when the action
Register_getUserList action is triggered.
I have combined two actions together through Register_* action names.
And no validation is done for getUserList method.
HariniKaushik wrote:
Hi All,
I feel this is the correct Forum where in my doubts 'll be cleared.
I've created Login,UserRegistration page and UserView page(where in admin
only can view the users)
And this is my action tag for Register_createUser and Register_getUserList
common/{1}.jsp
Hi All,
I feel this is the correct Forum where in my doubts 'll be cleared.
I've created Login,UserRegistration page and UserView page(where in admin
only can view the users)
And this is my action tag for Register_createUser and Register_getUserList
common/{1}.jsp
common/usersLis
22 matches
Mail list logo