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
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,
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
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
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
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
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
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
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
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
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
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
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.
I got the HTTP 500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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.
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
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
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
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
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
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);
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
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?
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
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
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
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
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);
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
Whats the diference between:
html:link action=mypage.jspMy Page/html:link
and
html:link page=mypage.jspMy Page/html:link
Thanks!!!
://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
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
34 matches
Mail list logo