[Q.] how to port appl with frames to Struts? any good ways to do it?

2003-11-25 Thread Michael Korolyov
Hello,

We have application around 100 JSP(s) Model 1 (luck of controller).
There is "main" page that holds three frameset in it - top frameset has
logo and other info / docs links, left is used as navigation tree and
main for content.
Is Tiles solution to replace our framesets?
What is right way to port it to Struts?

Thanks.

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] Free charting?

2003-10-27 Thread Michael Korolyov
Hello,

Would anyone point me to a free chart lib? pls.

tag support isn't must, but nice to have.

thank you

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to start a background process using a struts action ?

2003-09-05 Thread Michael Korolyov
You may go with Quartz.
Where in your actions you just get user input and stores it (by Delegator / DAO) to 
Quartz table.

Or you can start / run new thread / class that has implemented Runnable interface.

That up to your business logic.

Best Regards.
Michael.


-Original Message-
From: José Gustavo Zagato [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 10:11 AM
To: 'Struts Users Mailing List'
Subject: how to start a background process using a struts action ?

Hi Folks !

Does anyone here know if is possible to start a background
process ( like a daemon/service) using an action ? I need this feature
because the user will input a few parameters and a schedule date then
the system generate the user specific information.

Im using struts 1.1 and Toncat 4.1.18, so any tips on how can I
accomplish this task ?

Regards !

  José Gustavo Zagato Rosa
System Analyst - Atos Origin
[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: J2EE IDE

2003-08-27 Thread Michael Korolyov
Just IMHO:

1. Eclipse and JDeveloper are FREE
2. IDEA is better - their speeds up you're coding a lot VS. Eclipse and
JDeveloper

Setup Eclipse may take long time - all plug-ins, etc

If you (a company) have money - I'll go with IDEA
But who has money now?

Best Regards.
Michael.


-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 27, 2003 8:44 AM
To: Struts Users Mailing List
Subject: RE: J2EE IDE

Raj,

I had slow Eclipse load times (no crashes
and no refresh issues) but my excuse was
that I ran it on a dual CPU PII/266 MHz
setup w/512 MB RAM (5 years old), not
something modern.  When I tried it in the
office on an AMD 1300+ processor w/512 MB
RAM, it loaded much faster and ran a somewhat
faster.  Just don't try developing Struts under
Tomcat on something because JSP compilation
times takes YEARS. :(

I'm developing remotely now so I switched
to VI over SSH.  Since I'm still learning
Struts/Java, I've found I'm learning it a
lot faster without the distraction of an
IDE.  Now that I'm getting a handle on Struts,
I'll probably switch back to Eclipse once I
upgrade my home computer, now an ancient
artifact.

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 5:03 AM
To: Struts Users Mailing List
Subject: Re: J2EE IDE



But eclipse has many problems at runtime.

Boot up time is too high.
Refresh time too high.
Crashes very often.

Am i  right on these points ?

thanks
-raj




  "Firat TIRYAKI"
  <[EMAIL PROTECTED]To:   "Struts Users
Mailing List" <[EMAIL PROTECTED]>
  m.tr>cc:
   Subject:  Re: J2EE IDE
  27/08/2003 01:33
  PM
  Please respond to
  "Struts Users
  Mailing List"






you should use eclipse, it doesn't use swing for GUI's, and it's faster
than
the others.

F.

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 27, 2003 9:46 AM
Subject: J2EE IDE


> Can someone please suggest me a free J2EE IDE suitable for development
of
> webapps using STRUTS. I know of some IDE's like the FORTE, ECLIPSE,
> NETBEANS. However I wanted to ckeckout if anyone has already evaluated
any
> of these since I am not sure which one is easy to use and has
reasonably
> good features as well.
>
> Regards
> Sreekant G
>
>
>








> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Hooking Security Check in ActionServlet.java

2003-08-26 Thread Michael Korolyov
Hello,

Check for org.apache.struts.action.RequestProcessor
And implement your own " processPreprocess" 

/**
 * General-purpose preprocessing hook that can be overridden as
required
 * by subclasses.  Return true if you want standard
processing
 * to continue, or false if the response has already
been
 * completed.  The default implementation does nothing.
 *
 * @param request The servlet request we are processing
 * @param response The servlet response we are creating
 */
protected boolean processPreprocess(HttpServletRequest request,
HttpServletResponse response) 

It's a right way - IMHO

Best Regards.
Michael.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 26, 2003 6:39 AM
To: [EMAIL PROTECTED]
Subject: Hooking Security Check in ActionServlet.java

Hi All,

I am trying to implement my own security piece, towards that I would
like
to plug in the call to my security check logic. My requirement is that
for
every action on a form/page security should be validated, Thus I need to
plug my security check call at a place which will be called at least
once
for every action on a form/page. I looked at the ActionServlet.java code
and I can see that the process() method is the one that gets the request
through doPost() or doGet(). So I plan to change the code in the
process()
method of ActionServlet.java to look like the below. Can anyone suggest
if
what I am doing is okay or is there any better way of doing it or is
there
any better place where I should be calling my security check logic ?

protected void process(HttpServletRequest request, HttpServletResponse
response) throws IOException, ServletException
{
  checkSecurity(request, response); // Added the call to security
check
here.
  RequestUtils.selectModule(request, getServletContext());
  getRequestProcessor(getModuleConfig(request)).process(request,
response);
}

Regards
Sreekant G



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Model 1 & Struts

2003-08-22 Thread Michael Korolyov
Hello,

What is a way to add Struts to Model 1 App?
The App is implemented as Model 1 and I have no time to transform it to
Model 2 (and Struts).
What is a way for new functionality to be implemented with Struts?
How make possible for co-exist Model 1 and Struts in one App?
Something like a put Struts JSP under WEB-INF and use Struts controller
for those JSP, where other "Model 1" JSP could be (and are) directly
call.

Any help with that are very welcome ;-)

Best Regards.
Michael.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: validation and setter methods.

2003-08-20 Thread Michael Korolyov
Setter first that sets formbean variables
Then Validate will use formbean variables for validation.


Best Regards.
Michael.


-Original Message-
From: deepaksawdekar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 20, 2003 8:04 AM
To: Struts Users Mailing List
Subject: validation and setter methods.

When i submit a form, which method is called first, Validation or setter
method of formbean.


TIA 
Deepak.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Code of a method longer than 65535 bytes

2003-08-14 Thread Michael Korolyov
Hello,

Put as many as you need helpers classes that holds one block or better
keep it in DB.
Then add those lists to the session or to the form to pass to the JSP
the in JSP use simple tag to show / render the list from form or
session. The size of your result jsp - servlet class will be small - it
doesn't include any "static" lists inside and should not. All your lists
will be part or response.

Best Regards.
Michael.


-Original Message-
From: Jacek Zoch [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 12:12 PM
To: Struts Users Mailing List
Subject: Re: Code of a method longer than 65535 bytes


- Original Message - 
From: "David Thielen" <[EMAIL PROTECTED]>


> Inside a form I have 2 address blocks - each with a selection of
countries. This is more that 64K chars inside the > 

> Any ideas how to get around this?

Don`t use tags it- dosen`t make sense. Use scriplets - they produce much
better code and page is faster.

Jacek



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: epicentric & struts

2003-07-15 Thread michael . korolyov
hi Charles,

I have imlemented some modules based on Struts 1.1 rc1 that I integrated to
Epicentric with out any problems.

yes I had some problems with Epicentric, but that all about links (href)
that Epicentric translates in own way - that is diff. story.

Best Regards.
Michael.


-Original Message-
From: Charles Liu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 2:46 PM
To: [EMAIL PROTECTED]
Subject: epicentric & struts


Hi all,
I heard that struts doesn't work with epicentric. Is that true?

Thanks a lot!

-- 
Charles Liu



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Splash Screen in Struts

2003-07-15 Thread michael . korolyov
Aaron,

what will happen when server action takes 1-5 min?
user may get TIMEOUT ...

tnx

-Original Message-
From: Aaron Longwell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 1:27 PM
To: Struts Users Mailing List
Subject: Re: Splash Screen in Struts


Dhruva,

I have done this before the absolute cleanest implementation is 
almost 100% javascript:

1) Javascript submit(); call to start POST page loading
2) Javascript delete contents of the window (javascript:document.clear();)
3) Write new content to the window... adding in an  tag to a 
animated GIF (or, cooler a Flash movie)
this is done with one call to document.write(str); You have to populate 
the str variable first because each document.write causes the window to 
be cleared and then rewritten.

