R: html:option and c:out tags

2004-05-21 Thread Andrea M
Ops..typed it wrong Correction: html-el:options collection=${optionList} property=${optionList.optionID} labelProperty=${optionList.optionName}/ -Messaggio originale- Da: Andrea M [mailto:[EMAIL PROTECTED] Inviato: venerdì 21 maggio 2004 7.39 A: 'Struts Users Mailing List' Oggetto: R:

RE: [struts workflow extension] Workflow Violation Help

2004-05-21 Thread shirishchandra.sakhare
Hi, This is the reason for providing the secondary workflow mechanism... As a single workflow allows you to define a single workflow violation path , and hence single point of forward, you can start your own subworkflows(secondary workflows) so that the same can be used like

RE: Tiles with javascript heavy pages

2004-05-21 Thread Paul McCulloch
Not with bean:message but you should be ablt to with fmt:messge: fmt:message tiles:getAsString/ /fmt:message Paul -Original Message- From: Tim Penhey [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 16:03 To: Struts Users Mailing List Subject: RE: Tiles with javascript heavy

RE: Wizards, multiboxes, and hidden forms, oh my!

2004-05-21 Thread Paul McCulloch
Consider using a session scoped form bean. That way you don't need to worry about using html:hiddens to remember the value from previous steps. Another option would be to have your JSP always render the entire page, but you use styles to hide the bits that aren't part of the current step. Paul

Re: Controller for web services

2004-05-21 Thread salgado.pc
Have a look at Axis (also an Apache project). It will probably do what you need. -Original Message- From: Pedro Salgado [mailto:[EMAIL PROTECTED] Sent: Friday, 21 May 2004 13:20 To: Struts Users List Subject: Controller for web services Is there any MVC implementation for web

RE: Controller for web services

2004-05-21 Thread salgado.pc
Thank you (sorry for the direct reply... bad webmail :( ). I'll do just that. Pedro Salgado I believe Axis has stuff for doing this kind of thing, but Im only just starting to learn it myself so still dont know all the details. What Ive seen is pretty cool though! They have a rather

Struts 1.1 and Collections 3.0

2004-05-21 Thread Sherlock, Simon
Is it OK to update Struts 1.1 with the new commons-collections.jar that comes with collections version 3? I don't want to upset things by doing this. If it is not OK is there anyway the new collections stuff can be included in a Struts 1.1. project? Thanks, Simon. This e-mail and any

RE: Tiles with javascript heavy pages

2004-05-21 Thread Pilgrim, Peter
-Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 16:25 To: Struts Users Mailing List Subject: RE: Tiles with javascript heavy pages Do you know if you can embed the tiles:getAsString / inside the bean:message to have the tiles attribute define

Re: html:file tag

2004-05-21 Thread Henrique VIECILI
Hi, The File Field in HTML is a special field, because it has some security issues, by example: a) 'you cannot set its value by javascript or a predefined value' and b) 'you cannot get any info from the file before the client uploads the file' but, depending on what you want to do, would be

Re: Struts 1.1 and Collections 3.0

2004-05-21 Thread Niall Pemberton
There has been alot of discussion about this on the commons-dev list, which I haven't been following too closely, but my understanding goes along the following lines * the only dependancy struts has on collections are from those inherited from digester and beanutils. * my understanding is that

Oracle 10g Apps Dev Framework

2004-05-21 Thread Indra Gunawan
Hi all, I want to implement business service layer using session bean and eliminate the need for entity beans as I plan to replace them with Hibernate . But, when I write the session bean component ... I don't have support from ADF for implementing Create, Remove, and the like only iterator

RE: Oracle 10g Apps Dev Framework

2004-05-21 Thread Jarnot Voytek Contr AU/SC
You may consider posting this someplace that has something to do with Oracle... -Original Message- From: Indra Gunawan [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 7:49 AM To: 'Struts Users Mailing List' Subject: Oracle 10g Apps Dev Framework Hi all, I want to

RE: Controller for web services

2004-05-21 Thread None None
Another option is what I've implemented in a project recently... First, every single Web Service request is directed to a single Action mapping, quit originally called /WebServices.app :) Then, in the action I first check for the SOAPAction header, making the assumption that only a valid Web

Message Resources

2004-05-21 Thread gdeschen
Greetings, The following code snippet is from my ActionForm.validate() method. What I don't like and wonder if there is a better way to this: is the loading of the Message Resources. I need to do this to get a value that is passed as a parameter to a message. private static MessageResources

Re: Message Resources

2004-05-21 Thread Thomas SMETS
You do not need to load the Message ressources. I would suggest you to place the following in your AS classpath : A file named : SimpleLog.properties (may be all small letters) with the following content : snip # # # # # # # Author : $Author$ # Revision : $Revision$ # Last updated : $Date$ #

Tiles and changing the title based on content

2004-05-21 Thread Tim Penhey
I was wondering if there is any way to change the title based on the content of a tiles based page? I have a current JSP where the title is: title${item.name}/title Do people have any solutions to this? At the moment my layout has the following: c:set

double click submit button problem

2004-05-21 Thread Jignesh Patel
Hi, To avoid double click problem we implemented code in our execute method as follows saveToken(request); if(!isTokenValid(request){ //submit mapping.forward(target); }else{ resetToken(request); } but then the page is not working as expected whenever we double click the page is not

RE: double click submit button problem

2004-05-21 Thread Daniel Perry
If you are calling saveToken(request) before isTokenValid like your code suggests, you are probably overwriting the token in the session, so it is different to the one being submitted in the form! It should happen as follows: In the action that gives the form: saveToken(request); Then in the

Re: Tiles and changing the title based on content

2004-05-21 Thread Niall Pemberton
fmt:messagetiles:getAsString name=titleKey//fmt:message - Original Message - From: Tim Penhey [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 21, 2004 4:59 PM Subject: Tiles and changing the title based on content I was wondering if there is any way

Re: form processing

2004-05-21 Thread Dean A. Hoover
OK. Now it works, sort of. On the form I am processing there are 2 sets of checkboxes. One set is simply made using html:multibox. The other set is inserted by a single custom tag that I wrote. I followed your suggestion (but had to dig for details) and created the following: public class

RE: Tiles and changing the title based on content

2004-05-21 Thread Tim Penhey
That requires a static titleKey in the tiles-def.xml, whereas I am dealing with a name property from a bean that comes from a database. Tim -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: 21 May 2004 17:48 To: Struts Users Mailing List Subject: Re: Tiles and

[OT] OSWorkflow

2004-05-21 Thread Guillermo Meyer
We are evaluating using OSWorkflow in our project. Has anyone used it? Any advice? Any papers? Best practices/recomendations using it? We have to refactor an existing application that manages states in a if-elseif fashion and we want to use a workflow engine. Any tips in doing this? Thanks in

LOGIC:INTERATE

2004-05-21 Thread Teixeira, Jorge (Informaker)
Can you send me one interate sample workin with one object colletion how attribute? I'm tried it logic:iterate name=tb_estadoForm scope=attribute id=resultado And logic:iterate collection=resultado name=tb_estadoForm scope=attribute id=teste My attribute call resultado and

RE: LOGIC:INTERATE

2004-05-21 Thread Matthias Wessendorf
logic:iterate id=element name=myCollectionObject bean:write name=element property=foo/br/ bean:write name=element property=bar/br/ /logic:iterate is this for creating a html-table? look to http://displaytag.sourceforge.net/ they are cool! (they generate

ControllerSupport ActionForm

2004-05-21 Thread Keith Bottner
Struts 1.1, using Tomcat I am trying to associate a Controller with a Struts tile. This way I can call my business objects within the Controller to populate it appropriately and it will be tied to the tile. So far everything has been working fine however I run into a slight problem. It appears

Re: LOGIC:INTERATE

2004-05-21 Thread Joe Germuska
In all Struts tags, the scope attribute should be one of the scopes in which a JSP tag can find an attribute: page request session application If none is specified, then all available scopes are searched in standard JSP tag order (as above) until a value matching the name is found. As you're

RE: Tiles and changing the title based on content

2004-05-21 Thread Michael McGrady
I am not sure why this is a problem. All you have to do if you want part of the response object to be dynamic is put your dynamic value in the tile. Presumably you have some dynamic factor choosing the tiles content page. Just have that same factor decide what the value of the title is.

RE: Tiles and changing the title based on content

2004-05-21 Thread David Friedman
Tim, Why not use a TilesAction (org.apache.struts.tiles.action package) and change/set tiles attributes using the putAttribute() method of the ComponentContext object. For more details, see the advances tiles PDF. -David -Original Message- From: Michael McGrady [mailto:[EMAIL

RE: Tiles and changing the title based on content

2004-05-21 Thread Michael McGrady
I assume by the tile you mean the JSP page that is referenced in the tiles xml, if that is how you are doing it. If so, you just reference a bean property on the JSP page. Again, what is the problem. This is simple. I always do this without any difficulty. Here is something I have in one