Re: Tile Problem

2004-03-25 Thread Tin Pham
Hi, You need to do the following in the jsp page, Then where you want the internationalized text to appear you use, Oh yeah you will need to add your taglib references as follows, <%@ taglib uri="/whateverYourPathIs" prefix="tiles" %> <%@ taglib uri="/whateverYourPathIs" prefix="bean" %> Ho

Re: Tiles with XML and XSL

2004-01-08 Thread Tin Pham
wrote in message news:[EMAIL PROTECTED] > Quoting Tin Pham <[EMAIL PROTECTED]>: > > > Hi, > > > > I am wondering if anybody here has mulled over the idea of using XML and XSL > > with Tiles. > > > > Right now I have a great application that makes use of

Re: Displaying messages as a result of failure

2004-01-07 Thread Tin Pham
Hi, Here is an article from IBM which takes you step by step through some of the basic struts. I admit not the best article I have read, but step 6 has the basics of what you are looking for. http://www-106.ibm.com/developerworks/websphere/techjournal/0302_fung/fung.html I recommend picking up a

Tiles with XML and XSL

2004-01-06 Thread Tin Pham
Hi, I am wondering if anybody here has mulled over the idea of using XML and XSL with Tiles. Right now I have a great application that makes use of Struts 1.1 with a role based layout using Tiles. It uses the common layout we see everywhere, header, dynamic menu, footer and of course body. I sta

Re: Serving up Tiles based on Role

2003-12-31 Thread Tin Pham
Role based tiles is possible in the Tiles framework by putting your own controller before the tile definition. The pdf document, http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf gives an example of how to do this at Cedric Dumoulin's site, http://www.lifl.fr/~dumoulin/tiles/ Happy Ne

Re: in Tiles pages question

2003-07-25 Thread Tin Pham
Hi Erez, The final rendered page will use for the base url the location of mainLayout.jsp. So regardless of where the other tiles are located the browser uses the url of the mainLayout.jsp to calculate all relative links. I guess the question is what are you planning to use the html base tag for

Re: struts doc

2003-07-21 Thread Tin Pham
I really recommend buying a book. Online is sometimes a bit too scattered and you don't know if the advice is always sound. "Taner Diler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi, > > I want to develop my web applications by using struts. I found some > tutorials. but they

Re: which way..struts using tiles?

2003-07-15 Thread Tin Pham
I am using struts with tiles and it works great. "Butt, Dudley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > Just need some info on what you guys are using out there, and what strategy is working the best for you. > Lets say i want to use Struts and I need to get a ni

Re: struts books

2003-07-14 Thread Tin Pham
I recommend getting 2 books, Manning Struts In Action and O'Reilly Programming Jakarta Struts. "Butt, Dudley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > Can anyone recommend which of the struts books as listed I should get. I cannot purchase all. Which of these boo

Re: Struts, search, and approval...

2003-07-11 Thread Tin Pham
My experience with IBM consultants is that they will recommend and help you with developing in Struts, but not directly support Struts. I was told in an IBM WSAD training course that WSAD 5 makes heavy use of struts built into the tool itself for such things as the Universal Test Client and it's p

Re: Question about subclassing RequestProcessor

2003-07-11 Thread Tin Pham
You are correct. "Ed Yu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I need to subclass RequestProcessor to implement role based action authorization. I guess I should subclass org.apache.tiles.TilesRequestProcessor instead of org.apache.struts.action.RequestProcesso

Re: Properties named "id" under WAS 4.0.1

2003-07-10 Thread Tin Pham
I recommend using at least WAS 4.0.5 if you want to use struts. I actually use WAS 4.0.4 but with the SSL fix. If you use SSL without that patch large pages don't finish rendering. I ran into quite a few problems. "José Ventura" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, Ha

Should dtd's be kept locally and referenced locally or just take from the web?

2003-07-09 Thread Tin Pham
Hi, Does anybody have any opinions on whether my dtd's should be downloaded and referenced locally or put on the web? What happens if you go into production and the online reference is down? The app server type I am using is WebSphere. Thanks. ---

Re: i18n, passing variable into arg0 using bean:message

2003-06-24 Thread Tin Pham
On thing that wasn't mentioned. You have to cast to (String) in the scriptlets example as define does not set a type. "Jason Lea" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Tin Pham wrote: > > Hi, > > > > Individually these