Item #2 is somewhat optional, but I like it for clarity and I'm a little 
weird.

Aaron

Dhruva B. Reddy wrote:

>I have an Action that could potentially take a long time to execute,
>and would like to display a splash screen until the results of the
>action are ready.
>
>I went googling for this, but I can't seem to find a solution that
>would fit within the Struts framework.  Has anyone done this before?
>
>Thanks,
>Dhruva
>
>__
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!
>http://sbc.yahoo.com
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>  
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Booleans

2003-06-27 Thread michael . korolyov
you need to "reset" checkbox
for that use reset method in the Form class - set value to FALSE

that's all

Best Regards.
Michael.


-Original Message-
From: Jamie M. Guillemette [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 1:22 PM
To: Struts Users Mailing List
Subject: Booleans


I can turn them on via a check box on my form.. but i cant seem to turn them
off is there a trick ?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: struts vs. JSP/Servlets

2003-04-04 Thread michael . korolyov
Struts helps build web application that uses JSP/Servlet
it speed up development


-Original Message-
From: Chin, Ed [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:37 PM
To: '[EMAIL PROTECTED]'
Subject: struts vs. JSP/Servlets


I want to use JSP and Servlets. Nothing else. 
What exactly does struts do for me that I can't do with Tomcat alone? 

I often hear struts/JSP. I also hear that struts allows us to build
applications in model 2 MVC form. But I also hear that about JSP and
Servlets. So then I started to think that struts is the framework that
allows us to use JSP/Servlet technology. But that must be wrong because I
installed Tomcat and it's running JSP/Servlets fine without installing
struts. So my question is still the one posed above. What does struts do for
me that I can't do with Tomcat alone (in the world of JSP/Servlets)?

- Edward




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



need examples of using indexes ... Pls.

2003-04-04 Thread michael . korolyov
hi,

I have list of beans
a bean has a list and other fields
on JSP I need to show list of rows
where each row has a checkbox and select and other info

then I need to introspect all user selection

would be nice get such example how to do it in JSP, Action and Form

tnx

p.s. looks like everybody does it in diff. ways
p.p.s. I read how to for indexed.

Best Regards.
Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



need examples of using struts-el with indexed ... Pls.

2003-04-03 Thread michael . korolyov
Hello,

in strutsel-exercise-taglib.war I can't find complete example of using
indexed components.

the html-indexed is good start, but I'd like to get more info
how to use inside of 
other tags like a 





all with indexed = "true"

any examples are very welcome.

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 'org.apache.strutsel.taglib.html.ELImgTag' has no setter method corresponding to TLD declared attribute 'onkeypress'

2003-04-03 Thread michael . korolyov
yes - you are 110% right about it
put night build and it was fixed ;-)

Best Regards.
Michael.


-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 11:49 AM
To: Struts Users Mailing List
Subject: RE: 'org.apache.strutsel.taglib.html.ELImgTag' has no setter
method corresponding to TLD declared attribute 'onkeypress'


Let me guess, you're using Struts 1.1RC1?  This was fixed after RC1 was
tagged.  If you use the nightly build, this should be fixed.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> 
> hello,
> 
> what I'm missing?
> 
> I'm trying to run strutsel-exercise-taglib example of struts-el.
> I'm getting :
> 
> Parsing of JSP File '/html-indexed.jsp' failed:
> 
> /html-indexed.jsp(4): Error in using tag library
> uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class
> 'org.apache.strutsel.taglib.html.ELImgTag' has no setter method
> corresponding to TLD declared attribute 'onkeypress', (JSP 1.1 spec,
> 5.4.1)
> probably occurred due to an error in /html-indexed.jsp line 4:
> <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>
> 
> I'm using WLS 6.1 SP4

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



'org.apache.strutsel.taglib.html.ELImgTag' has no setter method corresponding to TLD declared attribute 'onkeypress'

2003-04-03 Thread michael . korolyov
hello,

what I'm missing?

I'm trying to run strutsel-exercise-taglib example of struts-el.
I'm getting :

Parsing of JSP File '/html-indexed.jsp' failed: 

/html-indexed.jsp(4): Error in using tag library
uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class
'org.apache.strutsel.taglib.html.ELImgTag' has no setter method
corresponding to TLD declared attribute 'onkeypress', (JSP 1.1 spec, 5.4.1)
probably occurred due to an error in /html-indexed.jsp line 4:
<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %> 

I'm using WLS 6.1 SP4

tnx


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Q] Need example - how to edit tables?

