Re: Migration problem from 2.0.x to 2.1.6

2010-05-28 Thread Ken
... Arg, was missing a jar... "struts-2-tiles-plugin-2.1.8.1.jar" now it's working. On Fri, 2010-05-28 at 15:08 -0600, Ken wrote: > I am now experiencing the same error. > > There is no Action mapped for namespace / and action name welcome. - > [unknown location] > at > com.opensymphony.

Re: Migration problem from 2.0.x to 2.1.6

2010-05-28 Thread Ken
I am now experiencing the same error. There is no Action mapped for namespace / and action name welcome. - [unknown location] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178) at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.ja

RE: Struts url, a, and iterator tag behaviour

2010-05-28 Thread Ken
I had been using the Struts 2.0.14(GA) documentation found at http://struts.apache.org/2.0.14/docs/tag-reference.html I see there is a difference in the usage in Struts 2.1.8.1 (GA), this is my fault as I did not state the version however as an improvement you'll see that the usage example at the

RE: Struts url, a, and iterator tag behaviour

2010-05-28 Thread Martin Gainty
Hi Ken- org.apache.struts2.views.jsp.URLTag ..no entries for 'id' attribute..accessor or mutator.. org.apache.struts2.views.jsp.ContextBeanTag.java /** * To keep backward compatibility * TODO remove after 2.1 */ public void setId(String id) { setVar(id);

Re: Struts url, a, and iterator tag behaviour

2010-05-28 Thread Ken
I still don't know what caused the issue. Using just the tag revealed that ${companyId} was null, producting tags. So I removed the id from the tag... and then embedded the the whole tag into the tag, and it works as expected... My issue is it isn't pretty. Okay just out of interest

RE: ognl: calling action method inside iterator tag

2010-05-28 Thread Martin Gainty
this would make an excellent example for demonstrating interaction of OGNL and JSTL variables for a Struts2 tutorial if you dont mind.. posting the jsp ..and the action class.. thanks, Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et

Re: ognl: calling action method inside iterator tag

2010-05-28 Thread Grant Lewis
Odd, I tried it a number of times without success. I even dumped the value stack and the object in question was on the stack but the method was never called in the iterator tag. Maybe it was the method name getErrorCount that was causing the problem, not sure. The code I got working is below. It's

Re: Struts url, a, and iterator tag behaviour

2010-05-28 Thread Greg Lindholm
Use the "href" not the "value" attribute to specify the URL. Unless you are use the tag ajax support there is no reason to use the tag just use the plain html tag like On Thu, May 27, 2010 at 8:38 PM, Ken wrote: > I am trying to dynamically construct a url inside an iterator tag and > use th

Re: Migration problem from 2.0.x to 2.1.6

2010-05-28 Thread Greg Lindholm
Here is a link to the same page that is working https://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x On Fri, May 28, 2010 at 4:35 AM, Gwen Harold Autencio wrote: > Ahh I see thanks .. i'll read on it .. > > --- On Thu, 5/27/10, Greg Lindh

Re: Migration problem from 2.0.x to 2.1.6

2010-05-28 Thread Gwen Harold Autencio
Ahh I see thanks .. i'll read on it .. --- On Thu, 5/27/10, Greg Lindholm wrote: > From: Greg Lindholm > Subject: Re: Migration problem from 2.0.x to 2.1.6 > To: "Struts Users Mailing List" > Date: Thursday, May 27, 2010, 10:50 PM > Check out the wiki entry for > migrating > > https://cwiki.a

Re: Now the wiki is also messed up

2010-05-28 Thread Lukasz Lenart
2010/5/27 Greg Lindholm : > On this page > https://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html > > All the code samples are missing, they show up as a squiggly line. I don't know exactly why but it's probably related to Autoexport plugin, if you check the or