Re: Dynamic forward in tiles

2004-03-26 Thread Pedro Salgado
On 25/03/2004 13:22, Mariano García [EMAIL PROTECTED] wrote: El mié, 24-03-2004 a las 20:21, Pedro Salgado escribió: Below is a reply sent to this mailing list about something very similar to what you are looking for. but there is any way to use dynamic content only using tiles tags

Re: Retrieve a Variable From the DynaActionForm

2004-03-24 Thread Pedro Salgado
would still need to cast to String, if you wanted to do something with the object. If you just want to print you just need to use c:out value='${request.Receiver}'/ in any of the cases described above. Pedro Salgado __ Do you Yahoo!? Yahoo! Finance Tax

Re: html:messages jstl equivalent

2004-03-24 Thread Pedro Salgado
On 23/03/2004 23:39, Joe Germuska [EMAIL PROTECTED] wrote: At 12:06 PM + 3/23/04, Pedro Salgado wrote: html:messages id=error ... /html:messages Does anyone know how do I fill the ${???} to have a JSTL equivalent for the previous html tag? c:forEach items='${???}' var

Re: Dynamic forward in tiles

2004-03-24 Thread Pedro Salgado
Below is a reply sent to this mailing list about something very similar to what you are looking for. Hope it helps, Pedro Salgado Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles

Re: Dynamic forward in tiles

2004-03-24 Thread Pedro Salgado
tiles file (I use velocity just to build SQL/DAOs with the OJB framework). If this is true, then you just have to make it generate a tiles file with a controller class defined by you. The runtime argument must be handled by you, programatically, in your own tiles controller class. Pedro Salgado

html:messages jstl equivalent

2004-03-23 Thread Pedro Salgado
html:messages id=error ... /html:messages Does anyone know how do I fill the ${???} to have a JSTL equivalent for the previous html tag? c:forEach items='${???}' var='error' ... /c:forEach - To unsubscribe,

Re: [OT] Object Design Question

2004-03-21 Thread Pedro Salgado
to be changed? It would generate a huge number of cascade updates. Do whatever you like maybe I am raising a false issue here). Hope it helps, Pedro Salgado Thanks and Regards Avinash - To unsubscribe, e-mail: [EMAIL

Re: action - delegate - facade

2004-03-17 Thread Pedro Salgado
usually send a view. If aa prepopulated html form is to be presented I send a view and a form bean. Voila :) Pedro Salgado (http://www.04web.com/) - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 17

Re: Role based access?

2004-02-19 Thread Pedro Salgado
If you need this kind of behaviour (Container Managed Security) I already implemented a very simple, free and open framework that allows to manage security over your application. I haven't made any documentation besides javadoc but, if you need any help, just send me an email. Pedro

Re: problem moving a form page into tiles

2004-02-12 Thread Pedro Salgado
Maybe you're setting your action to redirect=true in your struts-config? (but if you're storing your form-bean in session - your action scope attribute is session - this should be irrelevant) Another maybe :), I think you have to put an action class between your JSP and your tiles

Re: AW: Orkut

2004-02-10 Thread Pedro Salgado
Can anyone explain me what is the Orkut Social Network :) Pedro Salgado On 09/02/2004 23:41, Oliver Thiel [EMAIL PROTECTED] wrote: ... me too ... thanks! -Ursprüngliche Nachricht- Von: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 10. Februar

Re: AW: Orkut

2004-02-10 Thread Pedro Salgado
that seems interesting. can anyone add me? Pedro Salgado On 10/02/2004 14:01, Michael McGrady [EMAIL PROTECTED] wrote: Try google? http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=orkut At 04:15 AM 2/10/2004, Pedro Salgado wrote: Can anyone explain me what is the Orkut Social

Re: Jrun4 Server start up error

2004-01-16 Thread Pedro Salgado
... ?! and not implementing a Sun's specification... In conclusion, something that Tomcat does right and JRun doesn't). Have you tried this? Have you checked the log files for more specific errors? Regards, Pedro Salgado On 16/01/2004 14:28, Sandy Bingham-Porter [EMAIL PROTECTED] wrote

JSTL: equivalent for errors and javascript

2004-01-16 Thread Pedro Salgado
/html:messages /ul fmt:message key='errors.footer'/ /c:forEach For the javascript version... I think it would be something like: c:out value='${.}'/ Pedro Salgado - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Dynamic Tiles?