2003-04-02 Thread michael . korolyov
thank you for the answer
in struts-example.war I can't find any in place (on the same page) row
editing!

How to edit content of this table? on the same page, without another page!
I know how to do it by adding a link to each row / record that then run
another - edit page just for this record.
User need to stay on the same page and be able edit any rows (records).

would be nice if any one give me an example how to do it. Pls

Best Regards.
Michael.

-Original Message-
From: Mark Zeltser [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:18 PM
To: Struts Users Mailing List
Subject: Re: [Q] Need example - how to edit tables?


Michael,

Deploy struts-example.war. The answers are there.

Mark.

[EMAIL PROTECTED] wrote:

> would be nice if any one give me an example how to do it. Pls
>
> in format like as:
>
> 1. Action class:
>
> // set the list
> ...
> ArrayList theList = getTheList(); // get list of beans
> ...
> myForm.setTheList(theList);
> ...
>
> // get (read from JSP / Form) the list
> ???
> ...
>
> 2. MyForm class
>
> ...
> private ArrayList theList;
> getTheList() ...
> setThelist(ArrayList) ...
> ...
>
> 3. JSP
> ...
>  ???
> ...
> 
> ...
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] Need example - how to edit tables?

2003-03-28 Thread michael . korolyov
would be nice if any one give me an example how to do it. Pls

