Re: Submit button with no form

2008-09-12 Thread oscar perez
another alternative would be to use a normal anchor tag and via CSS to make it look like a button.. On Wed, Sep 10, 2008 at 3:47 PM, Dan <[EMAIL PROTECTED]> wrote: > Lukasz Lenart escribió: > >> As Don said, implement small form, only with submit button and you >> wouldn't have to use JavaScript.

Problems with sx tags

2008-08-13 Thread oscar perez
Hi there, I've been using sx tags for a while now and I still think they are very nice and simple to use, however I found some critical problems which make me move from them. One of the problems is that if in the returned AJAX content is included any sx tag then if there is any javascript in the re

Problem executing scripts after AJAX request

2008-08-08 Thread oscar perez
Hi all, I am using struts 2.1.2 and I have a problem when I try to execute scripts in the returned content when using sx tags. The scripts do not seem to run even though executeScripts is set to true. This occurrs if I have sx tags within the return content. If I only have plain html and the scrip

Re: No JavaScript in s:div

2008-05-16 Thread oscar perez
By setting executeScripts="true" and separateScripts="true" it is possible to execute Javascript included from remote content. However this is executed but not included in the rendered HTML. If I use executeScripts="false" and separateScripts="false" the script is included in the rendered html but

Re: Retrieving param values from s:include

2008-04-30 Thread oscar perez
plugin is outdated, What can we safely use? :) :) On Wed, Apr 30, 2008 at 3:45 PM, Jeromy Evans < [EMAIL PROTECTED]> wrote: > oscar perez wrote: > > > Hi all, > > I've been struggling trying to get working the s:include with the nested > > s:params but I ha

Retrieving param values from s:include

2008-04-30 Thread oscar perez
Hi all, I've been struggling trying to get working the s:include with the nested s:params but I have to give up. It really puzzles me.. My problem is that I have no idea on how to access the parameters from the included file. There is a fine example in the struts 2 documentation ( http://struts.apa

Problem when upgrading to Struts 2.1

2008-04-10 Thread oscar perez
HI all, I am using appfuse as start-up application for one project. The problem is that when I upgraded from struts 2.0.11.1 to 2.1.1 my test cases are no longer working as ActionContext.getContext() returns null. http://www.mail-archive.com/[EMAIL PROTECTED]/msg29571.html I read about the refa

Re: redirect-action to https

2008-03-04 Thread oscar perez
I don't know if struts 2 provides functionality for that but I've used acegi for a scenario such as the one you described. Oscar On Tue, Mar 4, 2008 at 12:25 PM, David Loup <[EMAIL PROTECTED]> wrote: > Hi, > > > > I'm trying to have Struts 2 redirect over HTTPS protocol. > > > > On submit of a f

Re: Problem with OGNL syntax

2008-03-04 Thread oscar perez
Hi, Thank you for your quick reply. I tried your suggested syntax and didn't work either. However, I like a lot more your last proposal so I will give it a shot. Thanks! Oscar On Tue, Mar 4, 2008 at 1:05 AM, Jeromy Evans < [EMAIL PROTECTED]> wrote: > oscar perez wrote: > > &

Problem with OGNL syntax

2008-03-03 Thread oscar perez
Hi! I am having a very strange problem with struts 2. I am newbie to Struts 2 so maybe it is a simple thing I misunderstood. I have an abstract class (enterprise) and 4 subclasses. I want to perform CRUD operations on them and since all the properties are common to all the subclasses I've decided