When is Struts 1.2.8 and 1.3 coming out?

2005-10-09 Thread Paul Benedict
I see code for 1.2.8 and code for 1.3. Will anyone be releasing these soon? I look forward to 1.3 but it doesn't seem to exist on the Struts page as a downloadable kind of moving slow. I am just a patient waiter and eager for any version to make it out. Paul

Re: When is Struts 1.2.8 and 1.3 coming out?

2005-10-10 Thread Paul Benedict
Ted, I saw javadoc changes that say @since 1.2.8. Will that code be ported to 1.3? See, I'd really like a 1.2.8 that fixes the URL validator bug. That's a big priority for me. Paul __ Yahoo! Mail - PC Magazine Editors' Choice 2005

Why I Hate Struts Modules

2005-10-11 Thread Paul Benedict
Great subject line, isn't it? :) OK. I've been doing Struts for like 2-3 years now, and Struts Modules I loved for awhile but now I absolutely can't stand them First off, my initial appeal to modules was to split up the configuration files so different developers can work on the project

Re: Why I Hate Struts Modules

2005-10-12 Thread Paul Benedict
Frank, I didn't know this. I thought the only way to chunk up the Struts config was to define modules, because only one XML could be specified. well now that I know I can have one (default) module that contain all my configurations, I am chucking the modules. :-) Paul --- Frank W. Zammetti

Custom Struts code or 1.2.8?

2005-10-13 Thread Paul Benedict
Does anyone ever run any custom versions of Struts or the Commons library? The reason I ask is because the bug that I need fix (it is now fixed) in Commons Validator isn't released for the Struts 1.2.x branch, but most likely will be released with Struts 1.3 Well I don't like using release 1

Re: I am getting frustrated with LookupDispatchAction

2005-10-17 Thread Paul Benedict
Can someone save me from insanity? Questionable... But I get the following error in tomcat: javax.servlet.ServletException: Request[/mywizard1] does not contain handler parameter named 'method'. Do you have a method named 'method'? It should look like the typical Struts execute method.

Re: Default values for Multiple Select

2005-10-18 Thread Paul Benedict
Natalie, Your question isn't clear If you're dealing with multiple checkboxes, the property backing them should be a String[] so you can capture all the values selected. If you're dealing with multiple options of a radio group, only one option will ever be selected. Paul

Re: How to use Email Templates for struts?

2005-10-29 Thread Paul Benedict
You can also just use basic JSP technology. You can use a servlet include to retrieve the output from a JSP, which could your mail. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com

Re: Question on http://displaytag.sourceforge.net/

2005-11-01 Thread Paul Benedict
Rick, I am using it now. There's a big 1.1 release plan, but I think with only one or two guys working on it, it will take years to release -- even longer than the 18 month Struts release cycle :-) Anyway, they have paging built-in for 1.1, but in the mean time, use the ValueLiist tag which is

Commons Validator 1.2

2005-11-02 Thread Paul Benedict
Don and Niall, I see RC3 of Commons Validator 1.2! Makes me excited as my favorite bugs (oxymoron) seem to be fixed. But besides fixes, can you detail what new features it contains? __ Yahoo! Mail - PC Magazine Editors' Choice 2005

Re: Passing an array of fields to ActionForm

2005-11-05 Thread Paul Benedict
Arrays (and collections for that matter) are just single objects with an unknown size. You can just specify a property to be a String[] and then a c:forEach loop to print out whatever you want. __ Yahoo! FareChase: Search multiple travel sites

Re: Validator 1.2.0 RC3 now available for review

2005-11-06 Thread Paul Benedict
...as long as you don't have 12 betas like Tapestry :-) __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com - To unsubscribe, e-mail:

Why Chain over Action?

2005-11-07 Thread Paul Benedict
Subject line says it all. I've been contemplating this topic. The best answer I can give here is that in Struts 1.3, you really don't have to ever deal with an Action class at all - use ChainAction as an entry point into your chains. But how would you model a real world application using the

RE: Lists within lists issue

2005-11-07 Thread Paul Benedict
Prabdoh, You are much better off using JSTL so you can write something like: html:textarea property=${form.object[i].subobject[j].property/ Once you go JSTL, you never go back :-) Which makes the nested object tags obsolete. Paul --- Deshmukh, Prabodh (P.) [EMAIL PROTECTED] wrote: Looks

Re: logic:match barfs if it's parameter is null

