RE: Bean:write

2004-03-21 Thread Robert Taylor
Try using the following with JSTL: c:set var=myValue value=${teacher.SSN}/ or you can try the following using bean:*.../ bean:define id=myValue name=teacher property=SSN/ If you are still getting a error make sure you are using proper JavaBean naming conventions. You can find this in the

RE: Bean:write

2004-03-21 Thread as as
Thanks Robert,w ill try this now.. Has anyone also used graphing software (jfree) with struts... looking for a open source implemntation on the same... Thanks! Robert Taylor [EMAIL PROTECTED] wrote: Try using the following with JSTL: or you can try the following using If you are still

Re: bean:write problem

2004-03-03 Thread sean
sean sean.jones at ubs.com writes: a onclick='returnData(bean:write name=xloc property=script /)' bean:write name=xloc property=locCode/ /a bean:write name=obj property=getter filter = true/ adding the filter=true did the trick

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 c:out value=${yourbean}/ otherwise if you really want to use bean:write you could enclose it in a logic:notEmpty name=mybean property=bean property/logic:notEmpty or just

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 c:out |value=${yourbean}/ | |otherwise if you really want to use bean:write you could enclose it in a

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 Jan 30, 2004, David Erickson [EMAIL PROTECTED] wrote

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 this way (which is

Re: bean:write

2004-01-30 Thread David Erickson
[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 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

RE: bean:write question

2004-01-26 Thread Daniel Lipofsky
List Subject: Re: bean:write question how about wrapping your content inside the PRE/PRE 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

Re: bean:write question

2004-01-24 Thread Hien Q Nguyen
how about wrapping your content inside the PRE/PRE 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

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 PROTECTED] Subject:

RE: bean:write and apostrophes

2004-01-22 Thread Daniel Lipofsky
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 Mailing List' Subject: RE: bean:write and apostrophes Dan, Try using

Re: bean:write

2004-01-14 Thread Mark Lowe
So you want to replace br for \n or similar. c:set var=str value=${myForm.myProperty} / c:forTokens var=tok items=${str} delims=br c:out value=${tok}\n / ... This might work. On 14 Jan 2004, at 14:30, Otto, Frank wrote: Hello, I want to write a string like line1brline2. If I use

Re: bean:write

2004-01-14 Thread Mike Deegan
does it work with br/ instead of br because I have things working exactly as you would have with ... bean:write name=myForm property=myProperty filter=false/ filter=false does the trick for me - only difference is my line breaks are br/ instead of br not sure if that changes things for you

Re: bean:write

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

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 c:forTokens works just

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
Here's the bean: public class Cart extends HashMap { private double subTotal = 400.00; public double getSubTotal(){return subTotal;} } Here's the Java: session.setAttribute(cart, new Cart()); Here's the JSP bean:write name=cart property=subTotal/ // no output? %=

RE: bean:write not writing?

2003-12-27 Thread Sharad Acharya
Michael; Did you forget to specify the taglib directive for bean:write tag library in your JSP? In such case, have following in your JSP. %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % Hope this helps. Sharad From: Michael Marrotte [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To:

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
] Subject: RE: bean:write not writing? Michael; Did you forget to specify the taglib directive for bean:write tag library in your JSP? In such case, have following in your JSP. %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % Hope this helps. Sharad From: Michael Marrotte [EMAIL PROTECTED

Re: bean:write not writing?

2003-12-27 Thread Mark Lowe
] Sent: Saturday, December 27, 2003 9:48 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: bean:write not writing? Michael; Did you forget to specify the taglib directive for bean:write tag library in your JSP? In such case, have following in your JSP. %@ taglib uri=/WEB-INF/struts-bean.tld

RE: bean:write not writing?

2003-12-27 Thread Matthias Wessendorf
hi, it must end with .tld %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % and place the file in /WEB-INF -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 3:52 PM To: Struts Users Mailing List Subject: Re: bean:write not writing

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
(even bean:write) as advertised, except in this one case. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 9:52 AM To: Struts Users Mailing List Subject: Re: bean:write not writing? Aren't tags usually in /WEB-INF? On 27 Dec 2003, at 14:57

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
-Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 9:54 AM To: 'Struts Users Mailing List' Subject: RE: bean:write not writing? hi, it must end with .tld %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % and place the file in /WEB-INF

Re: bean:write not writing?

2003-12-27 Thread Mark Lowe
: Saturday, December 27, 2003 9:52 AM To: Struts Users Mailing List Subject: Re: bean:write not writing? Aren't tags usually in /WEB-INF? On 27 Dec 2003, at 14:57, Michael Marrotte wrote: %@ taglib uri=/tags/struts-bean prefix=bean % is at the top of the JSP file and other bean:write tags are working

Re: bean:write not writing?

2003-12-27 Thread Kris Schneider
I'm pretty sure this boils down to the way PropertyUtils works. bean:write will use PropertyUtils.getProperty(bean, property) to retrieve the subTotal property from the bean cart. PropertyUtils will test whether or not cart is a Map (which it is) and then call Map.get to retrieve the property

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
: Saturday, December 27, 2003 10:08 AM To: Struts Users Mailing List Subject: Re: bean:write not writing? Fair enough The only other thing i can think of is to use jstl or old jsp tags instead or try using the scope attribute of bean:write bean:write name=cart property=subTotal scope=session / c:out

RE: bean:write not writing?

2003-12-27 Thread Ivan De La Pena
yeah buddyneed the tld for 'c' , declare the uri in the web.xml and the refer to that uri in ur jsp page. -Original Message- From: Michael Marrotte [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 10:24 AM To: Struts Users Mailing List Subject: RE: bean:write not writing

Re: bean:write not writing?

2003-12-27 Thread Mark Lowe
anything? Do I need a taglib descriptor for c:out? --Mike M. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 10:08 AM To: Struts Users Mailing List Subject: Re: bean:write not writing? Fair enough The only other thing i can think of is to use jstl

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
List Subject: Re: bean:write not writing? I'm pretty sure this boils down to the way PropertyUtils works. bean:write will use PropertyUtils.getProperty(bean, property) to retrieve the subTotal property from the bean cart. PropertyUtils will test whether or not cart is a Map (which

Re: bean:write not writing?

2003-12-27 Thread Mark Lowe
context. Thanks, --Mike M. -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 10:13 AM To: Struts Users Mailing List Subject: Re: bean:write not writing? I'm pretty sure this boils down to the way PropertyUtils works. bean:write will use

Re: bean:write not writing?

2003-12-27 Thread Jason Lea
I have read about people having problems getting or setting a bean which does not fit the bean specification. In that case the Cart object would also need a setSubTotal(double dbl) method, even if it is not used eg public class Cart extends HashMap { private double subTotal = 400.00;

Re: bean:write not writing?

2003-12-27 Thread Kris Schneider
I doubt JSTL will be any happier with a class that's trying to be both a Map and a JavaBean: %@ page contentType=text/plain % %@ taglib prefix=c uri=http://java.sun.com/jstl/core; % jsp:useBean id=map class=java.util.HashMap/ jsp:useBean id=obj class=java.lang.Object/ map.class: c:out

RE: Bean:write \problem

2003-12-02 Thread Ravi Kulkarni
u can try something like this : bean:write name=something property=something filter=false/ 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,

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 u can try something like this : bean:write name

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 file Wendy Smoak

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

2003-10-15 Thread Kris Schneider
. 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: Struts Users Mailing List Asunto: Re: Bean:write to c:out conversion

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

2003-10-15 Thread Kris Schneider
List Asunto: Re: Bean:write to c:out conversion for something in .properties file Wendy Smoak wrote: Okay, apparently I can't read. It was a bean:message tag, not a bean:write tag! Since bean:message WAS ported to Struts-EL, I assume that there is something you can

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

2003-10-14 Thread Kris Schneider
Put the following in web.xml: context-param param-namejavax.servlet.jsp.jstl.fmt.localizationContext/param-name param-valueApplicationResources/param-value /context-param and then use: %@ taglib prefix=fmt uri=http://java.sun.com/jstl/fmt; % fmt:message key=prompt.username/ Wendy Smoak

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

2003-10-14 Thread Wendy Smoak
To: Struts Users Mailing List Subject: Re: Bean:write to c:out conversion for something in .properties file Put the following in web.xml: context-param param-namejavax.servlet.jsp.jstl.fmt.localizationContext/param-name param-valueApplicationResources/param-value /context-param and then use

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 bean:message tag, not a bean:write tag! Since bean:message WAS ported to Struts-EL, I assume that there is something you can do with bean:message that you cannot do with fmt:message. What would that be? The biggest difference is that

RE: bean:write .. / needs resources!?

2003-10-12 Thread hari_s
You can try this.. logic:iterate name=yourActionFormName id=bean type= bean:write name=bean property=value / /logic:iterate -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Morten Sent: Sunday, October 12, 2003 6:10 AM To: [EMAIL PROTECTED] Subject: bean:write ..

Re: bean:write in html:text

2003-10-09 Thread Markus Meier
Tim Smal wrote: I'd like to use a bean:write within my html:text tag. Like this: html:text property=value(key1) onmouseover=bean:write name=myForm property=myMethod// But I can't do it this way. Anyone has suggestions? this should work... bean:define id=tmp bean:write name=myForm

RE: bean:write in html:text

2003-10-09 Thread Andrew Hill
snip Struts does not support /snip You mean JSP does not support surely? -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, 9 October 2003 19:44 To: Struts Users Mailing List Subject: RE: bean:write in html:text You will have to use JSP scripting or JSTL

RE: bean:write in html:text

2003-10-09 Thread Mark Galbreath
Whatever, O'Rielly-boy. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 7:47 AM To: Struts Users Mailing List Subject: RE: bean:write in html:text snip Struts does not support /snip You mean JSP does not support surely? -Original

RE: bean:write in html:text

2003-10-09 Thread Tim Smal
Thank you! You guys are quick! -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Markus Meier Sent: donderdag 9 oktober 2003 13:35 To: [EMAIL PROTECTED] Subject: Re: bean:write in html:text Tim Smal wrote: I'd like to use a bean:write within my html:text tag. Like

RE: bean:write Not Working With Tiles

2003-09-19 Thread Paul McCulloch
Looks like you haven't declared the bean taglib in the page! Paul -Original Message- From: Alex Araujo [mailto:[EMAIL PROTECTED] Sent: 19 September 2003 15:55 To: [EMAIL PROTECTED] Subject: bean:write Not Working With Tiles I'm migrating a struts/jsp app to tiles and I'm having a hard

Re: bean:write property= Format a Date ?

2003-09-17 Thread Abhijeet Mahalkar
I don't thing struts provide you formating date functionality as i never tried also but frankly it will take another 20 min. to write a function for formatting date.. use string.substring methods and all after retriving the date from DB using getStirng() or use to_char(datefield,'dd/mm/

RE: bean:write property= Format a Date ?

2003-09-17 Thread Ripudaman.Sharma
Inspite of using substring.You can use SimpleDateFormat class which provide you the facility of format date to any any Date Format .For Your refrence sending code which is generic one and convert any DateFormat- How to convert date from 2002-11-29 to 29/11/2002 (Or from any format to any format.

RE: bean:write property= Format a Date ?

2003-09-17 Thread Mohd Amin Mohd Din
to the requirements of the application. Amin -Original Message- From: Ripudaman.Sharma [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 9:02 PM To: Struts Users Mailing List Subject: RE: bean:write property= Format a Date ? Inspite of using substring.You can use SimpleDateFormat

RE: bean:write property= Format a Date ?

2003-09-17 Thread Paul McCulloch
An easy way is to use JSTL's fmt:formatDate tag. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 13:31 To: Struts-User Subject: bean:write property= Format a Date ? one of my Bean propertys is a Date and i want to output it formated, is

RE: bean:write property= Format a Date ?

2003-09-17 Thread Mark Galbreath
Just use java.text.DateFormat in your action class and set a String property in your form bean with the result. Easy as pie. -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 8:45 AM To: Struts Users Mailing List Subject: Re

RE: bean:write property= Format a Date ?

2003-09-17 Thread Daniel H. F. e Silva
Mahalkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 8:45 AM To: Struts Users Mailing List Subject: Re: bean:write property= Format a Date ? I don't thing struts provide you formating date functionality as i never tried also but frankly it will take another 20 min. to write

RE: bean:write with a not simple property

2003-09-16 Thread Paul McCulloch
It's easier than you think: bean:write name=currentLoopUser property=address.street/ Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 12:38 To: Struts-User Subject: bean:write with a not simple property hello, i use logic:iterate to

Re: bean:write usage

2003-08-27 Thread Nagendra Kumar O V S
hi, i really did't get ur Q. but if u want to avoid using name attribute,u can use nested tags that takes the action form binded with the html:form -- nagi ---Original Message--- From: Struts Users Mailing

Re: bean:write problem with struts 1.1

2003-07-09 Thread Linus Nikander
... -Message d'origine- De : David Jiao [mailto:[EMAIL PROTECTED] Envoyé : mardi 8 juillet 2003 17:09 À : Struts Users Mailing List Objet : RE: bean:write problem with struts 1.1 But I didn't specify any data-sources from my struts-config file. Do I have to include it anyway

RE: bean:write and c:out only takes proper javabeans?

2003-07-09 Thread Stephen Brown
The only way to do this is the use getter and setter methods with JavaBean naming conventions. This should in no way interfere with a Corba backend, Corba can be used pretty much just like EJB. The tags use reflection, but just to find appropriately named getter methods - the Java conventions

RE: bean:write and c:out only takes proper javabeans?

2003-07-09 Thread henrik . bentel
[EMAIL PROTECTED] To:'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject:RE: bean:write and c:out only takes proper javabeans? The only way to do this is the use getter and setter methods with JavaBean naming conventions. This should in no way interfere with a Corba backend

RE: bean:write and c:out only takes proper javabeans?

2003-07-09 Thread Kris Schneider
usually does. -Henrik Bentel Stephen Brown [EMAIL PROTECTED] on 07/09/2003 12:05:15 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject:RE: bean:write and c:out only takes proper javabeans

RE: bean:write and c:out only takes proper javabeans?

2003-07-09 Thread henrik . bentel
something already doing that in beanutils. I'll look at that, thx -Henrik Bentel Kris Schneider [EMAIL PROTECTED] on 07/09/2003 01:20:36 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:RE: bean:write

RE: bean:write and c:out only takes proper javabeans?

2003-07-09 Thread Kris Schneider
PROTECTED] cc: Subject:RE: bean:write and c:out only takes proper javabeans? You could use reflection to populate a map with the fields' values (using the field names for keys). Quoting [EMAIL PROTECTED]: ok, just to clarify. I was hoping to use the IDLEntities straight in my

RE: bean:write problem with struts 1.1

2003-07-09 Thread Stephen Brown
PROTECTED] Subject: Re: bean:write problem with struts 1.1 I'm running Weblogic 6.1 and have experienced exactly the same problem. It goes away if you change the returntype of the getter to a String instead of whatever you are using. Not a solution to the problem though. I sent

RE: bean:write problem with struts 1.1

2003-07-08 Thread Nicolas Seinlet
It kept throwing a message: org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE. It seems to be due to the the data-sources - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: bean:write problem with struts 1.1

2003-07-08 Thread David Jiao
But I didn't specify any data-sources from my struts-config file. Do I have to include it anyway? On Tue, 2003-07-08 at 09:59, Nicolas Seinlet wrote: It kept throwing a message: org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE. It

RE: bean:write problem with struts 1.1

2003-07-08 Thread Nicolas Seinlet
: Struts Users Mailing List Objet : RE: bean:write problem with struts 1.1 But I didn't specify any data-sources from my struts-config file. Do I have to include it anyway? On Tue, 2003-07-08 at 09:59, Nicolas Seinlet wrote: It kept throwing a message: org.apache.jasper.JasperException: Cannot find

RE: bean:write problem with struts 1.1

2003-07-08 Thread David Jiao
and see... -Message d'origine- De : David Jiao [mailto:[EMAIL PROTECTED] Envoy : mardi 8 juillet 2003 17:09 : Struts Users Mailing List Objet : RE: bean:write problem with struts 1.1 But I didn't specify any data-sources from my struts-config file. Do I have to include it anyway

Re: bean:write boolean

2003-07-04 Thread Jamie M. Guillemette
I might suggest writting your own tag then to ouput the desired text. Tags are not difficult to write and you can make changes to it pretty easily if you need to modify the functionality later one. JMG - Original Message - From: SuniX [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: bean:write boolean

2003-07-04 Thread Jamie M. Guillemette
of the object is exactly the same as its class name) JMG - Original Message - From: SuniX [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 04, 2003 9:51 AM Subject: Re: bean:write boolean okay ... i've never write tags can you give me a small example ? Jamie M. Guillemette

Re: bean:write boolean

2003-07-04 Thread SuniX
of the object is exactly the same as its class name) JMG - Original Message - From: SuniX [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 04, 2003 9:51 AM Subject: Re: bean:write boolean okay ... i've never write tags can you give me a small example ? Jamie M

Re: bean:write boolean

2003-07-04 Thread Jamie M. Guillemette
http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html Start with this link .. if you run into any problems you can msg me. :) JMG - Original Message - From: SuniX [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 04, 2003 10:16 AM Subject: Re: bean:write boolean

Re: bean:write boolean

2003-07-04 Thread SuniX
04, 2003 10:16 AM Subject: Re: bean:write boolean thanks ... i still have some question : how do you use your tag after that ? i just have a class but i suppose i have to write its description in a tld file or something like that. do you have good links talking about writing own tags ? what about

RE: bean:write Problem

2003-06-26 Thread Bailey, Shane C.
Maybe the setter or getter for userCountry object is messed up. Or possibly the getter or setter for users.getUsersCountry() or users.setUsersCountry() is messed up. Messed up meaning setCountry(String county){ this.country = country; } like a misspelling or something. So when the update

RE: bean:write filter=false

2003-06-24 Thread Filip Polsakiewicz
try writing input type=text / as lt;input type=quot;textquot; /gt; HTH Filip -Original Message- From: Vinay Mhapankar [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 12:52 PM To: [EMAIL PROTECTED] Subject: bean:write filter=false Hi All, I need to display

RE: bean:write with in logic:iterate

2003-06-16 Thread Kamholz, Keith (corp-staff) USX
Use this: logic:iterate id=thisElement name=someList type=java.lang.String bean:write name=thisElement/ /logic:iterate This will go through a list of Strings and print out each one. This also works for lists of non-string objects. Let me know if you need help with that modification.

RE: Bean:write in a html:textarea value property...?

2003-06-04 Thread Bradley M. Handy
Change you tags to be: html:textarea property=longDesc1 cols=20 rows=5 nested:write name=eventForm property=longDesc1 scope=request/ /html:textarea Tags within properties are not interpreted. Brad Handy - Bradley M. Handy|

RE: Bean:write in a html:textarea value property...?

2003-06-04 Thread Haytham Samad
- From: Bradley M. Handy [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:01 PM To: 'Struts Users Mailing List' Subject: RE: Bean:write in a html:textarea value property...? Change you tags to be: html:textarea property=longDesc1 cols=20 rows=5 nested:write name=eventForm property

RE: bean:write / HashMap

2003-04-04 Thread Derek Richardson
If can use the jstl, you can: c:out value=${myHash['NAME']} / It automagically encodes, as well. -Original Message- From: Rob King [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 2:28 PM To: Struts Users Mailing List Subject: bean:write / HashMap Hi, I have checked

Re: bean:write question

2003-03-19 Thread Gemes Tibor
[EMAIL PROTECTED] írta: hello i have a class wich contains another class like class user which contains a class adress in a response. i'd like to write the properties in a jsp bean:write name=user property=address.city / hth, Tib

Re: bean:write question

2003-03-19 Thread [EMAIL PROTECTED]
hello i have a class wich contains another class like class user which contains a class adress in a response. i'd like to write the properties in a jsp bean:write name=user property=address.city / hth, Tib thanks couldn't have been more simple ! - SPECIAL ADSL L'ADSL à partir

Re: bean:write question

2003-03-19 Thread Dan Allen
bean:write name=user property=address.city / Again, with struts-el c:out value=${user.address.city}/ Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, [EMAIL PROTECTED] http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: bean:write question

2003-03-19 Thread teknokrat
[EMAIL PROTECTED] wrote: hello i have a class wich contains another class like class user which contains a class adress in a response. i'd like to write the properties in a jsp bean:write name=user property=address.city / hth, Tib thanks couldn't have been more simple ! -

RE: bean:write question

2003-03-19 Thread Sri Sankaran
That can be elegantly handled with JSTL as c:out value=${user.address.city} default=help!/ Sri -Original Message- From: teknokrat [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 10:35 AM To: [EMAIL PROTECTED] Subject: Re: bean:write question [EMAIL PROTECTED] wrote: hello

Re: bean:write and scriptlet write

2003-03-17 Thread Rick Reumann
On Mon, 17 Mar 2003 16:21:00 -0500 Cohan, Sean [EMAIL PROTECTED] wrote: Both methods return Strings. What am I missing? Send the whole JSP to [EMAIL PROTECTED] -- Rick Reumann - To unsubscribe, e-mail: [EMAIL

Re: bean:write , boolean, and yes or no

2003-03-06 Thread John Towell
anyone anyone... something doo economics Is there a simple way to display a yes or no instead of true or false when writing a boolean from bean:write? I was thinking of creating a custom tag for this, but this has to have come up before no? What is the best solution? -John

RE: bean:write , boolean, and yes or no

2003-03-06 Thread Chen, Gin
Read up on logic:equal/notEqual or use JSTL c:choose -Tim -Original Message- From: John Towell [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 1:14 PM To: [EMAIL PROTECTED] Subject: Re: bean:write , boolean, and yes or no anyone anyone... something doo economics

Re: RE: bean:write issues... or a better solution

2003-02-25 Thread Jason Vinson
--- From: Ray Madigan [EMAIL PROTECTED] Sent: 02/24/03 11:54 AM To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: bean:write issues... or a better solution If queuesName is a session or request level attribute then the options tag should be html:options collection=queuesName property

RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Karr, David
Show us where you're putting queuesName into request scope. -Original Message- From: Jason Vinson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:12 AM To: Struts Users Mailing List Subject: Re: RE: bean:write issues... or a better solution I tried this in my page

Re: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Jason Vinson
] Subject: RE: RE: bean:write issues... or a better solution Show us where you're putting queuesName into request scope. -Original Message- From: Jason Vinson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:12 AM To: Struts Users Mailing List Subject: Re: RE: bean:write

Re: Re: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Jason Vinson
] Sent: 02/25/03 01:34 PM To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: RE: RE: bean:write issues... or a better solution It's in my action class. theForm is the ActionForm that gets passed in. QueueListing[] theQueues = new QueueListing [cboQueue.getCount()]; for (int i=0; i

RE: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Jarnot Voytek Contr AU HQ/SC
: Tuesday, February 25, 2003 12:35 PM To: Struts Users Mailing List Subject: Re: RE: RE: bean:write issues... or a better solution It's in my action class. theForm is the ActionForm that gets passed in. QueueListing[] theQueues = new QueueListing [cboQueue.getCount()]; for (int i=0; i

RE: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Karr, David
: Tuesday, February 25, 2003 10:12 AM To: Struts Users Mailing List Subject: Re: RE: bean:write issues... or a better solution I tried this in my page and i get: [log error] javax.servlet.jsp.JspException: Cannot find bean under name queuesName

Re: bean:write issues... or a better solution

2003-02-24 Thread Jason Vinson
Did that jsp code come through? my webmail removed it from my side... ---Original Message--- From: Jason Vinson [EMAIL PROTECTED] Sent: 02/24/03 11:37 AM To: Struts Users Mailing List [EMAIL PROTECTED] Subject: bean:write issues... or a better solution Hi folks, I am using a

RE: bean:write issues... or a better solution

2003-02-24 Thread Ray Madigan
If queuesName is a session or request level attribute then the options tag should be html:options collection=queuesName property=objid/ given that the collection elements implement the getter getObjid ( ). Hope this helps! -Original Message- From: Jason Vinson [mailto:[EMAIL PROTECTED]

RE: bean:write issues... or a better solution

2003-02-24 Thread Jarnot Voytek Contr AU HQ/SC
Have you tried this syntax: html:options collection=statusLookup property=name labelProperty=value/ statusLookup is my Collection (in request scope), each element has getName() and getValue() methods... you're not going to be able to accomplish this by nesting jsp tags, as that is 'illegal'...

Re: bean:write problem

2003-02-06 Thread ashokd
The below example is worked by using Hastable and logic:iterate combination. I think it is usefull for you Let me know.. % java.util.Hashtable bunchList = new java.util.Hashtable(); com.km.struts.tutorial.TestBean test1 = new com.km.struts.tutorial.TestBean(); bunchList.put(0,test1);

RE: bean:write - No getter method for property

2003-01-16 Thread Sterin, Ilya
Can we see the class, what happens is that bean:write will call employee.getEmpname so if you don't have the getEmpname function is your bean class, that explains it. Ilya -Original Message- From: TK To: 'Struts Users Mailing List' Sent: 1/16/03 10:22 AM Subject: bean:write - No getter

Re: bean:write - No getter method for property

2003-01-16 Thread TK
] Sent: Thursday, January 16, 2003 12:54 PM Subject: RE: bean:write - No getter method for property Can we see the class, what happens is that bean:write will call employee.getEmpname so if you don't have the getEmpname function is your bean class, that explains it. Ilya -Original

RE: bean:write and embedded html tag

2003-01-15 Thread Sri Sankaran
Have you tried setting the filter attribute of bean:write to false? Sri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 2:23 PM To: [EMAIL PROTECTED] Subject: bean:write and embedded html tag My ActionForm is public class

RE: bean:write and embedded html tag

2003-01-15 Thread pqin
Good point Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: January 15, 2003 2:26 PM To: Struts Users Mailing List Subject: RE: bean:write and embedded html tag Have

Re: bean:write html stuff, how

2002-12-30 Thread Sash Sash
Thank you!!! Now looking at the javadocs, I found the filter option. It would be nice thought to have this mentioned in the description part of the the javadocs for bean output section. I missed it earlier, cause I assumed the format for bean documentation would be the same as for html and

Re: bean:write html stuff, how

2002-12-29 Thread Eric C. Hein
Sash, bean:write name=someBean property=desc filter=false/ - Eric - Original Message - From: Sash Sash [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 29, 2002 11:04 AM Subject: bean:write html stuff, how Hello and Happy Holidays to you all!!! Got a quick

  1   2   >