Re: s:if test condition

2010-06-27 Thread Bill Bohnenberger
Yes, that is why I said "Since 'activated' is a String,..." On Sun, Jun 27, 2010 at 3:47 PM, Dale Newfield wrote: > lucas owen wrote: > >> Bill Bohnenberger >> >>> Since 'activated' is a String, try swapping your single& double

Re: s:if test condition

2010-06-26 Thread Bill Bohnenberger
Since 'activated' is a String, try swapping your single & double quotes, e.g. -Bill On Sat, Jun 26, 2010 at 11:28 AM, lucas owen wrote: > Hi Struts 2 users: > > I was wondering if you can use a s:if test based on a pojo's > attribute value: > > POJO: >

version conflict?

2010-02-19 Thread Bill Bohnenberger
-registry.xml at classpath resource Feb 19, 2010 11:32:53 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3094 ms Thanks, Bill

Re: struts 2, writing a custom tag that is able to access objects in ActionContext using OGNL

2010-02-01 Thread Bill Bohnenberger
Aye, but whoops, I forgot this one :) import com.opensymphony.xwork2.util.ValueStack; Cheers, Bill On Mon, Feb 1, 2010 at 2:18 PM, Jake Vang wrote: > bill, thanks for including the code (especially the import statements > so i will know where these objects/classes are coming from). >

Re: struts 2, writing a custom tag that is able to access objects in ActionContext using OGNL

2010-02-01 Thread Bill Bohnenberger
tring list) { this.list = list; } } Of course "list" is one of my custom tag's attributes and appropriately defined in my TLD. Cheers, Bill On Mon, Feb 1, 2010 at 5:04 AM, Jake Vang wrote: > i found something helpful here. it works. > > http://struts.apac

Re: Struts, Tomcat, JNDI, JDBC without use of an ORM Library such as Hibernate

2010-01-08 Thread Bill Bohnenberger
Jazz, here's a lightweight package that so far has met all of my needs: http://butterfly.jenkov.com/ ... Cheers, Bill* * On Thu, Jan 7, 2010 at 4:30 PM, Jasvinder S. Bahra < bbdl21...@blueyonder.co.uk> wrote: > I'll echo the Spring suggestion. It simplifies Action-level prog

Re: Problem with value attribute in select tag

2009-12-18 Thread Bill Bohnenberger
quot;bla" and provide setter & getter for same. - Bill On Fri, Dec 18, 2009 at 8:20 AM, Brian Thompson wrote: > I would try > > <@s.select name="bla" list=list listKey="id" listValue="str" value="%{ > object.id}" /> > > -Bri

Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to 2.1.6)

2009-11-26 Thread Bill Bohnenberger
What an amusing thread. It seems to me the only problem here is the arrogant SOB that decided to defy the Bean naming conventions. LOL. (No offense intended if he is present company :) With affection, Bill On Thu, Nov 26, 2009 at 8:31 AM, Robert Graf-Waczenski wrote: > Rafał Krupiński schr

Re: advice on building front-end rapidly

2009-11-09 Thread Bill Bohnenberger
I've used the standard edition for years, also. But for web projects I think the enterprise edition is better because I can run my web server (Tomcat) from within the IDE and therefore interactively debug servlet (in this case, struts2) code. - Bill 2009/11/9 Paweł Wielgus > Hi all,

Re: advice on building front-end rapidly

2009-11-09 Thread Bill Bohnenberger
it up" phase rather daunting :) - Bill On Mon, Nov 9, 2009 at 8:40 AM, Burton Rhodes wrote: > I would agree with eclipse as well. However, if you are trying to do > design too, the typical cycle is you create 'dumb HTML' pages in a > wysiwyg editor. Then clean up the code

Re: advice on building front-end rapidly

2009-11-08 Thread Bill Bohnenberger
I use Eclipse enterprise edition: http://eclipse.org/home/categories/index.php?category=enterprise - Bill On Sun, Nov 8, 2009 at 1:32 PM, Farshad Rabbani wrote: > > > Hi Dave, > > > > Why?! At the very least why wouldn't you use something that can edit and > >

