Re: Struts 2 + Tiles 2

2008-10-29 Thread Márcio Gurgel
Sorry about non-english code /: Márcio Gurgel 2008/10/29 Carlos Curotto <[EMAIL PROTECTED]> > Hi everyone, > > I am trying to configure Struts 2 ver

Thanks!

2008-06-18 Thread Márcio Gurgel
k and all given support in this mailing list. Thanks, thanks, thanks! Márcio Gurgel

Re: Struts 2 hibernate session-per-request

2008-06-17 Thread Márcio Gurgel
I'm gonna try your sugestions and post the result. Thanks a lot! Márcio Gurgel 2008/6/17 Antonio Petrelli <[EMAIL PROTECTED]>: > 2008/6/17 Márcio Gurgel <[EMAIL PROTECTED]>: > > Does anyone knows how to implement a session-per-request in Struts 2? > > If you me

Struts 2 hibernate session-per-request

2008-06-16 Thread Márcio Gurgel
-request I'll throw my problem away. Does anyone knows how to implement a session-per-request in Struts 2? Thanks so much. Márcio Gurgel

Re: Can't stop console warnings

2008-06-15 Thread Márcio Gurgel
k2.util.logging.jdk.JdkLogger > > warn > > WARNING: Could not find property [org.apache.catalina.jsp_file] > > > > > > > > > > > > Márcio Gurgel wrote: > >> > >> I'm also using struts 2.1 ... > >> Here are my log4j: &

Re: Can't stop console warnings

2008-06-15 Thread Márcio Gurgel
ion file just tell 2008/6/15 jefetech <[EMAIL PROTECTED]>: > > I've tried changing that, but it makes no difference with struts2.1. No > matter what I do with log4j.properties, it just keeps on spitting out > warning messages. Frustrating! > > > > > Márcio Gurg

Re: Can't stop console warnings

2008-06-15 Thread Márcio Gurgel
Hi, I also had this problem, I solved setting this in my log4j.properties file: ### set log levels - for more verbose logging change 'info' to 'debug' stdout ### log4j.rootLogger=info 2008/6/15 Dave Newton <[EMAIL PROTECTED]>: > Are you actually using Log4J? > > > --- On Sun, 6/15/08, jefete

Re: Display tag and AJAX

2008-06-05 Thread Márcio Gurgel
Hi felipe, could you post a example? 2008/6/5 Felipe Lorenz <[EMAIL PROTECTED]>: > Hi.. you can out the display tag inside of a remote div... and, every time > when you want refresh the DT, just refresh the div > > On Wed, Jun 4, 2008 at 10:41 PM, Arunkumar Balasubramanian < > [EMAIL PROTECTE

Re: Action executed many times

2008-05-22 Thread Márcio Gurgel
Hi all, Jeromy, I'm already using struts 2.1... Seems that this issue persists, or there's some kind of configuration do fix this? By the way, I say your project to integrate YUI and Struts 2, congratulations! Regards, Márcio Gurgel 2008/5/4 Jeromy Evans <[EMAIL PROTECTED]>:

Re: Action executed many times

2008-05-04 Thread Márcio Gurgel
anyone knows how to prevent this multiple calls from TabbedPanel href? Tanks! 2008/5/2 Laurie Harper <[EMAIL PROTECTED]>: > Márcio Gurgel wrote: > > > Does someone can tell me why does a action is called more than once? > > I've a action to populate some fields

Re: How to set a value in a autocompleter?

2008-05-02 Thread Márcio Gurgel
Hi, I resolved this value=""%{bean.Attr}; Regards, Márcio Gurgel 2008/5/2 Márcio Gurgel <[EMAIL PROTECTED]>: > Hi! > > I need some help to set a selected value in a autocompleter, when I open > data, all fields are populated, except two autocompleters. &

How to set a value in a autocompleter?

2008-05-02 Thread Márcio Gurgel
Hi! I need some help to set a selected value in a autocompleter, when I open data, all fields are populated, except two autocompleters. I used JSON to populate the autocompleter list option. Thanks in advance. Márcio Gurgel

Action executed many times

2008-05-01 Thread Márcio Gurgel
Hi, Does someone can tell me why does a action is called more than once? I've a action to populate some fields (I call it once), by debugging I saw that this method is called three times. Is it normal? If it'snt how to prevent? Thanks! Márcio Gurgel

[Resolved] Populate fields inside tabbed panel

2008-04-27 Thread Márcio Gurgel
Hi, I found a solution. Maybe it'snt very elegant, but works. When I call a "open data" action method, it just returns my tiles result that contains the tabbed panel. I set the "href" from do an action that populates my object. Márcio Gurgel. 2008/4/27 Márcio

Populate fields inside tabbed panel

2008-04-27 Thread Márcio Gurgel
doesn't show any data. This's the url: http://localhost:8080/SGVDBA/cliente/abrirDadosFsc.action?clienteFsc.cd=14 Thanks! Márcio Gurgel

Re: Validation on methods

2008-04-23 Thread Márcio Gurgel
Hi Volker, You can do it with struts xml validator: Include a xml into your action package like this: ActionName - alias from action - validation.xml Example: ActionName-save-validation.xml * Note that "save" is the name of action in your struts.xml Nothing better than a real example: struts

Re: freemarker error - Any ideas?

2008-04-22 Thread Márcio Gurgel
Hi Akash, Could you send your jsp code? Maybe this is a syntax error. []'s Márcio Gurgel 2008/4/23, akash agrawal <[EMAIL PROTECTED]>: > > FreeMarker template error! > > > Expression error is undefined on line 35, column 4 in > template/simple/actionerror.ftl.

[RESOLVED] Help linking two autocompleters

2008-04-21 Thread Márcio Gurgel
de == null){ this.cidadeFacade = new CidadeFacade(); } return this.cidadeFacade; } } 2008/4/20, Márcio Gurgel <[EMAIL PROTECTED]>: > > Hi all, > > Here I'm with another problem.. > I know that I've been sent lots os questions, but before I

