Re: Struts2 and Jquery problem with LightBox or thickbox

2008-07-15 Thread Ian Roughley
I've used lightbox successfully without problem. If this is the error message it looks like you are passing the height and width attributes as URL params and they are being applied against the action (hence the error). I bet (I don't have the code anymore) these are instead meant to be

Re: Struts2 and Jquery problem with LightBox or thickbox

2008-07-15 Thread Ian Roughley
tell me, was that u were displaying dynamic content or static content. And which ajax framework have u used for thick/light box. In My case I need to get the data from DB, and display accordingly on the THICKBOX. An early reply would be appreciatable. Thanks Ian Roughley wrote: I've used

Re: Firefox 3 and s:head theme=ajax/ render issues

2008-07-03 Thread Ian Roughley
This might be a dojo issue, as I think nearly all the JS code being loaded is dojo now. Have you tried their mailing lists? /Ian georz1 wrote: I'm using Struts 2.0.11 and it seem with Firefox 3 only there are rendering issues on pages where I have s:head theme=ajax. I can see the page load

Re: Showing messages after a redirect

2008-07-01 Thread Ian Roughley
Have you looked at the message store interceptor? /ian Antonio Petrelli wrote: 2008/7/1 Dimitris Mouchritsas [EMAIL PROTECTED]: ActionMessages msg = new ActionMessages(); msg.add(Constants.MESSAGE_CONFIRM, new ActionMessage(prompt.changes.saved)); saveMessages(request, msg); But when I'm

Re: Showing messages after a redirect

2008-07-01 Thread Ian Roughley
my mistake, only saw the last message. Antonio Petrelli wrote: 2008/7/1 Ian Roughley [EMAIL PROTECTED]: Have you looked at the message store interceptor? For Struts 1? Antonio - To unsubscribe, e-mail: [EMAIL

Re: Jazoon 08 conference wo/Struts 2 :(

2008-06-24 Thread Ian Roughley
I was thinking about submitting a talk for Jazoon - not sure what happened, I think the deadline passed before I realized (and the deadline, from what I remember, was really early - maybe 7 months before). /Ian Giovanni Azua wrote: Hi, I attended today the Jazoon conference here in Zurich

Re: [OT] What slows you down?

2008-06-20 Thread Ian Roughley
[EMAIL PROTECTED] wrote: I think a web page generator from action/model would be a huge shot in the arm. Of course it would need to be gussied up a bit, but doing these by hand is a leach on time. I recall a product back in the day that would generate pages from db tables. The is a company

Re: [OT] What slows you down?

2008-06-20 Thread Ian Roughley
And don't forget s:debug / and the debug interceptor (that I believe dumps to log file/xml) :-) Martin wrote: something about the difference between developer (someone who only works one version of an IDE) and a software engineer who can engineer a solution (regardless of the IDE) for

Re: What can you do with S2?

2008-06-16 Thread Ian Roughley
. This might be writing a very simple app, but it could also be to work on a plug-in, or fix specific bugs. I wonder if there would interest to do something similar for s2? -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http

Re: Struts Annotation

2008-05-14 Thread Ian Roughley
Results are annotated at the class level, see http://struts.apache.org/2.0.6/docs/annotations.html /Ian Felipe Lorenz wrote: Hi. Im try to use annotations for action results. but, the annotations is for a class, not for each method in an class... fallow this idea, for each CRUD operations

Re: Struts Annotation

2008-05-14 Thread Ian Roughley
, May 14, 2008 at 10:08 AM, Ian Roughley [EMAIL PROTECTED] wrote: Results are annotated at the class level, see http://struts.apache.org/2.0.6/docs/annotations.html /Ian Felipe Lorenz wrote: Hi. Im try to use annotations for action results. but, the annotations is for a class

Re: Is there such a thing as flash in S2?

2008-04-17 Thread Ian Roughley
that should be developed? Cheers, GB Ian Roughley wrote: There is also a flash result type / interceptor in webwork - very easy (2 min) to convert to s2. /Ian Don Brown wrote: There is the Struts 2 Scope Plugin [1], which does flash scope and a lot more. Also, the message store interceptor

Re: Is there such a thing as flash in S2?

2008-04-15 Thread Ian Roughley
There is also a flash result type / interceptor in webwork - very easy (2 min) to convert to s2. /Ian Don Brown wrote: There is the Struts 2 Scope Plugin [1], which does flash scope and a lot more. Also, the message store interceptor, available in core out-of-the-box, will persist action and

Re: Does Struts 2 support clustering?

2008-04-10 Thread Ian Roughley
How are you clustering the HTTP session? Usually this involves configuration of the app server so that it is stored in some type of non-transient storage. /Ian mojoRising wrote: We have struts running great on a single server but when we test in our clustered environment there are problems:

Re: any struts 2 unit testers out there?

2008-04-04 Thread Ian Roughley
Or look at the xwork / s2 test cases - there are some test classes in there that can help you. /Ian Karr, David wrote: And did you investigate using either of the common Java frameworks for Mock objects, jMock and EasyMock? -Original Message- From: paulbrickell [mailto:[EMAIL

[ANN] Struts2 Workshop - Early Bird Discount ends Friday, March 14th

2008-03-12 Thread Ian Roughley
to effectively write applications using Struts2. We'll take a practical and hands-on approach, dividing the time into 40% theory and 60% exercises. Our instructor, Ian Roughley, has extensive experience developing Struts2 applications; is a committer on the Apache Struts2 project; and is the author

Re: authentication question

2008-03-12 Thread Ian Roughley
the s2 dispatcher). Otherwise, I would suggest a servlet filter or header code for all JSPs that make the necessary checks. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED

Re: authentication question

2008-03-12 Thread Ian Roughley
the s2 dispatcher). Otherwise, I would suggest a servlet filter or header code for all JSPs that make the necessary checks. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2008-03-05 Thread Ian Roughley
-- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] guillermodl wrote: Im having 1 little problems with Practical Apache Struts2 Web 2.0 Projects examples The first one is that even

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2008-03-05 Thread Ian Roughley
testing it. /Ian Dave Newton wrote: --- Ian Roughley [EMAIL PROTECTED] wrote: The solution provided to me was to change the scope interceptor reference to use a session value of Model rather than model - see below. interceptor-ref name=scope param name=sessionModel/param param

Re: Struts 2: map-backed bean

2008-03-04 Thread Ian Roughley
If you implement the RequestAware interface, the map will contain all the form values. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Agile Process * Open Source Advanced Struts2 Workshop, April 28-30, Sunnyvale CA web: http://www.fdar.com - email: [EMAIL PROTECTED] Cheng Wei

Re: Dynamic Results

2008-02-15 Thread Ian Roughley
result types and action can take parameters from the config, what is the best way to differentiate them without making the config more complicated? /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email

Re: Dynamic Results

2008-02-15 Thread Ian Roughley
. In this case there was no clear context. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Actually when OGNL fails to locate a setXXX(String) on the result when

Re: Struts2 WebApp context

2008-02-14 Thread Ian Roughley
This question will probably result in an answer / better solution if asked on the Spring forums. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Rushikesh Thakkar wrote

Re: Scope interceptor / Practical Apache Struts 2

2008-02-14 Thread Ian Roughley
? /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Selckin wrote: Hello, In Chapter 6 of Practical Apache Struts 2 Web 2.0 Projects, It explains how to use the scope interceptor

Re: Struts2 WebApp context

2008-02-13 Thread Ian Roughley
Implement the ServletContextListener and configure it in web.xml - this has the initialize and destroy methods you are looking for, and they are called when the container loads and destroys your application. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring

[ANN] Struts2 Workshop: April 28-30, Sunnyvale CA

2008-02-11 Thread Ian Roughley
to effectively write applications using Struts2. We'll take a practical and hands-on approach, dividing the time into 40% theory and 60% exercises. Our instructor, Ian Roughley, has extensive experience developing Struts2 applications; is a committer on the Apache Struts2 project; and is the author

Re: Struts training...

2008-01-08 Thread Ian Roughley
I'm looking into providing some public training, at the moment I'm scouting out cities and locations that can accommodate training. Of course, if its private training, then that's easy! /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open

Re: S2: chart result type not recognized

2008-01-04 Thread Ian Roughley
How are you referencing the action? I always use an img tag like this: img src=serverIronLoadChart.action / /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] John Cartwright

Re: struts2: interceptor - validation doesn't work :-(

2008-01-04 Thread Ian Roughley
I didn't see an INPUT result configured, which will be needed. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Dave Newton wrote: Please post the entire relevant code

Re: Question about validation mechanism

2007-12-19 Thread Ian Roughley
The validator interceptor doesn't do anything. If you are using the s2 tags, then the getter matching the name attribute will be called on the action or model. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http

Re: New to Struts

2007-12-17 Thread Ian Roughley
bhaarat Sharma wrote: I am reading Practical struts2 web 2.0 projects book. I dont have a lot of nice things to say Please contact me off list. I am interested in why you have this opinion. about the book but its practically the complete struts2 book thats out there.

Re: New to Struts

2007-12-17 Thread Ian Roughley
Dave Newton wrote: --- Ian Roughley [EMAIL PROTECTED] wrote: bhaarat Sharma wrote: I am reading Practical struts2 web 2.0 projects book. I dont have a lot of nice things to say Please contact me off list. I am interested in why you have this opinion. Doesn't mean he

Re: Is Struts2 ready for prime time?

2007-12-13 Thread Ian Roughley
Finally, in terms of education, there's some good books out now and there's a lot of sites providing tutorials (that reminds me, I'm going to order Ian's book today[1]). However, I don't know of any professional training courses yet and there's far fewer developers already knowledgeable on

Re: I18N problem

2007-12-05 Thread Ian Roughley
You should probably try using the key rather than the label attribute, I'm not even sure whether it will accept OGNL: s:textfield key=blabla/ -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL

Re: Practical Apache Struts2 - compile fails on annotation

2007-11-29 Thread Ian Roughley
This is chapter 3, right? I just ran the command mvn clean compile from my local copy and everything compiles correctly. Are you compiling from an IDE? If so, do you have all the JAR files in the project? /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring

Re: Practical Apache Struts2 - compile fails on annotation

2007-11-29 Thread Ian Roughley
Weird. I opened the ZCAction.java file, and I can see the imports right there :-) -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Robert Harrison wrote: Ian/Dave, Thanks

[ANN] Javapolis 2007

2007-11-26 Thread Ian Roughley
: for those that are not officially attending Javapolis, and those that are, is anyone interested in an informal get together during the conference? Meet some new people, have some beers, and maybe even talk about Struts2. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-24 Thread Ian Roughley
No idea. I can check though. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Ted Husted wrote: Amazon is showing the book as available now! yeah! If you order through

Re: is there any book on struts 2 in the market.................

2007-11-24 Thread Ian Roughley
Practical Apache Struts2 Web 2.0 Project was published a few days ago. You can purchase it via Apache at http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-1590599039 /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-24 Thread Ian Roughley
of the book is like. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Martin Gainty wrote: Ian- If you provide the ISBN some of us can do a quick search at local bookstoreThanks

[ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-20 Thread Ian Roughley
it will be available through most major bookstores. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] - To unsubscribe

Re: s2 and DispatchAction

2007-11-12 Thread Ian Roughley
I wonder if you could use OGNL, i.e. ${paramName}, although I have not tested it. [EMAIL PROTECTED] wrote: as far as I know, no :-( How can i use a parameter to choose wich action executed? I have a crud action etc user.action is it possible to choose the action fires with a

Re: any struts 2 unit testers out there?

2007-10-29 Thread Ian Roughley
And 4 - have you looked in the source for unit tests testing this functionality? Tom Schneider wrote: My first suggestion is the make sure that the package.properties files are on the classpath when you run your junit test. Secondly, it would be helpful for us to help you figure this out if

Re: struts2 validation for only one method in action

2007-10-17 Thread Ian Roughley
you can always use s:submit name=method:delete value=Delete / and s:submit value=Execute / - then you don't need the logic to determine which button was clicked in the execute() method, and you can use the validation config below. /ian Igor Vlasov wrote: This is not a solution. I have 2

Re: Adding the ability to include a validation xml file from another inside another validation xml file in Struts2

2007-10-10 Thread Ian Roughley
Have you looked at the visitor validator? It might serve your purposes if the fields are on objects in the action. /Ian Arup Francis wrote: Hi, We have this problem of having to repeat certain validations for the same fields in multiple validation xml files because they occur in multiple

Re: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Ian Roughley
I can confirm that it works. Do you have the struts-messages.properties defined as an additional properties file in struts.xml? This is not a standard property file name that is picked up by default. /Ian Dean Pullen wrote: Further to my message below,

Re: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Ian Roughley
: struts.custom.i18n.resources=struts-messages If thats what you mean? I get other localized properties from it no problem, e.g. using s:text name=key.here / -Original Message- From: Ian Roughley [mailto:[EMAIL PROTECTED] Sent: 09 October 2007 19:48 To: Struts Users Mailing List Subject: Re: Bug in 2.0.9

Re: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Ian Roughley
, (exact naming), in the same folder. They both contain: hello=Hello -Original Message- From: Ian Roughley [mailto:[EMAIL PROTECTED] Sent: 09 October 2007 21:00 To: Struts Users Mailing List Subject: Re: Bug in 2.0.9 regarding validation localization? Now I know that it works

Re: ModelDriven Resource Bundle not working ?

2007-10-08 Thread Ian Roughley
Model properties files are used for supplying field description and validation messages for a model object. I know it works ;-) but I don't know how you are using it from the code supplied. /Ian Dave Newton wrote: Hmm, in the docs [1] it says that it will search for ModelDriven's model,

Re: Struts 2: Unable to catch exceptions via global-exception-mappings

2007-10-01 Thread Ian Roughley
Is the exception occurring during the call to execute() (or equivalent) business logic method? This is where the exception handler interceptor is applied. It seems like the exception you are receiving is from a rendering phase outside the execution of the actions logic. /Ian mikeh96 wrote:

Re: Struts 2: Unable to catch exceptions via global-exception-mappings

2007-10-01 Thread Ian Roughley
) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607) at java.lang.Thread.run(Thread.java:613) Ian Roughley wrote: Is the exception occurring

