Struts Classic and token not working on one server on Firefox

2010-01-08 Thread Greg Dunn
We're using the Token system in our application, which is installed at several hundred sites, each with their own JBoss and Apache servers which we administer. It works perfectly at every site but one, where a token mismatch comes up every time if the user is on Firefox. There is no problem using

Re: struts2 and tables

2010-01-08 Thread Sergio
Hans Solo escribió: should work. 2010/1/8 Chris Pratt : I'm not positive but you might try: (*Chris*) On Thu, Jan 7, 2010 at 4:09 PM, Sergio wrote: Sergio escribió: Chris Pratt escribió: You can refer to the DisplayTag documentation about what collections they suppor

Re: Struts, Tomcat, JNDI, JDBC without use of an ORM Library such as Hibernate

2010-01-08 Thread Bill Bohnenberger
Jazz, here's a lightweight package that so far has met all of my needs: http://butterfly.jenkov.com/ ... Cheers, Bill* * On Thu, Jan 7, 2010 at 4:30 PM, Jasvinder S. Bahra < bbdl21...@blueyonder.co.uk> wrote: > I'll echo the Spring suggestion. It simplifies Action-level programming by >> quite a

Re: freemarker error in select tag

2010-01-08 Thread Johannes Geppert
problem is solved, it was a null value in the list. Johannes Geppert wrote: > > I use struts2 version 2.1.8.1 > > and this select tag: > label="Formate" cssStyle="width: 150px; float: left"> > > The SelectBox is already filled so I thin the Action is not the Problem. > > > Gabriel Be

Re: struts2 and tables

2010-01-08 Thread Hans Solo
should work. 2010/1/8 Chris Pratt : > I'm not positive but you might try: > > > >  (*Chris*) > > On Thu, Jan 7, 2010 at 4:09 PM, Sergio > wrote: > >> Sergio escribió: >> >>  Chris Pratt escribió: >>> You can refer to the DisplayTag documentation about what collections they support, t

Re: How to nest Struts Tags

2010-01-08 Thread Gabriel Belingueres
name the current iterated object, something like that: 2010/1/8 RogerV : > > > > Gabriel Belingueres-2 wrote: >> >> The tag (without the var attribute) push the current item >> to the top of the ValueStack. >> will get the value from the top of the stack. >> >> IM

Re: validation question

2010-01-08 Thread Gabriel Belingueres
As a starting point you may check the freemarker .ftl files from the XHTML template. 2010/1/8 Robby Atchison : > Hello,  I would like to know how an actionname-validation.xml is tied to the > client-side validation.  I figure somewhere the xml file is read and > Javascript is output.  I'm having t

Re: How to nest Struts Tags

2010-01-08 Thread RogerV
Johannes Geppert wrote: > > Sorry I forgot to close the Tag > > > > > Thank you Johannes, that works and when I use %{url} I've now got the parameters as well! So why doesn't using work with the url tag, even when the value is hardcoded as a constant? Regar

Re: Additional validation for j_security_check action

2010-01-08 Thread Juanjo C
Sorry for use this thread, but I'm desperate Dani, How to use Struts 2 with JAAS? I have my own implementation of JAAS that works fine in applications without Struts, but don't works if I use it into Strust. Can you help me? 2009/6/17 Wes Wannemacher > I have thought about this a bit l

Re: How to nest Struts Tags

2010-01-08 Thread RogerV
Damn - how do I get Nabble to stop interrpretting my code examples as HTML? -- View this message in context: http://old.nabble.com/How-to-nest-Struts-Tags-tp27062761p27073760.html Sent from the Struts - User mailing list archive at Nabble.com. -

Problem with Struts 2 and security constraint

2010-01-08 Thread Juanjo C
Hi, I'm trying to use JAAS with Struts2. I have my own implementation of JAAS and if I use it in an application without Struts, it works fine. I'm using FORM like authentication method. But when I wan to use it with Struts 2, I get an 404 error (I have an constraint with "/*"). If I deactivate th

Re: How to nest Struts Tags

2010-01-08 Thread Johannes Geppert
Sorry I forgot to close the Tag RogerV wrote: > > > When I try this, it fails because the tag is not closed > properly. In an attempt to go back to basics I've hard coded the value > attribute of the tag and I've now got; > - --- web: http://www.jgepp

Re: How to nest Struts Tags

2010-01-08 Thread RogerV
Johannes Geppert wrote: > > Try it with this: > > > > > > When I try this, it fails because the tag is not closed properly. In an attempt to go back to basics I've hard coded the value attribute of the tag and I've now got; ${url1} ht

Re: problems with struts2 and session

2010-01-08 Thread Paweł Wielgus
Hi Sergio, this time late answear, when You have session field in action and also setter and getter for it then You can access session map as any other field from action in jsp, so < s:property value="session.get('variable')" > should work, because it is accessing normal getter in stack. Maybe try

Re: How to nest Struts Tags

2010-01-08 Thread Johannes Geppert
Try it with this: Best Regards Johannes Geppert RogerV wrote: > > > > RogerV wrote: >> >> >> >> Gabriel Belingueres-2 wrote: >>> >>> The tag (without the var attribute) push the current item >>> to the top of the ValueStack. >>> will get the value from the top of