in format like as:

1. Action class:

// set the list
...
ArrayList theList = getTheList(); // get list of beans
...
myForm.setTheList(theList);
...

// get (read from JSP / Form) the list
???
...

2. MyForm class

...
private ArrayList theList;
getTheList() ...
setThelist(ArrayList) ...
...

3. JSP
...

...

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Q] how to edit tables?

2003-03-26 Thread michael . korolyov
would be nice if any one give me an example how to do it. Pls

in format like as:

1. Action class:

// set the list
...
ArrayList theList = getTheList(); // get list of beans
...
myForm.setTheList(theList);
...

// get (read from JSP / Form) the list
???
...

2. MyForm class

...
private ArrayList theList;
getTheList() ...
setThelist(ArrayList) ...
...

3. JSP
...

...

Best Regards.
Michael.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 12:03 PM
To: [EMAIL PROTECTED]
Subject: RE: [Q] how to edit tables?


ActionForms can store and post arrays of data.  If you did it that way, each
row would have a subscript in your action for processing.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 1:12 PM
To: [EMAIL PROTECTED]
Subject: RE: [Q] how to edit tables?


Thank you.

how to name each input? how to use prefix?
then how I'll know in Form and Action classes about which rows some values
belong?

tnx

Best Regards.
Michael.


-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 9:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [Q] how to edit tables?


Just make each field a text box so they can update the records' info.  At 
the bottom of the table have a "Save Changes" button that updates all the 
records.

David



>From: [EMAIL PROTECTED]
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [Q] how to edit tables?
>Date: Tue, 25 Mar 2003 12:40:24 -0500
>
>Hello,
>
>I know how to show a table by using 
>but , how to edit content of this table? on the same page, without another
>page!
>
>I know how to do it by adding a link to each row / record that then run
>another - edit page just for this record.
>User need to stay on the same page and be able edit any rows (records).
>
>Thank you for any examples.
>
>Best Regards.
>Michael.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] how specify wrap=OFF for ?

2003-03-26 Thread michael . korolyov
Hello,

Subj. Pls

textarea 
Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Q] how to edit tables?

2003-03-25 Thread michael . korolyov
Thank you.

how to name each input? how to use prefix?
then how I'll know in Form and Action classes about which rows some values
belong?

tnx

Best Regards.
Michael.


-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 9:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [Q] how to edit tables?


Just make each field a text box so they can update the records' info.  At 
the bottom of the table have a "Save Changes" button that updates all the 
records.

David



>From: [EMAIL PROTECTED]
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [Q] how to edit tables?
>Date: Tue, 25 Mar 2003 12:40:24 -0500
>
>Hello,
>
>I know how to show a table by using 
>but , how to edit content of this table? on the same page, without another
>page!
>
>I know how to do it by adding a link to each row / record that then run
>another - edit page just for this record.
>User need to stay on the same page and be able edit any rows (records).
>
>Thank you for any examples.
>
>Best Regards.
>Michael.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] how to edit tables?

2003-03-25 Thread michael . korolyov
Hello,

I know how to show a table by using 
but , how to edit content of this table? on the same page, without another
page!

I know how to do it by adding a link to each row / record that then run
another - edit page just for this record.
User need to stay on the same page and be able edit any rows (records).

Thank you for any examples.

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] Dynamic table - how to add / edit row's value and store it to a Form?

2003-03-24 Thread michael . korolyov
Hello,

I need page that has a table, where user can add and edit any rows.
How I can use a prefix for it? to be able store each row in the List in the
Form (ValidatorForm)

any examples are very welcome.

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] why can't be used without NAME as can?

2003-03-19 Thread michael . korolyov
Hello,

from  about Attribute name - If not specified, the bean
associated with the form tag we are nested within is utilized.
why  can't does the same? to be consistant.
or Am I missing anything?
tnx
Best Regards.
Michael.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Q] how to get Form name in include JSP?

2003-03-13 Thread michael . korolyov
Hello,

