RES: [OS-webwork] Boo

2003-11-14 Thread CVillela
Title: RES: [OS-webwork] Boo +1 -Mensagem original- De: Fred Lamuette [mailto:[EMAIL PROTECTED]] Enviada em: sexta-feira, 14 de novembro de 2003 11:08 Para: [EMAIL PROTECTED] Assunto: RE: [OS-webwork] Boo It sounds good. -Message d'origine- De : [EMAIL PROTECTED]

[OS-webwork] OSCache and WebWork+Velocity?

2003-11-11 Thread CVillela
Title: OSCache and WebWork+Velocity? Hi folks! :) Is using OSCache with WebWork2 and Velocity possible (or even, plausible) now that we can call any taglib using the new directives? Any thoughts or experiences in this regard? Peace, -cv

[OS-webwork] Config browser?

2003-11-05 Thread CVillela
Title: Config browser? Hi folks! After looking at Dag Liodden's wicked cool screenshots showing the config browser with graphical displays of the Action and Result mappings, I felt curious about the old config browser, and tried to put it to work, with no success... what is needed to get

[OS-webwork] [ww2/xw1] Actions in JavaScript other languages

2003-11-05 Thread CVillela
Title: [ww2/xw1] Actions in JavaScript other languages Hi all! :) How's the support in WebWork2 and XWork for creating actions in _javascript_ or other BeanShell languages? I see that js.jar is included in the XWork lib dirs, but I don't see any trace of an ActionInvocation or ActionProxy

[OS-webwork] lil' tool to help w/ template refactoring

2003-11-03 Thread CVillela
Title: lil' tool to help w/ template refactoring Hi folks! I've been badly burned by a change in our domain model, and unfortunately I found out that refactoring a domain model after coding tons of velocity templates with forms that change the objects directly using a Model-Driven action is

RES: [OS-webwork] Security Filter

2003-10-30 Thread CVillela
Title: RES: [OS-webwork] Security Filter Hi Samuel! I think you're talking about Seraph, right? http://opensource.atlassian.com/seraph cheers, -cv -Mensagem original- De: Samuel Mota [mailto:[EMAIL PROTECTED]] Enviada em: quinta-feira, 30 de outubro de 2003 14:36 Para: [EMAIL

[OS-webwork] weird velocity errors?

2003-10-30 Thread CVillela
Title: weird velocity errors? Hi all, I'm getting weird errors marked when using the WW2 Velocity UI tags with the VeloEdit plug-in for Eclipse (which I highly recommend). Tracing the error a little bit shows that the Velocity parser is not very happy with #bodytag ... #end directives. Does

RES: [OS-webwork] Security Filter

2003-10-30 Thread CVillela
Title: RES: [OS-webwork] Security Filter In fact, I think that a lot of Seraph's functionality could come bundled in WebWork2's package. 'Batteries Included' is a cool motto of the python community, and I think that, given that things remain pluggable as they are now, security would be a very

[OS-webwork] (oops...) new UI tags not getting i18nized?

2003-10-28 Thread CVillela
Title: (oops...) new UI tags not getting i18nized? Howdy folks! After I finished migrating to the new velocity UI tags, I found out that my labels are not being looked up in the properties files anymore: #tag(TextField label='cadastro.userName' name='cadastro.userName') #tag(Password

RES: [OS-webwork] new UI tags not getting i18nized?

2003-10-28 Thread CVillela
Title: Message Cool, it's working now. Thanks Jason! :) -Mensagem original-De: Jason Carreira [mailto:[EMAIL PROTECTED]Enviada em: terça-feira, 28 de outubro de 2003 14:56Para: [EMAIL PROTECTED]Assunto: RE: [OS-webwork] new UI tags not getting i18nized? That's because getText is

RES: [OS-webwork] NullPointerException in VelocityResult

2003-10-22 Thread CVillela
Title: RES: [OS-webwork] NullPointerException in VelocityResult Hi Matt! JBoss+Jetty is working well, too, but I still couldn't it get it to work on Orion 2.0.2. Probably some forgotten jar is getting loaded before the updated ww2's one, as the stack trace still points to the same line

RES: [OS-webwork] that keyword...

2003-10-20 Thread CVillela
Title: RES: [OS-webwork] that keyword... I agree that using 'that' looks a lot like something from JSR 666 :) +1 for 'top' (t would be too cryptic for me) peace, -cv -Mensagem original- De: Patrick Lightbody [mailto:[EMAIL PROTECTED]] Enviada em: segunda-feira, 20 de outubro de

RES: [OS-webwork] Type Converetrs and formatting