2004-01-12 Thread Pedro Salgado
I have a problem with my battery that makes the system date reset to 1970!!! So if you continue see my mails on the bottom of the maildir it means that... my hardware vendor hasn't solved my problem :) Pedro Salgado On 12/01/2004 08:37, Christian Schlaefcke [EMAIL PROTECTED] wrote: Could

Re: Dynamic Tiles?

2004-01-08 Thread Pedro Salgado
Here goes a response to your question... Pedro Salgado - PREVIOUS MESSAGE (on this mailing list) Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles-defs.xml file

Re: Dynamic Tiles?

2004-01-08 Thread Pedro Salgado
Here goes a response to your question... Pedro Salgado - PREVIOUS MESSAGE (on this mailing list) Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles-defs.xml file

Re: Dynamic Tiles?

2004-01-08 Thread Pedro Salgado
:D... Fortunately I flag the best/most usefull answers I read... This way I can also help someonelse... It was also a big help for me :) ... Pedro Salgado On 08/01/2004 21:17, Domingo A. Rodriguez S. [EMAIL PROTECTED] wrote: I definitively agree with that answer :P --- Pedro Salgado

Re: Please Help - ClassCastException

2004-01-04 Thread Pedro Salgado
Pedro Salgado form-property name=receiver type=java.lang.String/ form-property name=sender type=java.lang.String/ form-property name=title type=java.lang.String/ form-property name

dynaform populate

2004-01-04 Thread Pedro Salgado
, prefs.getBackground()); request.setAttribute(userPrefsForm, dynaForm); } } Any ideas? Pedro Salgado - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: dynaform populate

2004-01-04 Thread Pedro Salgado
store in request and with there properties the formfilds get filled to! What you are telling me is that if I store a bean with the same name as the form, the html tag lib will interpret it as being the form, right? Thank you very much! Pedro Salgado look http://rollerjm.free.fr/images

Re: dynaform populate

