Re: [ot] weird message

2007-07-06 Thread Shervin Asgari
Hm I dont get this email. Jorge Martín Cuervo wrote: Hi all, every time i've sent an email to this list i receive another email like that: The original message was received at Fri, 6 Jul 2007 11:19:25 +0200 (CEST) from [EMAIL PROTECTED] - The following addresses had permanent fatal

Re: datetimepicker

2007-07-03 Thread Shervin Asgari
. http://joda-time.sourceforge.net/ Shervin Asgari - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Congratulations Frank

2006-08-15 Thread Shervin Asgari
That link didn't work, but here is another http://www.amazon.com/gp/product/1590596951/ref=sr_11_1/103-4833065-9131026?ie=UTF8 Congrats. Shervin Asgari - System Consultant Frank W. Zammetti wrote: Thank you very much guys, I appreciate it! Now you know why I've been relatively quiet

Re: Plz Help, Urgent

2006-08-10 Thread Shervin Asgari
I guess you have forgotten to change menuitems.jps in your forwards.xml file or other config files. Because your output is saying: (wrong name: org/apache/jsp/menuitems_jsp) Find this value, and changed it to MenuItems and not menuitems Shervin Asgari - System Consultant Medicherla Lakshmi

Re: Plz Help, Urgent

2006-08-10 Thread Shervin Asgari
I don't think you have changed everywhere. Try searching for menuitems If you have Linux then try grep -r menuitems * if nothing, then try grep -ri menuitems * Shervin Asgari - System Consultant Medicherla Lakshmi wrote: No, i changed everywhere. kalpesh modi [EMAIL PROTECTED] wrote

Re: Plz Help, Urgent

2006-08-10 Thread Shervin Asgari
You cannot use find, because find does not search inside a file. You have to use grep Shervin Asgari - System Consultant Medicherla Lakshmi wrote: i tried to search in the application using find for any file by name menuitems.jsp with case, it did not give me any results. Thatz

Re: Plz Help, Urgent