Re: ognl problem with double value in form

2009-10-03 Thread Bill Bohnenberger
OK, thanks, Wes. Sorry I forgot to mention I was using 2.1.6. Works fine with 2.1.8 jars! Thanks again, - Bill On Sat, Oct 3, 2009 at 9:57 AM, Wes Wannemacher wrote: > Which version of struts are you using? We updated the OGNL dependency > between 2.1.6 & 2.1.8, so if this is a bu

ognl problem with double value in form

2009-10-02 Thread Bill Bohnenberger
t;! Is there some way I can get OGNL to accept the "0" and "0.0" values? Thanks, Bill B

Re: archive?

2009-09-25 Thread Bill Bohnenberger
Thanks, Antonio. On Fri, Sep 25, 2009 at 12:22 PM, Antonio Petrelli < antonio.petre...@gmail.com> wrote: > 2009/9/25 Dale Newfield : > > Bill Bohnenberger wrote: > >> > >> Is there a searchable archive for this mailing list? > > > > http://www.nabble

Re: archive?

2009-09-25 Thread Bill Bohnenberger
Thanks, Dale. On Fri, Sep 25, 2009 at 12:21 PM, Dale Newfield wrote: > Bill Bohnenberger wrote: > >> Is there a searchable archive for this mailing list? >> > > http://www.nabble.com/Struts---User-f206.html > > -Dale > > --

archive?

2009-09-25 Thread Bill Bohnenberger
Is there a searchable archive for this mailing list? - Bill

Re: Chain a global result to an action?

2009-09-10 Thread Bill Bohnenberger
t; > >>DeadEnd > >> > >> > >>... > >> > >>deadEnd.jsp > >> > >> > >>... > >> > >> > >> > >> The entire action class is: > >>

Re: Chain a global result to an action?

2009-09-10 Thread Bill Bohnenberger
sp page is displayed. - Bill On Thu, Sep 10, 2009 at 11:49 AM, Jim Collings wrote: > Anybody know what the syntax for this is? I don't seem to be getting it > right. > > > Jim C. > > - > To unsubs

Re: uploading a .xls file

2009-09-10 Thread Bill Bohnenberger
Write code in your action class to copy the temp file. You'll have to respect your application server's containment rules: I simply copy the file to a permanent place in my application context. On Thu, Sep 10, 2009 at 12:59 AM, KIRTI CHOPRA wrote: > > Thank you so much but can you please tell me

Re: uploading a .xls file

2009-09-09 Thread Bill Bohnenberger
if you use name="file" in the tag, your variable names should be "file", "fileFileName" and "fileContentType" - Bill On Wed, Sep 9, 2009 at 10:45 PM, KIRTI CHOPRA wrote: > > hi > but does it make any difference it is just variable name if

Re: How to access enum in jsp?

2009-09-06 Thread Bill Bohnenberger
Ah ha! So when code the test attribute like this: test="%{state == @com.yata.yata.actionst...@list}" it works. Thanks, Pawel! - Bill P.S. That syntax sux :-) 2009/9/6 Paweł Wielgus > Hi Bill, > You are comparing string with enum by == operator, so it's always fal

How to access enum in jsp?

2009-09-06 Thread Bill Bohnenberger
ue of "state" in the Value Stack is shown as "LIST". Thanks, Bill

Re: problem uploading a text file

2009-09-04 Thread Bill Bohnenberger
de until I restarted it. But this time I totally forgot to try that tactic :( Sorry for the bother! Bill On Fri, Sep 4, 2009 at 1:41 PM, Chris Pratt wrote: > I guess I don't understand why the interceptor would care what the content > of the file is. It's only job is to inje

Re: problem uploading a text file

2009-09-04 Thread Bill Bohnenberger
tioned all this in my original post) Bill On Fri, Sep 4, 2009 at 12:36 PM, Chris Pratt wrote: > I believe the documentation is incorrect on the web. The setUpload doesn't > take a File object, it takes a String that is the fully qualified path to > the temporary file created by t

problem uploading a text file

