Re: html-el:checkbox No Longer Works If Preceded by html-el:form

2006-06-29 Thread Michael Jouravlev
This is a helpful advice, I always use name explicitly. But in this case this is not it. According to FormTag.java source code: === cut here === // Look up the form bean definition FormBeanConfig formBeanConfig = moduleConfig.findFormBeanConfig(mapping.getName());

Re: How to Pass Client's Web Page Inputs to a Struts Action Link?

2006-06-27 Thread Michael Jouravlev
I can think of those: 1) Use Javascript in link's onclick event to collect form data. 2) Use regular submit button, use CSS to display it as a link. On 6/27/06, Caroline Jen [EMAIL PROTECTED] wrote: I am working on a JSP written in JSTL and html-el tags. The JSP is displayed fine. This JSP

Re: How I can cancel a submit to use validation?

2006-06-27 Thread Michael Jouravlev
See here for example: http://www.irt.org/script/155.htm On 6/27/06, José María Tristán [EMAIL PROTECTED] wrote: Hello: I use validation of side of client. i have a function on javascript that is launch when the user submit the form. This function can to call the validation functions or

Re: How to Pass Client's Web Page Inputs to a Struts Action Link?

2006-06-27 Thread Michael Jouravlev
these selections into a link. If you want to do so, you will need to stick additional parameter into the link to distinguish partial submit from final submit. You can pass a map of parameters to a link, google for struts html:link map. Michael. On 6/27/06, Caroline Jen [EMAIL PROTECTED] wrote: I

Re: Possible to programmatically create and use tags?

2006-06-26 Thread Michael Jouravlev
There is no compiler in Struts framework. It is possible to use JSP compiler, its exact usage depends on container. On 6/26/06, Bob Carpenter [EMAIL PROTECTED] wrote: Thanks for confirming it's not possible. I didn't think so; but wanted to make sure before I wrote my own HTML generator. For

Struts 1.3.x snapshot is not available

2006-06-22 Thread Michael Jouravlev
The 1.3.x snapshot location [1] pointed to from the 1.3.5 release page [2] results in Not Found response: The requested URL /builds/struts/maven/trunk/nightly/struts-action/ was not found on this server. Was it moved to another location or is this a temporary technical issue? [1]

Re: Stopping Double Submits via mutex

2006-06-21 Thread Michael Jouravlev
I had thought about that. I like this idea, but just having mutex is not enough. Consider following scenario: * A user submits a request, say this is a checkout process * Server locks the session * The user is impatient and submits another request, but it waits on the mutex * First request

[ANN] Mail Reader sample application implemented with Struts Action Framework + JSP Controls Tag Library

2006-06-19 Thread Michael Jouravlev
Or download WAR file from: https://sourceforge.net/project/showfiles.php?group_id=154342package_id=171420release_id=425861 Michael J. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Fwd: [ANN] Mail Reader sample application implemented with Struts Action Framework + JSP Controls Tag Library

2006-06-19 Thread Michael Jouravlev
shortly. In the meantime the application shows how dual-mode (Ajax/non-Ajax) JSP/Struts components works. Try turning Javascript on and off and see... no difference ;-) JSP Controls Tag Library website: http://www.jspcontrols.net Michael J

Re: Page does not refresh after action

2006-06-12 Thread Michael Jouravlev
Do the pages have the same URL? Set no-cache response header either individually for that page, or globally for a whole Struts application using controller nocache=true/. On 6/9/06, Rizwan Merchant [EMAIL PROTECTED] wrote: Hi, I have a page with a bunch of orders, and each order has a Cancel

Re: best way to send parameters through more requests

2006-06-09 Thread Michael Jouravlev
I want to buy this, this and this, it is I already have taken this, this and this, so the cart reflects events that a user already did to the stock, and you must not lose them. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Variable 'input' attribute in struts-config.xml

