How to implement multi tenancy with separate database in struts and hibernate?

2014-07-08 Thread Kevin Peterson
Hi, We have an application wherein we want to keep separate database for each client. We want to achieve this using multi tenancy approach. A working example will be highly appreciated. Thanks, Kevin Peterson - To

Passing input from jsp to action class

2013-09-30 Thread Kevin Peterson
string is a time taking process. Is the any other solution for this?? Thanks in advance. Thanks, Kevin Peterson - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: [Struts 2] How can I receive notification when the web app has been destroyed?

2012-08-24 Thread Kevin Duffey
As another said.. in web.xml you configure a servlet context listener, in your code you provide a class that implements the ServletContextListener and you can use it to know when the app is deployed and undeployed. On Fri, Aug 24, 2012 at 12:54 PM, John Boyer wrote: > So that I can cleanup reso

RE: Wizard (multipage flow) with Struts 2

2012-02-02 Thread Biesbrock, Kevin
izard (multipage flow) with Struts 2 Yes, I am looking at that. Have you used that? Regards, Shrinivas -Original Message- From: Biesbrock, Kevin [mailto:biesbrock.ke...@aoins.com] Sent: 02 February 2012 00:54 To: 'Struts Users Mailing List' Subject: RE: Wizard (multipage flow) with St

RE: Wizard (multipage flow) with Struts 2

2012-02-01 Thread Biesbrock, Kevin
Did you already look at the ScopedModelDriven approach? Beez -Original Message- From: Shrinivas Parashar [mailto:shrinivas_paras...@symantec.com] Sent: Wednesday, February 01, 2012 8:39 AM To: Struts Users Mailing List Subject: RE: Wizard (multipage flow) with Struts 2 Thanks eric for

RE: BigDecimal type conversion

2011-12-19 Thread Biesbrock, Kevin
3:25 PM To: Struts Users Mailing List Subject: Re: BigDecimal type conversion Either a type convertor, or an interceptor that trims everything. d. On Dec 19, 2011 3:23 PM, "Biesbrock, Kevin" wrote: > Our application is rolling with Struts 2.2.1. > > One action class implements Mo

BigDecimal type conversion

2011-12-19 Thread Biesbrock, Kevin
Does #2 sound like the best solution? Do you have a more efficient or less "custom" approach? Thank you for your time, Kevin Biesbrock

RE: how to make onchange in s:select to submit a form and call a specific method in one action class

2011-08-11 Thread Biesbrock, Kevin
The onchange attribute expects JavaScript. So you'd have to write a function to use ajax to make your request to /process_change.action. --- d[-_-]b Beez > -Original Message- > From: Emi Lu [mailto:em...@encs.concordia.ca] > Sent: Thursday, August 11, 2011 11:16 AM > To: Struts Users Ma

RE: jsp caching problem

2011-06-13 Thread Biesbrock, Kevin
There is not an "autocomplete=on" anywhere in your application. These previous entries are coming from the browser, as Mr. Lentz suggested. To confirm, open IE and go to tools > internet options > delete... > uncheck everything except Form data > Click Delete. Then try your application again. Be

RE: Where's the best way to test session timeout?

2011-05-23 Thread Biesbrock, Kevin
1 ? Beez - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: Separate Java Bean Class for Getter/Setter method.

2011-05-18 Thread Biesbrock, Kevin
You have to override the Object's toString method. Why is your map holding a Object? Should be one of your classes. Beez r 5347 > -Original Message- > From: arin_12 [mailto:arin...@lycos.com] > Sent: Wednesday, May 18, 2011 1:13 PM > To: user@struts.apache.org > Subject: Re: Separat

RE: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-18 Thread Biesbrock, Kevin
> I think you need to wrap test in either single or double quotes. Seems like double. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: [OT] Re: Iterator tag and enumeration

2011-05-13 Thread Biesbrock, Kevin
t; On Fri, May 13, 2011 at 10:17 AM, Biesbrock, Kevin wrote: > > This peaked my interest [...] > > Piqued, piqued. > > Dave > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For

RE: Iterator tag and enumeration

2011-05-13 Thread Biesbrock, Kevin
This peaked my interest so a colleague of mine and I talked about it and came up with this working example: jsp: action: private String color; // "RED", "GREEN", or "BLUE" Color selectedColor = Color.valueOf(color); enum: public enum Color { RED ("Red"), GREEN ("Green"), BLUE ("