2009-09-04 Thread Bill Bohnenberger
or: invalid data." and all my "upload..." variables are null. Thanks, Bill

Re: Mapping FreeMarker results in struts-rest-plugin

2009-03-10 Thread Bill Stilwell
:56 PM, Musachy Barroso wrote: > xml and json are the output types (the response sent to the client). > JSP and FreeMarker are the result types, which are mapped by > Convention. Check the Convention documentation for details on how the > templates are found (same rules apply for js

Re: issues when using urlrewritefilter with struts2

2009-02-18 Thread Bill Stilwell
struts 2.1.6 and it's working fine. I'm rewriting URLs like: http://example.com/us/news to http://example.com/news?region=us It took me a while to get the rewrite rule working. I can't remember if the problems were the same as yours, but the solution was to not put the query pa

Re: [s2] rest plugin and rss output with Rome

2009-01-28 Thread Bill Stilwell
I'm mostly really loving working with the new rest/convention plugins, but there's stuff in the corners I'm still wrapping my head around. Bill -- Bill Stilwell - http://www.marginalia.org/ bill.stilw...@gmail.com - T

Re: [s2] rest plugin and rss output with Rome

2009-01-28 Thread Bill Stilwell
equest.getRequestURI(), but that seems a bit ugly). Bill On Wed, Jan 28, 2009 at 6:08 PM, Dave Newton wrote: > Have you considered writing a custom content type handler? Content type > handlers are chosen based on URL extension. > > Check the "Custom ContentTypeHandlers" section:

[s2] rest plugin and rss output with Rome

2009-01-28 Thread Bill Stilwell
t approach - from my reading of the convention plugin docs, there's no way to map a result based on the extension of the request, only the URL. Thanks in advance for any thoughts; I'd be happy to document any conclusions for inclusion on the wiki, I imagine this would be a common need. T

Re: Advanced Struts 2 Validation Question...

2008-11-13 Thread Bill Harper
ber off the top of my head if you need to implement ValidationAware as well in order to get the methods to add errors and messages. -bill On Thu, Nov 13, 2008 at 9:36 AM, Burton Rhodes <[EMAIL PROTECTED]>wrote: > How do I use validation in an [Action]-validation.xml file to validate >

[struts2] tabbedpanel bug? Remote content retrieved 2/3 times

2008-07-26 Thread Bruyn, Bill
e the tags accordingly to use 2.1.2 syntax, and I think you'll find that remote content on tab 1 calls the action 3 times. Remote content on tab 2 is called twice. Bill - Win XP IE6/FF2/Safari 3.1 Tomcat 6.0.16 JDK 1.5.0_06 Struts 2.0.11 / 2.1.2 (binary)

[s2.1.2] DEBUG: widget ID collision on ID:

2008-07-25 Thread Bruyn, Bill
ug="true". I wasn't able to find anything on the Jira / list / Google that seemed relevant to this situation - is this a known issue? Detail follows. Thanks, Bill - Win XP IE6/FF2/Safari 3.1 Tomcat 6.0.16 JDK 1.5.0_06 Struts 2.1.2

[s2] What is the name attribute of tag for?

2007-07-09 Thread Bill Johnson
Anyone know what the "name" attribute of tag in the Struts 2 configuration file is used for? The doc at the following page doesn't mention it. http://struts.apache.org/2.0.8/docs/exception-configurat

[S2] config file inheritance (extending packages) - need help

2007-07-09 Thread Bill Johnson
package. My guess is that they do get inherited and the docs are just not up to date. Anyone know? -Bill Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com

Re: optionstransferselect tag

2007-07-06 Thread Bill Johnson
You have to change the "rightid" and "leftid" values with the actual names assigned to the tags generated by the S2 tags. Does that make sense? -Bill --- [EMAIL PROTECTED] wrote: > > I've corrected it. > But when my form is submitted, values that are >

Re: optionstransferselect tag

2007-07-06 Thread Bill Johnson
The onsubmit attribute is for the tag, not the tag. -Bill --- [EMAIL PROTECTED] wrote: > > I'm trying to use the onsubmit attribute in the > s:submit tag but it fails. > The exception is saying that the attribute onsubmit > is not correct > according to submit TLD.