2006-06-09 Thread Michael Jouravlev
mode ID (like updating or creating) in redirected request, and to store everything else in the session. As you may see, one dispatch action, one form bean and maybe even one JSP page is enough to serve all your commands. Michael. On 6/8/06, Scott Van Wart [EMAIL PROTECTED] wrote: Michael

Re: Variable 'input' attribute in struts-config.xml

2006-06-09 Thread Michael Jouravlev
What I would do is having an AvailableItems web resource with two states: no items (default) and items found. For no items it would render a search page, for items found it would render items list. Michael. On 6/9/06, Albert L. Sapp [EMAIL PROTECTED] wrote: Scott, I think your approach, if I

Re: ActionForm and EJB

2006-06-08 Thread Michael Jouravlev
do the same job twice or even three times. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ActionForm and EJB

2006-06-08 Thread Michael Jouravlev
On 6/8/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: On Thu, June 8, 2006 2:12 pm, Craig McClanahan wrote: * Enhance the user experience by catching errors as quickly as possible (ideally client side in a webapp), with error messages that are relevant to the user's context in that

Re: Variable 'input' attribute in struts-config.xml

2006-06-08 Thread Michael Jouravlev
#action_mapping_wildcards [2] http://wiki.apache.org/struts/DataEntryForm Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Retrieve values

2006-06-07 Thread Michael Jouravlev
Struts does not serialize and deserialize complex objects for you. If you need to serialize vector into string and to deserialize it back you need to do it yourself. Another approach is to keep the vector in the session instead of sending it to client and then back to server. On 6/7/06, Maya

Re: Passing parameters between chained actions.

2006-06-07 Thread Michael Jouravlev
only to populate the form. No setters, no changes to the form. The best way to avoid these problems is not to chain actions ;-) Michael. On 6/7/06, Scott Van Wart [EMAIL PROTECTED] wrote: Hi All, I'm having trouble forwarding one action to another and sending properties on through. Let's say

Re: displaying ActionMessages.GLOBAL_MESSAGE messages only

2006-06-07 Thread Michael Jouravlev
eye on the above tasks as well. I myself will start working on this, hopefully I will be able to do something till next Monday. Since I don't know yet how to modify Struts SVN trunk :) , I will be submitting regular patches. Michael

Re: Organizing action classes

2006-06-07 Thread Michael Jouravlev
On 6/7/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: You ask a question that is frequently debated around here :) I can say with quite a bit of confidence that Michael Jouravlev will be around shortly to say DispatchActions are the ONLY way to go :) Not the only way, just the one preferred

processCachedMessages in 1.3.x

2006-06-06 Thread Michael Jouravlev
What action or command in 1.3.x corresponds to RequestProcessor.processCachedMessages() from 1.2.x ? I looked at the source code of 1.3.2 snapshot but could not find the appropriate class. Thanks, Michael. - To unsubscribe, e

Re: processCachedMessages in 1.3.x

2006-06-06 Thread Michael Jouravlev
On 6/6/06, Niall Pemberton [EMAIL PROTECTED] wrote: On 6/6/06, Michael Jouravlev [EMAIL PROTECTED] wrote: What action or command in 1.3.x corresponds to RequestProcessor.processCachedMessages() from 1.2.x ? I looked at the source code of 1.3.2 snapshot but could not find the appropriate

Re: ProductCatalog Tree and Session Scope

2006-06-03 Thread Jan Michael
the properties of the tree via an Action. For example I can toggle with an image if the product category shows their children or not. Is it possible to create an ActionForm during the LoginAction, which later can referenced by an actionmapping? Jan Jan Michael wrote: How Can I access

ProductCatalog Tree and Session Scope

2006-06-02 Thread Jan Michael
Hello, actually I try to code an eshop using struts and hibernate technologies. I need some help with my product categories. I want to create a tree where the user (customer) can toggle hrough the product categories of the shop. This has already been done via the MonkeyTree tutorials by Arron

Re: struts token