thank you very much,
I didn't know that I can use

without defining name and that will substitute name = "currentFormName"

I tryed and it works ;-)

from the "Struts/userGuide/struts-html.html#text"
"
The attribute name of the bean whose properties are consulted when rendering
the current value of this input field. If not specified, the bean associated
with the form tag we are nested within is utilized. 
"

p.s. I hope it'll help other people

Best Regards.
Michael.

-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 11:35 AM
To: Struts Users Mailing List
Subject: RE: [Q] how to get Form name in include JSP?


 is really only useful within . So, presumably you've
got
something like:


  ...
  <% include file="a.jsp" %>
  ...


If a.jsp is just:



Then its name attribute will default to the form associated with the action.
Maybe I'm missing something, but if you just drop the name attribute from
, it should work.

Quoting Robert Taylor <[EMAIL PROTECTED]>:

> One solution would be to use a dynamic include instead of static.
> 
> 
> 
> 
> In a.jsp:
> 
> "/>
> 
> 
> 
> robert
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 13, 2003 1:58 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Q] how to get Form name in include JSP?
> > 
> > 
> > Hello,
> > 
> > I have jsp include (<%include file="a.jsp"%>)
> > that has 
> >  
> > 
> > I'd like reuse this include a.jsp in many pages.
> > How I can specify the "name" for this tag to be able reuse it?
> > 
> > tnx
> > 
> > Best Regards.
> > Michael.
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Kris Schneider 
D.O.Tech   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] how to get Form name in include JSP?

2003-03-13 Thread michael . korolyov
Hello,

I have jsp include (<%include file="a.jsp"%>)
that has 
 

I'd like reuse this include a.jsp in many pages.
How I can specify the "name" for this tag to be able reuse it?

tnx

Best Regards.
Michael.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Q] how to do server side validation for popup that closes on sub mit?

2003-03-13 Thread michael . korolyov
Thank you, Mark, I understand the idea
I'd add field that will get value after validation Ok in Action class that
then "enable" onload script in JSP

tnx

Best Regards.
Michael.


-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 9:13 AM
To: Struts Users Mailing List
Subject: Re: [Q] how to do server side validation for popup that closes
on sub mit?


the pop window is already open.. 1000 times.. i really should 
read before barking

the question was how to validate and then close it...

if there's and error then the function isn't called if all okay it is...

i personally don't like send js via the response but I answered the 
question with something that works... You could use a jsp or a trusty 
traditional servlet.

so anus what would you do? 'in response to the question that is'

Giovedì, 13 mar 2003, alle 18:06 Europe/Rome, 
[EMAIL PROTECTED] ha scritto:

> how can use response to open a pop-up window and send the user to 
> somewhere else in main window from  action/eventhandler function.
>
> Thanks
> Anis
>
> -Original Message-
> From: Mark Lowe [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 13, 2003 9:55 AM
> To: Struts Users Mailing List
> Subject: Re: [Q] how to do server side validation for popup that closes
> on sub mit?
>
>
>
> This would work...
>
> validate the form before everything, if okay
>
> return response.write(" onload="myfunctionforclosingthiswindowandredirecting the parent()");
> from action servlet
>
> the javascript can be in the popup and the function in only called my
> the response...
>
> hope this helps
> mark
>
> Giovedì, 13 mar 2003, alle 17:48 Europe/Rome,
> [EMAIL PROTECTED] ha scritto:
>
>> hello,
>>
>> I need popup that submits some data and then closes and "refresh"
>> parent
>> window,
>> but if server side validation fails then that popup window needs to
>> show
>> errors and stay.
>>
>> any ideas hot to do it?
>>
>> tnx
>>
>> Best Regards.
>> Michael.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] how to do server side validation for popup that closes on submit?

2003-03-13 Thread michael . korolyov
hello,

I need popup that submits some data and then closes and "refresh" parent
window,
but if server side validation fails then that popup window needs to show
errors and stay.

any ideas hot to do it?

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] how to get Form name?

2003-03-12 Thread michael . korolyov
Hello,

I have jsp include (<%include file="a.jsp"%>)
that has 
 

I'd like reuse this include a.jsp in many pages.
How I can specify the "name" for this tag to be able reuse it?

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Request scope beans problem

2003-03-10 Thread michael . korolyov
try remove scope="request"
use just


could be just misspelling

Best Regards.
Michael.