Re: Best Book on Struts

2003-06-19 Thread Tin Pham
Yeah I'm reading the same too. I would recommend getting both if you are serious about learning Struts. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hello Vijay, > i am currently referring two books on Struts > one of them is by Ted Husted (Manning Publications and the other o

Re: i18n, passing variable into arg0 using bean:message

2003-06-19 Thread Tin Pham
Thanks! I really appreciate your help. I guess JSTL will eventually replace struts custom tags? "Jason Lea" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Tin Pham wrote: > > Hi, > > > > Individually these all work > > > > deleteBus

i18n, passing variable into arg0 using bean:message

2003-06-19 Thread Tin Pham
Hi, Individually these all work deleteBusiness.confirm.p1 = Confirm company {0} is correct. Instead of using a literal of esso we want to use the value taken from our formBean, deleteOganizationForm. We have tried various combinations. Can somebody please provide an example? ---

Re: cancel button problem

2003-05-30 Thread Tin Pham
Why make the cancel a submit button? If you are not collecting the data, then use javascript to send the user to the previous page or your cancel action. "Vivian, Nigel (N.)" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all > > I've got a webapp working with struts 1.0.2 and

Re: RequestProcessor in Struts1.1RC1

2003-05-30 Thread Tin Pham
Oops, you don't need to be modifying the web.xml.. For some reason I thought you were extending the ActionServlet. Sorry about that. "Franck Lefebure" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > I've written this Requestprocessor subclass : > >

Re: RequestProcessor in Struts1.1RC1

2003-05-29 Thread Tin Pham
Hi, 1. Did you change your deployment descriptor, web.xml to register the Servlet? 2. I don't think it make a difference, but I think you should be using double quotes. Everything else looks fine to me. 3. Are you using Tiles? If so you have to extend the tiles requestProcessor. "Franck Lefebu

Re: DB Access using struts

2003-05-29 Thread Tin Pham
Hi, I use the app server's DataSource and build my DAO code based upon the J2EE Blueprints, http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html . One advantage of using the app server's DataSource, in my case WebSphere, is that connection pooling is handled by the conta

Re: Struts In A Distributed\Clustered Environment.

2003-05-29 Thread Tin Pham
Thanks Tero, Basically that's what I needed. Proof somebody has done it for other members of my group. I just got verification from another group in my organization that they successfully got load balancing working with Struts. Actually Struts was never a factor in getting it up. It just worked.

Struts In A Distributed\Clustered Environment.

2003-05-27 Thread Tin Pham
Hi, Has anybody successfully managed to use Struts in a distributed\clustered environment? If so with what setup? And did you have any Struts related difficulties? Thanks, Tin - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Struts Performance - Any Benchmarks?

2003-05-27 Thread Tin Pham
ate thread with what I have told them already. "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > On Thu, 22 May 2003, Tin Pham wrote: > > > Date: Thu, 22 May 2003 00:09:09 -0400 > > From: Tin Pham <[EMAIL PROTEC

Re: problems with Tiles regarding the relative links

2003-05-27 Thread Tin Pham
Well one solution is indeed as Mark mentions, to use exclusively struts tags for linking. I solved it by placing the template file at the root of my web folder. I notice you're using the html base tag so that would make all your links then relative to the root. Then you require the forward slash

Solved my Struts Tiles Websphere 4.02, 4.03 4.04 Problem

2002-08-14 Thread Tin Pham
Hi,   Thanks for the responses, I've solved my problem I think. The main thing.. not positive until I have more time to do more tests may be a combo of version incompatibility and not doing a regen after installing my war file.   4.01 = doesn't work at all doesn't even compile. 4.02 = work a

Losing images When Using Struts-Tiles.jar with Websphere 4.02 or 4.03 or 4.04

2002-08-14 Thread Tin Pham
g works fine in WSAD 4.0.2 and 4.0.3! Any kind of input would be greatly appreciated. Regards, Tin Pham

Losing images When Using Struts-Tiles.jar with Websphere 4.02 or 4.03 or 4.04

2002-08-14 Thread Tin Pham
verything works fine in WSAD 4.0.2 and 4.0.3!   Any kind of input would be greatly appreciated.   Regards, Tin Pham smime.p7s Description: application/pkcs7-signature