2005-11-07 Thread Paul Benedict
Have you tried JSTL? --- Mon Cab [EMAIL PROTECTED] wrote: Hi all... I.e any way of using the logic:match tag less strictly, so that logic:match parameter=var value=bla will not cause an exception if var is null. At the moment I am getting: javax.servlet.ServletException: Cannot

Tiles without Struts

2005-11-08 Thread Paul Benedict
I have gone to this link: http://struts.apache.org/struts-tiles/installation.html I am looking for those 3 WAR files listed but I can't find them. The link in this paragraph is broken so I can't get to the distribution: First, download a binary distribution of Tiles by following the

RE: Tiles: nesting one template inside another?

2005-11-09 Thread Paul Benedict
Kevin, Follow this example. It uses a master layout [A] and then an inner layout [B]. You need to envision that the body content of A is B, and the body content of B is C. definition name=search_form_base path=/layout/search_form_layout.jsp -- A put name=FilterA

RE: Tiles: nesting one template inside another?

2005-11-09 Thread Paul Benedict
Message- From: Paul Benedict [mailto:[EMAIL PROTECTED] Sent: 10 November 2005 00:00 To: Struts Users Mailing List Subject: RE: Tiles: nesting one template inside another? Kevin, Follow this example. It uses a master layout [A] and then an inner layout [B]. You need to envision

Re: cant reset form

2005-11-09 Thread Paul Benedict
Pat, It's possible by restarting the tomcat server, you're serializing the session -- it's called a sticky session -- which sticks around between restarts. I am not aware of anyone using reset(). If you also need to clear the form fields, why not use a request scope form? It sounds like you

Re: cant reset form

2005-11-09 Thread Paul Benedict
otherwise instantiated? I can see the need store/create objects in the session, possibly with a form bean, but want my fields clear. Just a newbie. Thanks. --- Paul Benedict [EMAIL PROTECTED] wrote: Pat, It's possible by restarting the tomcat server, you're serializing the session

Re: cant reset form

2005-11-09 Thread Paul Benedict
Not to be greedy, however is it possible to have a form dynamically save and make selectable the previous field entries? You need to be more clear. I don't understand this. __ Yahoo! FareChase: Search multiple travel sites in one click.

Re: Validator framework introduces errors

2005-11-12 Thread Paul Benedict
Some things to check: 1) You have a resource bundle loaded by Struts. 2) Your keys listed in the validator are in the resource bundle. 3) You have a configuration file which lists out the validations needed by the validator. 4) You're using the correct version of validator for your version of

