bean:define ???

2004-02-27 Thread Mauricio T. Ferraz
Anybody knows how can I define a script variable with bean define tag or another, for the first element of a collection??? for example: % ArrayList users = (ArrayList)pageContext.getAttribute(users); User user = users.get(0); % How I do it with tags??? Because I want to get the firt element

Parameter ???

2004-01-30 Thread Mauricio T. Ferraz
How can I compare a parameter in my URL (someAction.do?type=Alteração) with the tag logic:equal name=type value=Alteração do something /logic:equal The problem is the ção . How can I sove this ??? thanks - To unsubscribe,

parameter

2004-01-30 Thread Mauricio T. Ferraz
How can I compare a parameter in my URL (someAction.do?type=Alteração) with the tag logic:equal name=type value=Alteração do something /logic:equal The problem is the ção . How can I sove this ??? thanks

radio checked???

2004-01-21 Thread Mauricio T. Ferraz
Help!! I have a actionForm with a boolean property and set and get and in my jsp html:radio property=propertyName value=true/ html:radio property=propertyName value=false/ The radio checked always is the second, where is false. How I put the first to be checked when de jsp is loaded? thanks

Radio button CHECKED ???

2004-01-21 Thread Mauricio T. Ferraz
Help!! I have a actionForm with a boolean property and set and get and in my jsp html:radio property=propertyName value=true/ html:radio property=propertyName value=false/ The radio checked always is the second, where is false. How I put the first to be checked when de jsp is loaded? thanks

Radio button CHECKED ???

2004-01-20 Thread Mauricio T. Ferraz
How to use the html:radio tag and define a specific radio with CHECKED by default ? p.e input type=radio name=radiobutton value=1 checked thanks

bean:write with formatKey ???

2004-01-10 Thread Mauricio T. Ferraz
Anybody knows how can I show I CNPJ in this format (33.435.231/0001-27) ??? I my bean I just have number (33435231000127) So I have to show with . and / There are a way to put something in the resource bundle??? What?? []´s Mauricio

bean:write with formatKey ???

2004-01-10 Thread Mauricio T. Ferraz
Anybody knows how can I show I CNPJ in this format (33.435.231/0001-27) ??? I my bean I just have number (33435231000127) So I have to show with . and / There are a way to put something in the resource bundle??? What?? []´s Mauricio

Action to JSP

2004-01-09 Thread Mauricio T. Ferraz
There are a way to: When a click in a link in my jsp page, in address bar in my browser dont write the name of the action, and go direct to the jsp page (defined in action forward) ??? Thanks. Mauricio

Action to JSP

