Re: Firefox 3 and render issues

2009-01-14 Thread Carl Pritchett
This was my problem exactly - but was difficult to track down as sometimes it occured, but other times it did't (with struts 2.0.11). The page loads - I can see the tabs correctly for a second then it flashes to a blank page and the loading icon spins forever. I noticed that I was getting a "dojo

Re: [ANNOUNCE] Struts 2.1.6 GA Release

2009-01-14 Thread Frans Thamura
amazing 2.1.5 released, now 2.1.6 released F On Thu, Jan 15, 2009 at 9:50 AM, Musachy Barroso wrote: > The link should be fine now. Thanks for reporting. > > musachy > > On Wed, Jan 14, 2009 at 9:39 PM, Martin Gainty wrote: >> >> Hernan >> >> Can you file a bug report for this error at >> http:

Re: [ANNOUNCE] Struts 2.1.6 GA Release

2009-01-14 Thread Musachy Barroso
The link should be fine now. Thanks for reporting. musachy On Wed, Jan 14, 2009 at 9:39 PM, Martin Gainty wrote: > > Hernan > > Can you file a bug report for this error at > http://issues.apache.org/struts > > Saludos Cordiales desde EEUU > Martin Gainty > GMT+5 > ___

RE: Logic Iterate problem

2009-01-14 Thread Martin Gainty
Did you have the tld declaration at the top of your jsp page e.g <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official busines

RE: [ANNOUNCE] Struts 2.1.6 GA Release

2009-01-14 Thread Martin Gainty
Hernan Can you file a bug report for this error at http://issues.apache.org/struts Saludos Cordiales desde EEUU Martin Gainty GMT+5 __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official busines

RE: s:property tag with action attribute of form/submit

2009-01-14 Thread Martin Gainty
the mechanism you are using assumes the value is located on OGNL root if you want session or request specfic variables you will need to use the #session or #request qualifier as in these examples or or http://struts.apache.org/2.0.14/docs/ognl.html HTH Martin __

REST plugin and id params with dot's causes 404 not found

2009-01-14 Thread Joink
I'm using Struts 2.1.2 and the REST plugin. I have a controller that is used to provide user information, and this works like a charm as long as the id parameter doesn't contain a dot. Eg: /app/users/james works as expected. But when i try with /app/users/james.bond I get a 404 since Struts inter

Re: Logic Iterate problem

2009-01-14 Thread Paweł Wielgus
Hi, You are iterating over user. Best regards, Paweł Wielgus. 2009/1/14 ECLIPSE + CVS : > > Hi, > > In one page of my application i am trying to iterate through one collection > for populating one combo box. But it is showing > "javax.servlet.jsp.JspException: Cannot create iterator for this col

Re: s:property tag with action attribute of form/submit

2009-01-14 Thread Leena Borle
That worked, Thanks for the help. Leena On Wed, Jan 14, 2009 at 1:23 PM, Christian Priebe wrote: > Hey, > > since %{actionUrl} is simple OGNL you should be able to use it directly in > the s:submit-Tag like this: > > targets="dummy_div" /> > > > Christian > > > > > Leena Borle schrieb: > > Hel

Re: s:property tag with action attribute of form/submit

2009-01-14 Thread Christian Priebe
Hey, since %{actionUrl} is simple OGNL you should be able to use it directly in the s:submit-Tag like this: Christian Leena Borle schrieb: Hello, I want to use s:property tag in action attribute of s:submit, like this, " theme="ajax" targets="dummy_div" /> Is this possibl

s:property tag with action attribute of form/submit

2009-01-14 Thread Leena Borle
Hello, I want to use s:property tag in action attribute of s:submit, like this, " theme="ajax" targets="dummy_div" /> Is this possible ? I am getting errors while compiling this JSP . I even tried ". Doesn't work. Leena

Re: Convention plugin example

2009-01-14 Thread Musachy Barroso
I have been thinking about adding a convention showcase to the demo apps, but I haven't got around to do it yet. musachy On Wed, Jan 14, 2009 at 4:02 PM, Norris Shelton wrote: > Right. Starting from 0, I didn't know that the plugin dependency was needed. > I think it is the typical open sourc

Re: Convention plugin example

2009-01-14 Thread Norris Shelton
Right. Starting from 0, I didn't know that the plugin dependency was needed. I think it is the typical open source thing. The documentation is there, but there is rarely a completed project that you can compare to your own to see what you are missing. F

