Datepicker default value

2015-03-20 Thread Lilylove toshop
I want to display the text 'MM/DD/YY' in the Datepicker box when the value is NULL.   Could you please help!!.  Currently it displays 'null' as default in the date field. ThanksLily

Re: how to display a default value in

2015-02-09 Thread Yaragalla Muralidhar
ok. thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Mon, Feb 9, 2015 at 7:29 PM, Lukasz Lenart wrote: > 2015-02-09 13:54 GMT+01:00 Yaragalla Muralidhar >: > > Hi i need to display a default

Re: how to display a default value in

2015-02-09 Thread Lukasz Lenart
2015-02-09 13:54 GMT+01:00 Yaragalla Muralidhar : > Hi i need to display a default value in the text filed. I have put > "value="default value" but problem with this is it always shows the default > value even after the user had entered the custom value. So is there a wa

how to display a default value in

2015-02-09 Thread Yaragalla Muralidhar
Hi i need to display a default value in the text filed. I have put "value="default value" but problem with this is it always shows the default value even after the user had entered the custom value. So is there a way to display a default value in ? *Thanks and Regards,* Mural

Re: sj:select default value not load

2013-08-07 Thread Sreekanth S. Nair
Key="-1" > headerValue="Select Category" > value="why" > /> > > for above jsp file, i can retrieve the data from KeywordcategoryAction for > no problem > > bu

sj:select default value not load

2013-08-02 Thread john lee
  For struts2 sj:select tag from google         for above jsp file, i can retrieve the data from KeywordcategoryAction for no problem   but, the default value(why) as defined from KeywordcategoryAction did not working at all   I try to change from value="wh

AW: Warning: The default value expression 'Blabla' was evaluated and did not match a property

2009-10-26 Thread Juergen.Leeb
Yes I do. I managed the loglevels with a property file. Thanks! > -Ursprüngliche Nachricht- > Von: Musachy Barroso [mailto:musa...@gmail.com] > Gesendet: Mittwoch, 21. Oktober 2009 17:13 > An: Struts Users Mailing List > Betreff: Re: Warning: The default value expressi

Re: Warning: The default value expression 'Blabla' was evaluated and did not match a property

2009-10-21 Thread Musachy Barroso
>> An: Struts Users Mailing List >> Betreff: Re: Warning: The default value expression 'Blabla' was evaluated and >> did not match a property >> >> you would have to increase the log level for that class. this has been >> turned off by default in

AW: Warning: The default value expression 'Blabla' was evaluated and did not match a property

2009-10-21 Thread Juergen.Leeb
Thanks for helping me. But how to increase the log level? > -Ursprüngliche Nachricht- > Von: Musachy Barroso [mailto:musa...@gmail.com] > Gesendet: Montag, 19. Oktober 2009 17:20 > An: Struts Users Mailing List > Betreff: Re: Warning: The default value expression 'B

Re: Warning: The default value expression 'Blabla' was evaluated and did not match a property

2009-10-19 Thread Musachy Barroso
you would have to increase the log level for that class. this has been turned off by default in 2.1.8+ musachy On Mon, Oct 19, 2009 at 6:18 AM, wrote: > Hallo, > > I use the tag. Every call leads to a "The default value > expression 'Blabla' was evaluated a

Warning: The default value expression 'Blabla' was evaluated and did not match a property

2009-10-19 Thread Juergen.Leeb
Hallo, I use the tag. Every call leads to a "The default value expression 'Blabla' was evaluated and did not match a property" warning. I find out this has something to do with internationalization. Which I don' t use! But how can I prevent struts to throw such warning? Thanks!

Re: Problem with default value

2009-03-05 Thread Dave Newton
Yves Dessertine wrote: Yeah, thanks a lot Benjamin! I did *basically* what you told (building a Collection of LabelValueBean, but I did this in an action -- same result: it works :)). But I still don't understand why selecting default values hadn't worked when building a list of option with ind