Help linking two autocompleters

2008-04-20 Thread Márcio Gurgel
Hi all, Here I'm with another problem.. I know that I've been sent lots os questions, but before I aways give a check at documentation and showcase. I hope you can give me a hand. -- I want to link two autocompleters. My action is setting the correct secound list. The problem is that it's never re

Ajax components inside a tabbed panel

2008-04-16 Thread Márcio Gurgel
Mouse Over or Click Here! When its inside a div from tabbedpanel just doesn't work. Does anyone can help me? I this a issue? Regards, Márcio Gurgel

Re: Struts 2 + AjaxTags + DisplayTag

2008-04-15 Thread Márcio Gurgel
d > not > the action. I have never had any success leaving requestURI blank with > DisplayTag on S1 or S2. I always set it to the name of an action. > > Regards, > Randy Burgess > Sr. Web Applications Developer > Nuvox Communications > > > > > From: Márcio Gurgel &

Re: Struts 2 + AjaxTags + DisplayTag

2008-04-14 Thread Márcio Gurgel
(http://trirand.com/jqgrid/jqgrid.html) > If you need ajax, you need something that returns an json or xml response > (insert you velocity, freemarker, json result, jsp result here). > > Matt > > > > Márcio Gurgel wrote: > > > > Hi all! > > > > Since this

Struts 2 + AjaxTags + DisplayTag

2008-04-13 Thread Márcio Gurgel
ruts 2? My displayTable is inside a I also tried to use: useSelectedTabCookie="useSelectedTabCookie" to select the correct tab when my displayTable pagination submits the page. In this case, the content of the first tab doesn't appear. Regards. Márcio Gurgel

ReferenceError: validateForm struts 2

2008-04-11 Thread Márcio Gurgel
Hi all! I got this error: ReferenceError: validateForm_frmExcl is not defined when a form to be validated is inside a I read some solutions that Musashi and Jeromy wrote about this, but I still getting the error.. Includding that there's a new attribute (separateScripts) into struts 2.1 dojo ta

Re: Two buttons on same row

2008-04-11 Thread Márcio Gurgel
Hi Akash, I think that is not a good idea just change the theme.. Doing that you're gona lose some functionality.. Like validation, etc.. There's a way, overwriting the xhtml theme (I made this in a project, and it's working). Do the following steps: 1 - Unzip the struts 2 core jar; 2 - Copy tem

Re: Ognl expressions in Struts 2.1

2008-04-06 Thread Márcio Gurgel
Sorry guys, my mistake. I don't know how, but the "theme" attribute of s:checkBox was "item", then I changed to "simple" (: Jeromy it works! The generated checkBox has value! Tanks for your help. Tanks also Wes! 2008/4/7, Márcio Gurgel <[EMAIL PROTECTED]

Re: Ognl expressions in Struts 2.1

2008-04-06 Thread Márcio Gurgel
ppens within the > > tag's code, so the app server knows nothing about this step. Thus, the > > TLD file's directives have nothing to do with this parsing. Many of the > > Struts 2 tag's attributes will attempt to parse parameters as OGNL by > > default, but %{ wil

Re: Ognl expressions in Struts 2.1

2008-04-06 Thread Márcio Gurgel
ve nothing to do with this parsing. Many of the > Struts 2 tag's attributes will attempt to parse parameters as OGNL by > default, but %{ will force parsing. > > -Wes > > > > On Sun, 2008-04-06 at 21:19 -0300, Márcio Gurgel wrote: > > Hi all, > > > >

Ognl expressions in Struts 2.1

2008-04-06 Thread Márcio Gurgel
Hi all, I was using struts 2.0.9, then I resolved to upgrade to 2.1.0. I was setting a value in a checkbox like this: inside a displayTag iterator. I read this link https://issues.apache.org/struts/browse/WW-2107 and understood the situation. But, is there another way to set a value in my checkB

Hi / Question - TabbedPanel with DisplayTag

2008-04-03 Thread Márcio Gurgel
Hi All! This is my first e-mail. My name is Márcio Gurgel, I'm from Brasília (Brazil). My english isn't very well, I hope you understand (: There's 10 months that I'm working with J2EE. I'll finish my graduation this semester, than I'm developing a final project