Re: optionstransferselect tag

2007-07-05 Thread Bill Johnson
should not require DOJO for the optionstransferselect tag to work. I think the way to fix this is to have the default theme use plain JavaScript to do the "select all" functionality and not DOJO. -Bill --- [EMAIL PROTECTED] wrote: > > Hi all, > I have a problem with the optio

[s2] no result defined error after failed validation - can someone help?

2007-07-05 Thread Bill Johnson
forming the validation. It appears Struts 2 is "caching" the "input" result after a failed validation and is attaching that result to any subsequent actions. Any ideas on how to fix this? Is this a bug in Struts 2? -Bill

[s2] how to access page-scoped variables using

2007-06-27 Thread Bill Johnson
t is created by displaytag. For some reason, my use of the tag isn't working: Any ideas? I can access the page-scoped "row" object using the following JSTL code: I'd prefer to stick to the Struts 2 tags and not have to use JSTL if possible. I just wa

Re: when did Struts become a top-level Apache project?

2007-06-25 Thread Bill Johnson
eased by Rickard Oberg? When (month/2003) did the WebWork 2.0 roadmap that proposed to break out xwork into it's own project get created? I know it was in 2003, but need to get a specific month. -Bill --- Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 6/25/07, Bill Johnson <[E

when did Struts become a top-level Apache project?

2007-06-25 Thread Bill Johnson
I was wondering if anyone knows when Struts became a top-level Apache project instead of being simply a Jakarta project subproject. I'm looking for the month and year this happened. Management wants to know. Long story.

desparately need help finding a list component to use for Struts 2 application

2007-06-21 Thread Bill Johnson
api/tagdoc/af_selectManyShuttle.html I'm hoping something like this has already been created and is available already in the form of something along the lines of the displaytag library. Any help is greatly appreciated! I don't want to have to create this from scratch and am hoping it has alrea

RE: [s2] Case-insensitive request parameter binding

2007-06-19 Thread Bruyn, Bill-p6141c
SENAME()) if there's another way. Thanks, Bill > -Original Message- > From: Jeromy Evans [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 19, 2007 6:10 PM > To: Struts Users Mailing List > Subject: Re: [s2] Case-insensitive request parameter binding > > Bruyn, Bill-

[s2] Case-insensitive request parameter binding