Re: Problem with default value

2009-03-05 Thread Yves Dessertine
> label1 > label2 > label3 > label4 > label5 > label6 > label7 > > label8 > label9 > label10 > label11 > label12 > label13 > label14 > label15 > label16 > > label17 > label18 > label19 >                         type="submit"

Re: Problem with default value

2009-03-04 Thread benjamin haimerl
ot;myList", myList); %> name : label="label"/> *HTML-Output:* JSP for TestNameForm form name : label0 label1 label2 label3 label4 label5 label6 label7

Problem with default value

2009-03-04 Thread Yves Dessertine
3 selects: == 1) Default value selected: Generated output: INT1 INT2 == 2) Default value no

Re: textbox showing currency default value

2009-02-04 Thread QZ
;> Sent: Friday, January 30, 2009 2:26 PM >> To: Struts Users Mailing List >> Subject: Re: textbox showing currency default value >> >> sorry... I meant .. I'm really tired...:D >> >> Paolo Niccolò Giubelli ha scritto: >>> Sorry, I don't unde

Re: textbox showing currency default value

2009-02-02 Thread Paweł Wielgus
> From: Paolo Niccolò Giubelli [mailto:paoloniccolo.giube...@itestense.it] >>> Sent: Friday, January 30, 2009 2:26 PM >>> To: Struts Users Mailing List >>> Subject: Re: textbox showing currency default value >>> >>> sorry... I meant .. I'm really tired.

Re: textbox showing currency default value

