Author Login
Post Reply
user Digest 12 Aug 2008 15:10:32 -0000 Issue 8190
Topics (messages 189940 through 189962):
Re: Problem displaying jsp after form submitting
189940 by: holod
Re: How start with multilanguage app
189941 by: Felipe Lorenz
189954 by: Dave Newton
Re: @DateRangeFieldValidator max=currentDate
189942 by: holod
Re: value-stack data lost when using dynamic result.
189943 by: stanlick.gmail.com
Get path to the webapp
189944 by: Vasyl Skrypij
Regarding tiles error
189945 by: sam thothi
189946 by: Lukasz Lenart
189947 by: sam thothi
189948 by: Lukasz Lenart
189949 by: sam thothi
189950 by: Lukasz Lenart
189955 by: sam thothi
189958 by: Lukasz Lenart
189959 by: sam thothi
189960 by: sam thothi
189962 by: sam thothi
Re: tabbed panels with Struts 2.1.2
189951 by: Owen Berry
189952 by: André Cedik | GDG
Re: How to resolve list property for ModelDriven Action?
189953 by: Dave Newton
URL mapping in Struts 2
189956 by: XML User
189957 by: tommy xiao
189961 by: XML User
Administrivia:
---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)
----------------------------------------------------------------------

Attachment:
user_189940.ezm (zipped)
Excuse me for flooding. The answer is very-very easy.
Designer put away <s:url> tags for JavaScript and ccs files. That is why
they were not visible for browser.
Check your designers :)
holod wrote:
>
> I have an action:
> <.action name="StoreLawDraft"
> class="project.action.admin.StoreLawDraftAction">
> <.result name="success" type="chain">
> <.param name="actionName">ShowMainPage<./param>
> <.param name="namespace">/admin<./param>
> <./result>
> <.result name="input">/admin/processlaw.jsp</result.>
> <.result name="error">/admin/processlaw.jsp</result.>
> <./action>
>
> if success it chains to:
>
> <.action name="ShowMainPage"
> class="project.action.admin.EmptyAction".>
> <.result name="success">/admin/catalog.jsp<./result>
> <./action.>
>
> My project.action.admin.StoreLawDraftAction sets actionMessage.
> project.action.admin.EmptyAction does nothing. Just returns
> ActionSupport.SUCCESS
> These both actions extends ActionSupport.
> I want catalog.jsp to display actionMessage which has been set inside
> project.action.admin.StoreLawDraftAction.
>
> The problem is that after chaining catalog.jsp is not correctly displayed.
> Seems like it is not rendered properly. Non of the JavaScrips loaded, none
> of the css loaded. It displays plain html. And nothibg else.
> My browser url = http://applicationContectPath/StoreLawDraft.action
>
> If I use redirect-action instead of chainng, catalog.jsp is fine, but
> actionMessage was lost because of redirection.
>
> What I'm doing wrong?
>
> P.S.
>
> If I use
> <result name="success">/admin/catalog.jsp</result> instead of chaining or
> riderection, catalog.jsp is also badly rendered, just plain html.
>
> Please, help!
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_189941.ezm (zipped)Uhummm... good... i follow this links and work... very good.
But my actions class need to extend ActionSupport?
On Mon, Aug 11, 2008 at 4:31 PM, Dave Newton <newton.dave@(protected):
> --- On Mon, 8/11/08, Felipe Lorenz <felipe.lorenz@(protected):
>> I want to learn about multilanguages applications selected
>> by user, but i dont know how!? I tried google... but nothing
>> concrete about it....
>>
>> Somebody have a tutorial? Or something to help me?!
>
> http://struts.apache.org/2.x/docs/localization.html
> http://struts.apache.org/2.x/docs/i18n-interceptor.html
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_189954.ezm (zipped)--- On Tue, 8/12/08, Felipe Lorenz wrote:
> But my actions class need to extend ActionSupport?
If you want the built-in I18N support, yes. I suppose you could implement it yourself.
Dave
> On Mon, Aug 11, 2008 at 4:31 PM, Dave Newton
> <newton.dave@(protected):
> > --- On Mon, 8/11/08, Felipe Lorenz
> <felipe.lorenz@(protected):
> >> I want to learn about multilanguages applications
> selected
> >> by user, but i dont know how!? I tried google...
> but nothing
> >> concrete about it....
> >>
> >> Somebody have a tutorial? Or something to help
> me?!
> >
> > http://struts.apache.org/2.x/docs/localization.html
> >
> http://struts.apache.org/2.x/docs/i18n-interceptor.html
> >
> > Dave
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@(protected)
> > For additional commands, e-mail:
> user-help@(protected)
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail:
> user-help@(protected)

