Paging

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

Tag Map on Struts

2003-11-04 Thread Mauricio T. Ferraz
How a use this (for the link)tag on struts to: http://www.teste.com.br"; target="_blank"> http://www.teste2/index.htm"; target="_blank"> http://www.teste3.com"; target="_blank"> And how I use a Image on the td of the table, for example, I Can leave that??? I starting in the Struts now,

???

2003-11-04 Thread Mauricio T. Ferraz
Whats the diference between: My Page and My Page Thanks!!!

Re: ???

2003-11-04 Thread Mauricio T. Ferraz
tive > naming of your resources. > > Check out the Struts-HTML taglib reference here: > > http://jakarta.apache.org/struts/userGuide/dev_html.html > > Mauricio T. Ferraz wrote: > > >Whats the diference between: > > > >

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?

Re: Iterate a Collection inside a bean of session???

2003-11-14 Thread Mauricio T. Ferraz
PM > To: [EMAIL PROTECTED] > Subject: Re: Iterate a Collection inside a bean of session??? > > > For option tag, you might want to use the optionCollection tag instead > for a collection. > .V > > Mauricio T. Ferraz wrote: > > > I have a produtoBean on session and

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

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); session.setAtt

Re: Generate a Drop-Down ???

2003-11-17 Thread Mauricio T. Ferraz
> String format = (String) iterator.next(); > %> > [list item html]<%= format %> > <% > } > %> > > > -Original Message- > > From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] > > Sent: November 14, 2003 6:23 PM > > To: Stru

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: pass more then one paramater (no JSTL)

2003-11-18 Thread Mauricio T. Ferraz
il.Map that contains all of the request > parameters 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

Iterate a Collection of Properties ???

2003-11-20 Thread Mauricio T. Ferraz
How can I iterate a ArrayList have Properties Objects elements??? with ??? 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"); prop.put("end","Stree

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 struts

??? 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 but whe I try show it with a expression ( <%=testStr%>) I have canot resolve the symbol error!

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 but whe I try show it with a expression ( <%=testStr%>) I have canot resolve the symbol err

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 got java.lang.IllegalArgumentException: argument type mismatchThank

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 Tha

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 Tha

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

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

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. Anyb

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]

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/20

Re: Action to JSP - Works!!!

2004-01-09 Thread Mauricio T. Ferraz
> The easiest way is perhaps to simply add 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: &g

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

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

Radio button CHECKED ???

2004-01-20 Thread Mauricio T. Ferraz
How to use the tag and define a specific radio with CHECKED by default ? p.e 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 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 The radio checked always is the second, where is "false". How I put the first to be checked when de jsp is loaded? thanks - To unsubscribe, e-m

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 do something The problem is the "ção" . How can I sove this ??? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

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 do something The problem is the "ção" . How can I sove this ??? thanks

???

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 eleme