2007-06-19 Thread Bruyn, Bill-p6141c
arameterValue) Though I suppose this breaks down pretty fast for complex properties (I won't have any, AFAIK)... I'd appreciate a better idea. Many TIA, Bill Bruyn - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[s2] struts2-portlet-2.0.6 example

2007-04-23 Thread Bruyn, Bill-p6141c
th Struts and Portlets, and have so far not been able to get the results I expected. Appreicate any help I can get. TIA, Bill Bruyn (BTW, the Velocity example doesn't seem to work either, although the resource in question is in fact where it's supposed to be: org.apache.velocity.excep

RE: [tiles] Re: tile problem: how to find the "put" tag name attribute from called jsp/servlet

2006-10-13 Thread Bill Milbratz
>Another option is to write a factory that reads definitions from other >sources, like a DB. I hope Tiles will provide such a factory soon. Did anyone write such a factory? I welcome any suggestions and criticism, constructive or otherwise! Bill m -

Re: Why My JSTL Tag Cannot Do What Struts Tag Does?

2006-06-22 Thread Bill Schneider
would work. -- Bill . <% User user = (User)pageContext.getAttribute( "user" ); %> I don't use this method at all (I prefer jsp:useBean), but maybe the "user" in getAttribute() should be capitalized as "User"? - Scott -- Bill Schn

Re: [OT] Re: Is JSF ready?

2005-12-14 Thread Bill Schneider
like everything else it's a trade-off. Your cost-benefit analysis is going to depend on your individual app. Personally, I'm just salivating over the MyFaces treeTable plus AjaxAnywhere, because I haven't found a way to get the same widget off-the-shelf with Struts. :-) -- Bill

Struts Design Question

2005-12-07 Thread bill
A bit of a struts newbie here. I have an application with the following page flow: choose Product Category --> choose Product Model --> create/edit chosen model Currently we only have one ActionForm\JSP Edit Form, but we need to expand this to support different Product Categories. Each would be

Re: OT: Best AJAX framework

2005-11-10 Thread Bill Schneider
ascript in your Struts app, it's no problem, but if you want to add AJAX to your app while still using Struts' client-side validation, you will have a problem with Rico, prototype.js, JSON, and any other library which modifies the base javascript Object class. -- Bill Schneider Ch

another ActionForm-to-POJO binding tool: xsnapshot 1.1 beta released

2005-09-29 Thread Bill Schneider
omewhat lacking, as there are only two regular contributors to the project and we both have very limited time to devote to it (darned customers!) But the example app in the source distribution would show you how to set it up. -- Bill -- Bill Schne

Re: Being Lazy with Hibernate

2005-09-20 Thread Bill Schneider
quot; pattern. If you're using Spring to manage your Hibernate SessionFactory, you can just pop the OpenSessionInViewFilter in web.xml and go. The only thing to watch out for is that any writes back to the database need to be within transactions. -- Bill -- Bill Schneider Chief Architect

Re: Login with authentication from database

2005-08-08 Thread Bill Schneider
nt is simple form-based username/password authentication. -- Bill If your using Tomcat 5.5.x, then this may help: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm /robert Laurie Harper wrote: I haven't used container managed security very much but I thin

Re: [OT] DTOs are evil

2005-08-05 Thread Bill Schneider
re flexibility by allowing private getters/setters, so you can enforce some business logic in the domain object itself. [1] http://www.theserverside.com/news/thread.tss?thread_id=31010 -- Bill - To unsubscribe, e-mail: [EMAIL

Spring on Struts

2005-07-12 Thread Bill Schneider
e stateful UI components, with a clearer separation between stateful client-side components and sorta-stateless (well, there's that HttpSession thing) server-side ones. -- Bill -- Bill Schneider Chief Architect Vecna Technologies, Inc. 5004 Lehigh Road, Suite B College Park, MD 20740 [EMA

Re: Using struts forms as Value Objects: your opinion?

2005-07-08 Thread Bill Schneider
objects should use typed interfaces to ensure marshaling to and from presentation format (string types) is pushed as far up the application stack as possible. This also enables other, potentially type-aware, presentation / client tiers to be built on top of the same value objects (e.g. for a web-servi

[slightly OT] alternatives to Tiles?

2005-06-30 Thread Bill Schneider
touch a config file for every single page I add, and being able to grab headers/footers from another context. Has anyone seen anything that has Tiles' request/response cycle and runtime footprint, but configures like SiteMesh? :-) -- Bill -- Bill Schneider Chief Architect Vecna Technologie

Re: Strange error-page behavior

2005-06-26 Thread Bill Schneider
reaks if the response is already committed. But when processing the JSP errorPage directive it may use pageContext.include instead in situations where forward would break. -- Bill I tried setting my error page directive to: java.lang.Throwable /errorPage.jsp

RE: Multiple Sessions from the same workstation

2005-03-28 Thread Bill Milbratz
>2. If URL rewriting is the only alternative, is there a way to configure >Tomcat to use URL rewriting regardless of whether >the browser allows cookies >or not? Use apache as a http front-end and use mod_rewrite to handle the urls. This works w/o requiring cookies. -Original

Re: Validation only occurs client side

2005-03-23 Thread Bill Siggelkow
At first glance it looks okay -- I suggest you set a breakpoint in the ValidatorForm.validate() method (or you could override the method) to see if it gets called. If not, then I would look into your request processor (which I noticed was a custom one). -Bill Siggelkow On 2005-03-23 11:09:06

Re: [Validator] maxlength JavaScript not generated

2005-03-08 Thread Bill Siggelkow
It should be ... I just looked at the latest build and the JS function is defined in the validator-rules.xml and the function itself is located in my commons-1.1.4 jar in the maven repository. On 2005-03-08 18:26:23 -0500, Matt Raible <[EMAIL PROTECTED]> said: I coulda sworn that JavaScript was

Re: Why Template Method instead of Strategy in Commons Chain?

2005-03-07 Thread Bill Siggelkow
C'mon man, for all intesive purposes its a Template -- it defines an algorithm that subclasses can override. As far as a way to specific alternative implementations -- there is, the element. But to me this whole conversation is moot. IMO, chain alleviates theses issues ... if you don't like ho

Re: Dispatch Action not working

2005-03-07 Thread Bill Siggelkow
Make sure your "generate" method has the same signature as the standard Action.execute() method (i.e. parameters of ActionForm, etc.) On 2005-03-07 06:39:59 -0500, nitin dubey <[EMAIL PROTECTED]> said: Hello, I have put "dispatch" parameter value as "generate", and have created a generate() metho

Re: Why Template Method instead of Strategy in Commons Chain?

2005-03-06 Thread Bill Siggelkow
Michael -- I mean Dakota -- whatever ... as long as you continue publish "baiting" posts like this my guess is that people won't want to give you the time of day. On 2005-03-05 23:34:06 -0500, Dakota Jack <[EMAIL PROTECTED]> said: I inquired why the Template Method pattern is being used with Com

Re: Getting started with struts-chain/commons-chain

2005-03-06 Thread Bill Siggelkow
Ahh ... a chance toot my own horn! http://www.onjava.com/pub/a/onjava/2005/03/02/commonchains.html Also, Richard, I am working on Part II which digs into how Struts uses chain -- Part II should be out in a week or so ... I strongly you suggest that you first get your head wrapped around Chain b

Re: validatorForms and deprecated actionerrors

2005-03-04 Thread Bill Siggelkow
saying that I should just "wait" until a solution comes along? Not sure I'm understanding. How would you fix the deprecation problem in my situation? --- Bill Siggelkow <[EMAIL PROTECTED]> wrote: On 2005-03-03 21:31:43 -0500, Paul Tomsic <[EMAIL PROTECTED]> said:

Re: validatorForms and deprecated actionerrors

2005-03-03 Thread Bill Siggelkow
om Action, the warnings will go away and your code will continue to function w/o modification (at least respect to this call). There are probably some other ways to avoid the error, (for example you could do the same thing that saveErrors is doing) but that would be a worse

Re: Reloading Configuration File

2005-03-03 Thread Bill Siggelkow
ecause it sometimes left things in an unpredictable state. -Bill Siggelkow - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem in custom validation method

2005-03-03 Thread Bill Siggelkow
It looks like to me that the Validator is not finding your method definition. Recheck the declaration in the validator-rules.xml file. The signature and class name there must match your actual class and method exactly. On 2005-03-03 14:28:52 -0500, Sivakumar Santharam <[EMAIL PROTECTED]> said:

Re: html:form complains of bean missing

2005-03-02 Thread Bill Siggelkow
so, I noticed that overrode the "process" method calling super.process() at the end. I think it would have been better to override processPreprocess() -- that's what its designed for. -Bill Siggelkow On 2005-03-02 09:52:49 -0500, =?iso-8859-1?Q?G=FCnther_Wieser?= <[EMAIL PROTECTED]

RE: let it flow? struts-flow vs. struts-workflow vs. other

2005-02-23 Thread Bill Milbratz
milar functionality. 2) If my project had to pick one, I'd rather pick the "right one". 3) It's not that easy to compare by reading the docs. As far as the server side javascript goes, it's not complex: all our developers know javascript for browser-stuff. It's just

[OT] Re: Displaying mulitpage results

2005-02-22 Thread Bill Schneider
sion) but it seems to be the widespread accepted practice. -- Bill -- Bill Schneider Chief Architect Vecna Technologies 5004 Lehigh Rd., Suite B College Park, MD 20740 [EMAIL PROTECTED] t: 301-864-7253 x1140 f: 301-699-3180 - To

let it flow? struts-flow vs. struts-workflow vs. other

2005-02-22 Thread Bill Milbratz
a new paradigm/language for server side programming) -may be better for people who already use cocoon. -hard to find documentation -more "official" struts project? (i.e. struts home points to "struts-flow" project page) thanks, bill m -

Re: Displaying mulitpage results

2005-02-21 Thread Bill Schneider
r instance) for server-side performance tuning when you really need it. -- Bill -- Bill Schneider Chief Architect Vecna Technologies, Inc. 5004 Lehigh Road, Suite B College Park, MD 20740 [EMAIL PROTECTED] t: 301-864-7594 f: 301-699-3180 -