RE: Struts2/Velocity Integration

2011-04-19 Thread Biesbrock, Kevin
From: Dave Newton [mailto:davelnew...@gmail.com] Tuesday, April 19, 2011 3:06 PM > You'd create a tag; there aren't any out-of-the-box in S2, although there might be a third-party taglib that'd do it. It's really, really easy. Okay. Just not something I've done previously. No better time to lear

RE: Struts2/Velocity Integration

2011-04-19 Thread Biesbrock, Kevin
Now we're narrowing in: > Do I need to create my own taglib for 'v'? There seems to be little documentation with regard to this for Struts2 and Velocity. But this is the very thing I would like to accomplish. Or perhaps I'm overlooking it; could you point to documentation for this?

RE: Struts2/Velocity Integration

2011-04-19 Thread Biesbrock, Kevin
From: Dave Newton [mailto:davelnew...@gmail.com] Tuesday, April 19, 2011 2:41 PM >The response was embedded/implied; if there's no data model at all then it doesn't matter if you have a simple >tag around template rendering or within the action itself. Going through an entire request process is un

RE: Struts2/Velocity Integration

2011-04-19 Thread Biesbrock, Kevin
From: Dave Newton [mailto:davelnew...@gmail.com] Tuesday, April 19, 2011 2:18 PM > we just discussed this topic within the last few days. If you're referring to my previous question, that was never resolved. It was left with: > From: Dave Newton [mailto:davelnew...@gmail.com] >> Do the templates

Struts2/Velocity Integration

2011-04-19 Thread Biesbrock, Kevin
I am having a difficult time finding documentation on how to integrate Struts 2 and Velocity. Can the Struts2 community offer any aid? I'm asking here first because it was recommended I use Velocity by a member of this group. I found the Velocity taglib that seems like it would be exactly what I

RE: Velocity Inclusion in JSP

2011-04-15 Thread Biesbrock, Kevin
From: Dave Newton [mailto:davelnew...@gmail.com] > Do the templates use the same models as the web layer? Actually, it would have been good to note that the contact information is hard-coded. So there is no need for a model. I literally just need to include a block of html-/css-formatted text.

Velocity Inclusion in JSP

2011-04-15 Thread Biesbrock, Kevin
There seem to be plenty of documents outlining how to include a jsp in a velocity template, but not the other way around. I am having a difficult time finding information on how to include a Velocity template in a JSP. I recognized the s:component tag could work, but my templates are not currentl

RE: Creating menu bar based on session information

2011-04-15 Thread Biesbrock, Kevin
> Yeah Actually, you added a spelling mistake (+e on Privileg). However, the previous example would work fine. So a hybrid of the two: Yeah is sufficient. Beez - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org F

RE: Reading .properties From Top-Level Package

2011-04-14 Thread Biesbrock, Kevin
>I wouldn't consider storing HTML in a properties file. That sounds messy. Not only does it sound messy, it looks pretty fugly, too! > I would explore using Velocity. Thank you for the guidance, sir! Sincerely, Beez - To unsu

Reading .properties From Top-Level Package

2011-04-14 Thread Biesbrock, Kevin
I have the following business requirement: -Include "common contact information" (i.e., the director and her staff) in a view that will also be used at the bottom of an email sent out by the same system We would like to keep the formatting of said contact information consistent wherever it

RE: form action is not calling while click on submit button: Struts2.0

2011-04-13 Thread Biesbrock, Kevin
on is not calling while click on submit button: Struts2.0 Probably that whole tags-being-interpreted-as-tags this in HTML emails, which is why plain-text emails are better for lists. Dave On Wed, Apr 13, 2011 at 10:15 AM, Biesbrock, Kevin wrote: > That's strange.  Why doesn't the

RE: form action is not calling while click on submit button: Struts2.0

2011-04-13 Thread Biesbrock, Kevin
That's strange. Why doesn't the code come through in the email but it shows up on the nabble site? Beez -Original Message- From: arun [mailto:arunnh...@gmail.com] Sent: Wednesday, April 13, 2011 12:45 AM To: user@struts.apache.org Subject: Re: form action is not calling while click on

