URL display problem

2003-03-12 Thread Jamesey
My browser address bar seems to display all the request parameters (localhost/myapp/find?if=bob).. As far as i understood it this shouldn't happen using the post action.. but it still seems to my page's form action is post (by default, and yes i've checked the source) my Action class execute

problem in struts

2003-03-12 Thread Richard Raquepo
i am trying to re-use my formbean which i used in my adding of a record and trying to use inediting my record. i can't seem to show the data to the screen for editing. what's wrong with my code? i am attaching my code in this email. please help me. many thanks in advance... -Richard

Trying to link a forward-tag with a tile definition.

2003-03-12 Thread joeri
Hello, I would like to use the forward-tag in the logic tag-library to forward to a tile definition: JSP-file: logic:forward name=myGlobalForward/ Struts configuration file: global-forwards forward name=myGlobalForward

problem in struts

2003-03-12 Thread Richard Raquepo
i am trying to re-use my formbean which i used in my adding of a record and trying to use in editing my record. i can't seem to show the data to the screen for editing. what's wrong with my code? i am attaching my code in this email. please help me. many thanks in advance... -Richard

Re: New Article on Gamelan: Struts from Scratch

2003-03-12 Thread Dan Allen
Keep them coming! Love to read these! Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, [EMAIL PROTECTED] http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Personally, I'm not finding Windows to be less expensive to

Re: problem in struts

2003-03-12 Thread Kwok Peng Tuck
Do you get a specific error on the page when you try to display the contents of the form bean ? Or just no error, empty fields ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: action chaining and session scope.

2003-03-12 Thread Dan Allen
[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi, In my app I have an action forwarding to another action, with both their different formbean in session scope, I do not understand why the reset for the formbean is called. I have a log message in the reset method. Is this a bug ? I am

Re: problem in struts

2003-03-12 Thread Richard Raquepo
no error just empty fields... - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 4:30 PM Subject: Re: problem in struts Do you get a specific error on the page when you try to display the

Re: URL display problem

2003-03-12 Thread Gemes Tibor
Jamesey wrote: My browser address bar seems to display all the request parameters (localhost/myapp/find?if=bob).. As far as i understood it this shouldn't happen using the post action.. but it still seems to html:form method=POST ... But beware! This does NOT mean any security at all. POST

Re: problem in struts

2003-03-12 Thread Kwok Peng Tuck
Looks like your form bean is not initialized .. Richard Raquepo wrote: no error just empty fields... - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 4:30 PM Subject: Re: problem in struts Do

Re: problem in struts

2003-03-12 Thread Richard Raquepo
no errors. jusr empty fields. - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 4:30 PM Subject: Re: problem in struts Do you get a specific error on the page when you try to display the

Re: URL display problem

2003-03-12 Thread Jamesey
Sorry Gemes.. I have tried that, it makes no difference.. as this html:form action=/find is the same as html:form method=POST action=/find Post being the default... Gemes Tibor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jamesey wrote: My browser address bar seems to

Re: problem in struts

2003-03-12 Thread Richard Raquepo
it is... i put a code on my service class that populates the bean and it did have a data. one thing i've noticed is my mapping.getAttribute() is null. part of my struts-config.xml is: action path=/EditTmAccount type=com.fltic.crm.action.manager.EditTmAccountAction name=userAccountForm

RE: URL display problem

2003-03-12 Thread Andrew Hill
And the rendered html in your browser definately shows POST in its form tag when you view the page source? -Original Message- From: Jamesey [mailto:[EMAIL PROTECTED] Sent: Wednesday, 12 March 2003 16:38 To: [EMAIL PROTECTED] Subject: Re: URL display problem Sorry Gemes.. I have tried

Re: URL display problem

2003-03-12 Thread Jamesey
yip.. right click.. view.. source... method=post Andrew Hill [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] And the rendered html in your browser definately shows POST in its form tag when you view the page source? -Original Message- From: Jamesey [mailto:[EMAIL

RE: URL display problem

2003-03-12 Thread Andrew Hill
Well. Im out of ideas then :-( What browser are you using? -Original Message- From: Jamesey [mailto:[EMAIL PROTECTED] Sent: Wednesday, 12 March 2003 16:53 To: [EMAIL PROTECTED] Subject: Re: URL display problem yip.. right click.. view.. source... method=post Andrew Hill [EMAIL

Re: URL display problem

2003-03-12 Thread Jamesey
IE6.. i'm out of ideas also.. this is what i'm getting.. https://localhost:8443/myApp/find.do?idNo=2name=bob Andrew Hill [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Well. Im out of ideas then :-( What browser are you using? -Original Message- From: Jamesey

Re: URL display problem

2003-03-12 Thread Dejan Krsmanovic
Have you checked if you are doing redirection somewhere in your action class? Or you have forward with redirect=true for that action? Are the parameters you have on your URL same as one you have in your form? Try to send here generated html code. Dejan - Original Message - From: Jamesey

GET vs POST [WAS: RE: URL display problem]

2003-03-12 Thread Andrew Hill
snip POST method should be used for urls changing the server-state, and GET for urls which does not change the state if possible. /snip Of course sometimes you need to GET some stuff you would rather post. I had some stuff I was checking for in the RequestProcessor that was POSTED that I had to

urgent:projecting with tiles

2003-03-12 Thread modena
Hi, i've an question about tiles.. i would use tiles for my application, but i have an problem. If i use tiles instead of frame but i face this problem: how obtain the definition of page? Example, i have in my application the login page and if an page call the login page i would that the module of

Re: GET vs POST [WAS: RE: URL display problem]

2003-03-12 Thread Gemes Tibor
Andrew Hill wrote: snip POST method should be used for urls changing the server-state, and GET for urls which does not change the state if possible. /snip Of course sometimes you need to GET some stuff you would rather post. I had Yes. That's why I wrote 'if possible'. Tib

Re: URL display problem

2003-03-12 Thread Nicolas De Loof
Could you please send us the rendered HTML ? They should be some silly think you've not seen. Nico. Have you checked if you are doing redirection somewhere in your action class? Or you have forward with redirect=true for that action? Are the parameters you have on your URL same as one you

html:options and javascript

2003-03-12 Thread Neth
Hello, I have an existing application which i converted into struts, however i'm having some problem with regards to option with javascript. The picture of the user should be reflected whenever his/her user id is selected from the drop down box. Below is the working application: script

OK Here's the HTML - (Re: URL display problem)

2003-03-12 Thread Jamesey
Here's the HTML Excuse me if its not very good.. I'm not a front end developer by tradition.. I usually do Middleware development.. just broadening my skills. anyhoo..see if you can see whats wrong !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN html lang=en/html HEAD TITLE

Re: OK Here's the HTML - (Re: URL display problem)

2003-03-12 Thread Dejan Krsmanovic
- Original Message - From: Jamesey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:38 AM Subject: OK Here's the HTML - (Re: URL display problem) Here's the HTML Excuse me if its not very good.. I'm not a front end developer by tradition.. I usually do

Re: OK Here's the HTML - (Re: URL display problem)

2003-03-12 Thread Gemes Tibor
Jamesey wrote: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN html lang=en/html ... /html:html I dont't know if this makes any difference, but you wrote html:html locale=true / instead of html:html locale=true ie. you closed the tag w/o body. Hth, Tib

Errors in html corrected..

2003-03-12 Thread Jamesey
but no difference to the url being shown after submit.. here is the JSP --- %@ page language=java % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN

Re: Errors in html corrected..

2003-03-12 Thread modena
I think that the attribute action in tag form should be /find.do if in struts config you use path=/find..try it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Errors in html corrected..

2003-03-12 Thread Jamesey
the html produced say... action=find.do?jsessionid... [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think that the attribute action in tag form should be /find.do if in struts config you use path=/find..try it

Re: Errors in html corrected..

2003-03-12 Thread Nicolas De Loof
Sory, I tried it on my struts-app (adding a /find path and a dynabean) and not have the problem you expose. I don't understand what happens to your app... Nico. - Original Message - From: Jamesey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:55 AM Subject:

Using dbpc package in struts 1.0

2003-03-12 Thread Philippe Van Der Gucht
Hello, I would like to use the dbpc package (http://jakarta.apache.org/commons/dbcp/index.html) in our struts 1.0 application. Has somebody here already done this? If so, what are the issues involved? Greetings, Philippe. - To

Re: Errors in html corrected..

2003-03-12 Thread Jamesey
ok nico... thanks for trying... i'll see what happens when i migrate to live.. Nicolas De Loof [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sory, I tried it on my struts-app (adding a /find path and a dynabean) and not have the problem you expose. I don't understand what happens

Re: Errors in html corrected..

2003-03-12 Thread modena
I'm read only your preavious mail..Which error do you obtain? i don't understand your problem..explain its - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Errors in html corrected..

2003-03-12 Thread Jamesey
the browser addres bar displays the request params after i submit the page.. even though i'm using POST.. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm read only your preavious mail..Which error do you obtain? i don't understand your problem..explain its

Re: Using dbpc package in struts 1.0

2003-03-12 Thread Gemes Tibor
Philippe Van Der Gucht wrote: Hello, I would like to use the dbpc package (http://jakarta.apache.org/commons/dbcp/index.html) in our struts 1.0 application. Has somebody here already done this? If so, what are the issues involved? Struts 1.0 has a db connection pool implementation included as

Re: Errors in html corrected..

2003-03-12 Thread modena
you're code appear rigth..try to use explicit parameter: html:form action=yourpath.do method=POST - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using dbpc package in struts 1.0

2003-03-12 Thread Mark Lowe
It use the BasicDataSource rather than the older deprecated struts GenericDataSource its more a case of the xml sytaax changing the config.xml data-source type=org.apache.commons.dbcp.BasicDataSource key=strutsConnection set-property property=defaultAutoCommit value=false/ set-property

Re: Errors in html corrected..

2003-03-12 Thread Nicolas De Loof
For info I used IE6 SP1 / Win2k / Tomcat 4.1.18 Nico. ok nico... thanks for trying... i'll see what happens when i migrate to live.. Nicolas De Loof [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sory, I tried it on my struts-app (adding a /find path and a dynabean) and not

Re: urgent:projecting with tiles

2003-03-12 Thread Cedric Dumoulin
Hi, Tiles allows to build pages dynamically. However, you should not use this functionality all the time ;-). In you r case, you can have a login page, an error page (or more), and other pages. Each page is build by assembling tiles, and by using a common layout, header, footer, ... To

Re: modules, tiles and html:form

2003-03-12 Thread Cedric Dumoulin
Hi, I think that the problem comes from the fact that you put the pages belonging to one module under the WEB-INF umbrella. If you move your broken1.jsp to /StrutsIssues/admin/broken1.jsp, and change the definition tile.broken1 accordingly, all work fine: definition name=tile.broken1

Re: Logic tags and collections?

2003-03-12 Thread niksa_os
Try struts menu http://sourceforge.net/project/struts-menu. Edgar PAGE NOT FOUND I try to search at sourceforge.net, but I didn't find anything like struts-menu. Where is it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Where to find more about Struts JSF - Server Faces?

2003-03-12 Thread niksa_os
Can I use it in real development or this (Struts JSF and SUN JSF) is just big beta? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

search result design mentalist moment..

2003-03-12 Thread Jamesey
ok.. i think i may have lost my mind.. i thought i had this whole struts thing pretty much... until I have a page that lets the user submit search criteria to retrive some data back.. i have an form and action for this page.. i have a page that displays the data.. now as i understand it the

RE: java.lang.IllegalArgumentException and the '/'

2003-03-12 Thread Mitchell Morris
It's complaining about the missing slash in the input parameter of the action tag. Amazingly enough, that's what the error message says, but you just didn't search far enough for more occurrences of main.jsp. -Original Message- From: Ryan Cuprak [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-12 Thread Rasputin
* Phil Steitz [EMAIL PROTECTED] [0346 19:46]: Mark Zeltser wrote: Rick, Good job, somehow I can't unzip war files, I am getting corrupt zip file exception. Mark. Use jar -xf war file name War files are jar files, not zips. Your JDK should include the jar utility in its /bin

RE: search result design mentalist moment..

2003-03-12 Thread Andrew Hill
snip i'm assuming that i put the results (generated by the action class ) into an array or some such.. and then put that into the session/request? /snip Yep, thats the way its generally done, then you can use struts tags (or jstl tags etc...) to access this stuff in the session or request

Question about validator

2003-03-12 Thread Emmanuel Boudrant
Hi, I want to check the maxlength minlength with the validator BUT only if the field is not empty, how can I do this ? field property=reference depends=minlength,maxlength arg0

Re: search result design mentalist moment..

2003-03-12 Thread Jamesey
yep thats about the size of it.. cheers andy, just wanted to make sure i wasnt going mad Andrew Hill [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snip i'm assuming that i put the results (generated by the action class ) into an array or some such.. and then put that into the

Re: modules, tiles and html:form

2003-03-12 Thread James CE Johnson
Hi Cedric Hi, I think that the problem comes from the fact that you put the pages belonging to one module under the WEB-INF umbrella. If you move your broken1.jsp to /StrutsIssues/admin/broken1.jsp, and change the definition tile.broken1 accordingly, all work fine: definition

seeing Gets in Tomcat.. even though pages are Posts..

2003-03-12 Thread Jamesey
here is a copy of the Tomcat console for my struts application.. as per my earlier posts. my browser was displaying the request parameters in the url bar (localhost/myApp/find.do?id=3name=bob) even though i'm using the POST method. i then noticed a funny thing in Tomcat console.. the

RE: StrutsMenu

2003-03-12 Thread Edgar P. Dollin
Matt: The links below don't seem to do any role stuff that I can find. BTW: there are some bugs in the dhtmlDropdown.jsp with IE6. Maybe I am reading the code incorrectly but the DropDown displayer never calls isAllowed or works with an object that does The coolmenu displayer does makes

Re: Anyone using tiles with pager tag lib?

2003-03-12 Thread Cedric Dumoulin
Hi, When you hit a page through a struts action, the action is executed, then the request is forwarded to the associated page or tiles. The jsp spec specify that when you do a forward, the requestURI is change accordingly. This is why you get the URL of the tiles layout instead of the

RE: Logic tags and collections?

2003-03-12 Thread Eva Sager
I think he meant http://sourceforge.net/projects/struts-menu -Original Message- From: niksa_os [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 6:13 AM To: Struts Users Mailing List Subject: Re: Logic tags and collections? Try struts menu

RE: [Q] how to Sort on JSP without calling server side?

2003-03-12 Thread Jarnot Voytek Contr AU HQ/SC
You could go to the source (vs BEA): http://www.catb.org/~esr/faqs/smart-questions.html -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 8:59 PM To: 'Struts Users Mailing

odd utf-8 behavior w/ struts 1.0 + tomcat 4.1.12

2003-03-12 Thread Sven Carllson
(crashed while sending, not sure if it went thru...apologies if this appears twice) I realize there have been many messages on this subject, but I have tried all the recommendations to no avail. here's the situation: -webapp with choice of 4 languages- english, spanish, russian, arabic

RE: Model 2 with a half-order of X

2003-03-12 Thread Robert Taylor
Jeff, I haven't tried this before, but it seems like one solution would be to generate your XML doc in the Action (or some delegate) and place it in the appropriate scope and then use XTags (http://jakarta.apache.org/taglibs/doc/xtags-doc/intro.html) to transform the doc. Another solution, would

RE: Where to find more about Struts JSF - Server Faces?

2003-03-12 Thread Sri Sankaran
Have you tried http://java.sun.com/j2ee/javaserverfaces/? Sri -Original Message- From: niksa_os [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 6:16 AM To: Struts Users Mailing List Subject: Where to find more about Struts JSF - Server Faces? Can I use it in real development

RE: StrutsMenu

2003-03-12 Thread Raible, Matt
All three of the links allow roles to be specified in menu-config.xml - this is how the roles are used. For an online example, see: http://raibledesigns.com/struts-menu/rolesMenu.jsp The dhtml menus use ListDisplayer, not DropDownDisplayer, so you're right in that it's not in that one. The IE6

RE: Where to find more about Struts JSF - Server Faces?

2003-03-12 Thread Andrew Hill
JSF isnt ready for production use just yet (indeed I believe the 'early access' license doesnt permit it). Follow the link Sri gave for more info. snip 2.1 Source Code. Sun grants to Licensee, a non-exclusive, non-transferable, royalty-free and limited license to view the source code portions of

RE: Model 2 with a half-order of X

2003-03-12 Thread James CE Johnson
Jeff, I haven't tried this before, but it seems like one solution would be to generate your XML doc in the Action (or some delegate) and place it in the appropriate scope and then use XTags (http://jakarta.apache.org/taglibs/doc/xtags-doc/intro.html) to transform the doc. Another

html:link and parameters to session

2003-03-12 Thread Rick Ashley
Hello, Are there any way to put query parameters of html:link tag to HttpSession object using html tag's attributes? Or is it only way to use e.g. session tag library like below html:link sess:setAttribute name=paramparamvalue/sess:setAttribute /html:link br

RE: StrutsMenu

2003-03-12 Thread Witbeck, Shane
Is there any work being done to generate struts menu's dynamically? If so, is there an estimate for when this might be available? Thanks, Shane -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:17 AM To: 'Struts Users Mailing List'

Html:options

2003-03-12 Thread Renato Romano
Is there a way of obtaining a select element where one of the option sub-elements has the SELECTED attribute ? Thanks Renato Romano Sistemi e Telematica S.p.A. Calata Grazie - Vial Al Molo Giano 16127 - GENOVA e-mail: [EMAIL PROTECTED] Tel.: 010 2712603

RE: [OT] basic java question

2003-03-12 Thread Ashish Kulkarni
Hi, The static methods in my class will be accessed from servlet, and since servlet will have multiple instance accessing these classes it is a case of multi threading does anyone have a example code for writing this kind of code Ashish --- Mark Galbreath [EMAIL PROTECTED] wrote: Rewrite the

RE: StrutsMenu

2003-03-12 Thread Raible, Matt
You're suggesting that it's generated from a Bean or something like that? Vic mentioned he's interested in it, but the honest truth is that it'll probably be implemented when a committer wants to use it. Anybody want to become a committer? ;-) -Original Message- From: Witbeck, Shane

Re: Html:options

2003-03-12 Thread Nicolas De Loof
if you use html:select with html:option or html:options, the option that equals the formbean property value will be automaticaly selected. (formbean initialized with name=foo) html:select property=name html:option value=foofoo/html:option html:option value=barbar/html:option

Re: [Q] Log Viewing tool for Windows environment?

2003-03-12 Thread Gord Tomlin
Log4j now includes Chainsaw, which I haven't played with but is supposed to provide real-time log viewing. There is also an Appender that writes to the NT event log, which can then be viewed with the NT event viewer. Gord Tomlin - Original Message - From: Scott Barr [EMAIL PROTECTED] To:

Re: html:link and parameters to session

2003-03-12 Thread Becky Norum
On Wed, 2003-03-12 at 09:22, Rick Ashley wrote: Hello, Are there any way to put query parameters of html:link tag to HttpSession object using html tag's attributes? Or is it only way to use e.g. session tag library like below html:link sess:setAttribute

Re: [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-12 Thread Susan Bradeen
Rick, These lessons excellent! Congratulations. I didn't download the .war files, but just walked through the lessons ... very informative without being too involved. I have a feeling your URL will appear quite a lot on this list as a suggested learning resource. Susan Bradeen On

Re: Opinions on Struts code generator - A zipped version

2003-03-12 Thread james logsdon
Hopefully this works... From: Robert McIntosh [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Opinions on Struts code generator Date: Tue, 11 Mar 2003 17:25:06 -0600 how about zipping it up? james logsdon

logic:iterate.. newbie question

2003-03-12 Thread Jamesey
I have and array or collection of objects (the object has two members with appropriate getter and setters) i want to iterate through the array and retrieve each value for the object..so it will look like this value a valueb value a valueb value a valueb Question1. does the iteration object

RE: [Q] Log Viewing tool for Windows environment?

2003-03-12 Thread Andy Kriger
log4j also includes logfactor5 - a GUI log viewer that you activate in the log4j.properties -Original Message- From: Gord Tomlin [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:49 To: Struts Users Mailing List Subject: Re: [Q] Log Viewing tool for Windows environment? Log4j

RE: [struts-atlanta] Introductions

2003-03-12 Thread James Mitchell
Hi Ebony, I hope you (and several co-workers) can attend the meeting. It will be a great presentation by Chuck Cavaness. He is an excellent presenter and has recently given presentations across the Country at various other Java User Groups. We are very privileged to have Chuck and other gurus

RE: StrutsMenu

2003-03-12 Thread Witbeck, Shane
Yes I am suggesting generating the menu from a bean. Im surprised something like this hasn't been implemented yet or started? I would be willing to contribute to this effort if anyone else is interested. Shane -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED] Sent:

Nested and Tiles taglibs together

2003-03-12 Thread Chris Butler
So, I've been using struts for a while... even back when Tiles used to be called Components. :-) I'm pretty impressed with how far things have come and how useful the framework is... Anyway, I'm new to using nested tags and am trying to use them in combination with Tiles. The goal I have is to

help on ActionErrors

2003-03-12 Thread Alessandro Scaramuzza
Hi everyone, I create a new struts application cuttingpasting the struts examples. The application would be a variant of the logon form getting user data from a database. Everything works but the errors I generate are displayed as null on my JSP page. I log the message on the beans and

RE: logic:iterate.. newbie question

2003-03-12 Thread James Mitchell
-Original Message- From: Jamesey [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:52 AM To: [EMAIL PROTECTED] Subject: logic:iterate.. newbie question I have and array or collection of objects (the object has two members with appropriate getter and setters) i

RE: Model 2 with a half-order of X

2003-03-12 Thread Kris Schneider
If you're able to use JSTL, it makes it pretty easy to leverage a JSP for both the creation of the XML document and the application of a transformation: x:transform xslt=${style} !-- body specifies XML document and transform params -- /x:transform You can also capture the result of the

unwanted emty lines in produced html

2003-03-12 Thread Igor Lyubimov
Hallo! I use struts-tiles framework for my web application. When I look in produced html code, I see wery much empty lines. In this case I become broken design. (Some divs have incorrect size, table cells are broken etc.) As I understand this problem, this emty lines are produced by embedded

RE: help on ActionErrors

2003-03-12 Thread James Mitchell
Can you send your code for using ActionErrors in your jsp? It would help to also post how you are creating the ActionErrors in your action. -- James Mitchell Software Developer/Struts Evangelist http://struts.sourceforge.net/struts-atlanta/ -Original Message- From: Alessandro

Re: Nested and Tiles taglibs together

2003-03-12 Thread David Graham
Struts does support JSP 1.2. There is no JSP 1.3, the next version is 2.0 which Struts doesn't directly support yet. David From: Chris Butler [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Nested and Tiles taglibs together Date: Wed, 12

Re: help on ActionErrors

2003-03-12 Thread Alessandro Scaramuzza
this is my index.jsp the only change I do is to rename logon.jsp to index jsp and change xml files accordingly - Original Message - From: James Mitchell [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 4:16 PM Subject: RE: help on

Re: logic:iterate.. newbie question

2003-03-12 Thread Jamesey
that helps massively.. and confirms my own deductions... and i'm assuming if i use an array of objects the name property changed to reflect the setAttribute name James Mitchell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Original Message- From: Jamesey [mailto:[EMAIL

Re: unwanted emty lines in produced html

2003-03-12 Thread David Graham
How are empty lines affecting the display of the html? AFAIK, browsers ignore blank lines. David From: Igor Lyubimov [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: unwanted emty lines in produced html Date: Wed, 12 Mar 2003 16:17:07

Is it possible to change the base tile on the fly

2003-03-12 Thread Raible, Matt
I have the following base tile definition that all my other definitions extend: definition name=baseLayout path=/layouts/baseLayout.jsp put name=title.key/ put name=heading.key/ put name=header value=/common/header.jsp/ put

Making a Tree

2003-03-12 Thread Sloan Seaman
Are there any struts/jsp tags that help in making a tree structure? Not a JavaScript one but one that will expand when you click each link from doing a call to an Action? I could do nested logic tags over returned Collections, but I was wondering if there was a better way? -- Sloan yeah.. I

RE: logic:iterate.. newbie question

2003-03-12 Thread James Mitchell
Not exactly, if you had an ArrayList of String, you could don't need property. Like this: % ArrayList lst = new ArrayList(); lst.add(value 1); lst.add(value 2); lst.add(value 3); request.setAttribute(myCollection, lst); % logic:iterate id=itm name=myCollection bean:write name=itm/br

Re: logic:iterate.. newbie question

2003-03-12 Thread Jamesey
thanks very much.. thats a great help.. James Mitchell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Not exactly, if you had an ArrayList of String, you could don't need property. Like this: % ArrayList lst = new ArrayList(); lst.add(value 1); lst.add(value 2); lst.add(value

[OT]RE: Is it possible to change the base tile on the fly

2003-03-12 Thread apachep2
I have been seeing those can I change sth on the fly posts recently.More specific, changing tile, changing action forward etc. I am against this idea. Changing on-the-fly lacks the flexibility of using an external xml file to configure the web app. Shall we go back to Servlet and put if-else

RE: unwanted emty lines in produced html

2003-03-12 Thread James Mitchell
I have gotten around this by reworking my jsp tags and taglibs some html here % some script here % more html here (with that, there are 3 line breaks, more for iteration) Becomes some html here % some script here %more html here (this will only have 1 line break, at the end of the last

RE: [struts-atlanta] Introductions

2003-03-12 Thread Chappell, Simon P
James, So, when are you going to invite me to give my Struts presentation? :-) Simon snip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [struts-atlanta] Introductions

2003-03-12 Thread James Holmes
I know this was directed to James M... You're invited anytime. Come on down to Atlanta... -james --- Chappell, Simon P [EMAIL PROTECTED] wrote: James, So, when are you going to invite me to give my Struts presentation? :-) Simon snip

RE: Nested and Tiles taglibs together

2003-03-12 Thread James Mitchell
Well, technically speaking, 2.0 was 1.3 until they decided there was just too many goodies to make it 'just a minor release', but I haven't heard anyone referring to it as 1.3 in a long time. -- James Mitchell Software Developer/Struts Evangelist http://struts.sourceforge.net/struts-atlanta/

RE: [struts-atlanta] Introductions

2003-03-12 Thread James Mitchell
That's right. All are invited!! -- James Mitchell Software Developer/Struts Evangelist http://struts.sourceforge.net/struts-atlanta/ -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:39 AM To: Struts Users Mailing List Subject:

RE: [struts-atlanta] Introductions

2003-03-12 Thread Chappell, Simon P
Rats ... too many James. I'll think of coming down to Atlanta, if we can then get people to come to Dodgeville, WI. Simon -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:39 AM To: Struts Users Mailing List Subject: RE: [struts-atlanta]

Re: unwanted emty lines in produced html

2003-03-12 Thread Brian Lee
Hundreds of blank lines affect rendering speed of a browser and can affect performance of heavily hit sites. Although each line is negligible with thousands of users you end up paying for the extra bandwidth. Plus browsers still have some quirks with blank lines. I.e. it can make an image look

RE: [struts-atlanta] Introductions

2003-03-12 Thread Chappell, Simon P
You'll pay my airfare, right? That may sound expensive, but it's gotta be cheaper than paying for Mark's beer, if you asked him to speak! ;-) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:40 AM To: 'Struts Users Mailing List' Subject:

Re: unwanted emty lines in produced html

2003-03-12 Thread David Graham
Unfortunately, I think this is a JSP compiler problem and not a Struts specific problem. David From: Brian Lee [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: unwanted emty lines in produced html Date: Wed, 12 Mar 2003 10:41:19 -0500

Validation mask rule JavaScript breaks with requiredif?

2003-03-12 Thread Greg Hess
Hi All, I have just started using the requiredif validation rule. The server side validation is working fine but the client side JavaScript has errors for my requiredif form fields. My form field requires the feild button2URL only if button2Lbl has been entered and if button2URL it must pass

RE: [OT] [struts-atlanta] Introductions

2003-03-12 Thread James Mitchell
I'll have to see if we can a sponsor to pay for your flight on the new Hooters Airline :P -- James Mitchell Software Developer/Struts Evangelist http://struts.sourceforge.net/struts-atlanta/ -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Wednesday,

  1   2   3   >