Re: how to integrate struts project with hibernate?

2005-02-17 Thread Bill Schneider
*all* beans, not just LabelValueBeans. If your own beans happen to have properties called "label" and "value", will work out of the box. -- Bill -- Bill Schneider Chief Architect Vecna Technologies 5004 Lehigh Rd., Suite B College Park, MD 20740 [EMAIL PROTECTED] t: 301-

Re: common information in every view

2005-02-17 Thread Bill Schneider
oller, rather than using a base action class. This would give you greater separation of concerns: loading (possibly cached) menu items is handled specifically by the tile that displays the menu, rather than by each individual action. -- Bill -- Bill Schneider Chief Architect Vecna Technologies

Re: Caching Appliction Level Data?

2005-02-15 Thread Bill Schneider
s network as well as processing overhead for marshalling and unmarshalling cached objects. In summary, J2EE webapp performance involves a lot of tradeoffs. Caching is important but has to be used judiciously to be beneficial. -- Bill -- Bill Schneider Chief Architect Vecna Technologies 5004 Lehi

Re: Handle images path in one place

2005-02-10 Thread Bill Siggelkow
One alternative is to use the "srcKey" attribute for both the and tags to specify a key in your Message Resources properties file whose value is the URL. -Bill Siggelkow Gaet wrote: Hello, I'm writting a web application using J2EE where several pages can contains the same