Re: [ANNOUNCE] Struts 2.1.6 GA Release

2009-01-14 Thread Owen Berry
Thanks for all the great work, Struts developers! I'm assuming great work based on past performance, but I'm keen to try out the new release in the next few days ... moving from the 2.1.2 beta. On Wed, Jan 14, 2009 at 9:19 AM, Musachy Barroso wrote: > The Apache Struts group is pleased to announc

RE: s:a tag

2009-01-14 Thread Martin Gainty
you're talking about changing Page elements and Data asynchronously then you're probably want to look at AJAX calls http://www.javaworld.com/javaworld/jw-08-2007/jw-08-ajaxtables.html Martin __ Disclaimer and confidentiality note Everything in this e

RE: s:a tag

2009-01-14 Thread Jaarthy
when you browse thru' youtube.com site,In channels page, when u click on Most Subscribed/Most Viewed ,the URL is changed ,but it doesn't look like a page reload.how can we achieve the same using struts2. Biesbrock, Kevin wrote: > > I would assume that "changing the url" would result in the page

Struts2 XSLT result

2009-01-14 Thread Craig Christophersen
I am using struts2-2.014. The result xml I get from the below action and Bean: Admin userAdmin Hello Included here is the proper xml for the document The element "dmodule" is the root element of the document from getDmod(). The top level elements are all "item" except for the one from getDmod

Re: s:a tag

2009-01-14 Thread Dave Newton
Biesbrock, Kevin wrote: AFAIK JavaScript can't handle renaming a url without communicating it to the server. I'm not sure what you mean by that--JavaScript can do whatever it wants to an anchor tag in the DOM; that has nothing to do with the server side. I'm obviously missing something ;) D

RE: s:a tag

2009-01-14 Thread Biesbrock, Kevin
I would assume that "changing the url" would result in the page reloading which is the opposite desired outcome when using Ajax. Using a "#" is simply a page link resulting in the page scrolling to the section name specified after the "#" (or, in your case, the top of the page). AFAIK JavaScript

Re: Convention plugin example

2009-01-14 Thread Dave Newton
Norris Shelton wrote: Thanks for the fast response. I did not know there was such a thing. But... but you asked how to get a Convention plugin app running. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org Fo

Re: [ANNOUNCE] Struts 2.1.6 GA Release

2009-01-14 Thread hernan gonzalez
The link to "Releases notes" in the main download page is broken. -- Hernán J. González http://hjg.com.ar/ On Wed, Jan 14, 2009 at 12:19 PM, Musachy Barroso wrote: > The Apache Struts group is pleased to announce that Struts 2.1.6 is > available as a "General Availability" release. The GA des

Re: s:a tag

2009-01-14 Thread Dave Newton
Jaarthy wrote: No.I am not saying that.Tag is functioning properly as I wanted it to.But the URL is displayed like http://localhost:8080/mywebapp/# instead of http://localhost:8080/mywebapp/someaction.action when I use s:a tag with ajax theme in place of a href tag.I want the URL to be displaye

Re: s:a tag

2009-01-14 Thread Jaarthy
No.I am not saying that.Tag is functioning properly as I wanted it to.But the URL is displayed like http://localhost:8080/mywebapp/# instead of http://localhost:8080/mywebapp/someaction.action when I use s:a tag with ajax theme in place of a href tag.I want the URL to be displayed likehttp://loc

Logic Iterate problem

2009-01-14 Thread ECLIPSE + CVS
Hi, In one page of my application i am trying to iterate through one collection for populating one combo box. But it is showing "javax.servlet.jsp.JspException: Cannot create iterator for this collection" I have one LoginForm that extends Validator form and it containg one object of User.

Re: Convention plugin example

2009-01-14 Thread Norris Shelton
Great thanks. I have been looking around and have not found anything. I had managed to get my Struts and Spring working with annotations. Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Shelton Consulting, LLC ICQ# 26487421 AIM NorrisEShelton YIM norrisshelton _

Re: Convention plugin example

2009-01-14 Thread Norris Shelton
Thanks for the fast response. I did not know there was such a thing. It is working great now. org.apache.struts struts2-convention-plugin 2.1.6 Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Shelton Consulting, LLC I

Re: Convention plugin example

