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
.
http://joda-time.sourceforge.net/
Shervin Asgari
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
:
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
=.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
Still nobody knows?
Shervin Asgari wrote:
request.setAttribute(websiteModel, new
DomainAdminAction.DomainAdminEditPageModel(
domainWebsiteAdminEdit.title, request, response,
mapping, dd));
if (request.getAttribute(websiteModel) == null
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
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
);
}
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
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
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
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
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
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 /
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
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
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
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
=.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
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
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
=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
* @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
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
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
(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
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
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
31 matches
Mail list logo