how to validate url and phone

2007-04-01 Thread strutproject
how to validate url and phone in struts give sample code -- View this message in context: http://www.nabble.com/how-to-validate-url-and-phone-tf3503923.html#a9785700 Sent from the Struts - User mailing list archive at Nabble.com.

how to pass data

2007-04-01 Thread strutproject
how to pass values from some field when a link is clicked to another page where it has same fields -- View this message in context: http://www.nabble.com/how-to-pass-data-tf3503916.html#a9785691 Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: Config-Browser half works - java.io.FileNotFoundException

2007-04-01 Thread Antony Stubbs
Sorry about what seems like spam guys, but I'm nailing this issue down as I go along. It seems now to be nothing to do with Config-Brower, as it happens with my Hello World page as well, just didn't notice it before as it doesn't display the "File not found" error, it just throws the exceptions in

TilesServlet class not found

2007-04-01 Thread Edisandro
Hi guys, My application uses JSF 1.1 and I would like to use Tiles without having to use struts. Many tutorials on the web tell that I can use Tiles without struts by using the org.apache.struts.tiles.TilesServlet class. However, after configure my web.xml file to use such class as described on

Problem in struts layout's datagrid.

2007-04-01 Thread struts2
I am using a datagrid of struts layout in my JSP the code is :

Re: Config-Browser half works - java.io.FileNotFoundException

2007-04-01 Thread Antony Stubbs
Ok strange... I think what I am seeing is Config-Browser working correctly, but something's trying to tak output onto the end of the response?! This is the log from the request after it's already been viewed once. This is what I find interesting: "WARNING: Cannot set status. Response already comm

Re: Struts AJAX tags not working in light portal

2007-04-01 Thread Pancham Singh
I have tried application with straight dojo and it works - there are no issues, I run into this issue only when I am using it along with Light Portal which uses Rico and Prototype to load portlet contents. On 4/1/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I'd suggest trying to get your app

Config-Browser half works - java.io.FileNotFoundException

2007-04-01 Thread Antony Stubbs
I'm trying to get up and running with Struts2 on an old Struts1 project (i.e. want to use both at the same time). During my travels of trying to get running, I've tried using the config-browser. *but* it only half works for me. I get the top half of the screen correctly showing the namespaces etc

Re: confused about validation

2007-04-01 Thread Ted Husted
I'd say that someone who is learning the framework is in the best position to know what other newbies need to know. What specific changes could we (meaning you) make to the documentation so that someone else wouldn't have the same problem. On 4/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Re: confused about validation

2007-04-01 Thread mansour77
Dave Newton wrote: --- [EMAIL PROTECTED] wrote: Thank you Dave: It's working fine now. Cool... Always feel free to post with documentation observations or make a comment directly on the Wiki page in question; there's a growing body of documentation editors churning away :) d. __

Re: confused about validation

2007-04-01 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > Thank you Dave: > It's working fine now. Cool... Always feel free to post with documentation observations or make a comment directly on the Wiki page in question; there's a growing body of documentation editors churning away :) d. _

Re: confused about validation

2007-04-01 Thread mansour77
Dave Newton wrote: --- [EMAIL PROTECTED] wrote: Now I getting totally different error: HTTP Status 500 - *type* Exception report *message* *description* _The server encountered an internal error () that pre

Re: confused about validation

2007-04-01 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > Now I getting totally different error: > > > HTTP Status 500 - > > *type* Exception report > *message* > *description* _The server encountered an internal > error () that > prevented it from f

Re: confused about validation

2007-04-01 Thread mansour77
[EMAIL PROTECTED] wrote: Ted Husted wrote: On 4/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: For example what is the name space here in struts applications ? * http://struts.apache.org/2.x/docs/namespace-configuration.html The namespace should not affect validation. but nothing is ha

Re: confused about validation

2007-04-01 Thread mansour77
Ted Husted wrote: On 4/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: For example what is the name space here in struts applications ? * http://struts.apache.org/2.x/docs/namespace-configuration.html The namespace should not affect validation. but nothing is happening and no validation