Attachment:
user_189942.ezm (zipped)
I've found this one discussion:
http://forums.opensymphony.com/thread.jspa;jsessionid=aaSWPA1PEcc4tixQ2U?messageID=5041Ꮁ
I need the same: min parameter is fixed, max parameter is dynamic
(currentDay + 1 day). Please, show me how can I use some static method
inside annotation.
holod wrote:
>
> @TypeConversion(converter =
> "project.action.admin.converter.DateConverter")
> @RequiredFieldValidator(message="Please, enter date. Field can't be
> empty")
> //@(protected)()}",
> message = "date must be between ${min} and ${max}, current value is
> ${dateIntro}.")
> public void setDateIntro(Date dateIntro) {
> this.dateIntro = dateIntro;
> }
>
> project.action.admin.converter.DateConverter presents date as String
> "dd.MM.yyyy" and vise versa.
> I want my DateRangeFieldValidato to compare dateIntro with fixed min and
> dynamic current date.
> Is it possible?
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_189943.ezm (zipped)The problem is that when validation fails, your action is not called to set
your loginPage! Does it vary? Why not initialize the variable in your
action? Remember that actions are no longer singletons, so each request is
a new instantiation and instance variables are reset! You could also stash
the loginPage in a hidden field. I prefer to drop it in the tracking field
of my model.
Scott
On Mon, Aug 11, 2008 at 9:40 AM, Dwipin C <dwipin.c@(protected):
> Thanks for your reply, but is that the scenario when we use a model driven
> action classes ?
> I am directly using javabeans in my action class and have
> actionClass-validation.xml for validations.
> What do I do in such scenario?
>
> Dwipin Chandran
> ____________________________________________
> Experience certainty. IT Services
> Business Solutions
> Outsourcing
> ____________________________________________
>
>
>
> stanlick@(protected)
> 08/11/2008 04:58 PM
> Please respond to
> "Struts Users Mailing List" <user@(protected)>
>
>
> To
> "Struts Users Mailing List" <user@(protected)>
> cc
>
> Subject
> Re: value-stack data lost when using dynamic result.
>
>
>
>
>
>
> I have a base domain with a currentPage property on it for this sort of
> requirement. My action maintains this currentPage on the model which is
> kept populated. Remember to set an initial value on the property in case
> there are validation errors from the start.
>
> Scott
>
> On Sun, Aug 10, 2008 at 11:57 PM, Dwipin C <dwipin.c@(protected):
>
> > Hi,
> > I have this requirement to have a dynamic result dispatch. I am
> > accomplishing this the following way -
> > <action name="MyAction_*" method="{1}"
> > class="com.action.MyAction">
> > <result name="success">${loginPage}</result>
> > <result name="input">${loginPage}</result>
> > </action>
> >
> > The page dynamically shows up, no problems there. However when
> > there's a validation error on this page, the framework returns a result
> > "input" and I guess its not able to find the value for ${loginPage}
> then.
> > My action class has the field loginPage with a getter method and thats
> how
> > it works for "success". What can I do to make the value of loginPage
> > available for result type "input" ?
> >
> > Thanks,
> > Dwipin Chandran
> >
> >
> >
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
>
> ForwardSourceID:NT0001B72E
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>

Attachment:
user_189944.ezm (zipped)
Hi all
I have Struts 2.0.9
I need to get the path to the directory in which my web application is
situated during interceptor's asking. How can I do this been using
ActionInvocation class object which passes into intercept method, or maybe i
should try some other way?
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_189945.ezm (zipped) I am running to run a sample application in struts. I get the the following
exception when i run my app that is
http://localhost:9082/webapppath/welcome.do
[8/11/08 16:20:02:848 CDT] FFDC Exception:
java.io.FileNotFoundExceptionSourceId:com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest
ProbeId:573
Reporter:com.ibm.ws.webcontainer.extension.DefaultExtensionProcessorImpl@(protected)
java.io.FileNotFoundException: /.page.welcome
at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:495)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)
at
org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward (
PerformForward.java:113)
at
org.apache.struts.chain.commands.servlet.PerformForward.perform (
PerformForward.java:96)
at
org.apache.struts.chain.commands.AbstractPerformForward.execute (
AbstractPerformForward.java:54)
at
org.apache.struts.chain.commands.ActionCommandBase.execute (
ActionCommandBase.java:51)
at
org.apache.commons.chain.impl.ChainBase.execute (
ChainBase.java:190)
at
org.apache.commons.chain.generic.LookupCommand.execute (
LookupCommand.java:304)
at
org.apache.commons.chain.impl.ChainBase.execute (
ChainBase.java:190)
at
org.apache.struts.chain.ComposableRequestProcessor.process (
ComposableRequestProcessor.java:283)
at
org.apache.struts.action.ActionServlet.process (
ActionServlet.java:1913)
at
org.apache.struts.action.ActionServlet.doGet (
ActionServlet.java:449)
at
javax.servlet.http.HttpServlet.service (
HttpServlet.java:707)
at
javax.servlet.http.HttpServlet.service (
HttpServlet.java:820)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1424)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:436)
at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3607)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:921)
at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1551)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:167)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:106)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1488)
I have my tiles-defs defined like this
<definition name=*"base.definition"* path=*"/employer/siteLayout.jsp"*>
<put name=*"header"* value=*"/employer/Header.jsp"* />
<put name=*"navigation"* value=*"/navigation.do"* />
<put name=*"footer"* value=*"/employer/footer.jsp"* />
</definition>
<!-- Tiles Definition of welcome page -->
<definition name=*".page.welcome"* extends=*"base.definition"*>
<put name=*"title"* value=*"welcome page"* />
<put name=*"body"* value=*"/employer/index.jsp"* />
</definition>
<!-- Tiles Definition of BookList -->
<definition name=*".page.booklist"* extends=*"base.definition"*>
<put name=*"title"* value=*"Book list page"* />
<put name=*"body"* value=*"/employer/booklist.jsp"* />
</definition>
struts-config
<action path=*"/welcome"* type=*"gov.iowa.wd.ui.actions.WelcomeAction"*>
<forward name=*"showWelcome"* path=*".page.welcome"* />
</action>
<action path=*"/bookList"* type=*"gov.iowa.wd.ui.actions.BookListAction"*>
<forward name=*"showBookList"* path=*".page.booklist"* />
</action>
<action path=*"/navigation"* type=*"gov.iowa.wd.ui.actions.NavigationAction"
*>
<forward name=*"showNavigation"* path=*"/employer/navigation.jsp"* />
</action>
welcomeaction.java
*
public* ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) {
*return* mapping.findForward("showWelcome");
}
**
*when i run the app where i want to get index.jsp, i get the above
exception. Any help would be appreciated.*
**
**
*Thanks,*
*sam*