2006-05-19 Thread Michael Jouravlev
Search for renderToken() in FormTag.java: http://svn.apache.org/viewvc/struts/action/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java?view=markup Michael. On 5/19/06, temp temp [EMAIL PROTECTED] wrote: What hidden field should I use in jsp to pass the generated token

Re: Finalize back hitting the back-button?

2006-05-17 Thread Michael Jouravlev
On 5/17/06, Emilia Ipate [EMAIL PROTECTED] wrote: Hello! Could you be more explicit? What do you understand when saying action? Are you referring to a HTTP request action? Anyway, you should remember that, when the user hits the back button of the browser, there is no interaction (no request

Re: - Design Issue with Struts Validation

2006-05-16 Thread Michael Jouravlev
On 5/16/06, Dave Newton [EMAIL PROTECTED] wrote: off-topic Remember the days when newsgroups had a daily or weekly FAQ posting? Whaddya think? /off-topic We have wiki now. (I believe that wiki needs a bit of reorganization) * Any more or less important/frequent issues should be reflected in

Re: Shale: onclick=disabled='true'; not calling Action Method. (stopping double click)

2006-05-11 Thread Michael Jouravlev
On 5/11/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 5/11/06, Jason Vincent [EMAIL PROTECTED] wrote: According to the HTML specification, disabled input controls are *not* included in the request attributes submitted to the server. Therefore, disabling the submit button will mean that the

Re: Shale: onclick=disabled='true'; not calling Action Method. (stopping double click)

2006-05-11 Thread Michael Jouravlev
On 5/11/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 5/11/06, Michael Jouravlev [EMAIL PROTECTED] wrote: Also, is it possible to lock the server-side bean on a framework level, so it would be guaranteed that the bean won't get second request until the first one is serviced and responded

Re: Shale: onclick=disabled='true'; not calling Action Method. (stopping double click)

2006-05-11 Thread Michael Jouravlev
On 5/11/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 5/11/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 5/11/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 5/11/06, Michael Jouravlev [EMAIL PROTECTED] wrote: Also, is it possible to lock the server-side bean on a framework

Mouse rollover

2006-05-10 Thread Michael Immerman
presents 'unlimited' with a rollover The unlimited works fine, the analyze will not 'rollover'. Both function properly regarding the action. I have tried every combination to see why the unlimited rollover works and the analyze fails. Thanks in advance, Michael (code

Re: NullPointerException when using DynaActionForm

2006-05-09 Thread Michael Jouravlev
On 5/9/06, fea jabi [EMAIL PROTECTED] wrote: form-bean name=NewEligibilityDynaForm type=com.formbeans.NewEligibilityForm dynamic=true form-property name=name type=java.lang.String/ form-property name=date type=java.lang.String/ form-property

Re: Session lost in filter after redirect while using URL-rewrite

2006-05-09 Thread Michael Jouravlev
On 5/9/06, Andreas Hartmann [EMAIL PROTECTED] wrote: Hello Dave, Dave Newton wrote: Andreas Hartmann wrote: I implemented two filters which work fine if session handling is done with cookies. If the session-handling is done by URL-rewriting, the session seems to be lost after the

Re: Make base Action class a dispatch action

2006-05-09 Thread Michael Jouravlev
On 5/9/06, Niall Pemberton [EMAIL PROTECTED] wrote: On 5/4/06, Michael Jouravlev [EMAIL PROTECTED] wrote: What we has been brought from the stone ages: * Base Action class does not dispatch events * DispatchAction and its flavors do, but they do not allow a user to derive an action class

Re: page validation in wizzard app

2006-05-08 Thread Michael Jouravlev
://www.superinterface.com/strutsdialog/wizardaction.do Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: EventDispatchAction and wizard

2006-05-06 Thread Michael Jouravlev
actions (as Michael Jouravlev suggests). So if i submit a form from jsp to some Action and validation fails struts forwards me where input parameter for Action points. I need to be forwarder to previous action (to setup Action) that will prepare my view (for example retrieve some data from DB

Re: Change Input parameter at run time

2006-05-06 Thread Michael Jouravlev
Frank's way is simple, declarative and it works. You can also try the one that I replied with two days ago: -- Forwarded message starts -- From: Michael Jouravlev [EMAIL PROTECTED] Date: May 4, 2006 12:25 PM Subject: Re: Change Input parameter at run time part 2... To: Struts

Re: How to use LookupdispatchAction

2006-05-05 Thread Michael Jouravlev
On 5/5/06, DOUILLARD David [EMAIL PROTECTED] wrote: Hi, I have a form that create a user in my database. I use a simple action class. After the création, i forward to a jsp (viewuser.jsp) that show my users. Now, i want to add two buttons on viewuser.jsp (Button.edit, button.delete) for each

Re: Jsp Tabs

2006-05-05 Thread Michael Jouravlev
On 5/5/06, Patil, Sheetal [EMAIL PROTECTED] wrote: Hello friends I am using ditchnet tab taglib . However it works fine for normal text in tagPane tab:tabContainer id=foo-bar-container skin=wireframe tab:tagPane id=aa tabTitle=one

Re: Loosely coupled pages and actions

2006-05-04 Thread Michael Jouravlev
On 5/3/06, Rob Manthey [EMAIL PROTECTED] wrote: Thanks Michael. I'm just picking my way through your answer ... Ok, the jsp:include bit is interesting ... and I'm going to consume that in detail later, that's a lesser case at present. One question on the non-include side ... - Michael

Re: Loosely coupled pages and actions

2006-05-04 Thread Michael Jouravlev
sticking page name and other related info into a link is more robust. A link by definition is always in sync with the page it is defined in :-) Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Michael Jouravlev
Dispatching action. Do not use old and crusty DispatchAction. See these links: http://wiki.apache.org/struts/EventActionDispatcher http://wiki.apache.org/struts/DataEntryForm Michael. On 5/4/06, Joey Watson [EMAIL PROTECTED] wrote: hello everybody. When I was working a big project. I

Re: Conditional validation

2006-05-04 Thread Michael Jouravlev
On May 4, 2006, at 11:27 AM, Adam Hardy wrote: In the last couple of days someone said that they separated the two flows using GET and POST - or at least I thought so. It sounded interesting but on looking at the struts-config DTD, there seems no way to do this. I can't find the thread in

Make base Action class a dispatch action

2006-05-04 Thread Michael Jouravlev
as possible. Thoughts? Objections? Suggestions? Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Michael Jouravlev
have to reinvent it! On Thu, May 4, 2006 1:20 pm, Michael Jouravlev said: Dispatching action. Do not use old and crusty DispatchAction. See these links: http://wiki.apache.org/struts/EventActionDispatcher http://wiki.apache.org/struts/DataEntryForm Michael. On 5/4/06, Joey Watson [EMAIL

Re: Change Input parameter at run time part 2...

2006-05-04 Thread Michael Jouravlev
It is not possible (at least legally). You should create a new ActionMapping object. On 5/4/06, Troy Bull [EMAIL PROTECTED] wrote: I found mapping.setInput but i get an error when i try to change it telling me java.lang.IllegalStateException: Configuration is frozen How do u temporarily

Re: Change Input parameter at run time part 2...

2006-05-04 Thread Michael Jouravlev
. Much cleaner if you ask me. On 5/4/06, Michael Jouravlev [EMAIL PROTECTED] wrote: It is not possible (at least legally). You should create a new ActionMapping object. On 5/4/06, Troy Bull [EMAIL PROTECTED] wrote: I found mapping.setInput but i get an error when i try to change it telling me

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Michael Jouravlev
:) Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SAF 1.3.x, chain naming and arbitrary chains

2006-05-04 Thread Michael Jouravlev
something like that? I don't know is dev@ the right mailing list for this kind of stuff. If not, I will be using user@ for further emails that pertain to 1.3.* architecture and functionality. Michael. - To unsubscribe, e-mail: [EMAIL

Re: SAF 1.3.x, chain naming and arbitrary chains

2006-05-04 Thread Michael Jouravlev
On 5/4/06, Michael Jouravlev [EMAIL PROTECTED] wrote: How exactly can I set the chain for a particular request? Stupid me, catalog and command attributes of action, of course. Still, this choice is made declaratively on a mapping level. What if I wanted to make it programmatically

Re: SAF 1.3.x, chain naming and arbitrary chains

2006-05-04 Thread Michael Jouravlev
On 5/4/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 5/4/06, Michael Jouravlev [EMAIL PROTECTED] wrote: How exactly can I set the chain for a particular request? Stupid me, catalog and command attributes of action, of course. Still, this choice is made declaratively on a mapping level

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Michael Jouravlev
people for 1.x. Incidentally, this is where my interest is. I don't know about you. Well, hope your book will be released soon! Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Michael Jouravlev
should behave :-) Here is one way of doing that, but by no means the only way: http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost2 Michael