-Original Message-
From: Matthew Denner [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 3:25 PM
To: [EMAIL PROTECTED]
Subject: Request scope beans problem


Hi,

I know I've probably done something really stupid but I can't get 
request scope beans working at all!  Here's what I have:

- an Action class that does 'request.setAttribute("foo", "bar")' and 
then forwards to a JSP
- the JSP does a 

All I ever see is:

org.apache.jasper.JasperException: Cannot find bean foo in scope request

If I use session scope (session.setAttribute() and scope="session") it's 
fine.

I'm using Tomcat 4.1.18 and Stuts 1.1rc1.

Matt



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] how to Sort on JSP without calling server side?

2003-03-10 Thread michael . korolyov
Hello,

I'm passing a List to JSP that has list of beans.
How I may implement Sorting on JSP side only?

any examples would be very helpful.

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] any ways to know which control was changed in Action class?

2003-02-27 Thread michael . korolyov
Hello,

the JSP has several drop downs, each one has "onchange=submit()"

how I can know which one was changed in my Action class?

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] Form doesn't keep options list ... JSP has no list

2003-02-27 Thread michael . korolyov
Hello,

on JSP I have:

dropdown selection:





and input field that I need validate in my reportForm  (on server)

the reportForm has all fields that are filled by Action class.
and JSP display all just fine.

but, when I type "wrong" value into input field
then reportForm validate returns errors
and then Struts forward it to JSP
and then I get error - so equipmentList is null - nothing filled it!!!

how I can resolve my problem?

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Q] can I use ArrayList type for property ?

2003-02-27 Thread michael . korolyov
ArrayList doesn't work for me...

when I changed it back to String[] just after that it works Ok. I changed
this type in my Form too, to be in sync with tag.

also I didn't find any doc / spec for this type.

any help are very welcome

Best Regards.
Michael.


-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 6:53 PM
To: Struts Users Mailing List
Subject: RE: [Q] can I use ArrayList type for  property ?


Quoting the docs

..Renders an HTML  element of type checkbox, whose "checked" status
is initialized based on whether the specified value matches one of the
elements of the underlying property's array of current values...

I'd guess it must be an Object[].  I have used it only with String[]s.

Sri

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 26, 2003 5:40 PM
To: [EMAIL PROTECTED]
Subject: [Q] can I use ArrayList type for  property ?


Hello,

what types allowed for   property ?

Best Regards.
Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] can I use ArrayList type for property ?

2003-02-26 Thread michael . korolyov
Hello,

what types allowed for   property ?

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Q] how to know which one? java.lang.IllegalArgumentException : argument type mismatch

2003-02-26 Thread michael . korolyov
Hello,

I think that problem is - multibox

in my jsp:


  
   
  
   


in my Form:

  public ArrayList getGuaranteeItems() {
return guaranteeItems;
  }

  public void setGuaranteeItems(ArrayList guaranteeItems) {
this.guaranteeItems = guaranteeItems;
  }

  private ArrayList guaranteeItems;

  private ArrayList selectedGuaranteeItems;

  public ArrayList getSelectedGuaranteeItems() {
return this.selectedGuaranteeItems;
  }
  public void setSelectedGuaranteeItems(ArrayList selectedGuaranteeItems) {
this.selectedGuaranteeItems = selectedGuaranteeItems;
  }

--
looks like that "multibox" doesn't understand type ArrayList - isn't it?

tnx a lot

Best Regards.
Michael.


-Original Message-
From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 12:44 PM
To: 'Struts Users Mailing List'
Subject: RE: [Q] how to know which one?
java.lang.IllegalArgumentException : argument type mismatch