RE: RE: loading Dropdown dynamically from database

2011-03-16 Thread Biesbrock, Kevin
I feel like this should be added to the documentation, too. ::snicker:: Sorry, OT. Beez -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Wednesday, March 16, 2011 9:43 AM To: Struts Users Mailing List Cc: JavaNoobie87 Subject: Re: RE: loading Dropdown dynamicall

RE: JSON Property

2011-02-07 Thread Biesbrock, Kevin
gt;>> > >> >>> > >> On Wed, Jan 5, 2011 at 2:47 AM, Chris Pratt >>> > >> >>> > >> wrote: >>> > >> >>> > >> > The "obvious" place to me would seem to be the Struts 2 JSON >>>

RE: JSON Property

2011-02-07 Thread Biesbrock, Kevin
t;> Plugin to >>> > transform >>> > >> his Java Objects to JSON. >>> > >> >>> > >> On Wed, Jan 5, 2011 at 2:47 AM, Chris Pratt >>> > >> >>> > >> wrote: >>> > >> >>> &g

RE: AJAX & Sessions

2011-01-28 Thread Biesbrock, Kevin
I'm so glad I follow this mailing list! I wasn't looking for this answer, but This is quite helpful! Thank you, Chris! Beez -Original Message- From: Chris Pratt [mailto:thechrispr...@gmail.com] Sent: Friday, January 28, 2011 12:08 AM To: Struts Users Mailing List Subject: Re: AJAX & Ses

RE: How to use an application scoped variable in ?

2011-01-11 Thread Biesbrock, Kevin
Awesome! Glad that worked for ya! Beez -Original Message- From: Rubens Gomes [mailto:rub...@pocketgear.com] Sent: Tuesday, January 11, 2011 12:01 PM To: Struts Users Mailing List Subject: RE: How to use an application scoped variable in ? Thanks. The following also worked:

RE: How to use an application scoped variable in ?

2011-01-11 Thread Biesbrock, Kevin
minus sign, I am renaming all my variables to use the "camel" notation which is what I use throughout all my Java code anyway. Thanks, Rubens. From: Biesbrock, Kevin [biesbrock.ke...@aoins.com] Sent: Tuesday, January 11, 2011 11:43 AM To: Struts Users

RE: How to use an application scoped variable in ?

2011-01-11 Thread Biesbrock, Kevin
I prefer camel case anyway for my variable names but if you like the hyphen, I think you could do something like this: %{#application['viewRegister']} Beez r 5347 -Original Message- From: Rubens Gomes [mailto:rub...@pocketgear.com] Sent: Tuesday, January 11, 2011 11:38 AM To: Struts U

RE: JSON Property

2011-01-04 Thread Biesbrock, Kevin
> I don't want to use a separate roundtrip for loading the jqGrid for two reasons: > 1. I want to handle the contents of the grid, and additional fields, in a single transaction. > 2. It's inefficient and unnecessary. > Obviously the first is the more important :) I think you could do something l

RE: Multiple Submit Buttons problem in Struts2

2011-01-03 Thread Biesbrock, Kevin
ng is that anybody with a CLA on file can help. (The uncool thing is that we get that kind of help more rarely than might be optimal.) Dave On Mon, Jan 3, 2011 at 11:33 AM, Biesbrock, Kevin wrote: > Should this be included in documentation as a more complex example of > Struts2? Maybe an e

RE: Multiple Submit Buttons problem in Struts2

2011-01-03 Thread Biesbrock, Kevin
Should this be included in documentation as a more complex example of Struts2? Maybe an example action as well? Just a thought. -Beez -Original Message- From: stanl...@gmail.com [mailto:stanl...@gmail.com] Sent: Sunday, January 02, 2011 5:20 PM To: Struts Users Mailing List Subject: R

RE: Help... My url grows...

2010-12-14 Thread Biesbrock, Kevin
Let's see your location assign jsp as well. Beez > From: Ellson, Jared L > Sent: Tuesday, December 14, 2010 4:24 PM > > Hey anybody have a quick idea what would cause my URL to grow. > > First time I hit the page: > > http://localhost:8080//struts/locationAssign > > submit the page then

RE: Struts Interceptors