Re: Two mysteries: ;jsessionid and bad img tag

2006-05-04 Thread Michael Jouravlev
xhtml=true tag. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: request scope paging

2006-05-03 Thread Michael Jouravlev
and maybe a page number as parameters, and returns a particular list and maybe an offset in the list. Unless you have a Javascript hooked up to window close event, you cannot detect when a list is not needed anymore, so you can set a limit for number of simultaneously created lists. Michael

Re: How to POST data to an external site from an action?

2006-05-03 Thread Michael Jouravlev
action, but it should be in the user's browser. Probably one could say that I need sort of (transparent) proxy like behaviour. Yep, your action behaves as proxy. Also, your application is in the know of what is happening. Michael

Re: request scope paging

2006-05-03 Thread Michael Jouravlev
On 5/3/06, Y. Thomas Gan [EMAIL PROTECTED] wrote: Dave Newton wrote: Kyle W. Cartmell wrote: I understand the concept behind this, but does anyone actually use this in production code? Seems more trouble than it's worth since the user could simply start multiple sessions. How? Isn't that

Re: validation breaks my form prepopulation

2006-05-03 Thread Michael Jouravlev
and Two actions, two forms sections. Currently I prefer to use only one actionform and two action classes (input and render) for one web resource. Oh yeah, and as the article says, use the same scope if you use the same form name :-) Otherwise you'll get some funny results. Michael. [1] http