2003-10-16 Thread CVillela
Yeap: #tag(TextField "label=personal.birthDate" "value=personal.birthDate" "value=personal.birthDate") I've put a breakpoint in mine and xwork's date converters, and none of them gets called, and this ends up in the presentation instead: Wed May 16 00:00:00 GMT-03:00 2001 Any ideas?

RES: [OS-webwork] XWorkException extending RuntimeException

2003-10-16 Thread CVillela
Title: RES: [OS-webwork] XWorkException extending RuntimeException This may sound a bit obvious, but I'm not a fan of checked exceptions for *unrecoverable* situations either. I do, instead, firmly believe in the fail-fast principle: any situation that can't be recovered demands immediate

[OS-webwork] Type Converetrs and formatting

2003-10-15 Thread CVillela
Title: Type Converetrs and formatting Hi y'all! :) Does it make sense that the type converters are not being called to convert fields back into their String (presentation) format? I'm trying to use a Date converter which respects the brazilian time formats (dd/MM/), and while conversion

RES: [OS-webwork] square brackets in field errors?

2003-10-09 Thread CVillela
Title: RES: [OS-webwork] square brackets in field errors? For now, I just dropped the controlheader.vm found in the JIRA comment, and everything's working fine :) peace, -cv -Mensagem original- De: Jason Carreira [mailto:[EMAIL PROTECTED]] Enviada em: quinta-feira, 9 de outubro de

RES: [OS-webwork] single i18n catalog for multiple actions?

2003-10-09 Thread CVillela
Title: Message I wiki'd this in http://wiki.opensymphony.com/space/WebWork+2+Internationalization peace, -cv -Mensagem original-De: Drew McAuliffe [mailto:[EMAIL PROTECTED]Enviada em: quinta-feira, 9 de outubro de 2003 14:58Para: [EMAIL PROTECTED]Assunto: RE: [OS-webwork] single

RES: [OS-webwork] single i18n catalog for multiple actions?

2003-10-08 Thread CVillela
Title: Message Yeah, a ServletContextListener works fine :) -Mensagem original-De: Jason Carreira [mailto:[EMAIL PROTECTED]Enviada em: terça-feira, 7 de outubro de 2003 22:06Para: [EMAIL PROTECTED]Assunto: RE: [OS-webwork] single i18n catalog for multiple actions? I would

[OS-webwork] what are the type converters available?

2003-10-08 Thread CVillela
Title: what are the type converters available? I was wondering if WW2 provides any default type converters... maybe EuropeanDateConverter, AmericanDateConverter, MoneyConverter could be good candidates?

[OS-webwork] javascript actions on form components?

2003-10-07 Thread CVillela
Title: javascript actions on form components? Hi :) I'm trying to come up with some _javascript_ validations for a couple of forms here, and I'd like to attach an event method on the form submit: #bodytag(Form method='post' action='' ) #tag ... #tag ... #tag(Submit value='Proceed') #end

RES: [OS-webwork] javascript actions on form components?

2003-10-07 Thread CVillela
Title: javascript actions on form components? That would change the behaviour I want - because you can submit a form without a click in the submit button, but, anyways, it doesn't work, either... -Mensagem original-De: Robert Douglass [mailto:[EMAIL PROTECTED]Enviada em:

RES: [OS-webwork] javascript actions on form components?

2003-10-07 Thread CVillela
Title: javascript actions on form components? Exactly, the form.vm component just omits it in the resulting html... but, as I'm not sure if ww2 supports client-side validation of some sort, I thought it was better to ask before changing that. -Mensagem original-De: Robert Douglass

[OS-webwork] single i18n catalog for multiple actions?

2003-10-07 Thread CVillela
Title: single i18n catalog for multiple actions? Hi all :) Is there a simple way to maintain a single catalog of i18n .properties files? I got a lot of duplicated messages (well, most of them are duplicates), so I would like to keep them all under, I don't know, application.properties. The

RES: [OS-webwork] Advanced URL mapping?

2003-10-06 Thread CVillela
Title: RES: [OS-webwork] Advanced URL mapping? I think we could use a CoolURI tag to render tags pretty much in the same way the URL tag does today (maybe even patch the url tag so that it generates both cool and boring urls?) -cv -Mensagem original- De: Jérôme BERNARD

[OS-webwork] Logging of properties not set?

2003-10-04 Thread CVillela
Title: Logging of properties not set? Hi all! Enjoying the friday? :) I'm still trying some more solutions for the n textboxes vs. one field problem, and I started to dig a bit deeper in the code, looking for some logging statements I've been possibly missing, but, so far, I couldn't find

RES: [OS-webwork] Same property, 3 textfields