What does your ReportForm look like?

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Q] how to know which one?
> java.lang.IllegalArgumentException : argument type mismatch
> 
> 
> Hello,
> 
> based on stack trace - I don't see any calls to my classes at all.
> I use ReportForm extends ValidatorForm.
> 
> java.lang.IllegalArgumentException: argument type mismatch
> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
> Utils.java:1789)
> at
> org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
> Utils.java:1684)
> at
> org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
> java:1713)
> at
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:924
> )
> at
> org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:729)
> at
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1097)
> at
> org.apache.struts.action.RequestProcessor.processPopulate(RequestProc
> essor.java:798)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
> va:254)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:142
> 2)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523)
> 
> at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:262)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:198)
> at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
> rvletContext.java:2637)
> at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
> pl.java:2359)
> at 
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> 
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 12:18 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [Q] how to know which one?
> java.lang.IllegalArgumentException: argument type mismatch
> 
> 
> Can you provide more details?
> 
> Specifically, your DynaActionForm declaration.  
> If you've subclassed, can you show that as well?
> 
> 
> 
> --
> James Mitchell
> Software Developer
> Struts Technical Support
> A division of The Apache Software Foundation 
> (ok, not really ;)
> http://www.apache.org/struts
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] 
> Sent: mercredi 26 février 2003 15:19
> To: [EMAIL PROTECTED]
> Subject: [Q] how to know which one? 
> java.lang.IllegalArgumentException: argument type mismatch
> 
> 
> hello,
> 
> I'm getting:
> 
> 
> Root cause of ServletException
> java.lang.IllegalArgumentException: argument type mismatch
> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
> Utils.java:1789)
> at
> org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
> Utils.java:1684)
> at
> org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
> java:1713)
> at
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:924
> )
> 
> tnx
> 
> Best Regards.
> Michael.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [E

RE: [Q] how to know which one? java.lang.IllegalArgumentException: argument type mismatch

2003-02-26 Thread michael . korolyov
Hello,

based on stack trace - I don't see any calls to my classes at all.
I use ReportForm extends ValidatorForm.

java.lang.IllegalArgumentException: argument type mismatch
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1789)
at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1684)
at
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1713)
at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:924
)
at
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:729)
at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1097)
at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProc
essor.java:798)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:254)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:142
2)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:262)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2637)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2359)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 12:18 PM
To: 'Struts Users Mailing List'
Subject: RE: [Q] how to know which one?
java.lang.IllegalArgumentException: argument type mismatch


Can you provide more details?

Specifically, your DynaActionForm declaration.  
If you've subclassed, can you show that as well?



--
James Mitchell
Software Developer
Struts Technical Support
A division of The Apache Software Foundation 
(ok, not really ;)
http://www.apache.org/struts



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: mercredi 26 février 2003 15:19
> To: [EMAIL PROTECTED]
> Subject: [Q] how to know which one? 
> java.lang.IllegalArgumentException: argument type mismatch
> 
> 
> hello,
> 
> I'm getting:
> 
> 
> Root cause of ServletException
> java.lang.IllegalArgumentException: argument type mismatch
> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
> Utils.java:1789)
> at
> org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
> Utils.java:1684)
> at
> org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
> java:1713)
> at
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:924
> )
> 
> tnx
> 
> Best Regards.
> Michael.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] how to know which one? java.lang.IllegalArgumentException: argument type mismatch

2003-02-26 Thread michael . korolyov
hello,

I'm getting:


Root cause of ServletException
java.lang.IllegalArgumentException: argument type mismatch
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1789)
at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1684)
at
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1713)
at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:924
)

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q] what is right way to display list of checkbox(es) in two or three columns?

2003-02-25 Thread michael . korolyov
Hello,

I have a list that needs to be displayed in two or three columns
something like that format :


 
 


 
 


 


is  tag and  only one way?
is any other ways to do it?

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Q.] (redirect="true") how to get anything from request scope?

2003-02-21 Thread michael . korolyov
Hello,

for some reason I need use redirect,
but when I'd changed redirect from false to true in struts-config.xml


I got problem on my jsp side - a jsp can't find any beans from request

do I'm missing anything?

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Date validation dd-MMM-yyyy not working with Javascript

2003-02-18 Thread michael . korolyov
it doesn't work for me neither
so - far I'v not found a answer.

looks like server side only the way.

Best Regards.
Michael.


-Original Message-
From: Amit Keshav Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 18, 2003 2:02 AM
To: [EMAIL PROTECTED]
Subject: Date validation dd-MMM- not working with Javascript


Hi All,

I am using the Date validation function from Validator package.
I tried to chane the Date Pattern to dd-MMM- with datePatternStrict.
It does the validation properly if I use server side validation.
But if I use JavaScript version of the same, then even for correct values of
date it pops up error 
message and does not proceed further.
All other validations work fine.
Date validation works both on server and client side with the format
MM-dd-.

Following is an extract from my validation.xml:


 
 
   datePatternStrict
   dd-MMM-
 
 


Am I doing some very basic thing wrong?


Thanks and Regards,
Amit


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[Q] (date) how to validate DATE?

2003-02-14 Thread michael . korolyov
Hello,

what is the right way to validate date as input, where mask is MM/dd/yy ?

any examples of code would be very welcome.

can it be validated on client side only (by JScript)? and how?

the depends="required,date" doesn't work - it checks for blank only.

thank you for you help.

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[Validator] how to Validate DATE? it doesn't work ... HELP me PLS.

2003-02-12 Thread michael . korolyov
Hello,

my date validation doesn't work on client (jsp) side.

I need validate date in "MM/dd/yy" format.
in validation.xml :





  


  

  


  

  
datePattern
MM/dd/yy
  






plugin includes in struts-config.xml and 





into jsp.

