Struts 1.1 bean:write problem

2004-05-21 Thread Arunkumar Sreedharan
Ref : msg71420 Hi, I suppose the proble is very simple, just add the following things to the web.xml and struts-config.xml In Web.xml application com.xyz.ApplicationResources add the above entry below action org.apache.struts.action.ActionServlet It is no

Re: Struts tag problem (bean:message and bean:write)

2004-03-26 Thread Dmitrii CRETU
Hello Marco, maybe this will help (using struts-el): Dima. Thursday, March 25, 2004, 6:02:54 PM, you wrote: MM> Hi all, MM> I was wondering if anyone of you have a solution MM> For this dilemma. MM> I have a collectin of product DTOs to show on my jsp. One of MM> DTO's property is,

Re: Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Daniel H A Lima
Marco, can you use bean:define and a scriptlet code inside bean:message ? Something like : --- Marco Mistroni <[EMAIL PROTECTED]> escreveu: > Hi all, > I was wondering if anyone of you have a solution > For this dilemma. > I have a collectin of product DTOs to show on my > jsp. One of

RE: Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Paul McCulloch
Something like Paul > -Original Message- > From: Marco Mistroni [mailto:[EMAIL PROTECTED] > Sent: 25 March 2004 16:03 > To: 'Struts Users Mailing List' > Subject: Struts tag problem (bean:message and bean:write) > > > Hi all, >

Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Marco Mistroni
Hi all, I was wondering if anyone of you have a solution For this dilemma. I have a collectin of product DTOs to show on my jsp. One of DTO's property is, let's say, the type, which is listed in number. (let's say, 10 or 20). ON the DTO I will have the value 10,20 ecc but on the jsp I have

RE: Bean:write

2004-03-21 Thread as as
still getting a error make sure you are using proper JavaBean naming conventions. You can find this in the JavaBean specification. robert > -Original Message- > From: as as [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 21, 2004 12:47 PM > To: Struts Users Mailing List >

RE: Bean:write

2004-03-21 Thread Robert Taylor
TECTED] > Sent: Sunday, March 21, 2004 12:47 PM > To: Struts Users Mailing List > Subject: Bean:write > > > > Hi, > > > > In my logic:iterate tag, I want to pull out the value of the bean:write tag. > > I am using following syntax. > > something

Bean:write

2004-03-21 Thread as as
Hi, In my logic:iterate tag, I want to pull out the value of the bean:write tag. I am using following syntax. something is probably wrong, as i am getting a compile error. looking for right syntax basically all i want to to is pull out the value of the bean:write tag. Thanks in

RE: html:text works, bean:write fails [Resolved]

2004-02-27 Thread rcdunn
Well the following fixed it: The problem was the case in the "reportForm". The form bean was named ReportForm and I did not realize the case was changed when set in the session. I used the following snippet of code to help in the debugging (I sure wish I had tried this earlier) and placed it in

html:text works, bean:write fails

2004-02-26 Thread rcdunn
I have a situation where I have not found a solution in the archives (I'm sure it is there, just don't know the right search), the documents (I have half dozen Struts books, plus the tomcat docs), and Google has not been my friend: I have a simple struts application where if I put the following in

RE: html:text works, bean:write fails

2004-02-26 Thread Gopalakrishnan, Jayesh
t; just to make sure both these tags are accessing the same bean. -jayash -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 1:53 PM To: [EMAIL PROTECTED] Subject: html:text works, bean:write fails I have a situation where I have n

Re: html:text works, bean:write fails

2004-02-26 Thread rcdunn
Tried both cases - no joy. Also tried wrapping the tag in tag:     while setting the ignore to 'false'. The page renders, but apparently the bean is not visible in the scope. But, if that is the case, why does it work with the taglib? On Thursday 26 February 2004 14:56, you wrote: > The

RE: html:text works, bean:write fails

2004-02-26 Thread Gopalakrishnan, Jayesh
MAIL PROTECTED] Sent: Thursday, February 26, 2004 2:37 PM To: [EMAIL PROTECTED] Subject: Re: html:text works, bean:write fails Tried both cases - no joy. Also tried wrapping the tag in tag:     while setting the ignore to 'false'. The page renders, but apparently the bean is not

Re: html:text works, bean:write fails

2004-02-26 Thread rcdunn
I added the following tag: Not present And I DO get the 'Not present' text. I am still confused; why then does the tag work? Sorry for the posting to myself, but I am hoping for someone to pick up the thread and tell me what a Doofus I am and point me the right way. That may have

Re: html:text works, bean:write fails

2004-02-26 Thread Martin Cooper
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a situation where I have not found a solution in the archives (I'm > sure it is there, just don't know the right search), the documents (I have > half dozen Struts books, plus the tomcat docs), and Google has not been my > friend

RE: Using "bean:write" as a tag's value atrribute

2004-01-31 Thread Mailing List
Thank you very much Bean:define solved the problem -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 3:45 PM To: Struts Users Mailing List Subject: Re: Using "bean:write" as a tag's value atrribute Nico.

Re: bean:write

2004-01-30 Thread David Erickson
Greg the answer to your question is yes, jstl has a To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 30, 2004 2:54 PM Subject: Re: bean:write > > On Jan 30, 2004, "David Erickson" <[EMAIL PROTECTED]> wrote: > > |What type

Re: bean:write

2004-01-30 Thread Gregory F. March
On Jan 30, 2004, "David Erickson" <[EMAIL PROTECTED]> wrote: |What type of formatting are you looking to do? We are formatting dates, currency, and numbers. I think we will extend the bean:write in a custom tag and just check for null ourselves - very minimal code change th

Re: bean:write

2004-01-30 Thread David Erickson
What type of formatting are you looking to do? -David - Original Message - From: "Gregory F. March" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 30, 2004 1:42 PM Subject: Re: bean:write > > On

Re: bean:write

2004-01-30 Thread Gregory F. March
On Jan 30, 2004, "David Erickson" <[EMAIL PROTECTED]> wrote: |Greg: you could alternatively use the JSTL Core tags, if the bean is null it |doesn't write anything I believe. The format is | |otherwise if you really want to use bean:write you could enclose it in a

Re: bean:write

2004-01-30 Thread David Erickson
Greg: you could alternatively use the JSTL Core tags, if the bean is null it doesn't write anything I believe. The format is otherwise if you really want to use bean:write you could enclose it in a or just HTH -David - Original Message - From: "Gregory F. March" &l

bean:write

2004-01-30 Thread Gregory F. March
I haven't been able to confirm this first hand, but one of my team members (who is not on this list) is trying to do a bean:write. The problem is that sometimes, the bean that is being displayed is null. My question is what is the proper way to handle this? We tried to play with the i

{ICICICARE#005-218-318}Using "bean:write" as a tag's value atrribute

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly vis

{ICICICARE#005-216-115}AW: Using "bean:write" as a tag's value atrribute

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly vis

{ICICICARE#005-215-908}Using "bean:write" as a tag's value atrribute

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly vis

Re: Using "bean:write" as a tag's value atrribute

2004-01-29 Thread Nicolas De Loof
Nico. > > Dear All; > > Using works properly > in my jsp page body. But when I want to use it in a tag to fill its > attribute, it fails. > Actually I don't know the syntax of using bean:write, obviously the below > way is wrong: > > &qu

Re: Using "bean:write" as a tag's value atrribute

2004-01-29 Thread Claire Wall
use a jsp expression so you can set the value like so: hope this answers your question claire :) - Original Message - From: "Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, January 29

AW: Using "bean:write" as a tag's value atrribute

2004-01-29 Thread Kasterovic, Slobodan
Try this: " /> Casting is sometimes necessary !!! Slobodan --> -UrsprÃngliche Nachricht- --> Von: Mailing List [mailto:[EMAIL PROTECTED] --> Gesendet: Donnerstag, 29. Januar 2004 11:54 --> An: 'Struts Users Mailing List' --> Betreff: Using "

Using "bean:write" as a tag's value atrribute

2004-01-29 Thread Mailing List
Dear All; Using works properly in my jsp page body. But when I want to use it in a tag to fill its attribute, it fails. Actually I don't know the syntax of using bean:write, obviously the below way is wrong: "> Using expression is wrong, too: %>"> So how could I u

RE: bean:write question

2004-01-26 Thread Daniel Lipofsky
> To: Struts Users Mailing List > Subject: Re: bean:write question > > > how about wrapping your content inside the tag? > > > On Jan 24, 2004, at 11:37 AM, Allen Jordan wrote: > > > Hello all, > > I am trying to display a file name and the contents of the

Re: bean:write question

2004-01-24 Thread Hien Q Nguyen
how about wrapping your content inside the tag? On Jan 24, 2004, at 11:37 AM, Allen Jordan wrote: Hello all, I am trying to display a file name and the contents of the file in a jsp. My formbean object contains 2 Strings (filename and contents). The problem I am having is the file contents are

bean:write question

2004-01-24 Thread Allen Jordan
Hello all, I am trying to display a file name and the contents of the file in a jsp. My formbean object contains 2 Strings (filename and contents). The problem I am having is the file contents are displayed in one continues string, without line breaks. Is there anyway to do this without using "ite

RE: bean:write and apostrophes

2004-01-22 Thread Daniel Lipofsky
uote prematurely ends the string I am trying to pass to the Javascript method, which causes a Javascript exception. Thanks, Dan > -Original Message- > From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 22, 2004 4:39 PM > To: 'Struts Users Ma

RE: bean:write and apostrophes

2004-01-22 Thread Yee, Richard K,,DMDCWEST
Dan, Try using the filter="false" attribute of the bean:write tag. That will disable the encoding of characters that are sensitive to HTML. -Richard -Original Message- From: Daniel Lipofsky [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 4:18 PM To: [EMAIL PROTECTE

bean:write and apostrophes

2004-01-22 Thread Daniel Lipofsky
If I use to write out the value "Dan's Test" I get "Dan's". But this is giving me problems with Javascript. THIS FAILS: Dan's Test BUT THIS WORKS: Dan's Test But I don't know how to get the second form. I can reverse the single quotes and double quotes in javascript - then it works for the tes

bean:write question

2004-01-19 Thread Sng Wee Jim
Hi, Is there an elegant way to get the bean:write tag to encode space to   ? I tried setting the attribute filter="true" but it doesn't encode space to   I need to get this working, as consecutive spaces will be collapsed into one in HTML and I need to ensure that doesn'

bean:write question

2004-01-19 Thread Sng Wee Jim
Hi, Is there an elegant way to get the bean:write tag to encode space to   ? I tried setting the attribute filter="true" but it doesn't encode space to   I need to get this working, as consecutive spaces will be collapsed into one in HTML and I need to ensure that doesn'

Bean:write arg0 substitution problem

2004-01-15 Thread Mark Nichols
Good Morning All, I am trying to complete the following code: " /> The substitution at arg0 isn't working. How do I do delimit the bean:write inside my bean:message tag? Thanks Mark -- > SELECT * FROM userTBL where clue >

AW: bean:write

2004-01-14 Thread Otto, Frank
overwrite the br-tag again. :-( Thanks for your help!!! Regards, Frank -Ursprüngliche Nachricht- Von: Kris Schneider [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 14. Januar 2004 15:58 An: Struts Users Mailing List Betreff: Re: bean:write The "delims" attribute of works just

Re: bean:write

2004-01-14 Thread Mark Lowe
sorry kris, i think i misunderstood the original question, but i get what you saying with the delim character needing to be a character not a string. I think our man wants filter="false" anyhow .. On 14 Jan 2004, at 14:57, Kris Schneider wrote: The "delims" attribute of works just like the "d

Re: bean:write

2004-01-14 Thread Kris Schneider
The "delims" attribute of works just like the "delim" argument to a StringTokenizer constructor. For example, if you do: StringTokenizer st = new StringTokenizer("line1line2", "", true); Then st.countTokens() will return 6, not 3. In other words, the "delims" attribute should be thought of as a

Re: bean:write

2004-01-14 Thread Mike Deegan
t; <[EMAIL PROTECTED]> To: "Struts-User (E-Mail)" <[EMAIL PROTECTED]> Sent: Wednesday, January 14, 2004 7:30 AM Subject: bean:write > Hello, > > I want to write a string like "line1line2". > > If I use , I will get line1<br>line2. > If I use

Re: bean:write

2004-01-14 Thread Mark Lowe
So you want to replace for \n or similar. ... This might work. On 14 Jan 2004, at 14:30, Otto, Frank wrote: Hello, I want to write a string like "line1line2". If I use , I will get line1
line2. If I use , I will get line1line2. But I want to write: line1 line2 How can I do th

bean:write

2004-01-14 Thread Otto, Frank
Hello, I want to write a string like "line1line2". If I use , I will get line1
line2. If I use , I will get line1line2. But I want to write: line1 line2 How can I do this with struts? Regards, Frank

Re: format tag in bean:write - was :RE: Handling Missing Message Key

2004-01-08 Thread Brian Styles
thanks again for all your help on this Kris! Invaluable! From: Kris Schneider <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: format tag in bean:write - was :RE: Handling Mi

Re: format tag in bean:write - was :RE: Handling Missing Message Key

2004-01-08 Thread Kris Schneider
he types I might need that I can just copy into the resource bundle? > > > >From: Kris Schneider <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: Struts Users Mailing List <[EMAIL PROTECTED]> > >Subjec

Re: format tag in bean:write - was :RE: Handling Missing Message Key

2004-01-08 Thread Brian Styles
Users Mailing List <[EMAIL PROTECTED]> Subject: Re: format tag in bean:write - was :RE: Handling Missing Message Key Date: Thu, 8 Jan 2004 08:35:14 -0500 Use the formatKey attribute if you want to pull it from message resources. Have a look at java.text.DecimalFormat for an explanation of

Re: format tag in bean:write - was :RE: Handling Missing Message Key

2004-01-08 Thread Kris Schneider
at tag in > bean:write. Could someone tell me how to set this up? > > I think you can put the formats into the application properties file, > correct? > Does someone have an example of what to put in? > thanks, > Brian > > > >From: "Brian Styles" <[EM

format tag in bean:write - was :RE: Handling Missing Message Key

2004-01-08 Thread Brian Styles
Ah, ha! I am an idiot. I think this has to do with the format tag in bean:write. Could someone tell me how to set this up? I think you can put the formats into the application properties file, correct? Does someone have an example of what to put in? thanks, Brian From: "Brian Styles&quo

bean:write AND logic:iterate

2003-12-27 Thread Oliver Thiel
Hi, In my Form I define an Array, which contains some message resource keys. I'm able to print out the values, but what I want to archive is that it prints out the value from the application resource properties and also I wanted to use an logic:iterate to print them out, so it should be someth

bean:write AND logic:iterate

2003-12-27 Thread Oliver Thiel
Hi @ll; In my Form I define an Array, which contains some message resource keys. I'm able to print out the values, but what I want to archive is that it prints out the value from the application resource properties and also I wanted to use an logic:iterate to print them out, so it should be so

Re: Bean:write \problem

2003-12-02 Thread Gurpreet Dhanoa
hi KulKarni Thanks for it It worked Cheers gary - Original Message - From: "Ravi Kulkarni" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, December 02, 2003 4:54 PM Subject: RE: Bean:write \problem

RE: Bean:write \problem

2003-12-02 Thread Ravi Kulkarni
u can try something like this : Thanks, Kulkarni -Original Message- From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 4:50 PM To: Struts Users Mailing List Subject: Bean:write \problem Hi All, I am trying to display the content to the front end user

Bean:write \problem

2003-12-02 Thread Gurpreet Dhanoa
Hi All, I am trying to display the content to the front end user which contains some HTML TAGS. say i have into the database " HI I am bold tag" when i am tryiong to display the data using OR It is not letting the HTML TAGS to reflect instead it is dispaying the value same as above H

bean:write basic question.

2003-11-25 Thread Ricky Lee
hi,i get a problem in struts taglib. i test the bean-write.jsp under struts-excercise-taglib folder, it can work smoothly , if i create a new application, and test bean-write.jsp, it can't work, after that, i found a problem, if i add the code below into web.xml of my new web application ,the bean-

Re: Problem with Greek alphabet (How to Set default value for 'filter' in bean:write to FALSE

2003-11-07 Thread alvin antony
Hello guys, I didn't found any from Struts solution for the my last mail (find below), but I managed to correct it by adding a line in my Tiles layout file Now I run into new problem that, the not understands this charset or interprets differently :-/ . I have to set 'filter' to false, in

RE: Bean:write to c:out conversion for something in .properties file

2003-10-15 Thread Kris Schneider
is Schneider [mailto:[EMAIL PROTECTED] > > > Enviado el: miércoles, 15 de octubre de 2003 4:25 > > > Para: Struts Users Mailing List > > > Asunto: Re: Bean:write to c:out conversion for something in > > > .properties file > > > > > > > > >

RE: Bean:write to c:out conversion for something in .properties file

2003-10-15 Thread Kris Schneider
rces for each module. Quoting Carlos Sánchez <[EMAIL PROTECTED]>: > Could you post your JSTLSwitchAction ? > > > -Mensaje original- > > De: Kris Schneider [mailto:[EMAIL PROTECTED] > > Enviado el: miércoles, 15 de octubre de 2003 4:25 > > Para: Strut

RE: Bean:write to c:out conversion for something in .properties file

2003-10-15 Thread Carlos Sánchez
Could you post your JSTLSwitchAction ? > -Mensaje original- > De: Kris Schneider [mailto:[EMAIL PROTECTED] > Enviado el: miércoles, 15 de octubre de 2003 4:25 > Para: Struts Users Mailing List > Asunto: Re: Bean:write to c:out conversion for something in > .properties

Re: Re: outputting html with bean:write

2003-10-15 Thread Lars Hammer
t; <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: outputting html with bean:write > >Date: Wed, 15 Oct 2003 08:23:06 + > > > >If writing html with just make sure you specify the attribute > >format="false". > >If this attribut

Fwd: Re: outputting html with bean:write

2003-10-15 Thread tcs 777
I mean the FILTER attribute of course!! From: "tcs 777" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: outputting html with bean:write Date: Wed, 15 Oct 2003 08:23:06 + If writing html with

Re: outputting html with bean:write

2003-10-15 Thread Nicolas De Loof
What html result do you get ? If generated HTML has "" check if you included struts-bean taglig header in your jsp. If generated HTML has "<b>hello ..." use filter="false" on bean:write to disable HTML markup filtering (active by default) Nico. -

Re: outputting html with bean:write

2003-10-15 Thread tcs 777
t value is "true". So: < bean:write name="hit" format="false" property="comment"/ > should work. From: "Lars Hammer" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users

outputting html with bean:write

2003-10-15 Thread Lars Hammer
iv > but this doesn't < div style="height: 70; width: 200; border: 1px solid black; overflow: auto;" > < bean:write name="hit" property="comment"/ > < /div > Is there something special about the way text is stored in a bean property? -thanks /Lars Hammer http://www.dezide.com

Re: Bean:write to c:out conversion for something in .properties file

2003-10-14 Thread Kris Schneider
Wendy Smoak wrote: Okay, apparently I can't read. It was a tag, not a tag! Since WAS ported to Struts-EL, I assume that there is something you can do with that you cannot do with . What would that be? The biggest difference is that is hooked into the internals of Struts. I'm guessing this

RE: Bean:write to c:out conversion for something in .properties file

2003-10-14 Thread Wendy Smoak
pp will *never* need to be displayed in other than English. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University, PA, IRM -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 4:36 PM To: Struts Users Mailing List Subjec

Re: Bean:write to c:out conversion for something in .properties file

2003-10-14 Thread Kris Schneider
Put the following in web.xml: javax.servlet.jsp.jstl.fmt.localizationContext ApplicationResources and then use: <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %> Wendy Smoak wrote: The struts-example webapp has the following in logon.jsp: : The message comes from Applica

Bean:write to c:out conversion for something in .properties file

2003-10-14 Thread Wendy Smoak
The struts-example webapp has the following in logon.jsp: : The message comes from ApplicationResources.properties. The README file for Struts-El says that is replaced by . How do I write out something in the .properties file? I looked at bean-write.jsp in the strutsel-exercise-taglib weba

RE: help....! it's possible to format date output with bean:write?

2003-09-10 Thread hari_s
iling List Cc: [EMAIL PROTECTED] Subject: Re: help! it's possible to format date output with bean:write? Hi Firat, I have one doubt regarding the same question. I have a property dateOfBirth of String type. What type of values I can set to this property, if I used formatKey value. If I

RE: help....! it's possible to format date output with bean:write ?

2003-09-10 Thread Slattery, Tim - BLS
> it's possible to format date output with bean:write? > Any idea about that ?,it's possible ? Not with , no. But look at JSTL's tag. -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail:

Re: help....! it's possible to format date output with bean:write?

2003-09-10 Thread Firat TIRYAKI
er 10, 2003 11:12 AM Subject: Re: help! it's possible to format date output with bean:write? > Hi Firat, > > I have one doubt regarding the same question. > > I have a property dateOfBirth of String type. > > What type of values I can set to this property, if I use

Re: help....! it's possible to format date output with bean:write?

2003-09-10 Thread Ashok.D
quot; <[EMAIL PROTECTED]> Sent: Wednesday, September 10, 2003 1:30 PM Subject: Re: help! it's possible to format date output with bean:write? > You should make a decleration in the application resources file ; > --- > date.format=MM/dd/ > --

Re: help....! it's possible to format date output with bean:write?

2003-09-10 Thread Firat TIRYAKI
You should make a decleration in the application resources file ; --- date.format=MM/dd/ --- and use it in jsp bean:write with the parameter "formatKey" like below F. - Original Message - From: "

help....! it's possible to format date output with bean:write?

2003-09-10 Thread hari_s
it's possible to format date output with bean:write? Any idea about that ?,it's possible ?

Re: bean:write usage

2003-08-27 Thread Nagendra Kumar O V S
iling List Date: Wednesday, August 27, 2003 08:51:00 PM To: Struts Users Mailing List Subject: bean:write usage  Hi,I have a form where I display some "static" fields ...the values of those fields are located in my actionFo

bean:write usage

2003-08-27 Thread michel Van Asten
Hi, I have a form where I display some "static" fields ... the values of those fields are located in my actionForm, if I use the bean:write tag I need to give the name of the action form in my jsp file Is it possible to avoid that ? Regards, Michel

Re: problem with bean:write and capitalization of attribute name

2003-08-14 Thread Wes Rood
Could you point me to more information on this behavior? I'm still confused as to why it will capitailze the "f" in "fax" to locate the getFax() method, but it will not capitalize the "l" in "lName" to locate the getLName() method. Thanks! David Graham wrote: This is standard JavaBean behavio

problem with bean:write and capitalization of attribute name

2003-08-14 Thread Wes Rood
I have an object as follows public class Contact { ... private String lName; // the contact's last name private String fax; // the contact's fax number ... public String getLName() { return lName; } public String getFax() { return fax; } ... } Then I use to go thr

Re: problem with bean:write and capitalization of attribute name

2003-08-14 Thread David Graham
Section 8.8 of the JavaBeans spec details the capitalization rules. My guess is that it can't find your property because it starts with 2 upper case letters and assumes the rest is upper case (which getLName isn't). Use "lastName" and everything will work fine :-). David --- Wes Rood <[EMAIL PR

Re: problem with bean:write and capitalization of attribute name

2003-08-11 Thread Wes Rood
Here is what I assumed Struts was doing: take the property name, capitalize the first letter, append get to the front and then call that method: lName -> LName -> getLName() fax -> Fax -> getFax() This technique would jive with what most IDE's do when they generate getters for attributes. But,

Re: problem with bean:write and capitalization of attribute name

2003-08-10 Thread David Graham
This is standard JavaBean behavior. Regardless, I encourage you to use lastName instead because lName is rather ugly and confusing. David --- Wes Rood <[EMAIL PROTECTED]> wrote: > I have an object as follows > > public class Contact { > ... > private String lName; // the contact's last nam

Re: problem with bean:write and capitalization of attribute name

2003-08-08 Thread Michael Ruppin
Here's the spec: http://sunsdlc1-1.sjc-colo.bbnplanet.com/servlet/EComFileServlet/main_products/SDLC//ESD4/JSCDL/javabeans/1.01/beans.101.pdf?ActionId=verify&TicketId=Cl5Z%2BEmLVFM%3D&TicketServerUrl=UMdnxpfbimnVhsPzHcxQH1vcfpnakcdixIDR8grWSV9U3HLSgqDMYN%2BV1osLy1dXQQ%3D%3D&GroupName=5PoE Ahhh.

Re: problem with bean:write and capitalization of attribute name

2003-08-06 Thread Kris Schneider
Try running: java.beans.Introspector.decapitalize("LName") The gory bean details can be found at: http://java.sun.com/products/javabeans/docs/spec.html Quoting Wes Rood <[EMAIL PROTECTED]>: > Could you point me to more information on this behavior? > > I'm still confused as to why it will cap

RE: Prob:Calling a bean:write inside html:text

2003-07-30 Thread Wendy Smoak
> Even though this is a frequent question, > I could not get the Exact syntax for doing it. > ""/> If this element inside the form that belogs with the Action that uses registrationForm, then you don't need the 'value' attribute at all. Struts will magically populate the form element from the

RE: Prob:Calling a bean:write inside html:text - Nesting is nice

2003-07-30 Thread Bailey, Shane C.
You can do that with the struts tags as well. But that is only for the value just like for JSTL. you could replace the bean:write with hard text too I assume. I am guessing the Struts tags and JSTL tags are written the same way. But what was wished for is having any attribute of a

[OT] RE: Prob:Calling a bean:write inside html:text - Nesting is nice

2003-07-30 Thread Brendan . Johnston
--Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 11:28 AM To: Struts Users Mailing List Subject: RE: Prob:Calling a bean:write inside html:text - Nesting is nice Try JSTL. For example: is equivalent to: 26/12/1968 The content of

RE: Prob:Calling a bean:write inside html:text - Nesting is nice

2003-07-30 Thread Steve Raeburn
CTED] > Subject: RE: Prob:Calling a bean:write inside html:text - Nesting is > nice > > > It would be nice if this: > > > > Parsed the same as: > > >aValue > > > > Failing that it would be nice if any tags with attribute > also accept

RE: Prob:Calling a bean:write inside html:text - Nesting is nice

2003-07-30 Thread Brendan . Johnston
: Wednesday, July 30, 2003 10:23 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: RE: Prob:Calling a bean:write inside html:text On Wed, 30 Jul 2003, James Childers wrote: > Date: Wed, 30 Jul 2003 11:35:53 -0500 > From: James Childers <[EMAIL PROTECTED]> > Reply-T

RE: Prob:Calling a bean:write inside html:text

2003-07-30 Thread Craig R. McClanahan
ED] > Subject: RE: Prob:Calling a bean:write inside html:text > > > YOU CAN'T NEST TAGS. > > YOU CAN'T NEST TAGS. > > You, or anyone else, cannot nest tags. Tags cannot be nested. Nesting tags is > prohibited. If you nest a tag inside another tag, the page won'

RE: Prob:Calling a bean:write inside html:text

2003-07-30 Thread Witbeck, Shane
hmm...someone on a rant here ;) what you want to do is something like: -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 12:36 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Prob:Calling a bean:write inside html:text

RE: Prob:Calling a bean:write inside html:text

2003-07-30 Thread James Childers
work and no play make Homer something something." -= J > -Original Message- > From: guruprasad jakka [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 30, 2003 11:21 AM > To: [EMAIL PROTECTED] > Subject: Prob:Calling a bean:write inside html:text > > > Hi

Prob:Calling a bean:write inside html:text

2003-07-30 Thread guruprasad jakka
Hi, Even though this is a frequent question, I could not get the Exact syntax for doing it. I tried initializing a textbox from one of the earlier bean's property,by nesting the bean:write inside html:text. It is giving errors. "/> I tried leaving the quotes but invain. Is t

Problem with logic:iterate and bean:write

2003-07-24 Thread Peter Eichenauer
Hello, I have a problem with using inside . The code I use: ... ... The object with id="date" is of type java.util.Date. The documentation of says, "if property is not specified, the value of the bean itself will be rendered". But my JSP throws an Exception: Cannot find bean date in any

RE: Using bean:write to display/stream PDF content -- please help.

2003-07-23 Thread James Childers
Bravo, Max. Great idea. Looking into implementing it here. -= J > -Original Message- > From: Max Cooper [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 23, 2003 4:13 PM > To: Struts Users Mailing List > Subject: Re: Using bean:write to display/stream PDF content -

Re: Using bean:write to display/stream PDF content -- please help.

2003-07-23 Thread Max Cooper
This question is very similar to a question that was asked about images recently. I outlined a solution (including some code) can be used for sending PDF files as well. Here's a link to the message from the archive: http://tinyurl.com/huby Long version of the same link: http://nagoya.apache.org/e

RE: Using bean:write to display/stream PDF content -- please help.

2003-07-23 Thread Kris Schneider
gt; <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > cc: > > Subject:RE: Using bean:write to display/stream PDF content -- > please help. > > > > Bean write may not be converting the property correctly, it&#x

RE: Using bean:write to display/stream PDF content -- please help.

2003-07-23 Thread Adam Levine
s Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Using bean:write to display/stream PDF content -- please help. Date: Wed, 23 Jul 2003 11:18:48 -0400 That is what I need. I mentioned the word "gurus"

RE: Using bean:write to display/stream PDF content -- please help.

2003-07-23 Thread leonard_reinstein
That is what I need. I mentioned the word "gurus" in my question :) Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject:RE: Using bean:write to display/stream

RE: Using bean:write to display/stream PDF content -- please help.

2003-07-23 Thread Mike Jasnowski
CTED] Sent: Wednesday, July 23, 2003 11:09 AM To: Struts Users Mailing List Subject: RE: Using bean:write to display/stream PDF content -- please help. Did you try this code yourself? I am telling you that this is exactly what I have done and it does not work. I have a form bean that has a

RE: Using bean:write to display/stream PDF content -- please help.

2003-07-23 Thread Adam Levine
tag (like ), that I'm aware of, for that sort of media.Unless, perhaps, you venture into the object/embedded realm. From: "Adam Levine" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE: Using bea

  1   2   3   4   >