RE: Validator rule question

2006-04-08 Thread Quinn Stone
Oh. I guess you're right. Maybe you'll have to write your own validator plugin? Or check the date in the action? Q -Original Message- From: Rivka Shisman [mailto:[EMAIL PROTECTED] Sent: Saturday, April 08, 2006 11:02 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Valida

RE: Validator rule question

2006-04-08 Thread Rivka Shisman
Hi Quinn, As much as I understand the "validwhen" is more like an enhanced "requiredif", but I need that the "date" rule on my property be checked only when my other property has value "X". I don't think the "validwhen" can solve this. Am I right? Rivka -Original Message- From: Quinn St

Re: MVC Dilemma

2006-04-08 Thread Larry Meadors
Yeah, then /join #funkycodemonkey and you are on monkey island. Larry On 4/8/06, netsql <[EMAIL PROTECTED]> wrote: > So... how do you do it again? > /server irc.darkmyst.org ? > or ... (I tried in X-Chat) > > tia, > .V > > Larry Meadors wrote: > > > > Join us on irc.darkmyst.org @ #funkycodemonk

Looking for a tutorial or complete example of using DynaValidatorForm

2006-04-08 Thread pantichd
Hello, I have been using Struts for awhile but it was a very old (1.02) version. Just finished upgrading my apps to Struts 1.2.7 and would like to take advantage of the DynaValidatorForm. I've found several articles on it and many examples. However, I haven't found one that includes a complete ex

Re: how to include a "do" url?

2006-04-08 Thread Michael Jouravlev
I use it. Works well for me. On 4/8/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: > hi: > I think all of you have known what I mean well.I think the problem is > caused by including an action which in the end will forward the request to > another jsp page.That means you can't include a "forward".

Re: [Shale] Clay

2006-04-08 Thread Gary VanMatre
>From: "Gregg Bolinger" <[EMAIL PROTECTED]> > > I am evaluating Shale. I realize it is a work in progress and that nothing > is fully finallized/stable and I expect there to be issues. I also expect > great things from Shale in the future and want to help track down issues for > development. He

Re: how to include a "do" url?

2006-04-08 Thread 王曾wang_zeng
hi: I think all of you have known what I mean well.I think the problem is caused by including an action which in the end will forward the request to another jsp page.That means you can't include a "forward". Actually this problem is solved by the modified codes I have shown you. First,I include

Re: [Shale] Component name of f:facet

2006-04-08 Thread Gary VanMatre
>From: Hermod Opstvedt <[EMAIL PROTECTED]> > > Hi > > I am almost done with at list that has a t:dataScroller attached to it (ref. > the datascroller example of the MyFaces simple webapp). There they have : > columnClasses="standardTable_ColumnCentered" > >for

Re: [Shale] Component name of f:facet

2006-04-08 Thread Craig McClanahan
On 4/8/06, Hermod Opstvedt <[EMAIL PROTECTED]> wrote: > > Hi > > I am almost done with at list that has a t:dataScroller attached to it > (ref. > the datascroller example of the MyFaces simple webapp). There they have : > columnClasses="standardTable_ColumnCentered" > >

Re: MVC Dilemma

2006-04-08 Thread netsql
So... how do you do it again? /server irc.darkmyst.org ? or ... (I tried in X-Chat) tia, .V Larry Meadors wrote: Join us on irc.darkmyst.org @ #funkycodemonkey, Dakota. Vent your frustrations there. It's fun. ;-) - To unsu

How to refer to a bundle in the Default module ?

2006-04-08 Thread ot 811
I seem to have hit a quirk in Struts (version 1.2.7). I have a resource bundle declared in the top-level (Default module). I need to refer to it in an html:img tag within the context of a module. I cannot figure out how to do it. The following syntax does not work : html:img module='' bundle='bu

OT: preserving bullet symbols

2006-04-08 Thread klute
Hello all, I have a Struts web app with a MySQL database backend (MySQL ver. 4.1.18-standard). I noticed that if I pass a form data that contains bullet symbols (a copy/paste from a Word document which contains bullets), when the data is retrieved later, '?' is displayed in place of each bullet.

RE: Validator rule question

2006-04-08 Thread Quinn Stone
Rivka, look into the "validwhen" validation. I think that should do the trick. Q -Original Message- From: Rivka Shisman [mailto:[EMAIL PROTECTED] Sent: Saturday, April 08, 2006 9:24 AM To: Struts Users Mailing List Subject: Validator rule question Hello Friends, I have a DynaValidat

Re: how to include a "do" url?

2006-04-08 Thread Michael Jouravlev
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="false" and to use JSP1.2+ containers, but this will not work on Tomcat as you like. It will work on

Re: [Shale] Clay

2006-04-08 Thread Gregg Bolinger
Thanks for the link. I saw that in the archives. However, as then the same is now, I am getting a 404 when trying to access the file. Gregg On 4/8/06, Hermod Opstvedt <[EMAIL PROTECTED]> wrote: > > Hi > > Take a look at the sample that I have provided for this: > http://www.opstvedt.com/div/Cla

Re: Servlet Filter?

2006-04-08 Thread Dakota Jack
Here's how to create your own simpler and more efficient version of a LookupDispatchAction. First, your "buttons" will have the values "buttonName.dispatch" or whatever name you choose in place of ".dispatch". Once you get used to the idea, you can do fancy things with this. Second, you may want

Re: how to include a "do" url?

2006-04-08 Thread Kimani Darisha
stop being a retard! On 4/8/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > I think you will have to say what kind of Struts you are working on. No one > here knows what "Struts" is anymore. > > On 4/8/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: > > > > I am developing a web site, and my work is

SV: [Shale] Clay

2006-04-08 Thread Hermod Opstvedt
Hi Take a look at the sample that I have provided for this: http://www.opstvedt.com/div/ClayMal.zip Don't pay to much attention the actual body contents for page 2 and 3. Hermod -Opprinnelig melding- Fra: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sendt: 8. april 2006 18:38 Til: user@str

[Shale] Component name of f:facet

2006-04-08 Thread Hermod Opstvedt
Hi I am almost done with at list that has a t:dataScroller attached to it (ref. the datascroller example of the MyFaces simple webapp). There they have : Since facet is not defined in the shale-clay clay-config.xml

[Shale] Clay

2006-04-08 Thread Gregg Bolinger
I am evaluating Shale. I realize it is a work in progress and that nothing is fully finallized/stable and I expect there to be issues. I also expect great things from Shale in the future and want to help track down issues for development. Hence, my eval. I've got some questions about Clay... I

Re: Servlet Filter?

2006-04-08 Thread Dakota Jack
Don't use LookupDispatchAction. That is an obsolete solution. Check the archives on options. Don't pay attention to the nasty talk in the archives, just go check out the solutions. On 4/7/06, Quinn Stone <[EMAIL PROTECTED]> wrote: > > OK. I contemplated creating a base class, but didn't like th

Re: MVC Dilemma

2006-04-08 Thread Dakota Jack
I might do that, but I really don't have that many frustrations. My life is pretty much living the dream. On 4/8/06, Larry Meadors <[EMAIL PROTECTED]> wrote: > > On 4/8/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > > hard to tell what you are doing. So, despite the fact that I don't have > a > >

Validator rule question

2006-04-08 Thread Rivka Shisman
Hello Friends, I have a DynaValidatorForm in which there 2 String properties: action and student_birth_date. I have a date validation like this: datePatternStrict

Re: [HELP] how do I catch url like http://www.myweb.com/mysite :(

2006-04-08 Thread Ted Husted
This questions seem a tad out of scope, even for this list. It's more about programming a web server than programming a web application framework. You might want to check with your web server vendor for the best settings for your server. I'm not even sure that Java would be the best platform for th

Re: Reg: use of Application Resources

2006-04-08 Thread Ted Husted
Yes, you can specify an alternate "bundle" in the relevant tags, and load the bundle in the struts-config. For a concrete exampole, see the MailReader application that is bundled with Struts Action 1.2.9. MailReader uses an alternate bundle to reference images and iconic text. HTH, Ted. On 4/8/06

Re: how to include a "do" url?

2006-04-08 Thread Ted Husted
To solve page composition problems, you might want to have a look at a product like Tiles, or even SiteMesh. Tiles works quite well with Struts Action, and there's a lot of documentation about how to use it. * http://www.laliluna.de/first-steps-struts-tiles-tutorial.html * http://www.learntechnolo

Reg: use of Application Resources

2006-04-08 Thread Shasirekha Engala
Hi can we use more than one Application Resources files in a jsp using Shasi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: MVC Dilemma

2006-04-08 Thread Larry Meadors
On 4/8/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > hard to tell what you are doing. So, despite the fact that I don't have a > lot of good feelings about Larry, I support his attitude in this case. Why > don't you forget the "smart talk" about applications and just tell us in > English what you

Re: how to include a "do" url?

2006-04-08 Thread Dakota Jack
I think you will have to say what kind of Struts you are working on. No one here knows what "Struts" is anymore. 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 of designing UI.

how to include a "do" url?

2006-04-08 Thread 王曾wang_zeng
I am developing a web site, and my work is based on the prototype already made by people who are in charge of designing UI. All my work start from the point when I get these 11 beautifully designed but static pages, and my task is to make them dynamic and have real meaning. To achive this goal