do I missing anything.

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




how to Validate DATE?

2003-02-11 Thread michael . korolyov
Hello,

my date validation doesn't work on client (jsp) side.

I need validate date in "MM/dd/yy" format.
in validation.xml :





  


  

  


  

  
datePattern
MM/dd/yy
  






plugin includes in struts-config.xml and 





into jsp.

do I missing anything.

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [Q] How to tell Struts to ReLoad (reread) struts-config.xml? - solved

2003-02-06 Thread michael . korolyov
Hello,

I found solution for WebLogic 6.1, but it will work with expanded Web
Application format - that I use for development anyway.

create REDEPLOY file in WEB-INF folder then touch it when  you will need
reload your application.

p.s. I'm still looking for solution how to deploy ear / war to WebLogic that
WebLogic expand it later.

tnx

-Original Message-
From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 10:48 AM
To: Struts Users Mailing List
Subject: RE: [Q] How to tell Struts to ReLoad (reread)
struts-config.xml?


If you're using Tomcat, I think the manager app is the fastest way to reload
struts classes and configuration files.  Still requires some kind of action
besides modifying your files.



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 06, 2003 12:43 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Q] How to tell Struts to ReLoad (reread)
> struts-config.xml?
> 
> 
> nope - It doesn't work with WebLogic ...
> 
> tnx
> 
> 
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 06, 2003 10:13 AM
> To: Struts Users Mailing List
> Subject: Re: [Q] How to tell Struts to ReLoad (reread)
> struts-config.xml?
> 
> 
> Not sure about WebLogic, but if you are working with an 
> expanded webapp in
> JBoss, you can just touch the web.xml and it auto-reloads the app.
> 
> 
> --
> James Mitchell
> 
> 
> 
> 
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 06, 2003 1:02 PM
> Subject: [Q] How to tell Struts to ReLoad (reread) struts-config.xml?
> 
> 
> > Hello,
> >
> > I'd like make some changes in struts-congis.xml like a add 
> new action or
> > etc. and apply those changes without restart WebLogic.
> >
> > tnx
> >
> > Best Regards.
> > Michael.
> >
> >
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [Q] How to tell Struts to ReLoad (reread) struts-config.xml?

2003-02-06 Thread michael . korolyov
nope - It doesn't work with WebLogic ...

tnx


-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 10:13 AM
To: Struts Users Mailing List
Subject: Re: [Q] How to tell Struts to ReLoad (reread)
struts-config.xml?


Not sure about WebLogic, but if you are working with an expanded webapp in
JBoss, you can just touch the web.xml and it auto-reloads the app.


--
James Mitchell





- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 1:02 PM
Subject: [Q] How to tell Struts to ReLoad (reread) struts-config.xml?


> Hello,
>
> I'd like make some changes in struts-congis.xml like a add new action or
> etc. and apply those changes without restart WebLogic.
>
> tnx
>
> Best Regards.
> Michael.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[Q] How to tell Struts to ReLoad (reread) struts-config.xml?

2003-02-06 Thread michael . korolyov
Hello,

I'd like make some changes in struts-congis.xml like a add new action or
etc. and apply those changes without restart WebLogic.

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




How to getRealPath() in Action class?

2003-01-31 Thread michael . korolyov
Hello,

Subj.

tnx


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




does any one use KavaChart from ve.com?

2003-01-31 Thread michael . korolyov
Hello,

would any one send me an example how to use it in Action class? please

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




How to REDIRECT?

2003-01-30 Thread michael . korolyov
Hello,

how to say to IE (browser) to change url? use redirect instead forward.

one Action class call another as it defined in struts-config.xml -
SaveAction --> ListAction










the List.jsp has "refresh" meta tag
and it need to call list.do, but IE still has old save.do instead of it.

what I need to do to replace that?

tnx

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[Q] any good doc about how to create Appl. with Struts step by step?

2003-01-29 Thread michael . korolyov
Hello,

something like:
1. create folder structure ...
2. copy xxx.jar to ...
3. copy xxx.tld to ...
4. create web.xml as ... in ...

and so on.

thank you.

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[Q] any good doc about how to create Appl. with Struts step be step?

2003-01-29 Thread michael . korolyov
Hello,

something like:
1. create folder structure ...
2. copy xxx.jar to ...
3. copy xxx.tld to ...
4. create web.xml as ... in ...

and so on.

thank you.

Best Regards.
Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




what I can use to display a Chart?

2003-01-28 Thread michael . korolyov
Hello,

does any one use Charts with Struts?
what lib / product you can recommend?

thank you.

Best Regards.
Michael.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: