[S2] Date Validation

2008-04-05 Thread Rodrigo Pereira
.components.DateTimePicker format SEVERE: Could not parse date java.text.ParseException: Unparseable date: If I comment this field validation, all the rest of my validation on this form work. Does anybody have an idea what I am doing wrong? Thanks, Rodrigo Pereira

Re: Validation

2008-03-30 Thread Rodrigo Pereira
was wondering if there is another option. Thanks, Rodrigo Pereira - Original Message - From: Nuwan Chandrasoma [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, March 29, 2008 6:12 PM Subject: Re: Validation Hi, Simple theme doesn't support Validation

Re: 2.0.11: s:autocompleter

2007-12-24 Thread Rodrigo Pereira
Hi, I am able to make it work in FF, but not in IE 6.0. Is there any problems with s:autocompleter and IE? I checked show-case example and it does not work as well. Thanks, Rodrigo Pereira On Dec 15, 2007 4:53 PM, Rodrigo Pereira [EMAIL PROTECTED] wrote: I got it as well. Changing the name

3 columns s:iterator

2007-12-23 Thread Rodrigo Pereira
s:property value=name/ /td /tr /s:iterator /table Thanks, Rodrigo Pereira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: 2.0.11: s:autocompleter

2007-12-15 Thread Rodrigo Pereira
Hi, does anybody have an example of s:autocompleter getting list value from an action? I have been trying to update a list based on the selection of another one, but no success. I'd like the dropdown lists not hardcoded as showcase example does. Thanks, Rodrigo Pereira On Dec 11, 2007 4:50 PM

Re: 2.0.11: s:autocompleter

2007-12-15 Thread Rodrigo Pereira
and seters } Now I'd like to pass forward to my action list key value instead of list value. Thanks, Rodrigo Pereira On Dec 15, 2007 2:32 PM, Martin Gainty [EMAIL PROTECTED] wrote: Rodrigo- There is a bug I logged on autocompleter..hopefully we'll have a patch soon https://issues.apache.org

Re: 2.0.11: s:autocompleter

2007-12-15 Thread Rodrigo Pereira
I got it as well. Changing the name parameter to keyName works. Thanks, Rodrigo Pereira On Dec 15, 2007 3:03 PM, Rodrigo Pereira [EMAIL PROTECTED] wrote: I got it. :) All magic is behind freemaker. dropdown.jsp: %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib prefix

2.0.11: s:autocompleter