Re: Are throwing RuntimeExceptions in a struts app 'that evil'?

2006-05-03 Thread Michael Jouravlev
, I guess this situation arises if you have business rules in the database. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: validation breaks my form prepopulation

2006-05-03 Thread Michael Jouravlev
don't understand why this would be so... Michael Jouravlev wrote: On 5/3/06, Kyle W. Cartmell [EMAIL PROTECTED] wrote: I did some tinkering and found that even though my setup action is indeed associated with a form bean, and my reset method is defined and sets my values to null, when I return

Re: validation breaks my form prepopulation

2006-05-03 Thread Michael Jouravlev
Kyle, this is not exactly what you are looking for, but maybe it can help a little: http://wiki.apache.org/struts/DataEntryForm (as you might have noticed, I like to draw pictures with blocks and arrows). Michael

Re: Loosely coupled pages and actions

2006-05-03 Thread Michael Jouravlev
Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: validation breaks my form prepopulation

2006-05-02 Thread Michael Jouravlev
because a new request object has been created. input attribute of action element in struts-config.xml does not have to refer to JSP page directly, it can point to setup action of your JSP page. Michael. - To unsubscribe, e-mail

Re: Is Action Chaining Strongly Discouraged?

2006-05-01 Thread Michael Jouravlev
From HTTP/RequestProcessor point of view, redirection is not chaining. On 4/30/06, Leon Rosenberg [EMAIL PROTECTED] wrote: maybe you should give us a use-case where you plan use action chaining? Also the kind of chaining (redirect, direct call, forward) is important. regards leon On 4/30/06,