Re: confused about validation

2007-04-01 Thread Ted Husted
On 4/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: For example what is the name space here in struts applications ? * http://struts.apache.org/2.x/docs/namespace-configuration.html The namespace should not affect validation. but nothing is happening and no validation is taking place. ca

Re: can anyone recommended books which will help me learn Struts 2

2007-04-01 Thread Ted Husted
On 4/1/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- [EMAIL PROTECTED] wrote: > That's exactly what I was talking about. I can not > follow the tutorial or the example if there's a page > missing or a piece of code that is missing. I haven't noticed any issues in the tutorial. Hopefully these

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-01 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > I already exceeded the "Works for me quota" this > week, so I won't say it :), > modifying /remotediv/example1.jsp in showcase to: > > method="execute" /> > theme="ajax" > href="%{ajaxTest0}" /> > > > theme="ajax" >

confused about validation

2007-04-01 Thread mansour77
Hello everyone: I am totally new to struts. I decided to go with struts 2. But the documentation is not complete, and I believe alot of you may agree with me. The example on this page http://struts.apache.org/2.0.6/docs/validating-input.html says that the validation file follows the name con

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-01 Thread Musachy Barroso
I already exceeded the "Works for me quota" this week, so I won't say it :), modifying /remotediv/example1.jsp in showcase to: They both work. What is different in your case? musachy On 4/1/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: yeah I know, the thing is that the button and the

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-01 Thread Musachy Barroso
yeah I know, the thing is that the button and the anchor tags would generate the url (add context path), and if you would use the url tag with them, the context got duplicated, so we removed the url building logic from them, forcing users to build the url with the url tag and pass it to the tags,

Re: [S2] struts2-showcase in Websphere 6.1 not picking up static resources

2007-04-01 Thread alkira
Yes, I just copied the static files into a directory in my project called "static", and then manually included all the files - basically copying the includes the tag generates but changing the directory structure to point to my "static" directory (including the dojo default path javascript). It

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-01 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > I think we had this same problem with the anchor and > button tags, and that's why we made it mandatory to > use the url tag to build the url, otherwise the > context gets duplicated. But... I *am* using It's when there's a method (specified via

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-01 Thread Musachy Barroso
I think we had this same problem with the anchor and button tags, and that's why we made it mandatory to use the url tag to build the url, otherwise the context gets duplicated. musachy On 4/1/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Musachy Barroso <[EMAIL PROTECTED]> wrote: > (1) is pr

Re: can anyone recommended books which will help me learn Struts 2

2007-04-01 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > That's exactly what I was talking about. I can not > follow the tutorial or the example if there's a page > missing or a piece of code that is missing. I haven't noticed any issues in the tutorial. Hopefully these new snippet issues will be fixed ASAP. In the meant

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-01 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > (1) is probably related to this one: > > https://issues.apache.org/struts/browse/WW-1784 I can't tell what the problem is there, but I just verified that the action!method creates the funked-up URL: creates /s2samples/forms/dynaFileAction.actio

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-01 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > for (2), do you have executeScripts set to "true"? > I'm not sure what to do here, as it works for me and > showcase. In other words, it is certified :) :p Yep, I set executeScripts="true" for both divs, the outer tabbedPanel div and the inner wit

Re: [S2] struts2-showcase in Websphere 6.1 not picking up static resources

2007-04-01 Thread Antony Stubbs
Hi Alkira, Could you please elaborate on your fix? Did you manually install Dojo and NiftyScript into the showcase war and publish it? I can't find the /struts/ directory within the war that firebug is reporting doesn't exist: "Error 404: SRVE0190E: File not found: /struts/dojo/dojo.js" alkira

Re: can anyone recommended books which will help me learn Struts 2

2007-04-01 Thread mansour77
That's exactly what I was talking about. I can not follow the tutorial or the example if there's a page missing or a piece of code that is missing. Dave Newton wrote: --- Laurie Harper <[EMAIL PROTECTED]> wrote: [...] all worked fine. An error occurred: http://svn.apache.org/repos/