2007-12-11 Thread Rodrigo Pereira
=lower listValue=name listKey=valueId href=%{#autoLower} listenTopics=/Changed formId=selectForm / /body /html Does anybody know what I am doing wrong? Btw, the action is called and it can access upperValue value, is there a way of sending key instead of value? Thanks, Rodrigo Pereira

Re: 2.0.11: s:autocompleter

2007-12-11 Thread Rodrigo Pereira
Hi, this way you're hard coding the 1st dropdown list. I'd like to get it from an action. By the way, how does the 2nd dropdown get updated? Thanks, Rodrigo Pereira On Dec 11, 2007 2:01 PM, [EMAIL PROTECTED] wrote: http://struts.apache.org/2.0.6/docs/ajax-tags.html s:url id=autoLower action

Re: 2.0.11: s:autocompleter

2007-12-11 Thread Rodrigo Pereira
listKey=valueId listenTopics=/changeLower formId=selectForm/ Thanks, Rodrigo Pereira On Dec 11, 2007 4:42 PM, Dave Newton [EMAIL PROTECTED] wrote: --- Rodrigo Pereira [EMAIL PROTECTED] wrote: this way you're hard coding the 1st dropdown list. I'd like to get it from an action. So use a value

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
Hi, no exception during startup. Btw, is it correct of not having StrutsTilesListener in web.xml? Thanks, Rodrigo Pereira On Dec 7, 2007 12:46 PM, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/12/7, Rodrigo Pereira [EMAIL PROTECTED]: java.lang.NullPointerException

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
) org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) Thanks, Rodrigo Pereira On Dec 7

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
name=homePage.tiles extends=baseDef.tiles put-attribute name=main value=/main.jsp / /definition /tiles-definitions Thanks, Rodrigo Pereira On Dec 7, 2007 11:00 AM, Antonio Petrelli [EMAIL PROTECTED] wrote: Rodrigo Please post the exception stack trace here, otherwise we

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
Yes, I only get the exception if I remove it, if not I get The requested resource (/myApp/) is not available. and it seems like all my actions stop working. Thanks, Rodrigo Pereira On Dec 7, 2007 1:10 PM, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/12/7, Rodrigo Pereira [EMAIL PROTECTED

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
No, only a message from tomcat saying the resource is not available. Well, my index.html page automatically redirects to an action. Thanks, Rodrigo Pereira On Dec 7, 2007 1:40 PM, LEONARD Julien (Consulting for ACCOR Hotels) [EMAIL PROTECTED] wrote: And if you put the strutslistener you haven't

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
Struts actions stop working and it is not recognize by tomcat. I have the following jars: struts2-tiles-plugin-2.0.11.jar tiles-api-2.0.4.jar tiles-core-2.0.4.jar tiles-jsp-2.0.4.jar Thanks, Rodrigo Pereira On 12/6/07, Dave Newton [EMAIL PROTECTED] wrote: --- Rodrigo Pereira [EMAIL

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Thanks, Rodrigo Pereira On Dec 7, 2007 5:40 PM, Rodrigo Pereira [EMAIL PROTECTED] wrote: That's

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
Thanks it is working now! I also needed commons-collection. Why does not Struts come with those jars? :) Thanks, Rodrigo Pereira On Dec 7, 2007 6:20 PM, Mike Jennings [EMAIL PROTECTED] wrote: Looks like you don't have apache commons-digester in your classpath Rodrigo Pereira wrote: I got

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
TilesContext for context: org.apache.catalina.core.ApplicationContextFacade Thanks, Rodrigo Pereira On Dec 7, 2007 1:48 PM, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/12/7, Rodrigo Pereira [EMAIL PROTECTED]: No, only a message from tomcat saying the resource is not available. Well, my

Struts 2.0.11 + Tiles

2007-12-06 Thread Rodrigo Pereira
Hi, I am facing an issue trying to use struts 2.0.11 + tiles. When I insert the following information in my web.xml I get an exception: listener listener-classorg.apache.struts2.tiles.StrutsTilesListener/listener-class /listener Have anybody faced the same issue here before? Thanks, Rodrigo

Struts-Faces: FormFile

2007-05-05 Thread Rodrigo Pereira
Hi, is it possible to use FormFile with struts-faces integration library? When I set enctype=multipart/form-data it does not submit my form anymore. Thanks, Rodrigo Pereira - To unsubscribe, e-mail: [EMAIL PROTECTED

[Struts-Faces] DispatchAction

2007-03-16 Thread Rodrigo Pereira
Hi, is it possible to use DispatchAction with struts-faces integration library + tiles? All my tests the execute method was called even if I specify on the URL the method name. Thanks, Rodrigo Pereira - To unsubscribe, e-mail

Re: Struts-Faces: Tomahawk tree

2007-03-09 Thread Rodrigo Pereira
: http://myfaces.apache.org/tomahawk/extensionsFilter.html; ). I have already followed the instructions on the URL, no success at all. I hope somebody can help me! Thanks, Rodrigo Pereira On 3/5/07, Rodrigo Pereira [EMAIL PROTECTED] wrote: Sorry, I thought I had pasted the error stack trace in here

Re: Struts-Faces: Tomahawk tree

2007-03-09 Thread Rodrigo Pereira
Are you using Tiles? I guess the issue relies here. If I try to use Tomahawk w/o Tiles, no problem, but when I use tiles, booom, I get an error. Thanks, Rodrigo Pereira On 3/9/07, Ray Clough [EMAIL PROTECTED] wrote: I have the precise same problem. Personally, my guess is that the Struts

Struts-Faces + Tiles + Myfaces-Extensions

2007-03-06 Thread Rodrigo Pereira
) at org.apache.struts.tiles.taglib.InsertTag.createTagHandler(InsertTag.java:478) at org.apache.struts.tiles.taglib.InsertTag.doStartTag(InsertTag.java:438) Thanks, Rodrigo Pereira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Struts-Faces: Tomahawk tree

2007-03-05 Thread Rodrigo Pereira
but I can see org.apache.myfaces.taglib.html.HtmlPanelGridTag in myfaces-impl-1.0.9.jar. Thanks, Rodrigo Pereira On 3/5/07, Laurie Harper [EMAIL PROTECTED] wrote: What are you trying to download? Where was it referenced? What error(s) did you get when you tried the download(s)? As Dave's post

Re: Struts-Faces: Tomahawk tree

2007-03-04 Thread Rodrigo Pereira
Hi, I am trying to user tree or tree2 component. I saw there are those references within myfaces-extensions that ships with struts-faces integration library example, but I got an err. When I tried to download it from myfaces.apache.org, I got another error Thanks, Rodrigo Pereira On 3/3/07

Struts-Faces: Tomahawk tree

2007-03-03 Thread Rodrigo Pereira
Hi, I am facing problems trying to use t:tree with struts-faces integration library, does anybody have an idea on how I can do that? Thanks, Rodrigo Pereira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Struts-Faces: parameter

2007-02-18 Thread Rodrigo Pereira
Is there any way of passing parameters to the action instead of form fields? I mean, I have a value on a managed bean and I'd like to pass it to the action, how can I do that? Thanks, Rodrigo Pereira - To unsubscribe, e-mail

Re: Struts-Faces: validator

2007-02-11 Thread Rodrigo Pereira
Hi all, after a lot of pain, I was able to get my form validated using validation.xml. Now I have a question, does the type have to be DynaValidatorForm? Thanks, Rodrigo Pereira On 2/9/07, Rodrigo Pereira [EMAIL PROTECTED] wrote: Hi all, I am still facing problems with JS validation. I'll

Re: Struts-Faces: validator

2007-02-09 Thread Rodrigo Pereira
/script /s:form It has been a week I am trying to make this work :-( Thanks, Rodrigo Pereira On 2/6/07, Rodrigo Pereira [EMAIL PROTECTED] wrote: Hi Peter, if you could send it to me at [EMAIL PROTECTED] I would appreciate. No matter what I do, it does not call onsubmit

Re: Struts-Faces: validator

2007-02-06 Thread Rodrigo Pereira
Hi Peter, if you could send it to me at [EMAIL PROTECTED] I would appreciate. No matter what I do, it does not call onsubmit validate js function. :-( Thanks, Rodrigo Pereira On 2/6/07, Peter Bliznak [EMAIL PROTECTED] wrote: Hi Rodrigo, yes you can use commandButon. Btw have you look

Re: Struts-Faces: validator

2007-02-05 Thread Rodrigo Pereira
I am already doing this. Can I use h:commandButton to submit ( call onsubmit ) struts-faces form? Thanks, Rodrigo Pereira On 2/4/07, Martin Gainty [EMAIL PROTECTED] wrote: Kevin-- I would suggest implementing the validation.xml packaged within struts as the basis for your validation efforts

Re: Struts-Faces: validator

2007-02-04 Thread Rodrigo Pereira
Hi Peter, Is there any hint for this? I can see the js printed on the page, but it looks like it never called those functions and it goes directly to the action. Thanks, Rodrigo Pereira On 2/3/07, PETER BLIZNAK [EMAIL PROTECTED] wrote: Yes it does work, I am using on every single page

Re: Struts-Faces: validator

2007-02-04 Thread Rodrigo Pereira
It seens to me onsubmit of s:form is never executed. Thanks, Rodrigo Pereira On 2/4/07, Rodrigo Pereira [EMAIL PROTECTED] wrote: Hi Peter, Is there any hint for this? I can see the js printed on the page, but it looks like it never called those functions and it goes directly to the action

Struts-Faces: validator

2007-02-03 Thread Rodrigo Pereira
hi All, does anybody know if validator work with struts-faces? I have read a lot of tutorials on the Internet, but no success at all Thanks, Rodrigo Pereira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Struts-Faces: FormBean and ManagedBean

2007-02-02 Thread Rodrigo Pereira
that ajax tag require to use manages bean - or could you just provide it with action form bean ???. P Rodrigo Pereira wrote: Hi Peter, thanks for your reply. I want to have an actionForm act as a managed bean just to use ajax ( ajax4jfs tags ). Basically I want to populate 4 fields according

s:commandLink

2007-02-02 Thread Rodrigo Pereira
Hi all, is it possible to pass parameters on s:commandLink? If so, how can I send and get this parameter? Thanks, Rodrigo Pereira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts-Faces: FormBean and ManagedBean

2007-02-01 Thread Rodrigo Pereira
Hi all, is it possible for a class to play both roles: Struts FormBean, and JSF ManagesBean? I mean, can I declare it on faces-config.xml, and struts-config.xml? Thanks, Rodrigo Pereira - To unsubscribe, e-mail: [EMAIL

Re: Struts-Faces action

2007-01-06 Thread Rodrigo Pereira
as #{ ActionForm.attribute} ? If so, I am already using. Thanks, Rodrigo Pereira

Struts-Faces action

2007-01-05 Thread Rodrigo Pereira
=failure path=/formLogin.faces contextRelative=true / /action Does anybody can help me? Thanks, Rodrigo Pereira

Re: Struts-Faces action

2007-01-05 Thread Rodrigo Pereira
Thanks, Rodrigo Pereira On 1/5/07, Craig McClanahan [EMAIL PROTECTED] wrote: On 1/5/07, Rodrigo Pereira [EMAIL PROTECTED] wrote: Hi, I am new to JSF and Struts-Faces integration library. I am facing a problem but I did not find any documentation about this. That's the error I am getting