Attachment:
user_189946.ezm (zipped)Did you add the Tiles plugin to the struts-config.xml?
<plug-in className="
org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
<set-property property="definitions-parser-validate" value="true" />
<set-property property="moduleAware" value="true" />
</plug-in>
Regards
--
Lukasz
http://www.lenart.org.pl/

Attachment:
user_189947.ezm (zipped)Yes i added it
On 8/12/08, Lukasz Lenart <lukasz.lenart@(protected):
>
> Did you add the Tiles plugin to the struts-config.xml?
>
> <plug-in className="
org.apache.struts.tiles.TilesPlugin" >
> <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"
> />
> <set-property property="definitions-parser-validate" value="true" />
> <set-property property="moduleAware" value="true" />
> </plug-in>
>
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_189948.ezm (zipped)> Yes i added it
Which version of Struts1?
Regards
--
Lukasz
http://www.lenart.org.pl/

Attachment:
user_189949.ezm (zipped)I am using struts 1.3
thanks
sam
On 8/12/08, Lukasz Lenart <lukasz.lenart@(protected):
>
> > Yes i added it
>
> Which version of Struts1?
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_189950.ezm (zipped)> I am using struts 1.3
Did you follow the installation instruction [1]?
[1] http://struts.apache.org/1.3.8/struts-tiles/installation.html
Regards
--
Lukasz
http://www.lenart.org.pl/