Re: Combo Selection

2006-04-26 Thread Michael Jouravlev
Do you store selected country? Struts does not do it for you. This link may help: http://wiki.apache.org/struts/StrutsWidgets Michael. On 4/26/06, Marisol Opreni [EMAIL PROTECTED] wrote: I have a textbox (empty) and a dropdown list (countries from a database). The user completes the textbox

Re: Tiles vs. jsp:include + XHTML/CSS

2006-04-25 Thread Michael Jouravlev
On 4/24/06, Rick Reumann [EMAIL PROTECTED] wrote: Michael Jouravlev wrote: So, the question I am asking: what are the real benefits of using Tiles if I use JSP includes + XHTML/CSS for layout/styling? Can most of Tiles features be implemented with XHTML/CSS? I guess some of it comes

Re: Tiles vs. jsp:include + XHTML/CSS

2006-04-25 Thread Michael Jouravlev
is either on par with JSP includes, or has some serious constraints. What am I missing? Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tiles vs. jsp:include + XHTML/CSS

2006-04-25 Thread Michael Jouravlev
On 4/25/06, Craig McClanahan [EMAIL PROTECTED] wrote: According to the APIs, it is actually one Controller per Tile, not one Controller per page ... doesn't that give you (Michael) the hook you'd need to grab the dynamic data for each fragment? I guess it does. But how is this better/different

Re: Tiles vs. jsp:include + XHTML/CSS

2006-04-25 Thread Michael Jouravlev
On 4/25/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 4/25/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 4/25/06, Craig McClanahan [EMAIL PROTECTED] wrote: According to the APIs, it is actually one Controller per Tile, not one Controller per page ... doesn't that give you

Session without cookies

2006-04-24 Thread Chan Michael
= Is sesssion new? false Session id: 8CCE7A388E76C0F56016E8F41E29E0E5 The session is not new but the id is different...I already set in Tomcat server.xml Context path=/myApp cookies=false... What am I missing?? Thanks in advance. Michael ___ YM - 離線訊息 就算你沒有上網,你的朋友仍可以

回覆: RE: Session without cookies

2006-04-24 Thread Chan Michael
Hi Chandra, Thanks for your prompt reply. I have checked many many times and I have 100% sure there is no Request.getSession(true); in all my action classes. Thanks. Michael --- [EMAIL PROTECTED] : I think some where(may be in the action class association with the action /test.do) you

RE: RE: Session without cookies

2006-04-24 Thread Chan Michael
if supported by the client (this is the default). Set to false if you want to disable the use of cookies for session identifier communication, and rely only on URL rewriting by the application. Thanks. Michael --- [EMAIL PROTECTED] 說: Michael, isNew() is mostly depends on how server manages

回覆: RE: Session without cookies

2006-04-24 Thread Chan Michael
Hi, The test is done within the same tab in firefox. Thanks. Michael --- abdurrahman sahin [EMAIL PROTECTED] 說: are you sure that u did not start a new browser process each time.? because sessions are browser process based. starting a new process and opening a new window within a browser

Tiles vs. jsp:include + XHTML/CSS

2006-04-24 Thread Michael Jouravlev
includes + XHTML/CSS for layout/styling? Can most of Tiles features be implemented with XHTML/CSS? Michael. [1] http://struts.apache.org/struts-action/struts-tiles/examples.html - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Session lovers... how do you handle this 'common?' situation?

2006-04-22 Thread Michael Jouravlev
. If interested, see Struts Dialogs sample: https://sourceforge.net/project/showfiles.php?group_id=49385package_id=154597 Also see http://wiki.apache.org/struts/DataEntryForm Michael. On 4/21/06, Rick Reumann [EMAIL PROTECTED] wrote: I haven't used Session scope for my ActionForms

Re: Calling an action from another action