2010-12-10 Thread Biesbrock, Kevin
On Friday, December 10, 2010 2:33 PM, Dave Newton wrote: > if you want to do something before rendered you need to implement PreResultListener. I will keep this in mind. As far as the redirect issue, I just need to rework my actions a bit, I guess. I appreciate your wealth of knowledge, Dave.

RE: Struts Interceptors

2010-12-10 Thread Biesbrock, Kevin
around the next interceptor's execution, and eventually, the action itself. If the interceptor is firing twice there's been to requests, which could be a result of a redirect. Dave On Fri, Dec 10, 2010 at 1:50 PM, Biesbrock, Kevin wrote: > I'm not really sure how to ask this q

Struts Interceptors

2010-12-10 Thread Biesbrock, Kevin
I'm not really sure how to ask this question, so please bear with me. Requirement: The system has several functions which a typical user can perform. The user selects a function and the appropriate action is executed. If that action implements myObjectAware, myObjectInterceptor retrieves myObje

RE: Problem using scriplet object in s:if tag

2010-12-10 Thread Biesbrock, Kevin
le contexts...I think that may be your only option. Or change your scriplets to use mailto:ashish.chawr...@gmail.com] Sent: Friday, December 10, 2010 11:37 AM To: Struts Users Mailing List Subject: Re: Problem using scriplet object in s:if tag Thanks a lot Kevin. It works but I am wondering

RE: Problem using scriplet object in s:if tag

2010-12-10 Thread Biesbrock, Kevin
try this: Logout It's stored in session and your attribute name is user per your previous scriplet. Beez r 5347 -Original Message- From: ashish chawre [mailto:ashish.chawr...@gmail.com] Sent: Friday, December 10, 2010 10:22 AM To: Struts Users Mailing List Subject: Problem using sc

RE: Struts 1 and AJAX

2010-12-03 Thread Biesbrock, Kevin
> From: Anjib Mulepati [mailto:anji...@hotmail.com] > It still add blank row in table when invalid. The 'returnValue' variable is actually a jQuery object. I think you might have to do like returnValue.data or something to get the actual response text out of it. Beez --

RE: Struts 1 and AJAX

2010-12-03 Thread Biesbrock, Kevin
Gosh, you're so close. If you change this method: function fnClickAddEmail() { var email = $("input#email").val(); $.post( "validateEmail.do", {sendValue: email}, function(returnValue){ //Does this function called even my email is invalid? Am I getting email

RE: Struts 1 and AJAX

2010-12-02 Thread Biesbrock, Kevin
You *need* a means of telling your application whether the validation was successful or a failure. All you're currently doing is reiterating to your server of a successful or failed validation...which it already knows by virtue of your validation method. As Dave and I have both suggested, a JSON

RE: best way to ajaxize a Struts2 application

2010-12-02 Thread Biesbrock, Kevin
I read some statistics that jQuery is the fastest JavaScript library. It was between jQuery and Dojo, but Dojo failed tests in some browsers. I used to be a Prototype/Scriptaculous fan until I realized how much better jQuery performs. And jQuery has a really good user base with great documentatio

RE: Struts 1 and AJAX

2010-12-02 Thread Biesbrock, Kevin
> Although personally I'd still use JSON; easier. > Dave Yep. So a successful response could look like this: response = { validEmail:true, emailAddress:'user@struts.apache.org' } and a failed response could look like this: response = { validEmail:false, emailAdd

RE: Calling Struts Action from JavaScript

2010-12-01 Thread Biesbrock, Kevin
But I am still confuse whether I should use JSON or not? My result are set of records from the database so it have tabular form. For that reason I am using Arraylist of Object and putting those result in arraylist. Is this a good practice? Anjib On 12/1/2010 10:26 AM, Biesbrock, Kevin w

RE: Calling Struts Action from JavaScript

2010-12-01 Thread Biesbrock, Kevin
Example: http://www.json.org/example.html All the information you could want and so much more: http://www.google.com/search?q=json Beez -Original Message- From: Anjib Mulepati [mailto:anji...@hotmail.com] Sent: Wednesday, December 01, 2010 10:24 AM To: Struts Users Mailing List Subjec

RE: Link Display Logic

