Stuts with OJB how to return Object to html:form tag

2003-08-11 Thread ross
Hi All, Have an issue with populating a form from a POJO (Bean like with getters / setters) returned from OJB Have setup Struts with ObjectRelationalBridge Using DynaValidatorForm for validation Passing objects into DB without issue. Was hoping to pass the object back to the same form that I

Chracter encoding issues pasting from MS Word

2003-08-11 Thread Steve Vanspall
Hi there we have a web application that allows the user to put together data based on templates. Now the user just needs to key in the required fields using the trest areas on the page. The problem I am facing is that, if the user pastes content, that they have copied from word some of the

HTML question Select and Option Tags

2003-08-11 Thread Silverio Wagner Silva(Secorp)
People, Is there any way to limit the size of a Select tag box in pixels ? In my application, it depends on the option tag content length. Thanks in advance, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: html:form and multiple modules

2003-08-11 Thread Reinhard
html:form action=switchToDatasharing input type=hidden name=prefix value=/datasharing input type=hidden name=page value=/multiItem.do with the hidden attribute it won't work. Both arguments are needed in the querystring and for so you have to use the way I wrote it in my first reply. cheers

image as link in diaplay taglib?

2003-08-11 Thread Rick Col
Hi, I need expert advices from this forum about display taglib. I am trying to make an image as link on one of he columns, how could I achieve that? If you have used dipslay taglib, please advise. I appreciate your help. regards, rick __ Do you Yahoo!? SBC

RE: Newbie question: Testing if collection is != null before iterating

2003-08-11 Thread Alex Shneyderman
Check logic:notEmpty tag -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todor Sergueev Petkov Sent: Saturday, August 09, 2003 12:32 PM To: Struts Users Mailing List Subject: Newbie question: Testing if collection is != null before iterating How

RE: Dynamic multimedia content with Struts...

2003-08-11 Thread Alex Shneyderman
Hello everybody : is it possible with struts tag libraries to retrive dynamically for example pictures from a database and place them on the jsp page on the fly Write an action that will have something like response.setContentType (image/jpg); OutputStream os = response.getOutputStream

RE: How to realize forward to the same page?

2003-08-11 Thread Yansheng Lin
return new ActionForward(mapping.getInput()); will return you to where you came from. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: August 6, 2003 5:43 AM To: [EMAIL PROTECTED] Subject: How to realize forward to the same page? Hello! I want, that the user

Re: Struts is incomplete

2003-08-11 Thread Mark Lowe
man.. I think that's savagely out of order.. I doubt the time you have wasted compares to the amount of time such a framework saves you. Have a look at some other open source projects, you'll soon start to see that struts is well documented and there are plenty of examples. Its more than

Howto pass values of a form to another form

2003-08-11 Thread Z. Cihan TAY
i have two forms and i want to send values of field in first form to second form. Each form has its own action bean. Is there a way of doing this by using struts ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

simple JSTL question

2003-08-11 Thread Erez Efrati
Some simple questions: 1) How do I subscribe to the JSTL mailing list? (I rather ask simple dumb questions than stay with dumb answers :) 2) What is the latest version of JSTL that I should use? Currently I am using the JSTL and Struts-el in combination. Thanks, Erez

Design question

2003-08-11 Thread David Thielen
Hi; I am designing a store check-out process. The old software (pre-struts) had a check at the top of each page to make sure the information from the previous page had been entered. And if not, forwarded to that page. So if you bookmarked the last page and went there, you would get forwarded

Actions Best Practice

2003-08-11 Thread Erez Efrati
I am looking for the best practice for writing Actions in my application. For example: I have a forgot password action where the users are taken to a page where they can enter their username and click 'sumbit' and another page is shown saying that their password was sent to their registered

Weblogic 6 SP 2

2003-08-11 Thread message message
Why was SP2 on weblogic 6 introduced. ? _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus - To unsubscribe,

Re: Tiles-EL ???

