Display a list of items in multiples HTML files but within one JSP and action

2006-12-20 Thread Fabio Miranda Hamburger
Hello, Let's assume I have this big list of item, 250 records are going to be display. I have search.jsp that asks in a FORM the search criteria, then, based on the parameters, search.do is execute, and, let's say the first 25 items are shown, then, the next 25 (from 25 to 50) are shown and

RE: [S2] - access to the action from a JSP page

2006-12-20 Thread Wesslan
You can access all your actions public getters (and setters) from your JSP with something like . Action: Public String getPetName() { return "Dinky"; } JSP: Or did I misunderstand you? Hth, Peter -Original Message- From: Dariusz Wojtas [mailto:[EMAIL PROTECTED] Sent: den 20 decemb

Checking based on database value?

2006-12-20 Thread Mallik
Hi friends my problem is i have to ArrayLists one contains total services and another contains assigned services to a role. when we select a role, assigned services from the total services should be selected. In a database table i have serviceids for each service and in another table, what are th

message resources

2006-12-20 Thread Kranti
hi, i have a problem related to message resources during the login time i am doing this session.setAttribute(Globals.LOCALE_KEY, locale); where locale is created by the user specific language settings there in DB. in jsp: using this and in struts config file and inthe same directory i have

RE: Validator Framework 1.29

2006-12-20 Thread nagesh.kumar
Use this -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 9:16 AM To: Struts Users Mailing List Subject: Re: Validator Framework 1.29 On 12/20/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: > Hello, >

Re: Validator Framework 1.29

2006-12-20 Thread Niall Pemberton
On 12/20/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: Hello, I am having some issues with getting the messages from the validator framework from showing. Actually, I have some old code like this: that used to work, before upgrading

Testing Struts

2006-12-20 Thread Pierre Goupil
Hello, listers ! I'm getting used to Struts, now. And I must admit it's really a great tool ! I'm going to give Spring a try, but I don't think I'll drop Struts for that. It seems that they both integrate seamlessly. But there's still one thing I really can't figure out : how do you test a Stru

Struts application - unit and integration testing

2006-12-20 Thread Shulinskiy, Andrey
Hi, folks, We're starting to develop a front-end layer of our application using Struts, decided to go with Struts 1.3.5. We're going to unit test the actions (most likely with MockRunner http://mockrunner.sourceforge.net/index.html), however, another idea is to do some integration testing that c

Tomcat in SSL mode with Eclise built in plugin

2006-12-20 Thread Ranjan Kumar Baisak
Hi, I am running tomcat in eclipse environment using built in eclipse plugin. When I am starting tomcat from eclipse, then I am getting following error while trying to access my web application. "Error Establishing an encrypted connection to localhost. Error Code : -12188" I also googled

Re: S2 + Spring 2.0 + JSTL question

2006-12-20 Thread Musachy Barroso
Never mind :). StrutsRequestWrapper, for future reference. thanks musachy Musachy Barroso wrote: What is the class doing the wrapping? musachy Don Brown wrote: I'm not sure why...we wrap the request so that calls to getAttribute also search the value stack, which should return a value for th

Re: S2 + Spring 2.0 + JSTL question

2006-12-20 Thread Don Brown
StrutsRequestWrapper On 12/20/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: What is the class doing the wrapping? musachy Don Brown wrote: > I'm not sure why...we wrap the request so that calls to getAttribute > also search the value stack, which should return a value for the > property. Try

Re: S2 + Spring 2.0 + JSTL question

2006-12-20 Thread Musachy Barroso
What is the class doing the wrapping? musachy Don Brown wrote: I'm not sure why...we wrap the request so that calls to getAttribute also search the value stack, which should return a value for the property. Try stepping through with the debugger to see what is happening. Don On 12/20/06, Mus

[S2] - access to the action from a JSP page

2006-12-20 Thread Dariusz Wojtas
Hi, Can somebody help me and give an example how to access the 'parent' action from a JSP page? Lets say I have MyTestAction which redirects to 'page.jsp'. How do I get access to the action (it's properties?) <% MyTestAction act = ... ? %> Darek

Re: S2 + Spring 2.0 + JSTL question

2006-12-20 Thread Don Brown
I'm not sure why...we wrap the request so that calls to getAttribute also search the value stack, which should return a value for the property. Try stepping through with the debugger to see what is happening. Don On 12/20/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: It works fine with s:prop

Re: S2 + Spring 2.0 + JSTL question

2006-12-20 Thread Musachy Barroso
It works fine with s:property, c:out is the one that doesn't work. thanks musachy Martin Gainty wrote: believe this is because of default PageContext scoping if name is a request param then use if name is a request scoped variable then use Anyone else? M- --

Re: [s2] Zero configuration and interceptors

2006-12-20 Thread Don Brown
To include certain interceptors or stacks, you need to create a package in struts.xml, set the default interceptor stack for that package, then inherit that package in your action via the @ParentPackage annotation. Currently, we don't have any @InterceptorStack annotations, but if you have a sugg

Re: S2 + Spring 2.0 + JSTL question

2006-12-20 Thread Martin Gainty
believe this is because of default PageContext scoping if name is a request param then use if name is a request scoped variable then use Anyone else? M- --- This e-mail message (including attachments, if any) is intended

[s2] Zero configuration and interceptors

2006-12-20 Thread Nate Drake
Hi, I was playing around with the zero configuration stuff in Struts 2.0.2, but I didn't see any way to specify what interceptors (or stacks) that an action should use. Are there plans to add support for this in the future? Thanks! Nate

Re: Values of multiple tag are not being selected

2006-12-20 Thread Dale Newfield
I submitted a JIRA issue about this a week or so ago, and Ted marked that it will be fixed by the 2.0.3 release. If you find anything more about this, could you please add it to the JIRA issue? http://issues.apache.org/struts/browse/WW-1557 -Dale Célio Cidral Junior wrote: Given the follow

Re: [OT] ajaxArea embedded with displayTag

2006-12-20 Thread Joseph McGranaghan
After playing with ajaxTags to no avail (on this problem anyways ), I switched to AjaxAnywhere for use with displayTag. Took about 20 min total using this awesome source! Works like a charm :) -Joe [EMAIL PROTECTED] wrot

Validator Framework 1.29

2006-12-20 Thread Jim Reynolds
Hello, I am having some issues with getting the messages from the validator framework from showing. Actually, I have some old code like this: that used to work, before upgrading to 1.29. I am getting this error: "ccording to TLD or attr

Values of multiple tag are not being selected

2006-12-20 Thread Célio Cidral Junior
Given the following code: myPage.jsp: MyAction.java: public Set getSelectedRoles() { Set ids = new HashSet(); for (Role role : selectedRoles) ids.add(Integer.toString(role.getId())); return ids; } public List getAllRoles() { r

S2 + Spring 2.0 + JSTL question

2006-12-20 Thread Musachy Barroso
I'm using S2 with Spring 2.0 as the object factory, and I have an action with a property "name".On my jsp I have: JSTL: S2: Here is the weird part, when the page loads doesn't display anything, but does, if I keep hitting "refresh", sometimes the JSTL one displays the property. After 3 h

[OT]Does Exadel Studio Support IBM RAD?

2006-12-20 Thread Caroline Jen
I used the Exadel as Struts development tool before and liked it. At that time, my IDE was Eclipse. Now, I have to use IBM RAD as IDE. Does the Exadel support RAD? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

Re: S2 / Mailreader IBatis implementaiton ?

2006-12-20 Thread Larry Meadors
No, but I may try to work on something like that over the Christmas break. You may want to check out these two: http://learntechnology.net/webwork-crud-lm.do http://learntechnology.net/webwork-crud.do Both are done with webwork2, but the it is so darn close that the changes are pretty trivial.

Core Tag Question Struts 1.29

2006-12-20 Thread Jim Reynolds
Hello, I am refactoring some code, and ran into an error, I cannot quite figure out. I have the following line in my jsp page. I have an include at top of jsp page that includes a page of taglibs. <%@ include file="/includes/imports.jsp" %> That file has the core tag here: <%@ taglib uri="htt

RE: S2 / Mailreader IBatis implementaiton ?

2006-12-20 Thread Sakari.Isoniemi
Hai Is S2 / Mailreader / IBatis version downloadable somewhere ? /S