Attachment:
user_189955.ezm (zipped)I am inserting
<plug-in className=*"
org.apache.struts.tiles.TilesPlugin"* >
<set-property *property="definitions-config"
*
value=*"/WEB-INF/tiles-defs.xml"* />
<set-property *property="definitions-parser-validate"* value=*"true"* />
<set-property property=*"moduleAware"* value=*"true"* />
</plug-in>
into struts-config.xml.
It gives me a problem that
Attribute property has a run timevalue of definitions-config. Property must
reference a valid Java identifier.
Do you have any idea why it is getting me the problem.
I followed the instructions and everything looks fine. when i validate my
struts-config.xml i get the
above problem.
Thanks in advance for your help.
On 8/12/08, Lukasz Lenart <lukasz.lenart@(protected):
>
> > I am using struts 1.3
>
> Did you follow the installation instruction [1]?
>
> [1] http://struts.apache.org/1.3.8/struts-tiles/installation.html
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_189958.ezm (zipped)
Attachment:
user_189959.ezm (zipped)Hey lenart,
I think i have confused you. I am using Rad 7.5 which is in beta , it gives
some weird results. I inserted that tiles plugin initially, what i was doing
was just i am deleting the problems getting for the definitions-config.
That's the reason to make sure i was asking you. The text in the red line
gives me a problem
<plug-in className=*"
org.apache.struts.tiles.TilesPlugin"* >
<set-property *property="definitions-config"*
value=*"/WEB-INF/tiles-defs.xml"* />
<set-property *property="definitions-parser-validate"* value=*"true"* />
<set-property property=*"moduleAware"* value=*"true"* />
</plug-in>
into struts-config.xml.
It gives me a problem that
Attribute property has a run timevalue of definitions-config. Property must
reference a valid Java identifier.
Do you have any idea why it is getting me the problem.
I followed the instructions and everything looks fine. when i validate my
struts-config.xml i get the
above problem.
On 8/12/08, sam thothi <samthothi@(protected):
>
> I am inserting
>
>
> <plug-in className=*"
org.apache.struts.tiles.TilesPlugin"* >
>
> <set-property *property="definitions-config"*
>
> value=*"/WEB-INF/tiles-defs.xml"* />
>
> <set-property *property="definitions-parser-validate"* value=*"true"* />
>
> <set-property property=*"moduleAware"* value=*"true"* />
>
> </plug-in>
> into struts-config.xml.
> It gives me a problem that
>
> Attribute property has a run timevalue of definitions-config. Property
> must reference a valid Java identifier.
>
> Do you have any idea why it is getting me the problem.
>
> I followed the instructions and everything looks fine. when i validate my
> struts-config.xml i get the
> above problem.
>
>
> Thanks in advance for your help.
> On 8/12/08, Lukasz Lenart <lukasz.lenart@(protected):
>>
>> > I am using struts 1.3
>>
>> Did you follow the installation instruction [1]?
>>
>> [1] http://struts.apache.org/1.3.8/struts-tiles/installation.html
>>
>>
>> Regards
>> --
>> Lukasz
>> http://www.lenart.org.pl/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>

