Re: Important question, bug in struts?

2006-06-21 Thread Shervin Asgari
Hm. You are right. I am sorry :) I will ask them instead. Again, terribly sorry... Shervin Antonio Petrelli wrote: Shervin Asgari ha scritto: I don't think you either read the whole mail or understood what my question was. Of course those are my classes, but it is extended by Basemodel which

Re: Important question, bug in struts?

2006-06-21 Thread Antonio Petrelli
Shervin Asgari ha scritto: I don't think you either read the whole mail or understood what my question was. Of course those are my classes, but it is extended by Basemodel which is used by Struts. Do you mean this? http://rollerweblogger.org/javadoc/org/roller/presentation/BasePageModel.html I

Re: Important question, bug in struts?

2006-06-21 Thread Shervin Asgari
I don't think you either read the whole mail or understood what my question was. Of course those are my classes, but it is extended by Basemodel which is used by Struts. I wanted help on how to access another Basemodel in another Actionclass, because the way I am doing it gives me compile erro

Re: Important question, bug in struts?

2006-06-21 Thread Antonio Petrelli
Shervin Asgari ha scritto: request.setAttribute("websiteModel", new DomainAdminAction.DomainAdminEditPageModel( "domainWebsiteAdminEdit.title", request, response, mapping, dd)); if (request.getAttribute("domainWebsiteModel") == null) { request.setAtt

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) { request

Re: Important question, bug in struts?

2006-06-20 Thread Shervin Asgari
request.setAttribute("websiteModel", new DomainAdminAction.DomainAdminEditPageModel( "domainWebsiteAdminEdit.title", request, response, mapping, dd)); if (request.getAttribute("websiteModel") == null) { request.setAttribute("websiteModel", actionForm);

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 problem,