Re: [S2] Using Struts Tag to create HTML tag

2007-02-28 Thread Tim Azzopardi
This works for me: set a request scope variabe with s:set and then use a jstl expression like ${zi} You should be able to use ${zi} pretty much anywhere. Don't know if there is a more strutsy way of doing it but it works for me. e.g. Ro

Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-28 Thread Tim Azzopardi
I think that the struts2 FAQ is here http://struts.apache.org/2.0.6/docs/faqs.html I couldn't find anything relevant (after 3 mins). But in http://struts.apache.org/2.x/docs/strutsproperties.html i saw this: ### Used by FilterDispatcher ### If true then Struts serves static content from inside

Re: [S2] Ajax Requirement

2007-02-27 Thread Tim Azzopardi
i dont think struts2 provides any specific support for this. DWR (not part of struts2) is very good at doing what you describe if you need to go to the server to get the States list each time you change the Country. siva-2 wrote: > > Hi, > > I am new to Struts 2. I have following requirement

s2] Is this a sensible way of doing in-line editing in a table?

2007-02-26 Thread Tim Azzopardi
I'm doing in line table editing and it works. Here's a (very) cut down version of my form. The code displays a form/table, where each line in the table corresponds to an element/item in the prLines collection of the action.

Re: [s2] struts2/dojo tree broken after upgrade struts 2.0.1 to 2.0.4?

2007-02-06 Thread Tim Azzopardi
; I doesn't look like a problem specific to the tree, are you able to use > any of the other ajax tags? > > regards > musachy > > Tim Azzopardi wrote: >> (The 2.0.4 showcase tree is fine of course!) >> >> i'm using a modified apppfuse 1.9.4 stack us

[s2] struts2/dojo tree broken after upgrade struts 2.0.1 to 2.0.4?

2007-02-06 Thread Tim Azzopardi
(The 2.0.4 showcase tree is fine of course!) i'm using a modified apppfuse 1.9.4 stack using struts 2.0.1 which I've just upgraded to 2.0.4 it looks like everything is working ok except my use of the s:tree tag I've replace my tree code with the static example from the struts 2.0.4 showcase stat

[s2] mutiline/collection field validation

2007-01-16 Thread Tim Azzopardi
I'm having some success building a multiline/collection form as shown below, but I'm wondering if I can get anything from the struts2 validation framework. Here's a (very) cut down version of my form. (I'm using a heaviliy modified xhtml theme which requires me to use the tr tags shown below.) Th

Re: struts2 how to access a param s:include

2006-12-22 Thread Tim Azzopardi
Tim Azzopardi wrote: > > If I have, > > > > > > How do I access param1 in fleetSelect.jsp? > > I've tried a load of combinations and can't get anything to work. > > (Sorry for the dumbass question , i've read and reread the docs

struts2 how to access a param s:include

2006-12-22 Thread Tim Azzopardi
If I have, How do I access param1 in fleetSelect.jsp? I've tried a load of combinations and can't get anything to work. (Sorry for the dumbass question , i've read and reread the docs - i think I'm going snowblind) struts-2.0.1 -- View this message in context: http://www.nabble.c