Re: Validator framework hijacks requests! :(

2005-11-12 Thread Paul Benedict
There's nothing wrong with ussing session scoped forms. You can attached these lists right to the form, if you want - just make sure you remove the form from memory when you're finished. --- Raghu Kanchustambham [EMAIL PROTECTED] wrote: I think I can explain it now. I hit the action servlet

Re: Validator framework hijacks requests! :(

2005-11-12 Thread Paul Benedict
.. just started using it for the last 2 days .. and struts as such for just over a month. So want someone's opinion on my explanation of why state is being lost! thanks raghu On 11/12/05, Paul Benedict [EMAIL PROTECTED] wrote: There's nothing wrong with ussing session scoped forms

Re: Problems with validwhen

2005-11-12 Thread Paul Benedict
Mon, There's two conditions here. The State and Zip are valid (not required) when... Always look at this as valid not required; you need to list out the conditions which will make the validation pass. [1] the country is United States and *this* is not null [2] the country is not United States

Re: Runtime debugging - and Painfull Tomcat restarts

2005-11-12 Thread Paul Benedict
Check out your context setting. Set the reloadable attribute to true. http://tomcat.apache.org/tomcat-5.0-doc/config/context.html Set to true if you want Catalina to monitor classes in /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically reload the web application if a change is

Re: forwardPattern and Action Relaying

2005-11-13 Thread Paul Benedict
There is a module attribute to the forward tag. From the DTD: The module prefix to use with this path. This value should begin with a slash (/). --- alec lee [EMAIL PROTECTED] wrote: I am using modules and placing my JSPs under /WEB-INF. My understanding is that struts support this

Re: forwardPattern and Action Relaying

2005-11-13 Thread Paul Benedict
/myApp/WEB-INF/module/actionB.do! I never ever seen Struts resolve to WEB-INF. That's a file system path. Struts paths are URI which are not in the file system. __ Start your day with Yahoo! - Make it your home page!

Re: Inserting special character into MySQL 5 problem

2005-11-23 Thread Paul Benedict
This isn't a Struts prolem, and it's not a MySQL problem either. As usual, it's user error :-) These are two things to do: [1] If you're importing through Java, you need to make sure your file reader is properly decoding UTF-8 stings: http://javaalmanac.com/egs/java.io/ReadFromUTF8.html [2]

Re: Inserting special character into MySQL 5 problem

2005-11-23 Thread Paul Benedict
Because you're doing XML, you need to escape XML entities. Change your value to this: jdbc:mysql://localhost/databaseName?useUnicode=trueamp;characterEncoding=utf-8 __ Yahoo! Mail - PC Magazine Editors' Choice 2005

Re: Inserting special character into MySQL 5 problem

2005-11-24 Thread Paul Benedict
OK. I think I know what is going on here. For some reason, everytime we email you the ampersand entity, it get translated into a literal again and it looks like nothing has changed. I am going to use @amp; but you change @ to in your code: jdbc:mysql://localhost/[EMAIL

Re: [again] SSL switching: why isn't it part of struts?

2005-11-25 Thread Paul Benedict
IMHO, I do not think SSL switching belongs in the Struts framework. I think most of the time the correct place to put switching into SSL is in a servlet filter according to some predefined path. So if you forward from Struts to a particular location, a filter can then redirect it to HTTPS.

Re: [again] SSL switching: why isn't it part of struts?

2005-11-25 Thread Paul Benedict
But isn't it a bad idea to hard-code your path(s) that require SSL. What happens if a decision is made to change the action servlet's mapping from, say *.do to /servlet/*. You would have to remember to change the path(s) in the filter... Furthermore, what if you change the name of the action

Re: IE the page contains both secure and nonsecure items?

2005-11-25 Thread Paul Benedict
That message means you have page in HTTPS but links on that page reffering to (at least one) HTTP. This is a problem if you have hardcoded the scheme into any of your links. __ Yahoo! Mail - PC Magazine Editors' Choice 2005

Re: [OT] performance of JDBC only, without Hibernate or iBatis

2005-11-27 Thread Paul Benedict
If a web app uses JDBC only, is the performance slower than Hibernate or iBatis? Pure JDBC is actually faster because there is no abstraction on top. IBATIS and Hibernate (I use both) rely on reflection to populate objects and reflection is 2x-10x slower than direct Java access. However, being

RE: Strategy for javascript validation with i18n

2005-11-27 Thread Paul Benedict
You could write your own JS validator. Why not? Then submit your enhancements back to Struts for all us to enjoy. :) __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/

Re: [OT] performance of JDBC only, without Hibernate or iBatis

2005-11-28 Thread Paul Benedict
performance gains could be realized by using iBATIS to provide data mapping and caching, and then optimizing the database performance using stored procedures. Larry On 11/27/05, Paul Benedict [EMAIL PROTECTED] wrote: If you have extremely high performance requirements, don't deal

Re: [OT] performance of JDBC only, without Hibernate or iBatis

2005-11-28 Thread Paul Benedict
I think I need to clarify: I am not being unfair to Larry's point when I say JDBC is faster. You can't build ontop of JDBC and then be faster than what you built upon. Reflection is slower than normal Java access - and if I can find the stats I will show them. With that said, IBATIS can be

Re: [OT] performance of JDBC only, without Hibernate or iBatis

2005-11-28 Thread Paul Benedict
A few, why? __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Paul Benedict
IMHO, I do not believe Shale should be under the Struts name. I really hope Shale is not piggy-backing off the good name of Struts so it gets adoption. I can't say for sure, but I do get that impression at times. I think it should be completely spun off and disassociated from Struts, or be

Problem with LocaleAction (bug)

2005-12-04 Thread Paul Benedict
I wonder if anyone has encountered this. This might be a bug (highly likely) and I'd like to find out. The LocaleAction can receive a page parameter which redirects it to the specified URL after setting the locale. Well I made myself a DynaActionForm which contained this parameter (along with

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-05 Thread Paul Benedict
Hm. Is it untidy that the Apache Software foundation has at least three web application frameworks? Should they be untethered from the Apache name and allowed to ride off... ? For that matter, why does Apache clutter itself with anything other than the original httpd? Joe, I like your

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-05 Thread Paul Benedict
That's not true; there are other committers who have done work under Shale. This is probably my fault, but that's not what I meant. :) When I said it has nothing to do with the Struts community, minus the creator, I am not talking about the people, but the architecture. As far as I can tell,

Re: Action forward path

2005-12-12 Thread Paul Benedict
For developers, I suggest looking into this proposed enhancement. Instead of duplicating the path again in the forward, you can forward to actions. Please vote for this if you think it is valuable; perhaps it will make it into future versions of 1.3 or 1.4.

Re: [OT] Cookie

2005-12-13 Thread Paul Benedict
If you setSecure(true), the cookie will ONLY be available through HTTPS. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -

Re: [ANNOUNCEMENT] Apache Struts to release Struts 1.3.0 as the Action Framework

2005-12-14 Thread Paul Benedict
Postback actions - nothing fancy. It's simply that if you specify the name of the action, it uses the one from the last request. --- Michael Jouravlev [EMAIL PROTECTED] wrote: On 12/14/05, Martin Cooper [EMAIL PROTECTED] wrote: The Struts Action Framework 1.3.0 release will include several

Re: The Age-Old problem of validation when you have Nested Items- opinions and Dyna question

2005-12-15 Thread Paul Benedict
Action Forms are DTO objects. They are not your model/domain/business objects. Struts is the only framework (historical design) that forces you to use String objects in the Form/DTO, but that's not a bad thing. It's a container to accept user input, which is all from the Internet transmitted as

Re: [ANNOUNCEMENT] Apache Struts offers Shale for JSF

2005-12-15 Thread Paul Benedict
Dakota, Last week, I wrote about three messages voicing my opinon that I think it is an error to accept Shale under the Struts banner. I still hold that to be true, but I also see the justification of the commiters, which are: [1] Struts is now an umbrella label to contain MANY frameworks. As

Re: The Age-Old problem of validation when you have Nested Items- opinions and Dyna question

2005-12-15 Thread Paul Benedict
I'm concerned with having to deal with that limitation then how DO you deal with the 'model/domain/business' objects that do need to get populated? Sure in a simple form it's easy, but real life is a different story. Many times you get back objects that are nested in Collections... As I

Re: The Age-Old problem of validation when you have Nested Items- opinions and Dyna question

2005-12-15 Thread Paul Benedict
Rick, I just hope you're not making the situation more complicated than it needs to be. If I have to display a 2D list of items (like say a table), I may be using a DTO which has multiple properties. These are all strings. I only found nested objects to be complex when I tried to make them

Re: The Age-Old problem of validation when you have Nested Items- opinions and Dyna question

2005-12-15 Thread Paul Benedict
I want to add one thing to Raghu's advice: You only need String-only DTOs at the form layer for INPUT variables only. Anything you retrieved from the business layer can be stuck in the request as it is for display purposes, or attached right to the form. You may want something like this in your

Re: The Age-Old problem of validation when you have Nested Items- opinions and Dyna question

2005-12-16 Thread Paul Benedict
Rick, Do you control the requirements? It's going to be an ugly screen with that :) Web applications should be concerned with doing one unit of task at a time, if possible, because it does simplfy development and help the user focus on what needs to be typed. Still, I don't see this problem as

Re: The Age-Old problem of validation when you have Nested Items- opinions and Dyna question

2005-12-16 Thread Paul Benedict
Rick, It sounds like to me you are suggesting that we'd create a brand new Player object that had some String properties in it. I am not suggestign you create a new business object. I am suggesting you create a new object for input purposes. You need a transport layer between your model and

Re: The Age-Old problem of validation when you have Nested Items- opinions and Dyna question

2005-12-17 Thread Paul Benedict
I am glad you found the LazyDynaBeanForm. I hope it suits your needs. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To

Re: [ANNOUNCEMENT] Apache Struts offers Shale for JSF

2005-12-17 Thread Paul Benedict
John Lovitz.. gotta love it. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: How to keep a request Attribute available (from first action) after second action is called

2005-12-18 Thread Paul Benedict
Neils, The only thing in common between request 1 and request 2 is the user session. If you want something to persist between requests, place it in the session; then clean the session when finished. Paul __ Do You Yahoo!? Tired of spam? Yahoo!

Re: Input validation and repair

2005-12-18 Thread Paul Benedict
it should be an URL and patch it up (like 'www.google.com' into 'http://www.google.com/'). This is a bug which was fixed in Struts 1.2.8 by upgrading to commons validator 1.1.4. Paul __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best

Re: pre-populating form fields when called in edit mode.

2005-12-26 Thread Paul Benedict
I am going to ask a related question... so take your best shot :-) I have an edit form in which I have to load a list from the database. The list is actually based on locale. What's the best solution here? I am using real action forms - not that dynafluff stuff ;) Is it to simply make my form

Re: pre-populating form fields when called in edit mode.

2005-12-26 Thread Paul Benedict
I would use the Request for such a List and wouldn't even bother putting it in the ActionForm But that of course doesn't make the list persist. Most frameworks heavily rely on the user session and I am now a strong believer that's the better way of doing things. I wonder if allowing the

Re: pre-populating form fields when called in edit mode.

2005-12-26 Thread Paul Benedict
ActionForm should be removed from session manually, this is the price to pay. I thought about automating this, but Hubert pointed out that a user can open several browser windows for one app, so I gave up on this. One of the biggest concerns I had too was that using the session means only one

Re: error messages doesn't appear if validate is called programatically

2006-01-19 Thread Paul Benedict
Hakan, You need to store the error messages in the request or session after you retrieve them: ActionErrors errors = form.validate(); if ((errors != null) !errors.isEmpty()) { saveErrors(request, errors); return mapping.getInputForward(); } Paul

Multiple Submit Buttons

2006-01-20 Thread Paul Benedict
What's the best way to accomplish this? I really dislike using the button text to find the correct dispatch so I don't want to use LookupDispatchAction. Is there another way, such as using the button's name to invoke the correct method? I thought I saw such a proposal in the API docs but I can

Re: Multiple Submit Buttons

2006-01-20 Thread Paul Benedict
Laurie, I thought I saw a version of dispatchaction that could handle this. The parameter attribute contained a comma-delimited list of possible names and thus methods which could be invoked for the particular action. Do you remember this proposal? Paul

Validation Security Hole?

2006-01-21 Thread Paul Benedict
I'd like to know if this is considered a security hole to other people besides me. I saved an email off this group back in July and finally went back to investigate it: It seems that every action in Struts is cancellable, which means for Struts actions that do not religiously check for

Re: Validation Security Hole?

2006-01-21 Thread Paul Benedict
I want to correct a statement here. What can be passed in is org.apache.struts.taglib.html.CANCEL or org.apache.struts.taglib.html.CANCEL.X which will set the cancelled flag. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam

Re: Validation Security Hole?

2006-01-21 Thread Paul Benedict
Frank, Good response. Let me add some to it: The problem isn't that Struts allows the user to cancel an action, but that EVERY action can be cancelled. This problem is heavily felt by GET requests because URLs are easy to mangle... and parameters can be added ad-hoc. I can take any action I

Re: Validation Security Hole?

2006-01-21 Thread Paul Benedict
Hmm, maybe I don't understand the problem... as I understand it, cancel essentially has no effect on anything in Struts unless you manually check for it and act accordingly, correct? Or are you saying that everything happens *except* validation? Correct. Cancel has no effect unless you

Re: Validation Security Hole?

2006-01-21 Thread Paul Benedict
Frank, I am getting your emails delivered twice to the list today. Are you click happy today? :) haha Maybe mine are getting delivered twice; please tell me if so. As for the bug/issue, I mainly use MappingDispatchAction and so there's no reason to specifically code for isCancelled() BUT I

Re: Validation Security Hole?

2006-01-21 Thread Paul Benedict
Arguably, by default you would want to say that all Actions are either cancelable or not, rather than having to set something on all mappings. Just my superficial thinking about it though :) Agreed. That's why I recommend a controller property default with overrides at the action level.

Re: Validation Security Hole?

2006-01-21 Thread Paul Benedict
Rick, I think my concern is valid. I am sorry you don't find this a big deal but I wonder how many sites actually use validation to make sure they defend against bad input, only to find out I can pass in a request paramter to simply skip their checking. I mean, that's a pretty big deal in my

Re: Validation Security Hole?

2006-01-21 Thread Paul Benedict
Rick you said: I must still be missing something.. what is the big deal here? If you don't code to handle the cancel nothing serious can happen, and if you do code for a cancel, what's the worst case scenario? Yes, you are missing something :) If you don't code the cancel, then your action

Re: Validation Security Hole?

2006-01-21 Thread Paul Benedict
I can't think of a good reason it wouldn't call validate() too, like any other request, just because the action was canceled. Like I said, maybe someone can come up with a reasonable explanation for that behavior, but I can't see it :) There is a legitimate case: when an form can be cancelled,

Re: Validation Security Hole?

2006-01-22 Thread Paul Benedict
If everyone used dispatch-type Actions, I would disagree because then it would just be a matter of providing a cancel() method and making sure that got called. There's actually a funny bug here. cancel() method ALWAYS gets called in a dispatch action BUT it's default behavior is to return

Re: Validation Security Hole?

2006-01-22 Thread Paul Benedict
Cancelable Actions (independently on the Action type: normal Actions, DispatchActions) could even implement a Cancelable interface with a cancel method. Tamas, good one. I thought of this too but never mentioned it because implementing interfaces doesn't seem too cool/accepted in the Struts

Re: Validation Security Hole?

2006-01-22 Thread Paul Benedict
(Some of?) the DispactAction variants dispatch to a special method and aren't subject to the consequences listed above, but most action implementations don't. Rick, let me correct something here: The DispatchAction variants are also subject to the problem with validate=true WHEN there is no

Re: Validation Security Hole?

2006-01-22 Thread Paul Benedict
Laurie, one thing to correct: Issue: addition of a 'org.apache.struts.action.CANCEL' parameter to any request will cause validation to be skipped, but the rest of the request processing / action invocation cycle to proceed normally Should read: Issue: addition of a

Re: Tiles question

2006-01-22 Thread Paul Benedict
Aladin, You cannot nest JSP tags inside JSP tag attributes. Split them up: JSP 1.2: tiles:useAttribute name=crumbTitleKey id=someid / presentation:crumb key=%=someid% ../ JSP 2.0: tiles:importAttribute name=crumbTitleKey / presentation:crumb key=${crumbTitleKey} ../ Paul

Re: Validation Security Hole?

2006-01-22 Thread Paul Benedict
Rick, I don't do any business validation with the Validator; I just make sure I get proper data formats so that everything is in proper format when going into the service layers. I want XYZ to be integers and ABC to be strings. Paul __ Do You

Re: Validation Security Hole?

2006-01-22 Thread Paul Benedict
Rick, It's a security risk because you're allowing in non-validated data. You could pass in good data, bad data, malicious data, etc. You could pass in a string that's a million characters to your database, perhaps characters that will appear in SQL, wrong ranges of numbers, constantly causing

RE: bi-di messages and dir=RTL?

2006-01-22 Thread Paul Benedict
David, I am not sure what the problem is. How is this any different than LTR text? You could use c:out escapeXml=false so you don't have to escape anything. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

RE: bi-di messages and dir=RTL?

2006-01-22 Thread Paul Benedict
If you're using a real CSS2 browser like Firefox, you can use CSS to enlarge fonts for the language you specify: span[lang='he'] { font-size: 120%; } or maybe something as simple as: span.rtl { font-size: 120%; } That means you should output span class=rtl.../span PS: Good idea with the tag

Re: doubt regarding span tag?

2006-01-24 Thread Paul Benedict
Quick summary: span is for inline content. The CSS behind it is: display: inline; div is for block content. The CSS behind it is: display: block; Paul __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

Re: Form pre-fill issue

2006-01-28 Thread Paul Benedict
It must be the query parameters you stuck in the action name. I never seen that before. Turn those into html hidden fields and try again? --- Karthik Manimaran [EMAIL PROTECTED] wrote: The bean property however is getting printed when jsp tags are used as shown below. But html:text tag

Re: Validation Issue

2006-01-29 Thread Paul Benedict
Make sure you're using the right validator class. The ValidatorForm keys off the formname, ValidatorActionForm keys off the action name. This has happened to me before. Also make sure your properties are named the same. Paul __ Do You Yahoo!?

Re: Validation Issue

2006-01-29 Thread Paul Benedict
The validation can silently fail if it is not configured correctly. Make sure you have the plug-in correctly configured with the 2 validation files -- one for the validators and the other your validation forms. Also if you upgraded to a new version of Validator your validator

Re: Validation Issue

2006-01-29 Thread Paul Benedict
I am not saying this is your problem, but I've had times where jar files get seemingly corrupted for no reason. I haven't figured out why but at least twice a year a JAR file just dies on me. Try reinstalling Struts and copy the default validation files out and start from there. Paul

Re: Validation Issue

2006-01-29 Thread Paul Benedict
Make your input=something.jsp - What are the most popular cars? Find out at Yahoo! Autos

Re: [ANN] Tabbed notebooks in Struts/JSP or in pure JSP with new release of JSP Controls Tag Library

2006-01-29 Thread Paul Benedict
This is awesome!!! Since Struts doesn't have portlet support, using JSP to emulate it is second to none. Portlets are nothing but a subset of the servlet request anyway, so you're doing some great work. I'd like to see an example where you connect this all up to Struts. Paul

Struts Form Population

2006-02-03 Thread Paul Benedict
When struts auto populates the form, does it look for set methods? And does it check that the methods are public? For instance, if the foo parameter comes in and my setFoo method is protected or private, will it ignore it? Paul - Brings

Re: Bean Population When Form Cancelled

2006-02-11 Thread Paul Benedict
Tom, Your expectation is incorrect. The form is always populated. The cancellation doesn't cancel the population, but cancels the validation. There has been lengthy discussions about this. Feel free to sign up to bugzilla and vote this in the 1.2 branch:

POLL: Struts/Shale promotion at the No Fluff conference

2006-02-15 Thread Paul Benedict
I was looking through the No Fluff Just Stuff session highlights. It looks pretty cool, but then I came across the synoposis for Struts Shale... Hmmm... I have to say, the wording was pretty surprising and -- almost provoking? I'd like to hear other people's thoughts just for fun. I don't

Re: [OT] Hiding methods

2006-02-16 Thread Paul Benedict
It sounds like it is time you move to the Spring Framework. [1] Do not allow your DAO to manage transactions. [2] Transactions are managed by manager proxies. [3] Transaction Managers are configured to say which methods start a transaction. [4] Transaction Managers are smart enough to know,

Re: [OT] Hiding methods

2006-02-16 Thread Paul Benedict
Spring can give you method-level security if you're interested in it. http://acegisecurity.org/ It will use AOP to proxy your classes and make sure any thread has the proper credentials to access your code. Paul __ Do You Yahoo!? Tired of spam?

Re: DispatchAction: Invalid Method call

2006-03-08 Thread Paul Benedict
Joe, override the unspecified method. That method is invoked whenever the dispatch cannot be resolved. --- Joe Mun [EMAIL PROTECTED] wrote: Using DispatchAction, if a non-existent method name is passed, a java.lang.NoSuchMethodException is thrown. How (and where) can I catch (and ignore)

Re: has struts reached the saturation

2006-03-14 Thread Paul Benedict
I totally agree with Rod Johnson! I don't know why so many people are quiet about this topic when the truth of Shale is obvious to anyone who paid attention to these boards, and the number of commits that go into Shale vs. Struts. I've voiced this before, but I usually don't get good reception. I

Re: has struts reached the saturation

2006-03-14 Thread Paul Benedict
has got to be viewed as a positive. You won't catch me jumping on the bandwagon any time soon, but nor will I bid it a premature goodbye. I'll wait and see, even though it's been this way for a while now. Frank Hey Nony Moose wrote: Paul Benedict wrote: ... I am truly happy

Re: has struts reached the saturation

2006-03-14 Thread Paul Benedict
Ted, your logic is direct and understandable. I know you've expressed this same feedback before, but it doesn't address the concerns of those who are concerned with the Name of Struts. I know your focus is on the people, the problem solving, etc. (and thank you for it), but what is the NEED to

Re: has struts reached the saturation

2006-03-14 Thread Paul Benedict
All, I made a foolish error. I apologize: I am glad++ Rod Johnson said something similar because it validates++ my concern. Rod Johnson said nothing of the sort. I did not catch Dakota's comments interspersed between quotes. This is totally *my* fault. My apologies to him and others. Strike

Re: has struts reached the saturation

2006-03-15 Thread Paul Benedict
Niall wrote: Its all those businesses that have taken and given nothing back - the silent majority. I am tired debating the philosophy of Struts; it doesn't produce any results. :) After reading Niall's elegant answer, I believe the best way of making my voice heard is through contributions

Re: has struts reached the saturation

2006-03-16 Thread Paul Benedict
I believe Dakota is correct in this area. The problem is not with JSF itself, but the way the Struts team has divided itself into competing camps. JSF and Struts are competing because their approaches are orthogonal; it doesn't make any sense to do both unless you are on a migration path. When

  1   2   3   4   5   6   7   >