2009-01-14 Thread Wes Wannemacher
Norris, I have a few examples using Conventions + Struts 2.1.x available here - http://code.google.com/p/struts2inpractice/source/browse/#svn/trunk The ch04* examples include Struts 2.1, Spring, Conventions and persistence (JPA & JDBC). I haven't updated them since 2.1 went GA, but to do so, yo

Re: s:a tag

2009-01-14 Thread Dave Newton
Jaarthy wrote: when i am use its creating the URL like http://localhost:8080/mywebapp/#. When I remove the theme="ajax",I get the URL like http://localhost:8080/mywebapp/someaction.action. I want to use ajax theme,but I want my url to be shown like http://localhost:8080/mywebapp/someaction.ac

Re: [S2] Accept-language problem with tomcat/struts/tiles

2009-01-14 Thread Andreas Sachs
> Version of Tiles? Thanks for this question. After upgrading from 2.1.0 to 2.1.1 the problem disappeared. Andi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.a

Re: s:a tag

2009-01-14 Thread Jaarthy
when i am use its creating the URL like http://localhost:8080/mywebapp/#. When I remove the theme="ajax",I get the URL like http://localhost:8080/mywebapp/someaction.action. I want to use ajax theme,but I want my url to be shown like http://localhost:8080/mywebapp/someaction.action,because the

Re: s:a tag

2009-01-14 Thread Jaarthy
when i am use its creating the URL like http://localhost:8080/mywebapp/#. When I remove the theme="ajax",I get the URL like http://localhost:8080/mywebapp/someaction.action. I want to use ajax theme,but I want my url to be shown like http://localhost:8080/mywebapp/someaction.action,because the

Re: Convention plugin example

2009-01-14 Thread Dave Newton
Norris Shelton wrote: Does anyone know of a basic hello world application that uses the > Convention plugin and Maven. I am having trouble getting any of my > actions to be registered. Here is the S2 related dependencies from my pom.xml org.apache.struts

Convention plugin example

2009-01-14 Thread Norris Shelton
Does anyone know of a basic hello world application that uses the Convention plugin and Maven. I am having trouble getting any of my actions to be registered. Here is the S2 related dependencies from my pom.xml org.apache.struts struts2-core

Re: [S2] Accept-language problem with tomcat/struts/tiles

2009-01-14 Thread Antonio
2009/1/14 Andreas Sachs : > i have a strange problem with tomcat/struts/tiles. I'm not sure which > component is responsible. >... > Environment: > Windows Vista > Tomcat 5.5 > Struts 2.0.14 Version of Tiles? Antonio - To unsub

[S2] Accept-language problem with tomcat/struts/tiles

2009-01-14 Thread Andreas Sachs
Hello, i have a strange problem with tomcat/struts/tiles. I'm not sure which component is responsible. If i start tomcat, wait some seconds and access my application everything will work fine. If i start tomcat and immediately access my application, it only works with firefox and not with IE.

Re: Upgrading Struts from 1 to 2.0.14

2009-01-14 Thread SanJ.SANJAY
Robert Graf-Waczenski wrote: > > Frank W. Zammetti wrote: >> >> Dave is 100% correct: S2 != S1. They have a few concepts in common >> naturally, but there is, I think it's fair to say, more that makes >> them different than makes them alike. A complete rewrite is probably >> the best bet (

[ANNOUNCE] Struts 2.1.6 GA Release

2009-01-14 Thread Musachy Barroso
The Apache Struts group is pleased to announce that Struts 2.1.6 is available as a "General Availability" release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to

RE: Upgrading Struts from 1 to 2.0.14

2009-01-14 Thread Radu Solomon
I second that point. We did same thing and only ported parts of S1 code when needed but the two run in parallel and interact beautifully. And the neat thing is we can use the dojo widgets from S2 in S1 pages. Not as is as in S2 but not very complex. -

[Struts 1.3] Validation question

2009-01-14 Thread Lorenzo Carnevale
My application user has to insert a monetary value for an invoice. Can I use the v alidator to check the value to be greater than 0, but without specifying a max value?

Re: Upgrading Struts from 1 to 2.0.14

2009-01-14 Thread Robert Graf-Waczenski
Frank W. Zammetti wrote: Dave is 100% correct: S2 != S1. They have a few concepts in common naturally, but there is, I think it's fair to say, more that makes them different than makes them alike. A complete rewrite is probably the best bet (I heard tell of some porting possibilities, side-