2006-04-20 Thread Michael Jouravlev
On 4/20/06, Rick Reumann [EMAIL PROTECTED] wrote: So again, really think about whether you need to go from one action to another. Lastly, if you do need to it (which from the above I doubt you need to), I wouldn't do it in the Action class but simply still return as usual but have your

SAF2 interceptors/interfaces vs. explicit method calls (was: How to execute code in an Action when ActionForm validation fails?)

2006-04-19 Thread Michael Jouravlev
Dave, thanks for explanation. Now, can you explain this: how URLs are mapped to actionbeans in WebWork? Looking at the example [1] on OpenSymphony website, I see the same pattern as in SAF1: action name=helloWorld class=example.helloworld.HelloWorld ... /action The above means, that

Re: friday ha ha

2006-04-18 Thread Michael Jouravlev
On 4/18/06, Dave Newton [EMAIL PROTECTED] wrote: Jonathan Revusky wrote: [...] rather than trying to modernize/refactor it forward From a developer's standpoint I'm not even sure how I'd go about refactoring the existing Struts 1.x codebase... As an example, I've always been pissy about

Re: How to execute code in an Action when ActionForm validation fails?

2006-04-18 Thread Michael Jouravlev
on the request object when validation fails? I have a couple of solutions in mind. 1. Validating Manually: I believe that this is the best solution. I use this one exclusively, I don't use autovalidation and input attribute of action tag. Works especially well with dispatch-style actions. Michael

Re: How to execute code in an Action when ActionForm validation fails?

2006-04-18 Thread Michael Jouravlev
On 4/18/06, Eric Rank [EMAIL PROTECTED] wrote: I agree that the manual validation approach is very good at keeping related code in one place. This is how I'm currently choosing to solve this problem. However, I feel that it's sloppy because it requires additional logic. I try to avoid using

Re: How to execute code in an Action when ActionForm validation fails?

2006-04-18 Thread Michael Jouravlev
so the right thing happens makes sense. Unless anyone can convince me otherwise, from here on out it's validate = false See these as well: http://wiki.apache.org/struts/DataEntryForm http://wiki.apache.org/struts/EventActionDispatcher Michael

Re: Strecks?

2006-04-14 Thread Michael Jouravlev
On 4/14/06, Vincent [EMAIL PROTECTED] wrote: I saw this on TSS today: http://www.theserverside.com/news/thread.tss?thread_id=39840 Strecks, a set of open source extensions to the Struts framework aimed at Java 5 users, has been released. Strecks (which stands for Struts Extensions) is built

Re: struts and javascript

2006-04-13 Thread Michael Jouravlev
Or generate the target location in JSP like this: script language=javascript var mytarget = html:rewrite action=/PrepareSchedule.do/ /script Then look up for target in your main Javascript function. I guess it would be easier to attach target to some well-know object like window, for example:

RE: indexed property validation error:java.lang.reflect.InvocationTargetException

