Using Resource Bundle

2006-08-14 Thread Ahmed Hashim
keen about performance. this way ResourceBundle bundle = ResourceBundle.getBundle(" com.language.Resources.properties"); String testValue = bundle.getString("key.key1"); but I knew that this way will load the resource file again! which is not so good for me. Thank

Grid Control

2006-06-23 Thread Ahmed Hashim
Dear All, Is there any Grid Struts Tag Lib to display data in table and handle paging and sorting? Regards, Ahmed Hashim -- www.egjug.org http://www.egjug.org/hashimblog/ http://www.jroller.com/page/Hashim In Life, it doesn't matter who you are, but whether someone appreciates you for

Re: Java Exams Web site

2006-06-02 Thread Ahmed Hashim
any answer? Regards, On 5/29/06, Ahmed Hashim <[EMAIL PROTECTED]> wrote: Dear All, From 2 months, I found a web site offer Free Java Exams and Exams for frameworks like Struts and all technologies like EJB, JSF. There are 2 types of exam, Demo and Real. To go through the real exam, yo

Java Exams Web site

2006-05-29 Thread Ahmed Hashim
exam. Unfortunately, i forgot the address of this website. Do any body know this website? Regards, Ahmed Hashim http://www.egjug.org -- In Life, it doesn't matter who you are, but whether someone appreciates you for what you are, accepts you and loves you unconditionally. A Real Friend ( Frien

Re: and

2006-04-18 Thread Ahmed Hashim
Naveen, http://struts.apache.org/struts-taglib/tagreference-struts-logic.html#logic:empty -- Ahmed Hashim www.egjug.org www.egjug.org\hashimblog On 4/18/06, Naveen Sharma <[EMAIL PROTECTED]> wrote: > > Hi ! > > Can someone Please help me with the . > I am not able to imp

Re: problem in tiles

2006-04-14 Thread Ahmed Hashim
Thanks Antonio, Actually in my application I didn't allow the user to expose any jsp using the action. I used this techniques for a certain type of pages using a specific pattern in the generic action. So, I think it is more secure. Thanks. Ahmed Hashim On 4/14/06, Antonio Petrelli &l

Re: problem in tiles

2006-04-13 Thread Ahmed Hashim
I solved the problem I think you are right, I can not call any tiles definition directly without calling an action I made a generic action definition to view my pages check the solution in my blog http://www.egjug.org/struts_action_foward_to_Tiles Ahmed Hashim On 4/10/06, Dave Newton

Re: problem in tiles

2006-04-09 Thread Ahmed Hashim
age action. You request have not been processed by tiles yet. > > // Yang > > On 4/9/06, Ahmed Hashim <[EMAIL PROTECTED]> wrote: > > > > what is wrong with this configuration? > > > > Struts > > Configuration 1.2

problem in tiles

2006-04-09 Thread Ahmed Hashim
what is wrong with this configuration? http://struts.apache.org/dtds/struts-config_1_2.dtd "> http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd";> http://java.sun.com/xm

Re: HashMap with

2006-03-27 Thread Ahmed Hashim
; On 3/26/06, Ahmed Hashim <[EMAIL PROTECTED]> wrote: > > Thanks Mark, > > I tried it and it is working fine with Valid XHTML output, It is the > best > > solution I have till now. > > But I hope that I can make it using Struts Tags if anyone know. > > I dont t

Re: HashMap with

2006-03-26 Thread Ahmed Hashim
Thanks Mark, I tried it and it is working fine with Valid XHTML output, It is the best solution I have till now. But I hope that I can make it using Struts Tags if anyone know. Thanks. On 3/26/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > On 3/26/06, Ahmed Hashim <[EMAIL PR

HashMap with

2006-03-26 Thread Ahmed Hashim
Dear All, <% java.util.HashMap rawSourceMap=new java.util.HashMap(); rawSourceMap.put("id", "123"); rawSourceMap.put("name", "ahmed"); pageContext.setAttribute("ourrefLink",rawSourceMap); %> I want to replace the scriptlet with a tag but I don't know how will i add the values

Re: Multiple buttons with Dispatch Action

2006-03-15 Thread Ahmed Hashim
I think it will be better to change one of the buttons. Anyway, Thank too much for your help. On 3/15/06, Dave Newton <[EMAIL PROTECTED]> wrote: > > Niall Pemberton wrote: > > LOL, maybe we can work together on a LazyRandomDispatchAction > > implementation? > > > > Ah, that would be better; it w

Re: Multiple buttons with Dispatch Action

2006-03-15 Thread Ahmed Hashim
I'll solve the execute calling. the problem is the class EventActionDispatcher comes with struts 1.2.9 I am using 1.2.8 Can I solve the problem of 2 buttons with the same name using LookupDispatchAction ? On 3/15/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 3/15

Re: Multiple buttons with Dispatch Action

2006-03-15 Thread Ahmed Hashim
I'd like to ask about the LookupDispatchAction If my action extends from LookupDispatchAction, can I use the execute method In case the user request the Action Directly? not from clicking a button? I want the action to do the following: 1- Load the page 2- When the user click on button X it will e

Re: html:link, etc, looking for full url, not just context name

2006-02-27 Thread Ahmed Hashim
Yes, http://struts.apache.org/struts-taglib/tagreference-struts-html.html#html:link If you will use html:link inside an iteration use the properties (indexed,indexId) If you want to compose a URL like Action1.do?ID=2 use link Ahmed Hashim On 2/27/06, Jim Reynolds <[EMAIL PROTECTED]>

Re: need some files..

2006-02-22 Thread Ahmed Hashim
What do you mean by 13 .jar file? Do you mean the struts lib's and tag lib's? You can easily download them from the website. On 2/22/06, hemant kumar <[EMAIL PROTECTED]> wrote: > > > > hi frnds..i m very much new to struts programing...so i need some help.. > i need 13 .jar files..to place them

Re: ApacheCon EU 2006 (fwd)

2006-02-19 Thread Ahmed Hashim
I wonder, did Apache make any conference on the Middle East? On 2/17/06, Martin Cooper <[EMAIL PROTECTED]> wrote: > > > -- Forwarded message -- > Date: Fri, 17 Feb 2006 15:29:56 -0500 > From: Rich Bowen <[EMAIL PROTECTED]> > Subject: ApacheCon EU 2006 > > The ApacheCon Planners ar

Re: Statistics

2006-02-17 Thread Ahmed Hashim
leon, I think what you did is wonderful :) did you put in sourceforge? Hashim On 2/17/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > I have developed a solution where each struts action has an > ActionStats object which counts automatically number of requests, > number of errors, min/mid/max/l

Re: font classes in html:link

2006-02-17 Thread Ahmed Hashim
link body it is so simple and powerfull. Ahmed Hashim www.egjug.org On 2/17/06, Chris Cheshire <[EMAIL PROTECTED]> wrote: > > I am new to using Struts and I can't see how to specify the font class > and styles for an html:link tag. > > Previously I would have some