Struts 2. Onchange event does not work with datetimepicker

2007-04-01 Thread VictorD
Hi, I am trying to use onchange event with datetimepicker. Looks like datetimepicker ignores that event. Does anybody know, what should I do to make it works? Thanks -- View this message in context: http://www.nabble.com/Struts-2.-Onchange-event-does-not-work-with-datetimepicker-tf3503053.htm

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-01 Thread Musachy Barroso
(1) is probably related to this one: https://issues.apache.org/struts/browse/WW-1784 Which I haven't looked at yet. musachy On 4/1/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Dave, for (1), if you have a testcase at hand and could attach it to a jira ticket it would be great. for (2),

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-01 Thread Musachy Barroso
Dave, for (1), if you have a testcase at hand and could attach it to a jira ticket it would be great. for (2), do you have executeScripts set to "true"? I'm not sure what to do here, as it works for me and showcase. In other words, it is certified :) http://www.codinghorror.com/blog/archives/0

Re: [S2] s:tabbedPanel with remote tabs and javascript on the remote tabs

2007-04-01 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > And it shows the two alerts, and sets the tab > content to: "Show me some text also" I have run in to a similar problem now under 2.0.6... My top-level page is a JSP with a tabbedPanel and two divs, one remote. I've had two issues. (1) Remote div

Re: can anyone recommended books which will help me learn Struts 2

2007-04-01 Thread Dave Newton
--- Laurie Harper <[EMAIL PROTECTED]> wrote: > [...] all worked fine. An error occurred: http://svn.apache.org/repos/asf/struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/validation/QuizAction-validation.xml. The system administrator has been notified. Snippet issues, y

Re: can anyone recommended books which will help me learn Struts 2

2007-04-01 Thread Laurie Harper
Which pages are you having trouble with? Starting from the main validation page: http://struts.apache.org/2.x/docs/validation.html I tried a random selection of links and all worked fine. L. [EMAIL PROTECTED] wrote: Do you have any idea about who maintains the documentation. I am new to str

Re: Struts AJAX tags not working in light portal

2007-04-01 Thread Musachy Barroso
I'd suggest trying to get your app running using Dojo directly first (to make sure that everything works), and then start using the AJAX tags, I think you will have the same problems if you try straight Dojo. musachy On 4/1/07, Pancham Singh <[EMAIL PROTECTED]> wrote: I am trying to use struts

Struts AJAX tags not working in light portal

2007-04-01 Thread Pancham Singh
I am trying to use struts portlet example along with light portal, an AJAX based portlet container which uses Rico and Prototype to load contents of individual portlets. The struts ajax tags use dojo, wheare as ligh portal which loads contents of my portlet uses Rico + Prototype. My portlet conten

Re: can anyone recommended books which will help me learn Struts 2

2007-04-01 Thread mansour77
Do you have any idea about who maintains the documentation. I am new to struts, and started with Struts 2. The examples pages on the validation section are all broken. Whom should I contact for this? Ted Husted wrote: On 3/29/07, Cecilia Castillo <[EMAIL PROTECTED]> wrote: I do have some is

Re: Struts 1.2 validation not working!

2007-04-01 Thread davout
I downloaded the r1.2.7 release and used this as my comparison basis. My IDE is 'MyEclipse' which uses a Struts 1.2 release. The xml files are exactly the same. I used the 'beyond compare' file comparison utility to view this, and there are no differences. . What next? Niall Pemberton-2 wrote

Re: [BEER] Wicket Wampum

2007-04-01 Thread Dave Newton
--- Ted Husted <[EMAIL PROTECTED]> wrote: > http://martijndashorst.com/blog/2007/03/26/ibm-support-for-wicket-contracts-signed/ http://mail-archives.apache.org/mod_mbox/tapestry-users/200504.mbox/[EMAIL PROTECTED] d. __

[BEER] Wicket Wampum

2007-04-01 Thread Ted Husted
* http://martijndashorst.com/blog/2007/03/26/ibm-support-for-wicket-contracts-signed/ Carpe Diem! -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT