Re: Sitemesh Struts 2

2008-02-17 Thread Don Brown
You could say Struts 2 was built with SiteMesh in mind :) The WebWork folks heavily favored their sister project SiteMesh and had SiteMesh support in there from day one. In Struts 2, we moved it out into the SiteMesh plugin: http://struts.apache.org/2.x/docs/sitemesh-plugin.html Don On Feb 17,

Re: [struts] struts result going to a current page

2008-02-17 Thread Dave Newton
--- Dale Newfield [EMAIL PROTECTED] wrote: P.S.: If that request.getHeader bit doesn't work, it's because I think the OGNL #request object might be the request namespace rather than the actual HttpServletRequest object. That's correct; #request is the request context, not the request

OT YUI slider post conntection

2008-02-17 Thread bhaarat Sharma
Hello I am trying to integrate struts2 with YUI. Trying to make a slider bar that will have price range from 0 - 200 and when user moves the slider bar the items on the right are updated automatically based on the current position of the slider bar. so Items on the right will be in different

RE: s:select / and AJAX

2008-02-17 Thread Stanley, Eric
Dave, I need 3 selects chained together. As I understand it, the s:doubleselect / will not fit my needs. What I am requesting is an example of using AJAX techniques in a struts2 based app to populate a s:select /. Are people using dojo or homegrown js, and how do they wire it to an action?

Re: [struts] struts result going to a current page

2008-02-17 Thread Dale Newfield
Dave Newton wrote: --- Dale Newfield [EMAIL PROTECTED] wrote: P.S.: If that request.getHeader bit doesn't work, it's because I think the OGNL #request object might be the request namespace rather than the actual HttpServletRequest object. That's correct; #request is the request context, not

Re: [struts] struts result going to a current page

2008-02-17 Thread Dave Newton
--- Dale Newfield [EMAIL PROTECTED] wrote: ${#context.get(@[EMAIL PROTECTED]).getHeader(Referer)} Ew. It's almost enough to make me want to put the request object in as a named thingie. That and the current action (as #action, I would have sworn we all talked about that at one point? to avoid

Re: [struts] struts result going to a current page

2008-02-17 Thread Dale Newfield
Dave Newton wrote: --- Dale Newfield [EMAIL PROTECTED] wrote: ${#context.get(@[EMAIL PROTECTED]).getHeader(Referer)} Ew. Yep. It's almost enough to make me want to put the request object in as a named thingie. You won't get an argument from me. That and the current action (as #action, I

[ANN-OT] February 19 - Stateful Applications that Scale Like Stateless Ones by Orion Letizi at Googleplex in Silicon Valley

2008-02-17 Thread Van Riper
Advanced Registration is required to be part of give-away drawing. You can register at: http://sv-web-jug.eventbrite.com/ This is a free event open to the general public. So, please forward this announcement on to other interested parties. The online meeting announcement is here:

Re: JSP Tree

2008-02-17 Thread santosh gokak
Hi Naveen, Got this from google.. http://jsptree.sourceforge.net/ ~Santosh On Feb 16, 2008 8:50 PM, Dave Newton [EMAIL PROTECTED] wrote: --- naveen k [EMAIL PROTECTED] wrote: I am using struts1.1 for my application. I want to show some links in tree view on JSP page. How can

[S2] Validation

2008-02-17 Thread carmi_cd
Hi I have an application in Struts 2, my problem is when i try to submit the form even if there are values in the form input box it stills give validation message to the user to enter values for the required fields. here is my form fields. s:textfield name=employeeId label=Employee ID

how to access the properties of one action by another action

2008-02-17 Thread Prashant Khanal
Hello all, I am fetching a list of objects in one action and i want to use the same list of objection when i move to another action from that action. How can i do that? Actually i use the list of objects to populate the table of a jsp page and the i want to access the same list of objects in the

Re: OT YUI slider post conntection

2008-02-17 Thread Jeromy Evans
To get started, forget about Struts 2 for the moment. Follow the YUI Slider examples provided by Yahoo.http://developer.yahoo.com/yui/slider/ Attach your own listener to the slider and show convince yourself by updating a form field dynamically If your content is not dynamic, your JSP can