Re: Struts 2: Unable to catch exceptions via global-exception-mappings

2007-10-01 Thread Ian Roughley
and configuring it with a template name to return (e.g. 404.vm) if the requested template throws the ResourceNotFoundException a viable one ? Or is there a way to handle this more elegantly ? thanks again for your time! mike Ian Roughley wrote: The result is executed after the interceptors and after

Re: Struts 2: Unable to catch exceptions via global-exception-mappings

2007-10-01 Thread Ian Roughley
and I get 500 error. struts.xml file is the same as I posted. Any ideas? Ian Roughley wrote: Yes, that's definitely a valid approach. I guess the question I have is how are you using the feature? It looks like you are simply providing a pass-through to view a velocity template

Re: JAAS struts 2 Tutorial?

2007-09-24 Thread Ian Roughley
roles 3) Create an AnnotationRolesInterceptor (as described in this forum) to determine if the user has the role required by the annotation What are the advantages of using acegi over this custom implementation? And what is the license model of acegi? Ian Roughley wrote: If you are not using

Re: Bug in scenario

2007-09-24 Thread Ian Roughley
This is the fundamental way the value stack works - if it can't evaluate an expression at the topmost level, it starts to work it's way down until the expression can be evaluated. I guess my question really is why are you trying to set value on a null object? It sounds to be like you need

Re: JAAS struts 2 Tutorial?

2007-09-18 Thread Ian Roughley
By implementing the PrincipalAware interface, the Principal object will be injected into the action with those values from the request (the user, roles, etc.). The values can be be used in the action, or the Principal can be exposed with a setter for the actions to use. /Ian Mark McLaren

Re: JAAS struts 2 Tutorial?

2007-09-18 Thread Ian Roughley
be used to declaratively configure those actions that require a specific role from the security context in order to be invoked. /Ian Chris Pratt wrote: On 9/18/07, Ian Roughley [EMAIL PROTECTED] wrote: By implementing the PrincipalAware interface, the Principal object will be injected

Re: Extended conversation/Wizards

2007-09-17 Thread Ian Roughley
The two options are (1) Spring WebFlow plugin as you mentioned, and (2) Session interceptor, that will move attributes from the action in and out of session scope for the duration of the wizard. /Ian Martin Gilday wrote: Hi, I am currently maintaining a WebWork 2 based web application. A

Re: Sanitize Text

2007-08-23 Thread Ian Roughley
This is a good approach. In fact, you might start with the params interceptor - as it is responsible for assigning data to the action, and all that is needed is to sanitize before assignment. /Ian Richard Sayre wrote: I was wondering what the best approach would be for taking form data

Re: multilingual support in struts2

2007-08-20 Thread Ian Roughley
This is not one of the supported patterns. Although, you should be able to provide a TextProvider implementation to do what you want, rather than using the implementation provided in ActionSupport. /Ian Hari Prasad wrote: Hi frends, I'm able to load my properties from classpath, provided

Re: struts2 ajax jsps

2007-08-15 Thread Ian Roughley
make struts to ignore this and read them as html? Or do I have to change the extention to get it work. Thanks for the answer. Ian Roughley wrote: This line: There is no Action mapped for namespace /struts/dojo/src/widget/templates and action name TabContainer. Seems to suggest that you may

Re: struts2 ajax jsps

2007-08-15 Thread Ian Roughley
Struts2 Fan wrote: I know that discussion but it html extention locks some of the functionality of struts2, it would be better to change it from html to something else. If you say *it is not easy*, at least I will post a message on the appfuse forum. Ian Roughley wrote: I think

Re: struts2 ajax jsps

2007-08-14 Thread Ian Roughley
This line: There is no Action mapped for namespace /struts/dojo/src/widget/templates and action name TabContainer. Seems to suggest that you may have changed the extension from .action to .html, so s2 is looking for an action called TabContainer. /Ian Struts2 Fan wrote: I met the same

Re: Extending ActionConfig in Struts2

2007-08-08 Thread Ian Roughley
Have you tried overriding the struts.configuration property with a new Confguration class that builds and returns your new ActionConfig? Vinod Singh wrote: Any clues?? Thanks, Vinod Original Message Subject: Extending ActionConfig in Struts2 From: Vinod Singh [EMAIL

Re: Possible to package struts2 actions/code in a reusable jar?

2007-08-08 Thread Ian Roughley
Looks like you are talking about creating a plugin. I think the issue is that struts.xml needs to be renamed to the plugin specific name. WiltOnTilt wrote: We have several projects that will have many common actions and links to common JSP names. For example, all of our projects will have a

Re: S2 : XML vs annotation validation - thoughts?

2007-08-07 Thread Ian Roughley
And you can place them on the domain objects and use a visitor validator ;) Dave Newton wrote: --- j alex [EMAIL PROTECTED] wrote: My understanding is that the validators are tied to fields and not methods - right? They *can* be tied to the fields (in other words, every action

Re: S2 : XML vs annotation validation - thoughts?

2007-08-07 Thread Ian Roughley
name has an error. I know this can be done easily in XML by having separate entries for primary and coapp and using params to manipulate the error message accordingly. Thanks, Joseph On 8/7/07, Ian Roughley [EMAIL PROTECTED] wrote: And you can place them on the domain objects and use a visitor

Re: Struts 2 URL parameters lost

2007-07-31 Thread Ian Roughley
type. (See http://struts.apache.org/2.x/docs/faqs.html, in the Interceptors section.) Ian Roughley has a handy book available as a free PDF on InfoQ.com (http://www.infoq.com/minibooks/starting-struts2 - please forgive the plug); it suggests on page 23 that you should be able to see URL parameters

Re: S2 + REST urls

2007-07-27 Thread Ian Roughley
I have found the order is important in the struts.xml file - i.e. if you are changing a property that is being used by another (say the names of the mappers for the CompositeActionMapper), you need to add the declaration of the property and then define the object (the CompositeActionMapper)

Re: Date Problem

2007-07-25 Thread Ian Roughley
I believe its localization. try the date tag to specify a date format. /Ian rrecoba wrote: Hi, I´m using an input field where the user must put a date in the format dd/MM/ But in the Action, when struts 2 set the value for the date attribute, the format change´s to MM/dd/ , does

Re: Date Problem

2007-07-25 Thread Ian Roughley
try setting it to a locale that uses a date format of dd/MM/. rrecoba wrote: I don´t have the struts.locale, neither th struts.properties. This is the problem. Ian Roughley wrote: what is the locale set to? It is the struts.locale property in the struts.xml or struts.properties

Re: Date Problem

2007-07-25 Thread Ian Roughley
field, in my action i get in other format. (I cannot use datetimepicker) Thanks.- Ian Roughley wrote: I believe its localization. try the date tag to specify a date format. /Ian rrecoba wrote: Hi, I´m using an input field where the user must put a date in the format dd/MM/

Re: Struts 2 Theme that doesn't generate extra HTML

2007-07-16 Thread Ian Roughley
-Mensaje original- De: Ian Roughley [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 16 de Julio de 2007 09:10 a.m. Para: Struts Users Mailing List Asunto: Re: Struts 2 Theme that doesn't generate extra HTML You can always use JSTL and HTML. /Ian Chris Pratt wrote: Simple seems to be the closest

Re: Struts 2 Theme that doesn't generate extra HTML

2007-07-16 Thread Ian Roughley
?. Regards, Néstor Boscán -Mensaje original- De: Ian Roughley [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 16 de Julio de 2007 11:51 a.m. Para: Struts Users Mailing List Asunto: Re: Struts 2 Theme that doesn't generate extra HTML Then use HTML and the property tag to obtain value from

Re: Has anyone tried this in S2

2007-06-29 Thread Ian Roughley
Take a look at the value stack via the debug tag. Usually the property tag will keep stepping through the value stack until a getter for the property is found (the object for the current iteration is placed on the top of the value stack). Although, if you are explicitly defining the object

Re: [S2] Template testing

2007-06-27 Thread Ian Roughley
Take a look in the source, I believe there are examples on how the theme templates are tested. /Ian Mark P Ashworth wrote: Good Day, I am busy in the process of developing a theme that uses the css_xhtml theme as the base and currently the process is 1. Make a change to the template 2.

Re: Is S2 Ready for Prime Time?

2007-06-26 Thread Ian Roughley
Yes. I know of several companies that are using s2 in production environments. I also know of an extremely large company that has started to use s2 for prototyping. As far as your other questions go - this really depends on the project. Like any design decision, the choices need to made

Re: [S2] login action w/FORM authentication?

2007-06-25 Thread Ian Roughley
yes - it is definitely possible. The thing to remember is that if you are using struts2 tags (which I'm pretty sure you are), you need to redirect through an action first so the value stack is available to the tag. /Ian Jon Wilmoth wrote: To add a little more context...The login action

Re: Implementing wizard like interface in struts

2007-06-25 Thread Ian Roughley
An interceptor, especially useful if the wizard is the only code in a specific directory. /Ian semaj wrote: It's been a week; have not found any solutions... any idea guys!! semaj wrote: Hi there, May be someone has already solved this problem. I need to implement a wizard like page

Re: Implementing wizard like interface in struts

2007-06-25 Thread Ian Roughley
My mistake, are you using s1 or s2? I was providing an s2 solution, but on further inspection you may have been asking about s1. /Ian semaj wrote: I didn't get the picture what you are trying to say... Ian Roughley wrote: An interceptor, especially useful if the wizard is the only code

Re: Spring-webflow exception

2007-06-19 Thread Ian Roughley
The source is available from the project site on google code. I haven't seen this error before, but I imagine it is a XML config issue. /Ian Rikard wrote: Hi im trying out the spring-weblow example. But i get this exception: 09:43:42,494 ERROR [[/spaceport].listenerStart] Exception

Re: Spring-webflow exception

2007-06-19 Thread Ian Roughley
Let me know how it goes. I've worked with it a little, but had to drop the integration due to time constraints. /Ian Rikard wrote: Thanks Ian for the quick response. Now i can continue explore the spring-webflow plugin! :) Ian Roughley wrote: The source is available from the project

Re: Struts2 Not Executing Actions

2007-06-14 Thread Ian Roughley
Can you verify that the struts.xml is in the WAR file, and the location of it? /Ian Danny Hurlburt wrote: Hello, I am new to Struts2 and am running into some problems. I have read much of the documentation on the wiki but I am still stuck. I have added the filter declaration and filter

Re: Flash scope in Struts 2?

2007-06-06 Thread Ian Roughley
There is an interceptor and result in webwork that can be used with about 2 mins for package corrections. /Ian mraible wrote: mraible wrote: Does Struts 2 have support for a flash scope - where messages can be easily stuffed into this scope so they live through a redirect? Thanks, Matt

Re: [ANN] Starting with Struts2 Book

2007-05-31 Thread Ian Roughley
logging into the InfoQ site? On 5/24/07, Ian Roughley [EMAIL PROTECTED] wrote: I am pleased to announce the release of the mini-book Starting with Struts2 from InfoQ.com. Starting with Struts2 is aimed at those who are new to Strut2, and those familiar with MVC frameworks but unfamiliar

Re: [ANN] Starting with Struts2 Book

2007-05-30 Thread Ian Roughley
Yep. Still in Boston. I'll have to ping them about that. /Ian Ted Husted wrote: On 5/29/07, Ian Roughley [EMAIL PROTECTED] wrote: Ah - thanks for the link Ted. And for all the kind words on the list. Don't forget the blog :) * http://husted.com/ted/blog/ Hey, isn't the New England JUG

Re: [ANN] Starting with Struts2 Book

2007-05-29 Thread Ian Roughley
Ah - thanks for the link Ted. And for all the kind words on the list. /Ian Ted Husted wrote: Done :) * http://struts.apache.org/index.html#Newbies On 5/29/07, Musachy Barroso [EMAIL PROTECTED] wrote: Good job! Finally a book to recommend to new users :) musachy

Re: [ANN] Starting with Struts2 Book

2007-05-25 Thread Ian Roughley
: 25 May 2007 12:40 To: Struts Users Mailing List Subject: Re: [ANN] Starting with Struts2 Book Is anyone else having trouble logging into the InfoQ site? On 5/24/07, Ian Roughley [EMAIL PROTECTED] wrote: I am pleased to announce the release of the mini-book Starting with Struts2 from

[ANN] Starting with Struts2 Book

2007-05-24 Thread Ian Roughley
I am pleased to announce the release of the mini-book Starting with Struts2 from InfoQ.com. Starting with Struts2 is aimed at those who are new to Strut2, and those familiar with MVC frameworks but unfamiliar with Struts2. It provides everything you need to know to get up and running using

Re: Struts 2 validation and Redirect After Post

2007-05-23 Thread Ian Roughley
I think what you are after is a flash scope implementation. There is a flash result and flash interceptor that Pat/Toby checked into the webwork project. With a couple small changes they will work in s2. At some point I guess they should be moved across. /Ian Fowler, Perryn wrote: Hi,

Re: Struts 2 providing injection

2007-05-18 Thread Ian Roughley
Struts2, or more precisely XWork, uses an early version of Guice. I was wondering about doing the same thing on a current project, and my initial thought was that you would need to define the beans being injected via the struts.xml configuration file or to provide a way to supply the managed

Re: Please help me get started

2007-04-20 Thread Ian Roughley
There is also a article / tutorial that I wrote late last year - http://www.infoq.com/articles/converting-struts-2-part1. It has the basic steps to get running. /Ian Shahak Nagiel wrote: Are you comfortable (at least to some degree) with all the technologies discussed in the Primer

Re: struts2 equivalent of html:link tag?

2007-04-17 Thread Ian Roughley
s:a ... / generates a link in s2, you can use the action and namespace attributes with it. Dave Newton wrote: --- Allen Gilliland [EMAIL PROTECTED] wrote: s:url value=/ui/something.jsp/ okay, but at that point there is no real reason to use the s:url tag at all If you're

Re: struts2 equivalent of html:link tag?

2007-04-17 Thread Ian Roughley
together - s:url id=register action=findUser namespace=/user / s:a href=%{register} Register/a /Ian Dave Newton wrote: --- Ian Roughley [EMAIL PROTECTED] wrote: s:a ... / generates a link in s2, you can use the action and namespace attributes with it. s:a.../ is pretty different than

Re: Architecture of Struts from a server application's point of view

2007-04-09 Thread Ian Roughley
I don't see why a restful URI or ajax call wouldn't be accessible via a VPN (if these are the APIs you are talking about). I think it is more dependant on the VPN configuration than anything else. /Ian Session Mwamufiya wrote: Hello, I'm new to Struts 2 and have to design an

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread Ian Roughley
should be usable first and modifiable second. Is the framework usable without writing framework code first? Scott On 3/10/07, Ian Roughley [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I have to agree with stanlick with this. I would agree more work need to be done. I have abandoned

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-10 Thread Ian Roughley
[EMAIL PROTECTED] wrote: I have to agree with stanlick with this. I would agree more work need to be done. I have abandoned in my project the more complex themes of struts and kept it in the simple theme (with customized tag templates here and there) because of these Table tags coming

Re: [S2] There is no Action mapped for action name HelloWorld. - [unknown location]

2007-03-07 Thread Ian Roughley
I recently fixed the starter maven archetype, it might be a better starting point. /Ian Musachy Barroso wrote: well, something is quite broken :), do you get any error log when you start the app? musachy On 3/7/07, meeboo [EMAIL PROTECTED] wrote: This might be well out of your reach,

Re: Unable to get Struts 2.0.6 working

2007-03-07 Thread Ian Roughley
I think you need to change the struts.properties file to enable .do as the extension rather than .action - this can also be achieved from the struts.xml file. /Ian ChristopherAngel wrote: I am unable to get my own example web app working with struts 2.0.6 I am using Netbeans 5.5 and tomcat

  1   2   >