2004-01-09 Thread Mauricio T. Ferraz
Thanks Smoak, but I have do execute a Action and go to a jsp page, but I dont want to show the name of the action in my address bar (htt://www.domain.com/someaction.do) I dont want this. When I execute the action I want to show the jsp, p.e. (htt://www.domain.com/mypage.jsp) thanks Message

Re: Action to JSP

2004-01-09 Thread Mauricio T. Ferraz
Sorry Vanessa, I didn´t undestand. I just want to execute the action e show the jsp, but in my address bar I want to show the jsp page not the action (action.do) []´s Hi Mauricio can you send your caller jsp, the mapping and the action class? Vanessa [EMAIL PROTECTED] 09/01/2004

Re: Action to JSP - Works!!!

2004-01-09 Thread Mauricio T. Ferraz
a redirect=true in your action mapping. However, be aware that this will kill your request attributes (since your request object is no longer forwarded..) Regards, Geeta Mauricio T. Ferraz wrote: There are a way to: When a click in a link in my jsp page, in address bar in my browser dont

No Action

2003-12-18 Thread Mauricio T. Ferraz
Help, please!!! My application dont execute the action anymore, I don´t know what happened The method validate() of the ActionForm is executted return null rigth, but it don´t go to the Action. Any Action im my application work anymore! And I dont get ANY message error on server and ANY log.

No Action

2003-12-18 Thread Mauricio T. Ferraz
I got the HTTP 500 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Drow-Down list HashMap???

2003-12-10 Thread Mauricio T. Ferraz
How can I generate I dropDown List with a HashMap getting the key(HashMap) how value(HTML) and the value(HashMap) how name(HTML) With this HashMap: HashMap map = new HashMap(); map.put(1,test1); map.put(2,test2); map.put(3,test3); map.put(4,test4); And I want this output

Validator with a property java.util.Date ???

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts?Or I just can have properties "Strings" ??? in my textfiels on form???In the Struts' webapps has a example, the use only String to input ofdata...I gotjava.lang.IllegalArgumentException: argument type

validator java.util.Date object ???

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts? Or I just can have properties Strings ??? in my textfiels on form??? In the Struts' webapps has a example, the use only String to input of data... Thanks, for help.

Struts validator with Date property ???

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts? Or I just can have properties Strings ??? in my textfiels on form??? In the Struts' webapps has a example, the use only String to input of data... I got java.lang.IllegalArgumentException: argument type mismatch

Validator a property java.util.Date is possible??

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts? Or I just can have properties Strings ??? in my textfiels on form??? In the Struts' webapps has a example, the use only String to input of data... I got java.lang.IllegalArgumentException: argument type mismatch

Validation of a property java.util.Date is possible?

2003-12-03 Thread Mauricio T. Ferraz
In my Form a have a property java.util.Date, I can validate it ? Or I just can have properties Strings ??? in my textfiels on form??? I can map a textfield of a Form HTML to a property java.util.Date of a JavaBean ??? How can I do it? I got java.lang.IllegalArgumentException: argument type

bean:define ??? I think

2003-11-25 Thread Mauricio T. Ferraz
I want to create a scriptlet variable with tag struts, how can I do it??? for example: I have: String testStr = session.getAttribute(test); but I don´t want use it, it´s ugly!!! I saw the tag bean:define id=testStr property=test/ but whe I try show it with a expression ( %=testStr%) I have

bean:define I think ???

2003-11-25 Thread Mauricio T. Ferraz
I want to create a scriptlet variable with tag struts, how can I do it??? for example: I have: String testStr = session.getAttribute(test); but I don´t want use it, it´s ugly!!! I saw the tag bean:define id=testStr property=test/ but whe I try show it with a expression ( %=testStr%) I

Iterate a Collection of Properties ???

2003-11-20 Thread Mauricio T. Ferraz
How can I iterate a ArrayList have Properties Objects elements??? with logic:iterate ??? In my Action I pass the ArrayList. Arraylist list = new ArrayList(); Properties prop; for (int i = 0 ; i 10 ; i++){ prop = new Properties(); prop.put(name,michael); prop.put(number,i);

Re: Iterate a Collection of Properties ???

2003-11-20 Thread Mauricio T. Ferraz
Thanks Markus and Felix !!! It works!!! Thanks!!! - Original Message - From: Markus [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:16 AM Subject: Re: Iterate a Collection of Properties ??? Hi, Look inside the

html:link pass more then one paramater (no JSTL)

2003-11-18 Thread Mauricio T. Ferraz
how can use this tag to pass more the one parameter, for example 4 parameter? With out use JSTL . Only Struts tag! How can I do?

Re: html:link pass more then one paramater (no JSTL)

2003-11-18 Thread Mauricio T. Ferraz
to be added to the hyperlink, ... Quoting Mauricio T. Ferraz [EMAIL PROTECTED]: how can use this tag to pass more the one parameter, for example 4 parameter? With out use JSTL . Only Struts tag! How can I do? -- Kris Schneider mailto:[EMAIL PROTECTED] D.O.Tech http

Re: Generate a Drop-Down ???

2003-11-17 Thread Mauricio T. Ferraz
Message- From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] Sent: November 14, 2003 6:23 PM To: Struts Users Mailing List Subject: Generate a Drop-Down ??? I put the bean on the method execute on myAction ArrayList formatosArquivos = new ArrayList(); formatosArquivos.add

Iterate a Collection inside a bean of session???

2003-11-14 Thread Mauricio T. Ferraz
I have a produtoBean on session and this has a property ArrayList formatosArquivos How I put the value of option to the same name of bean:write name=formato/ ? logic:iterate id=formato name=produtoView property=formatosArquivos indexId=index scope=session html:option value=?bean:write

Re: Unable to find the JDBC Driver for Mysql using struts -- Help Please

2003-11-14 Thread Mauricio T. Ferraz
Did you copied the file mysql drive mm.mysql-2.0.4-bin.jar (for example) to your WEB-INF\lib of your Application ?? - Original Message - From: Paul Idusogie [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 14, 2003 8:49 PM Subject: Unable to find

Generate a Drop-Down ???

2003-11-14 Thread Mauricio T. Ferraz
I put the bean on the method execute on myAction ArrayList formatosArquivos = new ArrayList(); formatosArquivos.add(CSV); formatosArquivos.add(XML); formatosArquivos.add(Algorithmics); ProdutoView produto = new ProdutoView(); produto.setFormatosArquivos(formatosArquivos);

Tag Map on Struts

2003-11-04 Thread Mauricio T. Ferraz
How a use this (for the link)tag on struts to: map name=Map2 area shape=rect coords=119,27,187,42 href=mapadosite.htm area shape=rect coords=223,26,289,44 href=http://www.teste.com.br; target=_blank area shape=rect coords=129,0,187,15 href=http://www.teste2/index.htm; target=_blank area

html:link ???

2003-11-04 Thread Mauricio T. Ferraz
Whats the diference between: html:link action=mypage.jspMy Page/html:link and html:link page=mypage.jspMy Page/html:link Thanks!!!

Re: html:link ???

2003-11-04 Thread Mauricio T. Ferraz
://jakarta.apache.org/struts/userGuide/dev_html.html Mauricio T. Ferraz wrote: Whats the diference between: html:link action=mypage.jspMy Page/html:link and html:link page=mypage.jspMy Page/html:link Thanks!!! -- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc

Paging

2003-11-03 Thread Mauricio T. Ferraz
Hi People!!! Anybody knows, how can I do paging with Struts??? (Previous 1 - 2 - 3 ... Next) And changing the color of the rows on the table each iteration? Is there any Tag Lib who do this??? Tanks!!! []´s Mauricio