2006-08-10 Thread Shervin Asgari
: find . -name '*.jsp' -exec grep yoursearchstring {} \; Regards Kiren -Original Message- From: Shervin Asgari [mailto:[EMAIL PROTECTED] Sent: 10 August 2006 13:53 PM To: Struts Users Mailing List Subject: Re: Plz Help, Urgent You cannot use find, because find does not search inside

Simple question regarding Action class

2006-07-04 Thread Shervin Asgari
=.domainAdministrator * * @author a href=mailto:[EMAIL PROTECTED]Shervin Asgari/a * */ public class DomainAdministratorAction { . . . } However in my struts-config.xml file which is auto generated, I do not get the Action Mapping Definitions. I want something like this: action path=/admin

Re: Important question, bug in struts?

2006-06-21 Thread Shervin Asgari
Still nobody knows? Shervin Asgari wrote: request.setAttribute(websiteModel, new DomainAdminAction.DomainAdminEditPageModel( domainWebsiteAdminEdit.title, request, response, mapping, dd)); if (request.getAttribute(websiteModel) == null

Re: Important question, bug in struts?

2006-06-21 Thread Shervin Asgari
error. And that is why I thought it is a bug in struts since I cannot access a Basemodel class in an actionclass. Shervin Antonio Petrelli wrote: Shervin Asgari ha scritto: request.setAttribute(websiteModel, new DomainAdminAction.DomainAdminEditPageModel

Important question, bug in struts?

2006-06-20 Thread Shervin Asgari
Hello all! This is an important question and I think this is a feature which isn't supported in Struts. I have to actionform classes with two pagemodels inner classes. Lets say We have action class X and actionclass Y with the pagemodel X:A and Y:B To go from X to Y actionclass is no

Re: Important question, bug in struts?

2006-06-20 Thread Shervin Asgari
); } I am sorry, but this is the code I am trying to compile, but getting compile error as shown below. Shervin Asgari wrote: Hello all! This is an important question and I think this is a feature which isn't supported in Struts. I have to actionform classes with two pagemodels inner classes

Why doesn't struts-config.xml read my action class?

2006-06-14 Thread Shervin Asgari
I have created a new action class and written: /** * Add Editors to Domains * * @struts.action name=domainAdminEditorForm path=/admin/domainAdminEditor scope=request parameter=method * * @struts.action-forward name=domainAdminEditor.page path=.domainAdminEditor * * @author Shervin Asgari

Re: Default value for text field

2006-06-14 Thread Shervin Asgari
input name=someName value=fmt:message key=AppProperties.defaultText / type=text I think this might work. If it doesn't you may have to change the to ' Shervin Asgari - System Consultant M: +47 918 64 148, @: [EMAIL PROTECTED] Linpro AS - Leading on LinuxTel: +47 21 54 41 00/02

Re: Why doesn't struts-config.xml read my action class?

2006-06-14 Thread Shervin Asgari
was runnign XDoclet. How can I check this? Shervin Antonio Petrelli wrote: Shervin Asgari ha scritto: Have I forgotten something?? Did you run XDoclet??? I am asking this because it seems that you wrote some XDoclet tags

Re: [OT] Re: Why doesn't struts-config.xml read my action class?

2006-06-14 Thread Shervin Asgari
missing. It is so easy to become blind when looking at your own code :) I am sure it is something minor I have forgot to do. Shervin Asgari - System Consultant M: +47 918 64 148, @: [EMAIL PROTECTED] Linpro AS - Leading on LinuxTel: +47 21 54 41 00/02 Vitaminveien 1AFax: +47 21 54 41

Re: Global forwards don't support Tiles definitions?

2006-06-01 Thread Shervin Asgari
Have you tried main.page instead of page.main? I don't know if this is the reason, but I have main.page and not other way around. Shervin Scott Van Wart wrote: I have a tiles definition (tiles-defs.xml), definition name=page.main extends=base.definition put name=title value=Main Page /

Go Back

2006-05-29 Thread Shervin Asgari
Hello. I was wondering. Is there a way in struts to go back to the previous page. Like hitting back button? I have a confirmation page, and I want when the user hits the cancel button for it to be redirected to the previous page. Currently I have an ActionForward which returns

Re: Go Back

2006-05-29 Thread Shervin Asgari
Yes I have. But the problem is that I have some values which doesn't get shown because they are not null. That's why I would like to just go back. There is another ActionForm on the previous page which I cannot receive the values from. Shervin Asgari - System Consultant M: +47 918 64 148

Re: Go Back

2006-05-29 Thread Shervin Asgari
previously stored in the session. Kind regards, Emilia -Original Message- From: Shervin Asgari [mailto:[EMAIL PROTECTED] Sent: maandag 29 mei 2006 9:59 To: Struts Users Mailing List Subject: Go Back Hello. I was wondering. Is there a way in struts to go back to the previous page. Like

.properties file

2006-05-29 Thread Shervin Asgari
Hello, can anyone point me to a tutorial or HowTo on how I can create a .properties file and how I can extract the information from this file within the source code? I don't know if Struts has some automagic stuff that does this. Thanks Shervin

Re: Blank page when trying to forward

2006-05-28 Thread Shervin Asgari
=.tiles-adminpage Do you see anything wrong, there is no .page at the end of the forward name, it should be: * @struts.action-forward name=domainAdminEdit.page path=.domainAdminEdit Gareth Shervin Asgari wrote: I tried to tell that there is no exception. Nothing! That's why it is so odd

Blank page when trying to forward

2006-05-26 Thread Shervin Asgari
Hello. I am having a problem. All my forwarding works more or less correctly, but when I want to forward from one part of the system it only shows me a blank page. I am trying to forward to the domainAdminEdit.page. This page works from another part of the site. But from where I am trying to

Re: Blank page when trying to forward

2006-05-26 Thread Shervin Asgari
Could you please specify what you mean? I may have forgot to say that in tiles.def.xml I have definition name=.domainAdminEdit extends=.tiles-adminpage put name=content value=/website/domainAdminEdit.jsp / /definition Shervin Asgari - System Consultant M: +47 918 64 148, @: [EMAIL

Re: Blank page when trying to forward

2006-05-26 Thread Shervin Asgari
=domainwebsiteAdminDeleteOK.page path=.domainwebsiteAdminDeleteOK * * @author Shervin Asgari * */ public class DomainWebsiteAdminAction extends DispatchAction { protected static final String DOMAIN_ADMIN_EDIT_PAGE = domainAdminEdit.page; protected static final String

Re: Blank page when trying to forward

2006-05-26 Thread Shervin Asgari
* @struts.action-forward name=domainAdminEdit path=.domainAdminEdit * @struts.action-forward name=domainwebsiteAdminDeleteOK.page path=.domainwebsiteAdminDeleteOK * * @author Shervin Asgari * */ the DOMAIN_ADMIN_EDIT_PAGE refers to a String protected static final String DOMAIN_ADMIN_EDIT_PAGE

Re: Blank page when trying to forward

2006-05-26 Thread Shervin Asgari
I tried to tell that there is no exception. Nothing! That's why it is so odd... Shervin Asgari - System Consultant M: +47 918 64 148, @: [EMAIL PROTECTED] Linpro AS - Leading on LinuxTel: +47 21 54 41 00/02 Vitaminveien 1AFax: +47 21 54 41 01 PB 4 Grefsen, 0409 OsloWWW: http

Re: Regarding action in struts-config.xml

2006-05-24 Thread Shervin Asgari
I noted something. Shouldn't this line: forward name=faliue path=/index.jsp/ Say failure and not faliue ? Shervin Asgari - System Consultant M: +47 918 64 148, @: [EMAIL PROTECTED] Linpro AS - Leading on LinuxTel: +47 21 54 41 00/02 Vitaminveien 1AFax: +47 21 54 41 01 PB 4 Grefsen

Changing ActionForm

2006-05-22 Thread Shervin Asgari
(Exception e) { mLogger.error(Error in DomainAdminAction.view()+ e + \n + e.getMessage()); throw new ServletException(e); } } Regards Shervin Asgari - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Changing ActionForm

2006-05-22 Thread Shervin Asgari
domainwebsiteAdmin.jsp uses domainWebsiteAdminAction and the domainAdminEdit.jsp uses DomainAdminForm. I hope I made my self clear. Although I often get confused my self :D Shervin Dave Newton wrote: Shervin Asgari wrote: Is there a way inside my DomainAction class to change the actionForm to point

Re: Changing ActionForm

2006-05-22 Thread Shervin Asgari
Dave Newton wrote: Shervin Asgari wrote: Well since I am quite new to Struts, I just thought maybe something was wrong with the ActionForm, because the forwards doesn't work. They work for some parts of the system, but for others they don't. In tiles-defs I have: definition name