RE: Session facade

2004-07-07 Thread Ricardo Cortes
I would assert you don't need the Session Facade as one of the advantages of the Session Facade is it's ability to abstract the low level operations of the Session EJBs from upper layers of your architecture. You could probably have your actions talking to a Business Delegate layer or your DAO

RE: Spring or Tapestry Framework

2004-07-07 Thread Ricardo Cortes
I'm not sure about Tapestry's integration with Hibernate but Spring provides a good amount of integration with Hibernate out of the box. Plus, it's quite easy to get going with the examples they provide. Check out these URLs to get your feet wet:

RE: Spring or Tapestry Framework

2004-07-07 Thread Ricardo Cortes
Ooops. One more link: http://www.hibernate.org/110.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 3:53 PM To: [EMAIL PROTECTED] Subject: Spring or Tapestry Framework I'd like to thank both Robert and Jim for yesterdays help

Tiles + Controller Exception Handling

2004-07-02 Thread Ricardo Cortes
Hi, What are most of you doing to handle exceptions in your Tiles' Controllers? I've set up error pages correctly in my web.xml and the specific tiles that need specific error page handling. That is working just fine. However, if an exception is thrown in one of my Tiles' Controllers then

RE: Converting Java Code in JSP to JSTL

2004-06-29 Thread Ricardo Cortes
Caroline, Have you tried the following?: c:set var=threadBean value=${requestScope.ThreadBean} / c:set var=threadID_int value=some int value / c:if test=${threadBean.threadID != threadID_int} !-- Do something -- /c:if -Original Message- From: Caroline Jen [mailto:[EMAIL

RE: Converting Java Code in JSP to JSTL

2004-06-28 Thread Ricardo Cortes
Have you looked at the format library for these kinds of situations? Example: c:set var=messageDate fmt:formatDate value=${aMessageInstance.message.createDate} pattern=MMM dd hh:mma/ /c:set -Original Message- From: Eric Schneider [mailto:[EMAIL PROTECTED] Sent: Monday, June

RE: Problems with tiles...

2004-06-17 Thread Ricardo Cortes
I'll bet you haven't included the Tiles tag library at the top of your JSP: %@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles % -Original Message- From: Thiago Souza [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 1:40 PM To: [EMAIL PROTECTED] Subject: Problems with tiles...

RE: multiple tilesdef

2004-06-16 Thread Ricardo Cortes
What's the issue? When you specify the value for the definitions-config property in the TilesPlugin, you can list as many Tiles-def.xml files as you want. An example is below. !-- TILES PLUGIN -- plug-in className=org.apache.struts.tiles.TilesPlugin

RE: Cannot Find Bean in Any Scope

2004-06-14 Thread Ricardo Cortes
Caroline, This URL might help: http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html Ciao, Ricardo -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Saturday, June 12, 2004 7:28 PM To: [EMAIL PROTECTED] Subject: Cannot Find Bean in Any Scope I am

RE: [OT] A first look at Spring vs Struts

2004-06-14 Thread Ricardo Cortes
The best application framework I've used for developing web applications has to be WebObjects (http://webobjects.com), hands down. Although the cost is $700, you get what Struts, Tiles, Hibernate, JSP and servlets try so hard to emulate except that it's all bundled in one package. So

RE: [struts] Digest Number 3955

2004-06-07 Thread Ricardo Cortes
This usually occurs when you try to use form elements outside of the form tags. Make sure all your pulldowns and checkboxes are used inside an html:form tag. Ciao, Ricardo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 07, 2004 9:04 AM To:

JSTL and Multibox Submit Problem

2004-05-25 Thread Ricardo Cortes
Hi there, I am having a problem getting the checked values from a multibox that is submitted to my action and I was hoping one of you could help me out. I followed Ted Husted's example of using a Multibox within an iteration but I have a feeling that my setup is a bit different and thus

RE: JSTL and Multibox Submit Problem (SOLVED)

2004-05-25 Thread Ricardo Cortes
Problem Ricardo, If you are going to use the html:link tag, then you need to have it trigger a call to a JavaScript function that will submit the form for you. Otherwise, jjust clicking the link will not submit the form. Regards, Richard --- Ricardo Cortes [EMAIL PROTECTED] wrote: Hi

JSTL 1.1 + HTML-EL Problem

2004-05-05 Thread Ricardo Cortes
Hey guys, I've been banging my head with this for sometime so I'm hoping someone has an answer. We are running JBoss 3.2.3 and have successfully replaced Tomcat 4 with Tomcat 5 so we can use the JSP 2.0 and Servlet 2.4 specifications. I decided to download Standard 1.1 which has support for

RE: JSTL 1.1 + HTML-EL Problem

2004-05-05 Thread Ricardo Cortes
Ricardo Cortes [EMAIL PROTECTED]: Hey guys, I've been banging my head with this for sometime so I'm hoping someone has an answer. We are running JBoss 3.2.3 and have successfully replaced Tomcat 4 with Tomcat 5 so we can use the JSP 2.0 and Servlet 2.4 specifications. I decided

RE: forwarding to a pop-up window

2004-05-03 Thread Ricardo Cortes
Here's an example of what I'm doing in my Struts application to handle opening up a popup window: a href=javascript:popup('core:url value=/displayNotePopup.do core:param name=messageSubject core:out value=${aMessageInstance.message.subject}//core:param core:param

RE: forwarding to a pop-up window

2004-05-03 Thread Ricardo Cortes
, props); popup.focus(); } //-- /script -Original Message- From: Ricardo Cortes Sent: Monday, May 03, 2004 12:02 PM To: Struts Users Mailing List Subject: RE: forwarding to a pop-up window Here's an example of what I'm doing in my Struts application to handle opening up a popup