Re: One more time, Input Array :(

2005-02-10 Thread Bill Siggelkow
Please provide some specifics, e.g. snippet from your validation.xml. You can use the validator to validate indexed fields using the "indexed" attribute. -Bill Siggelkow - To unsubscribe, e-mail: [EMAIL PROT

Re: using modules

2005-02-10 Thread Bill Siggelkow
. using to access module-specific MessageResources) will not resolve to the other module. -Bill Siggelkow Kalra, Ashwani wrote: hi, I have configured one module "module1" apart from the default module. Can I navigate to the jsp files directly in that module or I have to always make a s

Re: Redirect instead of forward in action mapping

2005-02-09 Thread Bill Siggelkow
Set the redirect attribute on the forward to true: Of course, if the success page displays data you will need to make sure that is is available in the session since it you will be issuing a new request. (You may want to look into the saveMessages(HttpSession session) method). Neil Aggarwal wro

Re: request Processor in struts-2.

2005-02-09 Thread Bill Siggelkow
What I like about Chain is that it allows the "step-by-step" definition needed for request processing (ala the Template Method); with the loose coupling provided by CoR and Command patterns. Joe Germuska wrote: There are thousands of lines of discussion on this in the mailing list archives, if

Re: hml:select question

2005-02-09 Thread Bill Siggelkow
I didn't quite follow code sample, but I believe that your Vendor object (not your ActionForm) needs to have getName() getVendor() methods. -Bill Siggelkow Sergey Livanov wrote: I have a vendors collection consisting of bean Vendor( long vendor, String name ) When I'

Re: Application Security

2005-02-07 Thread Bill Siggelkow
hentication and authorization as container-managed security. -Bill Siggelkow Tim Christopher wrote: Hi, I've recently discovered that it is not possible to map an action to j_security_check. Given this situation how is it possible to populate a form bean with user data, or create a log

Re: mapping values in jsp

2005-02-02 Thread Bill Siggelkow
ue or false I know you can use a map, but is there a way to cleanly define it in the jsp page? If not what is the recommended way of doing it? -> outputs yes or no Thanks in advance, Abdullah A straightforward approach would be ... Yes No

Re: [OT] RE: Welcome to sportslovers.net which is powered by Struts!

2005-01-20 Thread Bill Siggelkow
Any reason you don't list "Basketball"? t t wrote: I am not sure. But I guess it's the official one, since I got it from the demo application coming with Struts package. T.T. David Suarez <[EMAIL PROTECTED]> wrote: Is the "Powered By Struts" logo an official Struts logo or something that you cre

RE: need help precompiling jsps

2005-01-19 Thread bill
o I added > > -d "..\work\Standalone\localhost\dgJobs" to it and got the same exception > > bill page > [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For

need help precompiling jsps

2005-01-19 Thread bill
localhost\dgJobs" to it and got the same exception bill page [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: JDBC Driver

2005-01-18 Thread bill
We use the datadirect and it's fine (and yes pricy). We also still support the microsoft VM for client side (heavy client not servlet stuff). Their current versions don't but if you can get 5.1, that works fine with client side and struts. bp -Original Message- From: David Bolsover [mai

Re: session form bean problem

2004-12-23 Thread Bill Siggelkow
Hmm .. please include the code from the PopulateAction. t t wrote: Hi, all, First, happy holidays to you! I got a question. I have such action mapping: type="myClasses.PopulateAction" name="SearchForm" scope="request" v

Re: Struts TestCase and Cactus

2004-12-21 Thread Bill Siggelkow
- The Complete Reference -- it also has a chapter on testing. Let me know if you have some specific questions; I will be glad to help if I can. -Bill Siggelkow - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: unknown error message

2004-12-21 Thread Bill Siggelkow
Well, it looks like you are using a tag (bean:message) that is trying to pull a value from the message resources property file. -Bill Siggelkow Olasoji Ajayi wrote: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE what does this mean, i am

Re: I'm completely lost, please help...

2004-12-21 Thread Bill Siggelkow
ctory; this will let you develop on-the-fly without needing to restart Tomcat. I suggest you get a simple application working the way you want. Then you can start on your custom tag app. -Bill Siggelkow Eric D. Nielsen wrote: Long post follows...I don't know if its an Eclipse, Tomcat or

Re: I want to use data source defined in stuts-config.xml in my bean. How can I do it ?

2004-12-20 Thread Bill Siggelkow
Hmm ... I suggest you don't use the data source unless you are forced to by a legacy application. The data-source element has been deprecated. Instead create and access your data source through means provided by your container (e.g. JNDI). Take a look at this page http://struts.apache.org/faqs/

Re: creating tables from array of DynaBeans

2004-12-17 Thread Bill Siggelkow
--- Excerpted from the Jakarta Struts Cookbook (http://www.oreilly.com/catalog/jakartastrutsckbk) -Bill Siggelkow Olasoji Ajayi wrote: hi, i obtained an array of DynaBeans from a RowSetDynaClass (thrugh the getR

Re: "dynamic" dropdown select list?

2004-12-16 Thread Bill Siggelkow
;foo"];<br> form.action = "/SetFoo.do?foo=";<br> form.action += fooCtl.options[fooCtl.selectedIndex].value;<br> form.submit();<br> }<br> In the SetFoo action, reset the collection used for the second drop-down based on the received

Re: NullPointerException

2004-12-16 Thread Bill Siggelkow
html.tld /WEB-INF/struts-logic /WEB-INF/struts-logic.tld /WEB-INF/struts-nested /WEB-INF/struts-nested.tld /WEB-INF/struts-tiles /WEB-INF/struts-tiles.tld jstl/c /WEB-INF/c.tld -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf

Re: NullPointerException

2004-12-16 Thread Bill Siggelkow
Wierd -- it looks to me from the original message that you are getting the error on line 1219 of TagUtils which is: resources = (MessageResources) pageContext.getAttribute( bundle + moduleConfig.getPrefix(), P

Re: Carriage Returns in MessageResources.properties

2004-12-16 Thread Bill Siggelkow
Maybe try using a double slash (\\r\\n) ... Richard Reyes wrote: Hello Guys, How can I include a carriage return inside a properties file. I tried \r\n and it show as \r\n on the emails being sent. Thanks Richard - To unsubscribe,

  1   2   3   4   5   >