2003-08-11 Thread K.C. Baltz
Wouldn't that be beanScope=page for his example? Or are you assuming that config was already in request scope before the c:set? K.C. Yann Lebreton wrote: maybe something like: tiles:insert beanScope=request beanName=config beanProperty=editPage/ -Original Message- From: Jeff Caddel

RE: Best place to hook the Security Call

2003-08-11 Thread Viral_Thakkar
Hi Max, Thanks a lot for your reply. Referring to the last para of your mail, should we still require the single list of roles... I mean each role named c1234.admin for company #1234 and role named c5678.admin for company #5678 ??? Thanks, Viral -Original Message- From: Max

RE: How to return to form element

2003-08-11 Thread Vance Heredia
Hms sounds nifty but how would I then display an error message as well The more I use JS the more I like it Vance Heredia -Original Message- From: Steve Vanspall [mailto:[EMAIL

another question to tiles

2003-08-11 Thread Reinhard
I have several layouts, defined as tiles (composed of tiles, pages, controllers ...). Each action forwards to a tile. In a base action, I check a user-setting about the layout to use and create a new ActionForward to the tile. This way I have only one logical forward entry for multiple layouts.

RE: How to add Java Script to a JSP page with struts tags

2003-08-11 Thread Seshadhri Srinivasan
Hi Rohit, I am getting the message: error on page followed by a done on the left hand corner of the explorer. After this control simply gets forwarded to the page that I have set as forward(in struts-config.xml) value on failure. That is, the java script seems to be ignored by the browser.

Re: Redirect option instead of findForward!!!Urgent

2003-08-11 Thread Adam Hardy
Hi Anurag, you specify in struts-config in the forward element for the action mapping, that it should redirect. (=true) Adam Anurag Garg wrote: Hello All, I have created a page where i submit the data for saving it in the database. I have some hidden variables defined in the same page. After

RE: Welcome.do;jsessionid=C36048429636E35FB1ECAA5978E23132

2003-08-11 Thread Yansheng Lin
2001 August 8th, Craig answered: * From: Craig R. McClanahan * Subject: Re: Why would jsessionid not appear? * Date: Wed, 08 Aug 2001 12:09:26 -0700 The jsessionid path parameter will only be added if the servlet container does not know whether your client

RE: IllegalAccessError

2003-08-11 Thread Ray Madigan
I am using the binary distribution struts 1-1. I checked anyplace where the library is copied and all have the same size. I check inside the jar and the classes in question are the same size, if that matters or not. I am using a third party application that uses BeanUtils but it also has the

RE: Garbage Collection Problem with Write Tag

2003-08-11 Thread Edgar Dollin
The JSP specification allows Tags to live independent of the pages they are declared upon. As far as I know it is up to the container as to when they are garbage collected. Some containers optimize the occurances of the tags based on the parameters passed to the tags, i.e. declaring a new one

RE: struts, Dreamweaver, Dreamweaver templates

2003-08-11 Thread Stephen Brown
I've used Dreamweaver with struts without issue, but in general lean towards tiles for doing page templates. It really doesn't matter and depends on the technical aptitude of the HTML folks when deciding which way to go, but both work. What problem are you seeing? -Original Message-

Re: UPON APPLICATION STARTUP!!!!!!!!!!!!!!!!

2003-08-11 Thread Nathan Coast
select tags or indeed any tag that acts on a collection uses the name property to locate the collection. If in your case you have a collection of values that you load once and share accross every session interacting with your app, load this at startup, say in a startup servlet init and place

RE: message localization

2003-08-11 Thread Mike Jasnowski
Here's one example with JSTL Define a bundle... fmt:setBundle basename=propfilename var=current_bundle scope=page/ Then used later... fmt:message key=keyname bundle=${current_bundle} fmt:param value=${ServerForm.clonedServerName}/ /fmt:message There are other variations...

Elma Militante/DEV/Pecom is out of the office.

2003-08-11 Thread EMilitante
I will be out of the office starting 08/06/2003 and will not return until 08/11/2003. I will respond to your message when I return on tuesday, July 8, 2003. CONFIDENTIAL MATERIAL. This electronic message contains information from Princeton eCom Corporation, is confidential and may be

RE: Struts is incomplete

2003-08-11 Thread message message
I suggest you use a professional version. You will save yourself alot of time. These American companies have a culture of releasing beta functionality. Hyping it up. Getting people from the industry to test it free. Having had the benefit of your free time then they charge you by selling to you

Re: another question to tiles

2003-08-11 Thread Reinhard
Hi Cal, many thanks for your answer! If you check out the Advanced Manual on the Tiles site there is a section on dynamic definitions. http://www.lifl.fr/~dumoulin/tiles/ I was surprised about this hint, cause I startet with this documents. So I rechecked to document and - IMHO - it's not

Re: html:select problem

2003-08-11 Thread prashant . mdesai
Thanks. yes, the userBean is the actionform associated with the jsp page. I tried it using the below given code..i used userID instead of user ..just for test.. html:select name=userDataBean property=userID html:optionsCollection name=userDataBean property=roleUser label =roleID value=desc /

[newbie]: forwarding to a URL from Action class - any takers?

2003-08-11 Thread Shyam A
Hi, I have an application that is accessed from another application and I need to return a user to the original application when the user logs out/times out of my application. I always get a HTTP - Bad Request error when I try to forward to a URL from my DispatchAction class. I have tried

Trouble populating form

2003-08-11 Thread ross
Not able to get attributes from ActionForm into html form //in action form MemberDetailsEditForm returnForm = new MemberDetailsEditForm(); MemberVO vo = (MemberVO) results.iterator().next(); returnForm.setFirstName(vo.getFirstName());

RE: Forward to the same page

2003-08-11 Thread Bailey, Shane C.
Translated: JSP: html:link action=%= \/language?cameFrom=\+request.getRequestURI()% ChangeLanguage /html:link Which creates an HTML version like this: a href=/language.do?cameFrom=/theJSPName.jspChangeLanguage/a I think you could also use request.getServletPath() instead of

Re: WebLogic 8.1.1 and Struts 1.1/Tiles

2003-08-11 Thread message message
Have you applied SP1 From: Witbeck, Shane [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: WebLogic 8.1.1 and Struts 1.1/Tiles Date: Fri, 08 Aug 2003 09:50:06 -0400 Has anyone had any issues with JSP's not compiling with WL 8.1.1 and Struts

struts-config_1_1.dtd description incorrect?

2003-08-11 Thread Bailey, Shane C.
Should the struts-config_1_1.dtd describing the global-forwards redirect attribute state that for redirects = true response.sendRedirect() is called and not as stated, RequestDispatcher.Redirect is called ?

RE: Struts is incomplete

2003-08-11 Thread Kommineni, Sateesh (IndSys)
-Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 5:25 PM To: 'Struts Users Mailing List' Subject: RE: Struts is incomplete I would suggest you do a little more learning and less whining. Struts is the predominant framework used in Java

RE: modules, somethings missing

2003-08-11 Thread Yansheng Lin
Maybe IE will think your page is written in ASP too, and it will try to give you some help in the next version:). -Original Message- From: Travis Stevens [mailto:[EMAIL PROTECTED] Sent: August 6, 2003 4:32 PM To: Struts Users Mailing List Subject: Re: modules, somethings missing If

Re: Text Field property at run time!!!Urgent

2003-08-11 Thread Koni Roth
How does your action mapping in struts-config.xml look like? Is it using the right Action/ActionForm? struts-config.xml: action path=/myAction type=org.foo.bar.MyActionForm name=myActionForm ... myJsp.jsp: html:form action=/myAction ... html:text property=fieldname / ... /form Hope it helps?

RE: DigestingPlugIn

2003-08-11 Thread James Mitchell
I plan to use this extensively, thanks again!!! -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 770-822-3359 AIM:jmitchtx -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 5:23 PM To: Struts

Re: LookupDispatchAction

2003-08-11 Thread Pramod . P
The JSP html:form action=/Add table width=100% border=0 cellspacing=0 cellpadding=2 class=graynoborder tr td nowrap html:submit property=actionbean:message key=button.add//html:submit nbsp;nbsp;nbsp; html:submit property=actionbean:message key=button.cancel//html:submit

LookupDispatchAction

2003-08-11 Thread Nalini Pal
Not sure how best to set this up and indeed, if it is possible so any advice would be appreciated. I have a an ActionForm called RegisterForm where a new user to enter their details (name, email, school name and school address) or an existing registered user to edit these fields.

Re: JSTL ot struts taglibs?

2003-08-11 Thread Erik Price
Bailey, Shane C. wrote: I'm trying state my opinion and learn (from replies). About the only thing in that statement that I know is verifiably screwed up is that Ant has no $var and I apologized and rectified what I meant in one of my recent posts. Whachu talkin' 'bout Willis? I hadn't read

RE: Remove a key from collection.

2003-08-11 Thread Erez Efrati
I don't really have the entire picture here but I would suggest: In you PropertiesBean split between the known, and dynamic containers of properties and then in the page pull them using different property on the PropertiesBean. This way it would be much more clear which is expected and which is

BeanUtils.Populate exception(Indexed Properties)

2003-08-11 Thread Sridhar Kotagiri
1)I have an arraylist called alist which contain collection of Beans(IpAddress) I provided the getter and setter methods for alist and getIpAddress(int index) and setIpAddress(int index,IpAddress ip) for the bean. 2)This bean has two properties domainName and ipValue,wrote the getter and setter

Re: Struts and synchronization

2003-08-11 Thread Nathan Rogers
The request path for a standard action within my code goes something like this : Struts servlet - action - model - database - model - action - Velocity servlet Here's what I know about each issue you've brought up. #1 - Tomcat is configured to work with the Warp connector. I don't know

Re: Validation errors display prob in jsp

2003-08-11 Thread Raj Atchutuni
I am using Dynaforms for the form validation. In my jsp i use html:errors/ tag to display them. Validation is working fine, but the errors are displayed horizontally next to each other. I cant use strtus.el now since i completed the coding for many forms. Does anyone one know why this is

Re: DigestingPlugIn

2003-08-11 Thread Robert Leland
James Mitchell wrote: I noticed the check in of DigestingPlugIn and I want to try it out. Unless I missed it somewhere, it's not clear to me how to use it. If it actually does what I'm hoping/guessing (based on the name and comments), I'll be one happy camper Can you give us a brief 'how

LookupDispatchAction

2003-08-11 Thread yan
Has anyone got a working example of this so I can see the code and follow it through? if so, would anyone be willing to post it to me direcly? I have tried to locate resources online that take you through a worked example without any luck. thanks in advance yan KickStartESolutions -

RE: Struts is incomplete

2003-08-11 Thread message message
I have a document called Designing Enterprise Applications with the J2EEtm Platform, second Edition. This document tells me how Struts fits into J2EE. I don't think the issue was what Struts can do for you. We can read! We were complaining about other things like why should we pay weblogic when

Re: Text Field property at run time!!!Urgent

2003-08-11 Thread Nagendra Kumar O V S
HI, check out these in the struts docs (help on the indexed properties)... docs: faqs\indexedprops.html --nagi ---Original Message--- From: Struts Users Mailing List Date: Monday, August

Validador - Validating an Array... form checkbox property

2003-08-11 Thread José Fortunato H. Tomás
Hi! I have de following form-beaN: form-bean name=PlacesManageForm type=com.esegur.sims.util.struts.form.BasicDynaValidatorForm form-property name=manageAction type=java.lang.Integer/ form-property name=places type=java.lang.Integer[]/ /form-bean And the

Re: Struts is incomplete

2003-08-11 Thread Sgarlata Matt
Struts is intended as a framework in which you can develop your application. It does not and cannot do everything. Instead, the framework makes it very easy to plug in different components. In your particular case, I believe just about the entire logic tag library is deprecated in favor of the

RE: Struts Validator Javascript

2003-08-11 Thread David Graham
Keep investigating the problem. If you can come up with new information or a patch, then that will serve as a much more useful reminder than just repeating yourself. I couldn't agree more with this statement. Many reported bugs are poorly described and just left in bugzilla for someone else

Re: DigestingPlugIn

2003-08-11 Thread David Graham
I didn't commit PlugInSupport because a support class should contain support methods that many plugins need. I'm not convinced that most plugins need what DigestingPlugIn needed so that's why it's not there. Do any other plugins need PlugInSupport type functionality? The ability to read

Struts and Weblogic Portal 4

2003-08-11 Thread karan . oberai
hi there , I am using Struts 1.1 with weblogic portal 4. sp 3 .I was wondering if anyone had any idea of integrating portlets with struts . Basically I figured out a way of calling struts from my portlet but how do I do vice versa Also I want to continue using the portlet functionality

Dinamic field in a form

2003-08-11 Thread Andrea Polci
I need to insert in a form a number of field based on a database table (obviously I puth the content of the table in a collection). The table contains the names of the fields that have to be filled by the user. How can I do that with struts. I think I shoud use the indexed properties, but I

Re: message localization

2003-08-11 Thread Mark Lowe
Erez Not really my cup of tea but I think something like this.. fmt:message key='${UserSexKey[select]}'/ Cheers Mark On Monday, August 11, 2003, at 12:24 AM, Erez Efrati wrote: All this talking on JSP 2.0, JSTL and Struts-el brought me to ask if I should avoid using the following:

RE: struts 1.1 question

2003-08-11 Thread e
I guess it just seems like extra work that doesn't yield obvious benefits, not unlike having to do all those getters/setters in 1.0, but I guess if I had to choose between the two, I'd choose this. I guess I'm also partial to the familiar file extensions like .jsp..do never did it for me,

[APPLICATION SCOPE] -How and Where to store in app scope

2003-08-11 Thread Todor Sergueev Petkov
Hello everybody, I have some objects that I would like to store in application scope. I am useing Strust 1.1. I have the following question: 1. Where (in which Struts class) is the most convinient place to make this. 2. How can I store the objects at startup and than not have to

Re: struts 1.1 question

2003-08-11 Thread Thomas CORNET
In fact, you have to front JSPs only if you're using modules, because requests have to go through struts controller to know which module they belong. If you're not planning to use modules, I think you can keep your struts-config file the way it is. And as tiles and modules are independant, the

Re: Struts is incomplete

2003-08-11 Thread message message
I bet these people starting blocking messages now. From: Mark Lowe [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts is incomplete Date: Mon, 11 Aug 2003 10:16:30 +0100 man.. I think that's savagely out of

Re: html:form and multiple modules

2003-08-11 Thread Reinhard
I think I got it: the html:form ... takes the bean-information from the target-action (the action called after submit). So if you use a switchaktion to pass your bean between different modules, you have to use the deprecated attributes from the html:form ... and specify a name and a type. The

Re: [OT - Slightly] Returning Error Status from Business Layer

2003-08-11 Thread Erik Price
Jerry Jalenak wrote: confused-look-on-face Erik - How then do you return a simple status from your business model to your action? There is not an 'exceptional condition' - simply a return value that the action can use to select the appropriate forward (for instance). As I've been looking

[OT] Resin does not work with Struts 1.1 Final

2003-08-11 Thread Barry Volpe
Resin does not work with Struts 1.1 Final Question by Barry on Fri, 08 Aug 2003 14:05:26 -0700 (PDT) [ edit | delete ] When upgrading to Struts RC2 or 1.1 Final the following error occurs: (further description of problem below) 500 Servlet Exception

Struts and WebSphere - not find ActionMappings or ActionFormBeans collection

2003-08-11 Thread ChangQing Zhou
Hi, I have an application runs great in Tomcat 5.0. I am migrating it into websphere and I got the following error when I try to access the first jsp page of the app. Any help is appreciated. -Changqing [8/11/03 13:04:31:844 CDT] 5c7194b6 WebGroup E SRVE0026E: [Servlet Error]-[Cannot

Re: Forward to the same page

2003-08-11 Thread Paul Thomas
On 11/08/2003 13:25 Dirk Behrendt wrote: Hello! I am still searching for a possibility to forward to the same page. I want, that the user can switch the language at runtime. After choosing the LanguageAction Class is called and switches the Locale. But it is necessary to give a forward. Example:

RE: BeanUtils.Populate exception(Indexed Properties)

2003-08-11 Thread Slattery, Tim - BLS
I'm totally confused you say that I need to write these methods Here's your iterate tag: logic:iterate id=ipAddress type=com.register.struts.account.IpAddress name=editAdvancedForm property=alist And here are html:text tags: html:text name=ipAddress property=domainName indexed=true/

RE: message localization

2003-08-11 Thread Craig R. McClanahan
On Mon, 11 Aug 2003, Erez Efrati wrote: Date: Mon, 11 Aug 2003 03:09:56 +0200 From: Erez Efrati [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: message localization In Struts bean:message key= the

switching modules question - help

2003-08-11 Thread Manohar Vandrangi
Hi - I am trying to use the switching between modules feature of struts and having some problems. any help is grealty appreciated. Here is the directory structure: Root (has index.jsp, login.jsp, start.jsp, first.jsp, second.jsp, third.jsp etc..) | |-App1 (has index.jsp, login.jsp,

Asking again - basic design question

2003-08-11 Thread David Thielen
Hi; I am designing a store check-out process. The old software (pre-struts) had a check at the top of each page to make sure the information from the previous page had been entered. And if not, forwarded to that page. So if you bookmarked the last page and went there, you would get

Simple html:submit question

2003-08-11 Thread Norr, Peter
How do I use my own image in a html:submit/ or html:cancel/ tag? -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of

Re: JBoss

2003-08-11 Thread Gino LV. Ledesma
The part about JBoss not having customer service isn't quite true. JBoss has commercial support, and can be quite expensive (depending on your business). The JBoss Group offer a number of services (which you can read at their website, here: http://www.jbossgroup.com/index.html), including

Re: How to configure commons-logging on JDK1.4

2003-08-11 Thread Koni Roth
Thanks Craig Since I have my commons-logging.properties file in WEB-INF/classes and *not* in a subdirectory everything works fine! I didn't get this out of the documentation. Cheers Koni Craig R. McClanahan wrote: On Fri, 8 Aug 2003, Koni Roth wrote: Date: Fri, 08 Aug 2003 18:47:41 +0200

Re: message localization

2003-08-11 Thread Craig R. McClanahan
On Mon, 11 Aug 2003, Erez Efrati wrote: Date: Mon, 11 Aug 2003 01:24:58 +0200 From: Erez Efrati [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: message localization All this talking on JSP 2.0, JSTL and

Re: [OT] Interesting JSF info

2003-08-11 Thread Craig R. McClanahan
On Mon, 11 Aug 2003, Vic Cekvenich wrote: Regulars on the list, or anyone on MVC mail lists, know what I selected to port Struts basicPortal.com formBeans into and why. Unfortunately, your recommendation in your ServerSide posts (use standard form beans instead of DynaActionForm to avoid

RE: LookupDispatchAction

2003-08-11 Thread Shashank Dixit
HI Nalini There is a fantastic example given in Programming Jakarta Struts from Orielly. Shashank S. Dixit Software Analyst. Datamatics Ltd. Contact: 28291253 ext 146 Mobile: 9820930075 Be brave against all odds. Never give up. -Original Message- From: Nalini Pal [mailto:[EMAIL

Re: struts problem(Unable to populate the form in the jsp to ActionFormbean)

2003-08-11 Thread Adam Hardy
That's because your ipAddress objects don't exist in your formbeans arraylist when you submit. In your formbean you are only instantiating one ipAddress object. Sridhar Kotagiri wrote: Hi, I have a Action form which contains an arraylist the array list adds beans which are called