2010-11-30 Thread Biesbrock, Kevin
Authorized" and I have to invoke it e.g., . If I change 'authorized' to 'isAuthorized', then my else block is executed. Beez r 5347 -Original Message- From: Biesbrock, Kevin Sent: Tuesday, November 30, 2010 11:06 AM To: 'Zoran Avtarovski'; 'Struts U

RE: Link Display Logic

2010-11-30 Thread Biesbrock, Kevin
i [mailto:zo...@sparecreative.com] Sent: Monday, November 29, 2010 6:45 PM To: Struts Users Mailing List; Biesbrock, Kevin Subject: Re: Link Display Logic What we have implemented is a set of public authorisation methods in our base action which we call via ognl passing the actionId as the paramet

RE: Link Display Logic

2010-11-29 Thread Biesbrock, Kevin
t 1:41 PM, Biesbrock, Kevin wrote: > Hello users. I'm Kevin, first time caller, long time listener (Mr. > Obvious reference). > > I have two reports and need to display a link for each if the > following conditions are met: >1. The user is authorized to view the rep

Link Display Logic

2010-11-29 Thread Biesbrock, Kevin
Hello users. I'm Kevin, first time caller, long time listener (Mr. Obvious reference). I have two reports and need to display a link for each if the following conditions are met: 1. The user is authorized to view the reports (they are secured), and 2. The specific report curr

Re: REST URLs

2010-07-26 Thread Kevin Jones
I've heard back from Jeromy Evans. He's happy for me to post the code. Unfortunately it may not be until the weekend as I'm on the road at the moment, Kevin On 26 July 2010 14:11, Kevin Jones wrote: > There is a cached copy of the site here > > http://webcache.google

Re: REST URLs

2010-07-26 Thread Kevin Jones
he replies I'll put it somewhere where it can be downloaded, Kevin On 26 July 2010 12:36, Arun Kumar Boppudi wrote: > http://www.blueskyminds.com.au/url-hierarchy/ is not available. > -- AB > > > On Mon, Jul 26, 2010 at 4:30 PM, Kevin Jones wrote: > >> Yes it is. &

Re: REST URLs

2010-07-26 Thread Kevin Jones
http://www.blueskyminds.com.au/url-hierarchy/ but the link is broken at the moment. I've used the code as an example and it all seems to work. Ping me if you can't get the code and I can send it to you (it's licensed under the Apache license so it's OK to share), Kevin Jones On 26 Ju

Re: Adding annotations to the interceptor stack

2010-07-26 Thread Kevin Jones
Thanks Lukasz, I found this out the hard way :) Kevin On 26 July 2010 09:31, Lukasz Lenart wrote: > defaultStack [1] already has validation interceptor defined, you > shouldn't duplicate it. > The best way is to create your own stack and play with interceptors - > not to ref

Adding annotations to the interceptor stack

2010-07-22 Thread Kevin Jones
and validation? Thanks, -- Kevin - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Strang issue with NamedVariablePatternMatcher

2010-07-22 Thread Kevin Jones
ostsController implements ModelDriven Notice that the parameter is blogsId not blogId - it appears that the name matters, Kevin On 22 July 2010 12:31, Kevin Jones wrote: > I'm using Struts2, REST with the Convention plugin and the > NamedVariablePatternMatcher along with some cod

Strang issue with NamedVariablePatternMatcher

2010-07-22 Thread Kevin Jones
his before and can point me in the right direction. Thanks, -- Kevin - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: REST and Non-REST actions

2010-07-20 Thread Kevin Jones
Thanks All. I'll give it a go, Kevin On 20 July 2010 16:37, Johannes Geppert wrote: > > you can get current release from here. > > http://people.apache.org/builds/struts/2.2.1/ > > Johannes > > > Kevin Jones-10 wrote: >> >> Thanks Lukasz, >> &

Re: REST and Non-REST actions

2010-07-20 Thread Kevin Jones
Thanks Lukasz, where can I grab the 2.2.1 bits? - there doesn't seem to be a link on the site. Do I need to get the sources and build it? Kevin On 20 July 2010 11:06, Lukasz Lenart wrote: > 2010/7/20 Kevin Jones : >> Simple question (I think), >> >> when using the R

REST and Non-REST actions