2004-01-04 Thread Pedro Salgado
again, Pedro Salgado ... /struts-html:form it works fine! Regards, Matthias -Original Message- From: Pedro Salgado [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 6:08 PM To: Struts Users Mailing List Subject: Re: dynaform populate On 04/01/2004 16

Re: Please Help - ClassCastException

2004-01-03 Thread Pedro Salgado
On your struts config file check if the form bean for StoreMessage action is of type pkg.pkg.PostForm and if the action name is pointing to the correct form bean... It also seems to be missing the import of the PostForm on your action class. Pedro Salgado On 04/01/2004 03:22, Caroline Jen

Re: *.do mapping using JRun

2004-01-02 Thread Pedro Salgado
(the license is free for development anyway) and check what's happening. Pedro Salgado On 02/01/2004 03:11, Mike Steigerwald [EMAIL PROTECTED] wrote: Hi, all, I'm a struts newbie trying to learn with struts-example. I've got it working great locally with Tomcat, but I'm struggling to deploy

Re: Dynamic form property names

2003-12-30 Thread Pedro Salgado
this (the runtime form approach) and I don't know if this is what you are looking for... Pedro Salgado On 30/12/2003 13:34, Paul-J Woodward [EMAIL PROTECTED] wrote: Anyone got any ideas? Thanks, Paul Paul-J Woodward paul

Re: RequestProcessor problem

2003-12-30 Thread Pedro Salgado
in the container too? Or just setting the roles parameter and using the RequestProcessor, will allow mw to check the roles that the user might have to access that action? I made a framework for this purpose. If you want it I can send you the source so you can reuse in any way you like. Pedro Salgado

Re: RequestProcessor problem

2003-12-30 Thread Pedro Salgado
on my actions... and in order to have a servlet container independent solution. Hope it helps, Pedro Salgado On 30/12/2003 17:01, Kelly Goedert [EMAIL PROTECTED] wrote: If you can send it'll appreciate it. Pedro Salgado wrote: On 30/12/2003 11:22, Kelly Goedert [EMAIL PROTECTED] wrote

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Pedro Salgado
value=/header.jsp/ put name=body value=/choose.jsp/ - put name=footer value=/footer.jsp/ /definition choose.jsp c:import url='/WEB-INF/com/website/tiles/choose/${request.choose}'/ Pedro Salgado On 29/12/2003 17:46, Robert Taylor [EMAIL PROTECTED] wrote: Greetings, I have

Re: tiles, conditional choice of

2003-12-28 Thread Pedro Salgado
=header value=/header.jsp/ put name=body value=/choose.jsp/ - put name=footer value=/footer.jsp/ /definition choose.jsp c:import url='/WEB-INF/com/website/tiles/choose/${request.choose}'/ Pedro Salgado There are a number of options available here, i'd have a different def

mapping.getForwardForward()?

2003-12-16 Thread Pedro Salgado
org.apache.struts.action.Action or org.apache.struts.actions.ForwardAction? I have looked at the source code and, if I override the execute() method then it will be pretty much the same... right? Thank you, Pedro Salgado

Re: Retrieving boolean properties from a DynaActionForm

2003-12-16 Thread Pedro Salgado
Hi! Try this: Boolean bVolledig = Boolean.valueOf((String)form.get(volledig)); boolean volledig = bVolledig.booleanValue(); Should work Pedro Salgado On 16/12/2003 09:11, Engbers, ir. J.B.O.M. [EMAIL PROTECTED] wrote: Hi, I have defined a boolean property

Re: Naming conventions for Struts actions, Tiles definitions and JSPs

2003-12-16 Thread Pedro Salgado
, in a UML diagram, Tiles definitions, forms, actions, in a way that you understand the flow of the application? Do you use the name/colors to differ actions components from form components? How can you represent a Tiles definition (I don¹t mean the tiles configuration file)? Pedro Salgado On 16/12/2003

Re: Struts installation problems

2003-12-16 Thread Pedro Salgado
ServerLogistics what's is the problem since it seems that is a setup/configuration problem... By the way, Struts 1.2 is the development version not the final release version... In case you didn't notice. Pedro Salgado Would I be right in thinking that the tomcat-apache.conf file

Re: Login Security

2003-12-16 Thread Pedro Salgado
| last_failure | number_failures Hope it helps, Pedro Salgado On 16/12/2003 15:55, Ciaran Hanley [EMAIL PROTECTED] wrote: I'm writing a web application using JSP and Struts. I want to add a security feature to my login page where if a user has three unsuccessful logins they will be unable

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Pedro Salgado
What do you think about OJB? Pedro Salgado On 16/12/2003 16:58, Vic Cekvenich [EMAIL PROTECTED] wrote: I would use Ibatis or Hibrenate as a DAO, not both. iBatis lets you use any SQL(corelated self join, sooner or later you will need to do a trick or tune performance), which is why I

Re: Reloading of application resources

2003-12-16 Thread Pedro Salgado
Pedro Salgado On 16/12/2003 19:52, Joe Germuska [EMAIL PROTECTED] wrote: I'd suggest that if you can achieve the same goals by writing a PlugIn implementation that you might achieve by extending the ActionServlet, you're probably better off writing the PlugIn. You could avoid creating

Re: Login Security

2003-12-16 Thread Pedro Salgado
out if the timeout has elapsed by querying that field and comparing it to the current time. That's the way ;D Pedro Salgado That way, I wont be using cookies, and will avoid blocking IP address. Does that sound ok? Ciaran -Original Message- From: [EMAIL PROTECTED] [mailto

Re: Log4j with Struts

2003-12-05 Thread Pedro Salgado
Do you have the log4j jar on the WEB-INF/lib? Do you have the log4j.properties on the WEB-INF/classes? You have: String str = new String(LogonAction.class.getName()); Logger logger = Logger.getLogger(str); Shouldn't it be: Logger logger = Logger.getLogger(LogonAction.class); Pedro Salgado

JSTL and DynaBeans

2003-11-25 Thread Pedro Salgado
(this.dynaBeanClass).newInstance(); Question: - Does anyone have figured out another solution (one that is simpler and able to reuse the methods that the RowSetDynaClass uses without copy/paste?) ? Thank you, Pedro Salgado

Re: R: JSTL and DynaBeans

2003-11-25 Thread Pedro Salgado
I think that it only works for maps... I can use DynaActionForms and use ${formbean.map[key]}, but I am using BasicDynaBeans for the views. Pedro Salgado On 25/11/2003 15:34, Grassi Fabio [EMAIL PROTECTED] wrote: Would the alternative syntax ${bean[propertyA]} work better? Regards, Fabio