Attachment:
user_189960.ezm (zipped)I tried with this , still have the same error.
On 8/12/08, Lukasz Lenart <lukasz.lenart@(protected):
>
> Try this
>
> <controller
> processorClass="
org.apache.struts.tiles.TilesRequestProcessor"
> locale="false" contentType="UTF-8"/>
>
> <message-resources parameter="MessageResources"/>
>
> <plug-in className="
org.apache.struts.tiles.TilesPlugin">
> <set-property property="definitions-config"
> value="/WEB-INF/tiles-defs.xml"/>
> </plug-in>
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_189962.ezm (zipped)Now i get different error
*Root Cause:*
com.ibm.ws.jsp.JspCoreException: JSPG0218E: Error failed to locate
setter method for attribute locale in tag class
org.apache.struts.taglib.html.HtmlTag at com.ibm.ws.jsp.taglib.TagClassInfo.getParameterClassName(TagClassInfo.java:191)
at com.ibm.ws.jsp.translator.visitor.generator.BaseTagGenerator.evaluateAttribute(BaseTagGenerator.java:402)
at com.ibm.ws.jsp.translator.visitor.generator.BaseTagGenerator.generateSetters(BaseTagGenerator.java:282)
at com.ibm.ws.jsp.translator.visitor.generator.CustomTagGenerator.startGeneration(CustomTagGenerator.java:366)
at com.ibm.ws.jsp.translator.visitor.generator.GenerateVisitor.startGeneration(GenerateVisitor.java:709)
at com.ibm.ws.jsp.translator.visitor.generator.GenerateVisitor.visitCustomTagStart(GenerateVisitor.java:394)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:366)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:419)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:234)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.visit(JspVisitor.java:216)
at com.ibm.ws.jsp.translator.visitor.generator.GenerateJspVisitor.visit(GenerateJspVisitor.java:139)
at com.ibm.ws.jsp.translator.JspTranslator.processVisitors(JspTranslator.java:127)
at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:239)
at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:109)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.translateJsp(AbstractJSPExtensionServletWrapper.java:461)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper._checkForTranslation(AbstractJSPExtensionServletWrapper.java:429)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.checkForTranslation(AbstractJSPExtensionServletWrapper.java:288)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:142)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:335)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)
at
org.apache.struts.tiles.commands.TilesPreProcessor.doForward (
TilesPreProcessor.java:260)
at
org.apache.struts.tiles.commands.TilesPreProcessor.execute (
TilesPreProcessor.java:217)
at
org.apache.commons.chain.impl.ChainBase.execute (
ChainBase.java:190)
at
org.apache.commons.chain.generic.LookupCommand.execute (
LookupCommand.java:304)
at
org.apache.commons.chain.impl.ChainBase.execute (
ChainBase.java:190)
at
org.apache.struts.chain.ComposableRequestProcessor.process (
ComposableRequestProcessor.java:283)
at
org.apache.struts.action.ActionServlet.process (
ActionServlet.java:1913)
at
org.apache.struts.action.ActionServlet.doGet (
ActionServlet.java:449)
at
javax.servlet.http.HttpServlet.service (
HttpServlet.java:707)
at
javax.servlet.http.HttpServlet.service (
HttpServlet.java:820)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1424)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:436)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3607)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:921)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1551)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:167)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:106)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1488)
Any ideas would be appreciated.
thanks in advance for your help.
On 8/12/08, sam thothi <samthothi@(protected):
>
> I tried with this , still have the same error.
>
> On 8/12/08, Lukasz Lenart <lukasz.lenart@(protected):
>>
>> Try this
>>
>> <controller
>> processorClass="
org.apache.struts.tiles.TilesRequestProcessor"
>> locale="false" contentType="UTF-8"/>
>>
>> <message-resources parameter="MessageResources"/>
>>
>> <plug-in className="
org.apache.struts.tiles.TilesPlugin">
>> <set-property property="definitions-config"
>> value="/WEB-INF/tiles-defs.xml"/>
>> </plug-in>
>>
>>
>> Regards
>> --
>> Lukasz
>> http://www.lenart.org.pl/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>