2010-07-20 Thread Kevin Jones
Simple question (I think), when using the REST plugin, can I have two 'controllers' one that expects REST urls/verbs and one that is a standard Struts2 Action, i.e. where I can map incoming URLs to action methods? Hope that makes sense,

Re: Struts, Convention plugin and REST plugin

2010-07-16 Thread Kevin Jones
w", type = "tiles") }) public class SimpleController { public string index(){return "index";} public string show(){return "show";} } In both apps I'm using Tiles but the problem was the same whether or not I was using Tiles, the routing simply didn&#x

Struts, Convention plugin and REST plugin

2010-07-15 Thread Kevin Jones
for action com.mantiso.jsblog.actions.PostsController and result newpost" or "No result defined for action com.mantiso.jsblog.actions.PostsController and result posts" Any help would be gratefully accepted, -- Kevin -

Re: Struts 1 - Initialization versus validation

2009-09-14 Thread Kevin Hale Boyes
request.getAttribute(Globals.ERROR_KEY); boolean haveErrors = (errors != null && !errors.isEmpty()); and then switch on haveErrors. Kevin. 2009/9/14 Paweł Wielgus : > Hi Kevin, > as far as i know form.reset(...) should be used to reset form fields, > one good example is check

Struts 1 - Initialization versus validation

2009-09-14 Thread Kevin Hale Boyes
that? As noted in the subject, this is on Struts 1 and I'm using struts-validation. Thanks, Kevin. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

[S2] Validation message truncated

2009-02-23 Thread Kevin Wade
validation error on that field, then the message gets truncated to: "Additional information for court cannot be more than 1000 ch" In both cases, the field is the 25th one (second-to-last) in the validation file. Bizarre. Any ideas? Kevin

RE: s:a tag

2009-01-15 Thread Biesbrock, Kevin
omething ;) >Dave Sorry. I was referring to the Address Bar. Kevin - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: s:a tag

2009-01-14 Thread Biesbrock, Kevin
f the page). AFAIK JavaScript can't handle renaming a url without communicating it to the server. Kevin -Original Message- From: Jaarthy [mailto:aarthyj...@yahoo.com] Sent: Wednesday, January 14, 2009 1:48 PM To: user@struts.apache.org Subject: Re: s:a tag No.I am not saying tha

RE: Tiles with Struts 2.1.5

2009-01-07 Thread Biesbrock, Kevin
an 7, 2009 at 4:21 PM, Biesbrock, Kevin wrote: > Aha! I had this same problem and was planning on submitting it today. > You beat me to it. > > Commons Digester does not appear to be released with Struts 2.x ... > unless it is not named with "Digester" or I'm missing i

RE: Tiles with Struts 2.1.5

2009-01-07 Thread Biesbrock, Kevin
Aha! I had this same problem and was planning on submitting it today. You beat me to it. Commons Digester does not appear to be released with Struts 2.x ... unless it is not named with "Digester" or I'm missing it. Beez ( 4961 -Original Message- From: Musachy Barroso [mailto:musa...@g

RE: Bean Properties are lost

2008-12-22 Thread Biesbrock, Kevin
erty, but then I was getting "invalid value" error when I submit the form. Please not I do not have any validation rules configured for the hidden properties. - Richa -Original Message- From: Biesbrock, Kevin [mailto:biesbrock.ke...@aoins.com] Sent: Monday, December 22, 2008 7:

RE: Bean Properties are lost

2008-12-22 Thread Biesbrock, Kevin
Make sure you're putting everything in your jsp. If the field doesn't need to be displayed, use the tag. The problem is with your internal mail server. Your company's spam filter is viewing your email as spam; whether it be the destination or content in your message, I don't know. See if the

RE: [Struts2] String Comparison using s:if tag

2008-12-19 Thread Biesbrock, Kevin
Shoot. I'm gonna stop trying :P Beez ( 4961 -Original Message- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Friday, December 19, 2008 4:22 PM To: Struts Users Mailing List Subject: Re: [Struts2] String Comparison using s:if tag http://struts.apache.org/2.x/docs/why-won

RE: [Struts2] String Comparison using s:if tag