2009-01-31 Thread Paolo Niccolò Giubelli
009 2:26 PM To: Struts Users Mailing List Subject: Re: textbox showing currency default value sorry... I meant .. I'm really tired...:D Paolo Niccolò Giubelli ha scritto: Sorry, I don't understand from where I should return what. I have a Form with a float m_price = 0.0 field (wit ac

Re: textbox showing currency default value

2009-01-31 Thread Paolo Niccolò Giubelli
2009 2:26 PM To: Struts Users Mailing List Subject: Re: textbox showing currency default value sorry... I meant .. I'm really tired...:D Paolo Niccolò Giubelli ha scritto: Sorry, I don't understand from where I should return what. I have a Form with a float m_price = 0.0 field (wit ac

RE: textbox showing currency default value

2009-01-30 Thread Zheng, Qiang
You need to implement that in action. -Original Message- From: Paolo Niccolò Giubelli [mailto:paoloniccolo.giube...@itestense.it] Sent: Friday, January 30, 2009 2:26 PM To: Struts Users Mailing List Subject: Re: textbox showing currency default value sorry... I meant .. I'm really

Re: textbox showing currency default value

2009-01-30 Thread Paolo Niccolò Giubelli
ò Giubelli [mailto:paoloniccolo.giube...@itestense.it] Sent: Friday, January 30, 2009 1:54 PM To: Struts Users Mailing List Subject: textbox showing currency default value Hi! I need to display a textbox, where the user should write a money value in eur. I need the textbox to display the default value in th

Re: textbox showing currency default value

2009-01-30 Thread Paolo Niccolò Giubelli
M To: Struts Users Mailing List Subject: textbox showing currency default value Hi! I need to display a textbox, where the user should write a money value in eur. I need the textbox to display the default value in the correct currency mode, like 0,00 (comma separated decimals) and not 0.0. Of course

RE: textbox showing currency default value

2009-01-30 Thread Zheng, Qiang
: Struts Users Mailing List Subject: textbox showing currency default value Hi! I need to display a textbox, where the user should write a money value in eur. I need the textbox to display the default value in the correct currency mode, like 0,00 (comma separated decimals) and not 0.0. Of course, the

textbox showing currency default value

2009-01-30 Thread Paolo Niccolò Giubelli
Hi! I need to display a textbox, where the user should write a money value in eur. I need the textbox to display the default value in the correct currency mode, like 0,00 (comma separated decimals) and not 0.0. Of course, the textbox is "connected" with a float field. Now I get 0

Second box of DoubleSeclect tag wont show the default value even though it's right here.

2008-11-12 Thread Jipu Jiang
lection of fist > select box, the second one will change accordingly. This means the > doubleselect box is up and running well. > > But the problem is I have default values to show when user see the > doubleselect box, and the default value for second list was not shown >

default value

2008-10-09 Thread donaldfung
Hi, I populate special character (such as "<") from database to the action object and using to display in JSP. However, it can't be shown. The wiki describe that the default value is true but it isn't !. I need to hard code all the with escape="true".

[S2] datepicker default value in 2.1

2007-07-04 Thread nodep
Hi, I don't know if I can post here a question about version 2.1 but ... I do :) I have downloaded and compiled (from svn) the version 2.1 of Struts2. My question is: is it possible to set the default value of a datepicker field so that when i make a mistake filling the field it don

Re: [S2] Problem setting radio to default value from a Collection

2007-05-22 Thread Laurie Harper
I'm not quite clear what your code looks like, but based on what you say it sounds like you may be putting the wrong value in your 'answer' property. This iterates through the beans in the game.question.answers collection (C), and creates a radio button for each. The radio button value wi

RE: [S2] Problem setting radio to default value from a Collection

2007-05-22 Thread Cesar Arevalo
radio should check the default to the answer value, because it has the same name as the property in my action, but it is not working this way. How can you set a default value for a radio tag if my list is a Collection? Thanks -Cesar -Original Message- From: Cesar Arevalo [mailto:[EMAIL PR

[S2] Problem setting radio to default value from a Collection

2007-05-22 Thread Cesar Arevalo
Hi All, I have a jsp with a radio tag setup like so: < /s:radio> What I display in the radio buttons are answers, once the userclicks on an answer the form is submitted, my action retrieves the correctanswer and puts it in both an id and an answer property defined in the sameaction

Re: How to set default value in the html:select which is populated with html:optionsCollection tag?

2007-05-06 Thread Chirag
/struts.apache.org/1.2.9/userGuide/struts-html.html#select > > Thanks, > > Nuwan > > > > > - Original Message - > From: "Chirag" <[EMAIL PROTECTED]> > To: "Nuwan Chandrasoma" <[EMAIL PROTECTED]>; > > Sent: Sunday, May

Re: How to set default value in the html:select which is populated with html:optionsCollection tag?

2007-05-06 Thread Chirag
m: "Chirag" <[EMAIL PROTECTED]> > To: "Nuwan Chandrasoma" <[EMAIL PROTECTED]>; > > Sent: Sunday, May 06, 2007 9:45 AM > Subject: Re: How to set default value in the > html:select which is populated > with html:optionsCollection tag? > > >

Re: How to set default value in the html:select which is populated with html:optionsCollection tag?

2007-05-06 Thread Chirag
o the > default value you wan to > select, then the tag will automatically select the > option that matches this > value > > Thanks, > > Nuwan > > > - Original Message - > From: "Chirag" <[EMAIL PROTECTED]> > To: > Sent

Re: How to set default value in the html:select which is populated with html:optionsCollection tag?

2007-05-06 Thread Nuwan Chandrasoma
Hi, Set the location property in your from to the default value you wan to select, then the tag will automatically select the option that matches this value Thanks, Nuwan - Original Message - From: "Chirag" <[EMAIL PROTECTED]> To: Sent: Sunday, May 06, 2007 9:23

How to set default value in the html:select which is populated with html:optionsCollection tag?

2007-05-06 Thread Chirag
I am a little newbie type in Struts I already have the following code All Now I want to modify this code in such a way that it selects a default value . How to do that Thanks in advance CSJakharia Subscribe to bermudaEmail: [input] [input] Browse Archives at groups.google.com

Re: empty fields of an input form get default value after submitting

2006-09-14 Thread Scott Van Wart
Laurie Harper wrote: Sandra Reichert wrote: Hi, I have an input form in jsp. After submitting empty fields (user entered nothing in input field) are set by default with specific values depending on their data typ. So an empty Integer field is set to 0, an String field to "" an so on. But i wan

Re: empty fields of an input form get default value after submitting

2006-09-14 Thread Laurie Harper
Sandra Reichert wrote: Hi, I have an input form in jsp. After submitting empty fields (user entered nothing in input field) are set by default with specific values depending on their data typ. So an empty Integer field is set to 0, an String field to "" an so on. But i want to have a null value

RE: empty fields of an input form get default value after submitting

2006-09-13 Thread Anil Kumar T
Hi, Since 0 would be the default value for primitive int, you cant do any thing over there. But if you are using Integer object then youc an get null. In the formBean you would have instantiated the fields globally. Check that. Ex : String s = ""; or String s = new String(""

empty fields of an input form get default value after submitting

2006-09-13 Thread Sandra Reichert
Hi, I have an input form in jsp. After submitting empty fields (user entered nothing in input field) are set by default with specific values depending on their data typ. So an empty Integer field is set to 0, an String field to "" an so on. But i want to have a null value for empty fields. Or in

Re: Defining dynamic default value for a cookie [*]

2006-08-28 Thread Andreas . Hartmann
Hello Puneet! I could solve my problem now on my own :-). I addressed the class directly in the jsp-file: The created symlinks I mentioned in the other post are not needed any more. Kind regards, Andreas Hartmann - To unsu

Antwort: Re: Defining dynamic default value for a cookie [*]

2006-08-28 Thread Andreas . Hartmann
Hello Puneet, I tried your solution, but I'm getting now another error: Generated servlet error: Integrationmenuform cannot be resolved to a type I wrote the following in the jsp: My web.xml from conf-dir with the init-params: jsp org.apache.jasper.servlet.JspServlet

Re: Defining dynamic default value for a cookie

2006-08-28 Thread Andreas Hartmann
Hello Puneet! Puneet Lakhina wrote: > On 8/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >> Hello! >> >> I'm trying to define a default value in the jsp for a cookie, but I don't >> know >> how to do it :-(. >> >&

Re: Defining dynamic default value for a cookie

2006-08-28 Thread Puneet Lakhina
On 8/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello! I'm trying to define a default value in the jsp for a cookie, but I don't know how to do it :-(. I've go the following piece of code: ... ... I would like to have the output from the bean:write - tag a

Defining dynamic default value for a cookie

2006-08-28 Thread Andreas . Hartmann
Hello! I'm trying to define a default value in the jsp for a cookie, but I don't know how to do it :-(. I've go the following piece of code: ... ... I would like to have the output from the bean:write - tag as input for the value in the bean::cookie - tag: does not work

RE: Default value for text field

2006-06-21 Thread Mukta
You are right Dave. I'm sorry for writing so. It doesn't give the desired result :( -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 5:14 PM To: Struts Users Mailing List Subject: Re: Default value for text field Mukta wrote: >

Re: Default value for text field

2006-06-19 Thread Dave Newton
Mukta wrote: > You can use > />" > > Really? I would have thought that nesting tags like that wouldn't be legal. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Default value for text field

2006-06-19 Thread Mukta
You can use " > -Original Message- From: Pankaj Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 6:24 PM To: Struts Users Mailing List Subject: Re: Default value for text field Please tell me in Struts context. What do I need to write in my html:text tag?

Re: Default value for text field

2006-06-14 Thread Scott Van Wart
Pankaj Gupta wrote: Please tell me in Struts context. What do I need to write in my html:text tag? " type="text"> Not sure how well that works... if you're using a JSP 2.4-compliant container and the JSTL (which you would need to above to use fmt:), you could use this: <%@ taglib

Re: Default value for text field

2006-06-14 Thread Pankaj Gupta
8, @: [EMAIL PROTECTED] Linpro AS - Leading on LinuxTel: +47 21 54 41 00/02 Vitaminveien 1AFax: +47 21 54 41 01 PB 4 Grefsen, 0409 OsloWWW: http://www.linpro.no/ Pankaj Gupta wrote: How can I specify a default value for a text field and also read it from application resources. I do

Re: Default value for text field

2006-06-14 Thread Shervin Asgari
47 21 54 41 01 PB 4 Grefsen, 0409 OsloWWW: http://www.linpro.no/ Pankaj Gupta wrote: How can I specify a default value for a text field and also read it from application resources. I dont want to read it from form bean though. regards, Pankaj ---

Default value for text field

2006-06-14 Thread Pankaj Gupta
How can I specify a default value for a text field and also read it from application resources. I dont want to read it from form bean though. regards, Pankaj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[OT] Re: General error message from server : "Field 'firstname' doesn't have a default value"

2006-05-12 Thread Dave Newton
rajan pahuja wrote: > java.sql.SQLException: General error message from server: "Field 'firstname' > doesn't have a default value" > Well, looks like you're trying to insert a null/blank value into a table that's not-null and specifies no default

Struts error of Default value from the server.....

2006-05-11 Thread rajan pahuja
I am getting this error: javax.servlet.ServletException: General error message from server: "Field 'firstname' doesn't have a default value" org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523) org.apache.struts.action.RequestProce

General error message from server : "Field 'firstname' doesn't have a default value"

2006-05-11 Thread rajan pahuja
javax.servlet.ServletException: General error message from server: "Field 'firstname' doesn't have a default value" org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523) org.apache.struts.action.RequestProcessor.processActionPerform(

Re: html:select default value in the action

2006-01-20 Thread Laurie Harper
you really want to, you need to put the resulting form into request or session scope so it's accessible from the JSP: Second question : how do i put the form in a scope to be taken into account by the jsp ? request.setAttribute("myform", form); L. Thibaut wrote the followi

Re: html:select default value in the action

2006-01-20 Thread Thibaut
bute("myform", form); L. Thibaut wrote the following on 1/19/2006 1:09 PM: Hi, I'd like to choose the default value of my html:select in the action class. What is the parameter to set ? Set the value of the form bean property in your Action before you go to the form and that w

Re: html:select default value in the action

2006-01-19 Thread Laurie Harper
quot;myform", form); L. Thibaut wrote the following on 1/19/2006 1:09 PM: Hi, I'd like to choose the default value of my html:select in the action class. What is the parameter to set ? Set the value of the form bean property in your Action before you go to the form and that will

Re: html:select default value in the action

2006-01-19 Thread Thibaut
esn't work. Why ? Second question : how do i put the form in a scope to be taken into account by the jsp ? Thibaut wrote the following on 1/19/2006 1:09 PM: Hi, I'd like to choose the default value of my html:select in the action class. What is the parameter to set ? Set

Re: html:select default value in the action

2006-01-19 Thread Rick Reumann
Thibaut wrote the following on 1/19/2006 1:09 PM: Hi, I'd like to choose the default value of my html:select in the action class. What is the parameter to set ? Set the value of the form bean property in your Action before you go to the form and that will be the default. Or, you could

html:select default value in the action

2006-01-19 Thread Thibaut
Hi, I'd like to choose the default value of my html:select in the action class. What is the parameter to set ? Action : request.setAttribute("partnerslist", getPartnerListFromDataBase(dataSource)); JSP: labelProperty="label&q

Re: html:select default value overwriting bean value

2005-07-14 Thread Laurie Harper
d think about that but the way my global settings are set the default value for country is found in the jsp page. Maybe I need to rethink this. I was just hoping there might be another workaround. i.e. somehow first check the bean and if nothing then use the default value. Yes, getCountryID() is

RE: html:select default value overwriting bean value

2005-07-14 Thread Ansley, Tom
Hi Ichy, I did think about that but the way my global settings are set the default value for country is found in the jsp page. Maybe I need to rethink this. I was just hoping there might be another workaround. i.e. somehow first check the bean and if nothing then use the default value. Yes

Re: html:select default value overwriting bean value

2005-07-14 Thread ichy
Hi, Tom did you try to use ActionForm#reset() to set default value for countryID to US ? getCountryID() you are talking is a method of ActionForm, right? ichy

html:select default value overwriting bean value

2005-07-14 Thread Ansley, Tom
: The value="US" always overwrites what is in the bean. I would like it to only put that default value into the page if there is NO value in the bean. Can this be done? Thanks Tom Ansley

Setting the default value for an array of objects

2005-05-13 Thread Dahnke, Eric \(Company IT\)
Hello, I believe, it is considered a best practice to use DTOs (transport/beans) to hold the default values of objects (although I've heard that within Actions is the more appropriate place). How do you guys do this when one of your DTOs has an array of child DTOs. For example: public class Poli

re: bean:message default value

2005-02-17 Thread lukas_oesterreicher
As noone has responded to my problem placing a default value in case of a non-existent tag, I found my own solution for it: I created my own tld and corresponding class, adding parameters like baseKey and defaultValue. It was pretty easy: Just copy and past the existing struts implementation and

bean:message default value comment

2005-02-16 Thread lukas_oesterreicher
A short comment: "/> doesnt work, even after adding the ) that I fogot. I always have to save the expression to a seperate String variable before. Do you know why this is an if there is a way to circumvent the external java expression? Lukas

bean:message default value

2005-02-16 Thread lukas_oesterreicher
Hello I've been using struts for a while now and more then once came over a inconvenience of the bean:message tag. As documented, the jstl (which I prefer not to use) representation is something like I am particularly interested in the replacement text which - if I understand correctly - i

Re: html:checkbox default value

2004-09-12 Thread Rick Reumann
Erez Efrati wrote the following on 9/12/2004 7:03 AM: If I put it in the form bean constructor wouldn't it cause the field value to be always "true" no matter if the user unchecks it and submit the form. As far as I can recall a checkbox field should be reset to false before the form population. I

RE: html:checkbox default value

2004-09-12 Thread Erez Efrati
--- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Sunday, September 12, 2004 1:38 AM To: Struts Users Mailing List Subject: Re: html:checkbox default value The values displayed on the page are copied from the form bean, so the right answer is to set the value of the "schedule" property

Re: html:checkbox default value

2004-09-11 Thread Craig McClanahan
e scenario -- you can execute a "setup" action that pre-fills the form bean (perhaps from information loaded from a database) before forwarding to the page. Craig On Sat, 11 Sep 2004 21:53:36 +0200, Erez Efrati <[EMAIL PROTECTED]> wrote: > I am trying to set the default value

RE: html:checkbox default value

2004-09-11 Thread Erez Efrati
Looking in the code, the tag does not provide any way to set/force the default value - only by setting the value on the form bean. A small workaround is to do: Which works. Still the better way is to work with the form and so anyone Who reads this don't get the idea that I am aiming at

html:checkbox default value

2004-09-11 Thread Erez Efrati
I am trying to set the default value of a checkbox to 'checked' by putting: but somehow it does not check it. The produced HTML gives me What am I missing here? Thanks, Erez

Re: issue - default value

2004-09-04 Thread Rick Reumann
Dorothy Rifai wrote: I have drop-down lists for the month, day, and year. I want to set the "selected" value in each box to the value for the current date. I tried to use the html:options custom tag, but couldn't figure out how to set a default value. Just make sure the Ac

issue - default value

2004-09-04 Thread Dorothy Rifai
I have drop-down lists for the month, day, and year. I want to set the "selected" value in each box to the value for the current date. I tried to use the html:options custom tag, but couldn't figure out how to set a default value. So I wrote a jsp scriptlet to provide the function