2003-10-04 Thread CVillela
Title: Message The problem here is that pre-populating the List stops with the IOBE's, but then how do i create Email objects to add to it? I don't know, maybe making the conversion on the setter? Sounds like a bad practice to me... -Mensagem original-De: Jason Carreira

[OS-webwork] Logging of properties not set?

2003-10-03 Thread CVillela
Title: Logging of properties not set? Hi all! Enjoying the friday? :) I'm still trying some more solutions for the n textboxes vs. one field problem, and I started to dig a bit deeper in the code, looking for some logging statements I've been possibly missing, but, so far, I couldn't find

[OS-webwork] Checkbox grouping?

2003-10-02 Thread CVillela
Title: Checkbox grouping? Hi all, I gotta create a form like this: [ ] Foo [ ] Bar [ ] Baz [ ] Other: [ ] Being kind of a WW2 newbie, what would be the best way to do that? It'd be better if I could keep the other text filled in the textbox in the same place on the model (and thus, the

[OS-webwork] Another quickie

2003-10-02 Thread CVillela
Title: Another quickie Hi all :) First, thanks a lot to Jason for answering the previous question (checkbox grouping) so fast. Really helpful! :) Now I'm creating one more component, a select box for gender, which should render something like this: Gender: [Choose one... ][v] In my

RES: RES: RES: [OS-webwork] Component repository

2003-10-02 Thread CVillela
Title: RES: RES: RES: [OS-webwork] Component repository Hi Drew! Great idea, indeed, and I think it's kinda easy to do - I just need to have a look at Roller's source and grab its HTML editor components, and rework them to be WW2 components. Now, I just gotta find me some time to implement

[OS-webwork] Same property, 3 textfields

2003-10-02 Thread CVillela
Title: Same property, 3 textfields Hi everyone! :) I've got a form like this: E-mail: [ [EMAIL PROTECTED] ] Type: [Personal ][v] E-mail: [ [EMAIL PROTECTED] ] Type: [Business ][v] E-mail: [ ] Type: [Other ][v] , an Email object: public class Email { private String address; private

[OS-webwork] Component repository

2003-09-26 Thread CVillela
Title: Component repository Hi all, Do you think it would be a good idea to set up a component repository somewhere? I'm creating some components here, and I started feeling that creating a date picker or tree component would be reinventing the wheel somehow. IMHO, I think having a good

[OS-webwork] Testing validators?

2003-09-23 Thread CVillela
Title: Testing validators? Hi everyone! :) I'm building some custom FieldValidators. If you want some mostly useless bit of culture, this is one that validates CPFs, one of the id's that every brazilian has to walk around with. This id is always numeric, and has some consistency

RES: [OS-webwork] Testing validators?

2003-09-23 Thread CVillela
Title: Message Hmm, I thought there were a more "reliable"way, but this seems to work pretty well. I just created a MockValidatorContext that, unlike the DelegatingValidatorContext, doesn't need an Action to run. If it's interesting to you, just drop me a note and I'll document and test the

[OS-webwork] basic flow?

2003-09-22 Thread CVillela
Title: basic flow? Hi folks! :) I'm trying to build a simple wizard to add an user to my system. I created a simple action that puts a new User object into the session and chains it to subsequent actions, which go filling the User object's setters for me, and then, at the end of the chain,

RES: [OS-webwork] basic flow?

2003-09-22 Thread CVillela
Title: Message ...but will this still execute the validation I need on the step 1 form? IfI understand correctly, defining only the validation for steps 2, 3 and 4 would let the user enter whatever h/she likes at the step 1 form. Or will any validation errors block the step1.success result

[OS-webwork] weird exception

2003-09-22 Thread CVillela
Title: weird exception Any ideas why this exception can be happening? 2003-09-22 16:25:15,303 DEBUG [com.opensymphony.xwork.DefaultActionProxy] Creating an DefaultActionProxy for namespace and action name step1 2003-09-22 16:25:15,897 ERROR

RES: [OS-webwork] grouping textfields (ui tags)

2003-09-20 Thread CVillela
Title: Message Yay, works like a charm! Thanks Jason! :) -Mensagem original-De: Jason Carreira [mailto:[EMAIL PROTECTED]Enviada em: sexta-feira, 19 de setembro de 2003 17:38Para: [EMAIL PROTECTED]Assunto: RE: [OS-webwork] grouping textfields (ui tags) Create your own template and

[OS-webwork] grouping textfields (ui tags)

2003-09-19 Thread CVillela
Title: grouping textfields (ui tags) Hi all, I'm trying to build a form that contains a 'telephone' field. In plain HTML, it would look like something like this: --- tr td colspan=2 class=errorspan class=errorMessagePlease fill in the area code and phone number./span/td /tr tr td