2008-12-19 Thread Biesbrock, Kevin
Try: user.sex.equals('M') Beez ( 4961 -Original Message- From: Raghu [mailto:techhel...@gmail.com] Sent: Friday, December 19, 2008 4:20 PM To: Struts Users Mailing List Subject: [Struts2] String Comparison using s:if tag Hi, I am trying to do String comparison in s:if tag as below b

RE: How can I "parameterize" include files?

2008-12-17 Thread Biesbrock, Kevin
Try %{param.foo} or %{#attr[param.foo]} ?? Beez ( 4961 -Original Message- From: James Carr [mailto:james.r.c...@gmail.com] Sent: Wednesday, December 17, 2008 4:28 PM To: Struts Users Mailing List Subject: Re: How can I "parameterize" include files? I have.. .it doesnt evaluate correct

RE: [S2 V2.0.14] value attribute has rtexprvalue=false - shouldn't it be rtexprvalue=true? - [SOLVED]

2008-12-17 Thread Biesbrock, Kevin
Sorry, I missed the "After " portion... Beez ( 4961 -Original Message- From: Robert Graf-Waczenski [mailto:r...@lsoft.com] Sent: Wednesday, December 17, 2008 11:33 AM To: Struts Users Mailing List Subject: Re: [S2 V2.0.14] value attribute has rtexprvalue=false - shouldn't it be rtexp

RE: [S2 V2.0.14] value attribute has rtexprvalue=false - shouldn't it be rtexprvalue=true? - [SOLVED]

2008-12-17 Thread Biesbrock, Kevin
In your iterator, the status attribute defined (e.g., status="stat" in your case) is an object of type "IteratorStatus". It has methods defined: getCount, getIndex, isEven, isFirst, isLast, isOdd, and modulus. You could check isLast to find the last row (e.g., stat.isLast == true). Beez ( 4961

RE: [OT] EL expressions

2008-12-17 Thread Biesbrock, Kevin
Have you tried the OGNL version; using %{param} ? Assuming your param is defined on the value stack, this seems worthy of an attempt. Beez ( 4961 -Original Message- From: Lorenzo Carnevale [mailto:lorenzo.carnev...@innovery.it] Sent: Wednesday, December 17, 2008 8:59 AM To: Struts Subj

Re: [s2] getting checkbox values in nested iterator tags

2008-08-07 Thread Kevin Wade
Chris Farley: "stupid! stupid! stupid!" On Aug 7, 2008, at Thursday, August 7, 2008 - 9:28 AM, Kevin Wade wrote: S2 2.0.11. The selected field is a boolean. And there are isSelected() and setSelected() methods. Thanks for asking. On Aug 7, 2008, at Thursday, August 7, 2008 - 9

Re: [s2] getting checkbox values in nested iterator tags

2008-08-07 Thread Kevin Wade
you write a getSelected() getter? or is it an isSelected() getter? 2008/8/7, Kevin Wade <[EMAIL PROTECTED]>: This is probably simple and I think I'm close, but I can't quite get it to work: the proper ognl expression to use to get the value of a checkbox w/in nested iterator ta

[s2] getting checkbox values in nested iterator tags

2008-08-07 Thread Kevin Wade
nterceptor - ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'parentList[1].childList[2].selected' on 'class com.blackstream.yardly.actions.comments.CommentsPrintAction: Error setting expression 'parentList[1].childList[2].selected' with value '[Ljava.lang.String;@6d650f' Any ideas what I'm doing wrong? Kevin

Re: [s2] conversion validator and repopulateField

2008-04-02 Thread Kevin Wade
e date tag like this since what's being repopulated most likely won't be a valid date. To get around this, I just added a test for the presence of fielderrors before using the s:date tag. If none are there, then use the date tag. If it is there, then just display the reviewdate f

[s2] conversion validator and repopulateField

2008-04-02 Thread Kevin Wade
"moviereview" object that has a getter and setter (i.e. "setMoviereview() and getMoviereview()"). So, "reviewdate" is a Date that belongs to that parent object. I don't know if that's related at all, though. Any idea why this isn't working? Kevin

Re: Basic validation, input, and redirects

2008-01-02 Thread Kevin Wade
mission is not erasing the OLD validation errors. I need a way to remove the old errors after they are displayed. Anyone have any ideas on that too? Thanks as always, Kevin On Jan 2, 2008, at Wednesday, January 2, 2008 - 4:35 PM, Laurie Harper wrote: Kevin Wade wrote: Greetings. I

Basic validation, input, and redirects

2008-01-02 Thread Kevin Wade
ake the Interceptor ignore the validation errors after the redirect? I tried adding a @SkipValidation annotation to the execute() method of Action1, but that did nothing. Any ideas? Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

2.0.11 Documentation Confusion

2007-12-21 Thread Kevin Decker
/set.html Is this the correct URL to access the version specific documentation for 2.0.11? Thanks - Kevin

Re: Getting values from iterated objects

2007-11-17 Thread Kevin Wade
nly way to get changes back in to an object in a Set? Kevin On Nov 16, 2007, at Friday, November 16, 2007 - 11:21 PM, Dave Newton wrote: One way to create that association is by using array notation via 's "status" attribute [1] which will let you get the list index position;

Getting values from iterated objects

2007-11-16 Thread Kevin Wade
r tag. Simply putting "bio" in the textarea's "name" obviously doesn't work. I've tried about 8 or 9 different things, but none work. I'm sure it's got to be simple, but the solution eludes me. What should the textarea's "name" be to get struts2 to update the specific report.author.bio String? Thanks, Kevin

Re: [s2] select tag not setting parameter

2007-10-15 Thread Kevin Wade
ng me in the right direction. Kevin On Oct 12, 2007, at 7:03 PM, Marcos Hernandez wrote: Just as a debug thought: what happens when you fill the list parameter with a couple of counties/value pairs by hand? On the other hand, does the generated HTML have a full list of values aside of th

Re: [s2] select tag not setting parameter

2007-10-12 Thread Kevin Wade
es from my list (a java.util.List called "counties") ok and building a correct looking drop-down html select element. But I can't get the tag to set "county" to... well, anything at all, on submit. BTW, I'm using 2.0.9. Kevin On Oct 12, 2007, at 4:55 PM, Dave

Re: [s2] select tag not setting parameter

2007-10-12 Thread Kevin Wade
Bump. Any one have any ideas at all? I'm sure I'm just doing something incorrect w/ the select tag but just can't see it. Kevin On Oct 8, 2007, at 4:59 PM, Kevin Wade wrote: I'm having difficulty with a struts 2 form (jsp) that includes the use of a select tag. In sh

[s2] select tag not setting parameter

2007-10-08 Thread Kevin Wade
I'm having difficulty with a struts 2 form (jsp) that includes the use of a select tag. In short, I can't seem to get the select tag to set the parameter when submitted. Here's the scenario. My form (for searching by last name, first name, and "county" fields) looks like this:

[S2] 404 handling

2007-09-24 Thread Kevin Lawrence
can't even use getText() for localization. Is there a way to make it work or should I concede defeat? 2. What's the right way to handle 404s (and similar errors) struts2? -- Kevin http://www.junitfactory.com You send us code. We send you tests. For free.

Re: [s2] generator & iterator tags

2007-09-21 Thread Kevin Wade
e the id parameter w/in the generated iterator does indeed work. I was attempting to use "id" w/in the generator tag which does not. So, in the end, this works for me: groupname is: Thanks for your help. Kevi

[s2] generator & iterator tags

2007-09-21 Thread Kevin Wade
ognl expression to get the current value of the iterator created by the generator. Any ideas? Kevin

Re: Dojo refresh in firefox2.0 on Ubuntu

2007-09-11 Thread Kevin Lawrence
;2000" > >delay="2000" > >showLoadingText="false" > >errorText="The queue status is not currently available"> > > > > > > > > This works for me in every OS/browser combination except firefox

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Kevin Lawrence
reason. -- Kevin http://www.junitfactory.com You send us code. We send you tests. For free. On 9/6/07, Adam Hardy <[EMAIL PROTECTED]> wrote: > > Zoran, > > what do you want to script in the tags? I would be interested in a small > example, only because I often find my use of

Dojo refresh in firefox2.0 on Ubuntu

2007-09-06 Thread Kevin Lawrence
: The page is http://www.junitfactory.com/demo/ When you click the 'Generate a Test' button, the sidebar is supposed to poll for your job status. It doesn't :-( Before switching to struts2, I had some hand-rolled javascript that worked OK. -- Kevin http://www.junitfactory.com You s

  1   2   3   >