2006-04-12 Thread Michael TALLET
Hello Carl, 1) it works with a sessionScope ActionForm because it keeps the first one you populate at hand in the DisplayAction 2) with requestScope you have to create your object by hand public LabelValueBean getLabelValue(int index) { if (listOfItems == null) {

Re: [URGEN] Validation in Action and using redirection to view result page :(

2006-04-12 Thread Michael Jouravlev
If you used one action to accept user input like processRegForm.do, and another to display the page like showRegForm.do, you could logically separate input and output phases. See this for some insights: http://wiki.apache.org/struts/DataEntryForm Michael. On 4/11/06, Pham Anh Tuan [EMAIL

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread Michael Jouravlev
would pass null in XHR.send(...) but I am not sure that this is the problem. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-11 Thread Michael Jouravlev
On 4/10/06, Dave Newton [EMAIL PROTECTED] wrote: Pham Anh Tuan wrote: I got problem with redirect attribute in forward tag. after MyRegistration is processed, it register some values in request scope (some messages to inform that Registration was successful), but after redirecting to

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread Michael Jouravlev
the parameters in send() does not work. Anyways, making it GET works and thats what I need. But what could be the problem? regards, vijay. On 4/11/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 4/10/06, vijay r [EMAIL PROTECTED] wrote: Hello, I used AJAX to fill details

Re: how to include a do url?

2006-04-10 Thread Michael Jouravlev
You can check out how I use it. This is main website of my project, JSP Controls Tag Library: http://www.jspcontrols.net This is what you talked about: http://www.jspcontrols.net/struts.jsp Michael. On 4/9/06, 王曾wang_zeng [EMAIL PROTECTED] wrote: That's great! Thank you,Michael,for using your

[ANN] JSP Controls Tag Library 0.6 has been released

2006-04-10 Thread Michael Jouravlev
, or without Javascript in synchronous mode. Michael J. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to include a do url?

2006-04-08 Thread Michael Jouravlev
on Resin though. Try JSTL c:import instead of jsp:include. I was told that this works, though I did not verify if myself. Michael. On 4/8/06, 王曾wang_zeng [EMAIL PROTECTED] wrote: I am developing a web site, and my work is based on the prototype already made by people who are in charge

Re: how to include a do url?

2006-04-08 Thread Michael Jouravlev
comments or suggestions on this approach. 2006/4/9, Michael Jouravlev [EMAIL PROTECTED]: When you display JSP from Struts action, you forward to it. Forwarding from included resource is not supposed to work properly according to current SRV spec. You may want to explicitly specify flush

Re: Sharing the action form by different actions

2006-04-06 Thread Michael Jouravlev
/struts/DataEntryForm Then the question is:is it a good practice to set up the sharedForm into different scope(session or request) for different actions, as what was shown in the above example? No. Michael. - To unsubscribe

re: Struts and Ajax

2006-04-06 Thread Dean, Michael
... See: Ajax In Action http://www.manning.com/books/crane Michael Dean Senior Java Programmer Information Services Division/Application Development Section/CAPS Maintenance Administrative Office of the Courts 360.704.4008 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

Re: White page flashing between request and response.

2006-04-06 Thread Michael Jouravlev
On 4/6/06, Haim Raman [EMAIL PROTECTED] wrote: Hi All I am having an issue I am trying to solve and I do not have a clue how to. The configuration used is jboss 4.01-sp1 running inside an apache 2.0 web server on a Linux based machine with Struts version 1.2.4. When clicking on a link or

Re: Preventing improper page navigation

2006-04-06 Thread Michael Jouravlev
state. If you ok with using session, then take a look here: Live Demo: http://www.superinterface.com/wizard/signupWizard.do Samples: http://sourceforge.net/project/showfiles.php?group_id=49385package_id=154597release_id=398869 Michael

Re: Some questions

2006-04-05 Thread Michael Jouravlev
, people just work on JSF stuff more than on Struts stuff. Also, depends on your understanding of Ajax. Dragging and dropping during design time has nothing to do with dragging and dropping during runtime. And finally, .Net is not a web framework. Michael

Re: LookupDispatchAction and Internationalization

2006-04-05 Thread Michael Jouravlev
LookupDispatchAction and use EventActionDispatcher: http://wiki.apache.org/struts/EventActionDispatcher Michael.

Re: Some questions

2006-04-05 Thread Michael Jouravlev
On 4/5/06, Mário Lopes [EMAIL PROTECTED] wrote: On 4/5/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 4/5/06, Mário Lopes [EMAIL PROTECTED] wrote: The project is a simple CRM with forms and AJAX. No big stuff, 6 database tables maximum. Also, we have a very short deadline (June

Re: Some questions

2006-04-05 Thread Michael Jouravlev
On 4/5/06, Mário Lopes [EMAIL PROTECTED] wrote: On 4/5/06, Michael Jouravlev [EMAIL PROTECTED] wrote: By the way, why would not you use RoR, looks like you have experience with it? Our client demands Java usage. No space left here. Check this: http://www.manageability.org/blog/stuff/open

<    1   2   3   4   5   6   7   8   9   10   >