html:messages id=msg message=true bundle=geral
bean:write name=msg /br
/html:messages
cheers
Daniel S.
Hi I have the the same problem, but in other situation, I using popups
windows of other modules, if you find the solution tell me , if I find the
solution I tell you...
- Original Message -
From: ruben [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday,
If someone know the solution help us..
- Original Message -
From: Daniel [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 11:01 AM
Subject: Re: problem with module
Hi I have the the same problem, but in other situation, I using popups
About that url try this:
jdbc:oracle:thin:@oci8:1521:ora9i
considering 'oci8' is your database server name and 'ora9i' is your Oracle's instance
(service)
name.
Regards,
Daniel Silva.
--- Larry Meadors [EMAIL PROTECTED] wrote:
It has been a while since i used oracle, but that url looks
Marco, can you use bean:define and a scriptlet code
inside bean:message ? Something like :
bean:define id=suffix name=product
property=productType/
bean:message
key='%=prompt.productType.+suffix%'/
--- Marco Mistroni [EMAIL PROTECTED]
escreveu: Hi all,
I was wondering if anyone of you
I want to put the msg inside a javasript alert (popup with error message ),some one
know how can I make it ???
font color=red
html:messages id=msg message=true bundle=geral
bean:write name=msg /br
/html:messages
/font
.
Regards,
Daniel Silva.
__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Someone know one way to build a organization chart (dinamic the informations come from
data base), some tag or any other ideia is very wellcome.
cheers
Daniel S.
/logic:iterate
cheers
Daniel S.
is zero jump for the other line.
cheers
Daniel S.
- Original Message -
From: as as [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 2:43 PM
Subject: Re: logic:iterate
Daniel,
A litle bit more info on what the columns are holding
Why it doesn't work, but if I change the value of bean:define value attribute for
value=1, it's work? I need compare dinamic values.
bean:define id=string value=%=1% /
logic:equal name=string value=1
The string contained the word Struts
/logic:equal
cheers
Danie S.
I have a database with ISO 3166 country
names and codes that I use to populate an html:select. There
is one country in the list that contains a non-ascii
character and I want to make sure it shows up properly. That
country is listed in HTML as Aring;LAND ISLANDS
I have two questions
You must be carefull. You can don't see the whole text (because the \n
characteres).
Are you using an java IDE to debug your source ? If this is true, try to
write the contents of your property in your log file...
as as wrote:
Hi,
I am generatinga textare on my jsp with this:
textarea
Raghu, i think this .html is wrong. It must be like :
form action=/saveParams.do
input type=text name=value(param1)/
input type=text name=value(param2)/
/form
Please, try it.
Raghu Havaldar wrote:
I do not have a problem while displaying those properties. However,
when a form (which has a
html:form method=post
I think that post is the default but i'm not sure...
as as wrote:
Andreas,
Thanks for the quick reply.
I am using struts form tag as follows.
wondering ,syntax wise, how I can mention form method as GET...in this tag.
Thanks in advance,
Sam.
Guillermo, we're also using DBCP.
Our approach is to use our own Properties subclass. This subclass
can read (and decrypt) a previously encrypted property file (using a
2-way dummy encryption algorithm)...
I don't know if this is the best way but it works for us :-)
object
take out the redirect attribute.
Abraços
Daniel S.
- Original Message -
From: Liu, Anne I [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 5:08 PM
Subject: RE: help implementing modules...
I don't know if this will help, but you have
ops ;-) and contextRelative too.
- Original Message -
From: Liu, Anne I [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 5:08 PM
Subject: RE: help implementing modules...
I don't know if this will help, but you have to prepend the
I did something similar. I extended each struts HTML tag
to take a rule and evaluate it in doStartTag.
It then returns SKIP_BODY to hide it or
super.doStartTag() to show it. Similarly doEndTag()
returns EVAL_PAGE to hide it or super.doEndTag()
to show it. I actually have 3 security levels and
I
How do look like the properties in your form ? Something like this :
html:text property=value(test1)/
html:text property=value(test2)/
?
Are the other properties (non map-backed) ok ?
Raghu Havaldar wrote:
Hi,
Am using Struts 1.1, WinXP.
Trying to use map-backed action forms to load
Ciaran, Brian is right.
Using IE, you can get a different session if you try to execute a new
instance of IE (do not use Open a new window). But you must be
carefull because even the links in Windows' startup menu can just Open
a new window (instead starts a new IE instance).
When you are
I think that i've found the problem. Please, look below :
Ciaran Hanley wrote:
Hi thanks for your reply,
I am using form based authentication. Cookies are enabled. I am storing all
session information using request.getSession() for example:
I think that i've found the problem. Please, look below :
Ciaran Hanley wrote:
Hi thanks for your reply,
I am using form based authentication. Cookies are enabled. I am storing all
session information using request.getSession() for example:
Have you import logic taglibs ?
steve hazelwood wrote:
I have an action that creates a bean. That bean has a
property myStrings that returns a collection of String
objects.
On a jsp, I want to list the strings. If my jsp has
this:
logic:iterate id=myId name=myBean
property=myStrings
Hi all,
Other possibility is to check whether 'myBean' exists in some scope.
Cheers,
Daniel Silva.
--- Daniel Henrique Alves Lima [EMAIL PROTECTED] wrote:
Have you import logic taglibs ?
steve hazelwood wrote:
I have an action that creates a bean. That bean has a
property
I don't know if this will help but try to search charset encoding
at tomcat maillist archive. You will find some tips in there.
Take a look at http://tagunov.tripod.com/i18n/i18n.html (try to
contact Anton, if you want).
-Original Message-
From: Adam Hardy [mailto:[EMAIL
You can try this also: http://jakarta.apache.org/tomcat/faq/misc.html#utf8
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent:
Monday, March 01, 2004 3:47 AM
To: Struts Users Mailing List
Subject: Re: Problems with UTF-8 and forms
On 03/01/2004 12:29 AM Jon Bohm wrote:
document.forms[0].action='somethig.do' works to me...
to change a field with name action, i guess you must do something like
document.forms[0].action.value
Slattery, Tim - BLS wrote:
If you use a field called action in the form, how can you
change the form action with javascript. When I try
I don't know if a got it...You can use nested beans inside your
ActionForm, like:
FirstBean - has get/set name and get/set id
SecondBean - has get/set version
MyActionForm - has get/set firstBean and secondBean
You can do :
html:form...
html:hidden property=firstBean.id/
html:text
Try logic:iterate
(http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate)
and bean:write
(http://jakarta.apache.org/struts/userGuide/struts-bean.html#write).
Look at mail archive
(http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]).
I think somebody has been sent a
I don't know if your construction is possible (i think it is). But try
to use bean:define :
bean:define id=myProp name=myBean property=beanProperty/
html:link href=%=myProp%Link Text/html:link
Kunal H. Parikh wrote:
Hi All!
Can someone tell me as to how do I call bean:write .../ inside
How about this ?
logic:iterate id=myString name=myform property=ListofStringobjects
bean:write name=myString/
/logic:iterate
Ramadoss Chinnakuzhandai wrote:
finally I got the following working..
logic:iterate id=list name=myform property=ListofStringobjects
bean:define id=xyz name=list
Please, try
html:form method=post action=/openReport
or
html:form method=post action=/myapp/openReport
You can also do a view source and look the html generated by tag
html:form
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Sorry, my mistake.
When you use view source of your browser, how does the html code look
like ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The exception is been generated when .jsp is rendered (and not when you
submit the form), hum ?
Try to enable struts debug log (in your log4j config file) and try to
check the package/name of your action (in struts-config.xml)...
not sure about this number, it is just a guessing, but
based on my
experience in this list, 95% of the questions are already answered. You just have to
find that
answer, and that is what Google is for.
My two cents.
Cheers,
Daniel Silva.
--- Daniel Henrique Alves Lima [EMAIL PROTECTED] wrote
guys
in Struts
world (myself included ;-)). You can, at least, have fun there!
Cheers,
Daniel Silva.
--- Andrew Petro [EMAIL PROTECTED] wrote:
My hope was that differentiating the lists Struts might make the email load
more tractable for everyone.
Struts gurus might very well look
Try
% String propertyName = value( + myId + ); %
html:text title=myinput property=%=propertyName% readonly=true
size=2 /
Brian Boyle wrote:
Hi!,
Thanks for the quick response.
I have already tried declaring myId as String myId =
value.getCandId();. I then put myId as an argument in html:text
It sounds good to me !
Andrew Petro wrote:
Incidentally, have there been any thoughts on this list of differentiating
out a struts-user-newbie list from the main struts-user list?
I think it's wonderful to have a welcoming place for newbies to post
questions, but I think it might also be
Frank, please, correct me if i'm wrong:
You have a Java Bean (validUser) and an ActionForm (PersonalDetailsForm)
and you want to transfer property values from validUser to
PersonalDetailsForm. Is it right ?
If the name of these properties are the same, you can use
Hi, everybody.
Is there a pattern for multi-page session forms ? How should i
proceed when using multi-page forms (like wizards) ? Must the fields be
repeated (as input hidden) in all pages ? When (exactly)
ActionForm.reset() will be called for forms like this ?
Thanks in advance.
Hi.
Can i use the struts mechanism to fill 2 *different* action forms from 1
http request ?
I've a button in a .jsp page. When the user to press this button, i need
to save a session scoped form before forward to a new page (the new page
uses another form). Is is possible ?
Thanks.
Yes, i got a error.
I've just added a org.apache.struts.actions.ForwardAction (to struts
initializes and populates the session scoped form - named A) between
the .jsp file (which contains the button) and a previous existent action
(the one which receives a new request scoped form - named B).
.. and i'm not sure I *do*
understand your question now either.. would you explain your problem and what you
are trying to do once again..?
Daniel Henrique Alves Lima wrote:
Yes, i got a error.
I've just added a org.apache.struts.actions.ForwardAction (to struts
initializes and populates
Solved !
I don't know why but when i use multipart-form i get an error while
populating the second form (like the case of Guillermo). Then i've
removed enctype from html:form and everything works !
**Case 2** source.jsp - AAction (AForm) - BAction (BForm) -
destiny.jsp (BForm)
Where
Hi,
I don't know if i could understand your doubt (correct me if i'm
wrong) but you must forward to your .jsp page and not redirect...
If you have a global forward (in your struts-config.xml) like
forward name=/my_forward_name path=/my_jsp.jsp redirect=false\
the request will be
Ok, but i think you will lose your request attributes (because redirect
will generate a new request from your browser)...Session or application
attributes will be preserved.
mucus snot wrote:
Hi,
I am intending to use a redirect rather than a forward.
For me, it adds clarity for the user,
, the error at the
internet explorer is : The request resource (Servlet action is not available) is not
available.
abraços
Daniel S.
1.0 *final* version
Why are there '*'s around the word 'final' ?
Regards,
Daniel
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Friday, 05 March, 2004 2:03 AM
To: Struts Users Mailing List
Subject: RE: JSF RI Final is out!
Quoting Jitender Kumar C
You can find a validator example inside the struts-1.1 .tgz:
struts-validator.war. Install it under Weblogic and check the validations...
sougata wrote:
HI Paul
Thanks for the reply.can u pls let me know how to do it in weblogic.Can u
pls send me a small example.
Thanks
Sougata
-Original
If the bean is an ActionForm, you must use the name of the form in the
struts-config.xml.
If your bean is only a plain Java Bean, you must add it to request,
session, page or application scopes (using request.setAttribute() or
session.setAttribute, for instance)...
Vishal Arora wrote:
it's
(mapping.getInput()) its ok, but if I try to use one forward with the
same path of input actionmapping i have this error.
obrigado
Daniel S.
I am working on a web project in which there is a need to submit two
forms from a same html file.
Does anybody have such experience as submitting two forms separately?
Thanks!
It was an bug, I solved at
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22462
Thanks!!!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
this on internet explorer:
http://localhost:8080/TopitSGI/goToComer.do?prefix=/comerpage=/pesqClientes.do
and the result is: The requested resource (/goToComer.do) is not available
What I'm forget ??
Obrigado
Daniel S.
Try changing the name attribute in your config file to be
TeacherAddForm instead of teacherAddForm.
HTH.
Daniel
-Original Message-
From: as as [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 8:29 AM
To: [EMAIL PROTECTED]
Subject: java.lang.NullPointerException struts form
this value for other
JDBC dropdown ???
obrigado
Daniel S.
- Original Message -
From: Guillermo Meyer [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Saturday, February 28, 2004 10:24 AM
Subject: RE: DropDowns
Take a look at http://providers.sourceforge.net
Try sending an empty email to
[EMAIL PROTECTED]
Daniel
-Original Message-
From: Tarik El Berrak [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 9:02 AM
To: Struts Users Mailing List
Subject: Re: java.lang.NullPointerException struts form is null
hi
excuse me, can you tell me
I have 2 modules (moduloA,moduloB), and I'm use SwitcAction, when I call page1.jsp
from moduloB form it's ok, but doesn't work page1jsp action , I think the problem is
just path, when I change module the can't find actions.
obrigado
Daniel S.
??
obrigado
Daniel S.
How can I execute one action (action popupCli)on the other module
(struts-config-comer.xml), I have one jsp file (cadUsu.jsp) and this jsp file need to
use one action (popupCli) of other struts module (struts-config-comer.xml)
obrigado
Daniel S.
How can change the selectedIndex of dropdown values
obrigado
Daniel S.
Daniel S.
methods for the
LocDTO methods, so this is not going to work, but is there a way around
this?
Any help would be much appreciated,
Gillian Daniel
Someone have one example of html:optionsCollection with html:select.
obrigado
Daniel S.
it is declared as.
Paul
-Original Message-
From: Daniel, Gillian [mailto:[EMAIL PROTECTED]
Sent: 25 February 2004 14:31
To: [EMAIL PROTECTED]
Subject: Nested nest Tag
Hi there, I am using Struts 1.1 and Java SE 1.4.2.02 and Java EE 1.4
I have an object called SccDTO.java which
I need make a treeview of some information retrived from database and make a dual list
with this treeview, someone knows where there is some example or something like this.
Obrigado
Daniel S.
??
Thanks again,
Gillian Daniel
-Original Message-
From: Daniel, Gillian
Sent: 25 February 2004 16:27
To: Struts Users Mailing List
Subject: RE: Nested nest Tag
Thanks very much for the advice, I tried it and it did work. I had
tried before but it didn't work, but I tried again and it did
In the JSP below, %=p1% will expand the way I expect.
But %=p2 does not. Does anyone know why and how to
fix it? Using HTML-EL is not a good option because my
real case uses custom tags that extend the HTML taglib.
%@ taglib uri=struts-html prefix=html %
html:form action=/TransactionListLoad
%
How can I populate a form fields (bean/jsp) inside the action, this action is a
someQueryAction and forward for a edit record page with all form fields values with
results values of database query.
obrigado
Daniel S.
How can I make two combo box, work sincronized, when I choice on value the other will
be populate based on the value or the first, there is a way to make this without
refresh all page, just the second combo box. Using Struts,Tiles... , someone have
one example of this thing.
Abraços
Daniel S.
dinamic values for that listBox without refresh all the window,
the solution of the listbox is the same of popup, populate one think on the
back ground, without don't come all the page again.
thanks
Daniel S.
- Original Message -
From: Guillermo Meyer [EMAIL PROTECTED]
To: 'Struts Users Mailing
I'll need a Action, for query data base..., and use a javascript for
execute this action ??? Help me , for the inicial way for this.
thanks
Daniel S.
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 19, 2004 9
Does anybody know of a way to define more than one default message
resources in struts 1.1.
If I put the path of imput in the action forward it's work ok,
return mapping.findForward(sucesso),
but if I use the same path on the input value and use
return (new ActionForward(mapping.getInput())), the page is not show.
Abraços
Daniel S.
resource.org.eclipse.core.internal.resources.ResourceException, and I verify the
.easystrutsplugin file and now I don't have this message anymore but still don't read
the keys...
Abraços
Daniel S.
See
http://www.systemmobile.com/articles/strutsMessageResources.html
Does anybody know of a way to define more than one default
message resources in struts 1.1.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
for a action ??
What the correct/best way do populate a form with result values of some query inside
the action ??
obrigado
Daniel S.
/
/html:messages
but the error message don't show, I made one test without tiles and work ok with the
same
code, what should be ?
thanks
Daniel S.
this
cheers
Daniel S.
I'm using ActionMessages class and ActionMessage for manipulate my errors and show
it in the html:errors / at jsp file but the message don't show , I was using the
ActionErrors and ActionError and was ok, no problems. How can I make to solve it.
cheers
Daniel S.
usuario : html:text property=usuario/html:errors
property=usuario//br
html:submit/html:cancel/
/html:form
body
/html
thanks
Daniel S.
- Original Message -
From: Matthias Wessendorf [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 11
I'm using Tiles for manager the layout of my application and it's a example of my
geralLogin.jsp page, and works without problem except when I have a exception and get
the mapping.getInmput() value for return tho the same page (login.jsp) with
ActionErrors etc... at LoginAction.java. When this
There are some example of creating a popup window, for select (of datagrid for example
)one value and come back to the window with the value selected with Struts.
tnks
Daniel S.
/td
/tr
/table
!-- Buttons End --
/td
/tr
/table
/html:form
- Original Message -
From: Daniel [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, February 16, 2004 4:24 PM
Subject: Popup window
There are some example
whats the better or know another
free (for comercial applications).
abraços
Daniel S.
have the jsessionid after sSenha() anymore, and all is
good. How can I solve this
tnks
Daniel S.
The only lift you get by using the execute() is better exception
handling (i.e. Global Exceptions). Other than that, it is the same as
perform().
Daniel
-Original Message-
From: srinivasan krishnamurthy [mailto:[EMAIL PROTECTED]
Sent: Friday, February 13, 2004 2:51 PM
To: [EMAIL
Hello all. Long time struts user here, newbie to hibernate. I found a link
on the hibernate.org site to a struts-hibernate example written by Ted
Husted. I thought this would be a great example for me since I really
learned a lot from the Struts in Action book.
Well the link was to
If you do not want to use a FormBean and your action solely calls a
success page, maybe you could use the Forward Action build into Struts.
Then it would do a forward directly to the JSP page.
Daniel Kalcevich
SCJP
Software Development Analyst I
Mercury Insurance Group - IT, Web Agency Systems
a different config file. I want to
think yes, because otherwise it would defeat the purpose of allowing
multiple config files. Can someone who uses two config file confirm
that when struts loads, that both config files get loaded together and
can reference each others parts?
HTH,
Daniel
I was thinking more of something like this:
actionpath=/webAppDev/actions/search1
type=org.apache.struts.actions.ForwardAction
parameter=/webAppDev/strutsSearch.jsp
/action
But hey, whatever works. :-)
Daniel
-Original Message-
From: Timothy Stone
I want to iterate over a list where each object in the
list is a map, and print values from the map. The problem,
of course, is Map is not a bean - no getters and setters.
Do I have to wrap each map in a bean, or is there a
more clever approach.
(I am pretty much stuck with list:iterate, not
hi,
u can use html-el library or jsp:attribute if your server supports jsp2..
[]´s Daniel Ruiz
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 4 de fevereiro de 2004 10:54
To: Struts Users Mailing List; Rahul Mohan
Subject: Re: c:out tag inside
How can I fix this message ???
SEVERE: No action instance for path /wellcome could be created
my struts-config.xml is:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts
Configuration 1.1//EN
that this older version of struts cannot handle the tiles
definitions from Struts 1.1
Is it because of the Tomcat version? Is there anything I can do against it?
My provider don't want to update Tomcat yet, so is there anything else I can
do?
Daniel
Thanks a lot Geeta,that confirms my assumption that the problem is not my
implementation, but Tomcat 3.3.1
I hope my provider will update the server soon.
yours sincerly Daniel
-Ursprüngliche Nachricht-
Von: Geeta Ramani [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 29. Januar 2004 14
It seems Struts 1.1 and Tomcat 3.3.1 have a problem in working together. See
the following URL for the stacktrace:
http://holiday.riesengebirge-online.com
This is my providers server. On my own computer I use Tomcat 4.1.28 / JDK
1.4 and it works fine. What is the problem?
Daniel
Or replacing all newlines with BR.
Either should work, but BR might look nicer.
This is not a struts issue ... just a basic
fact of how HTML works.
- Dan
-Original Message-
From: Hien Q Nguyen [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 4:30 PM
To: Struts Users Mailing
Maybe you want a beautifier rtaher than an editor?
Like tidy: http://tidy.sourceforge.net/
It works for HTML and XML. I haven't tried
using it for JSPs but I see some mention of
it in the discussion group.
- Dan
-Original Message-
From: dirk [mailto:[EMAIL PROTECTED]
Sent: Thursday,
1 - 100 of 540 matches
Mail list logo