Attachment:
user_189951.ezm (zipped)There's nothing much you can do about this collision message, unless
you want to "fix" the Struts code, but the good news is that it
doesn't seem to have any negative effects. The reason for the message
is that the tabs are parsed twice by Dojo.
Owen
On Tue, Aug 12, 2008 at 5:43 AM, André Cedik | GDG
<a.cedik@(protected):
> Hi everyone,
>
> has anyone tried using tabbed panels with Struts 2.1.2?
> http://struts.apache.org/2.1.2/docs/tabbedpanel.html
>
> When I'm testing the example on the Struts website I always
> receive errors from the debugger the there's a collision on
> the widgets' id even when I'm not specifying one.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_189952.ezm (zipped)Ok, I'm not planning on messing with the Struts code.
I'll leave that to the ones that know the framework
better than I do. Unfortunately I do have a negative
effect since the Tabs are not responding to any clicks.
Thought it had something to do with the id collision.
Owen Berry wrote:
> There's nothing much you can do about this collision message, unless
> you want to "fix" the Struts code, but the good news is that it
> doesn't seem to have any negative effects. The reason for the message
> is that the tabs are parsed twice by Dojo.
>
> Owen
>
> On Tue, Aug 12, 2008 at 5:43 AM, André Cedik | GDG
> <a.cedik@(protected):
>
>> Hi everyone,
>>
>> has anyone tried using tabbed panels with Struts 2.1.2?
>> http://struts.apache.org/2.1.2/docs/tabbedpanel.html
>>
>> When I'm testing the example on the Struts website I always
>> receive errors from the debugger the there's a collision on
>> the widgets' id even when I'm not specifying one.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_189953.ezm (zipped)--- On Mon, 8/11/08, Haulyn R. Jason wrote:
> I mean , I know how to populate data to a select tag, and I
> know how to collection data from a select tag, but the problem
> is: If the list I want to collection from select tag is not a
> simple data type(String), but it's another object, how can I do
> that?
There are at least two options; using the <s:select...> tag or building the options manually.
If you're using the <s:select...> tag, assuming a list of "Foo" objects with "id" and "bar" properties:
<s:select list="listOfFoo" listKey="id" listValue="bar" value="foos"/>
See the <s:select...> tag documentation [1].
If you're building the options by hand:
<select name="foos">
<c:forEach value="${listOfFoos}" var="foo">
<option value="${foo.id}">${foo.bar}</option>
</c:forEach>
</select>
(You'd also need logic to determine if the option should be selected.)
Some of the information on the tag syntax page [2] might also be of interest.
Dave
[1] <s:select...> tag:
http://struts.apache.org/2.x/docs/select.html
[2] Tag syntax:
http://struts.apache.org/2.x/docs/tag-syntax.html

Attachment:
user_189956.ezm (zipped)
Hi,
How can I implement the URL mapping so that our URL will always look like
"www.abc.com/products/toys/acbtoy" It should not end with something like
abctoy.action OR abctoy.do.
Is there a way for making this happen?
If so then can you please let me know with code?
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_189957.ezm (zipped)RESTfull plugin can provide this feature.
2008/8/12 XML User <patelsameerm@(protected)>
>
> Hi,
>
> How can I implement the URL mapping so that our URL will always look like
> "www.abc.com/products/toys/acbtoy" It should not end with something like
> abctoy.action OR abctoy.do.
>
> Is there a way for making this happen?
> If so then can you please let me know with code?
>
> --
> View this message in context:
> http://www.nabble.com/URL-mapping-in-Struts-2-tp18945350p18945350.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
tommy xiao
QQ: 2667799
MSN Messenger: xds2000ATmsn.com
E-mail: xiaodsATgmail.com

Attachment:
user_189961.ezm (zipped)
Can you explain me with the code or some hint, how can i do that.?
--
Sent from the Struts - User mailing list archive at Nabble.com.