hi,
I use ajax (yui) with struts2.
My method throws an exception, if there is something wrong. How is the best way
to catch the exception?
kind regards,
Frank
hi nagendra,
yes, you can use struts1 and struts2 together. take a look at:
http://www.infoq.com/articles/converting-struts-2-part1
it's a good tutorial to migrate a app to struts2.
kind regards,
frank
-Ursprüngliche Nachricht-
Von: nagendrabvvs [mailto:[EMAIL PROTECTED]
Gesendet:
hi,
has no one an idea?
kind regards,
frank
-Ursprüngliche Nachricht-
Von: Otto, Frank [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 23. Januar 2008 12:18
An: 'user@struts.apache.org'
Betreff: struts2/dojo: duplicate events (struts 2.0.11)
hi,
I have a ajax div (div1) in another
hi,
I have a ajax div (div1) in another ajax div (divGrp1). I publish the event
refreshDivGrp1 to divGrp1, the div1 was recreate and the event refreshDiv1
was subscribed twice.
Here are the debug messages:
DEBUG: [divGrp1] Listening to refreshDivGrp1 to refresh
DEBUG: [div1] Listening to
hi,
where can I find the dojo plugin für struts 2.1?
kind regards,
Frank
where can I find the source? I have no experience with maven.
-Ursprüngliche Nachricht-
Von: Dave Newton [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 22. Januar 2008 15:12
An: Struts Users Mailing List
Betreff: Re: struts 2.1: dojo plugin
--- Otto, Frank [EMAIL PROTECTED] wrote
hi,
I have an old struts1 application. Now, I want to use struts 2 for a new part
of them (ajax configurator). With the struts 2.0.11 version it work's fine, but
If I upgrade to struts 2.1.0 snapshot, I will get many errors, especially
NullPointerExceptions.
Is it possible to use struts1
hi,
you can use the attribute indexed=true in html:text tag.
or in complex cases:
logic:iterate name=myForm property=myList id=list indexId=loop
html:text name=myForm property=%=myList[ + (loop.intValue()) +
].myProperty%/
/logic:iterate
kind regards,
frank
-Ursprüngliche
hi,
I have 6 autocompleter. The first refreshs the second, the second the third and
so one.
But If I clear the second autocompleter value, so that the combo box is empty,
the notifyTopics-Event will not be send. Has someone an idea? I have to refresh
the third combo box and then the next...
Hi,
I have 6 autocompleter combo boxes. The first refresh the second, the second
the third and so one. I use notifyTopics and listenTopics:
s:autocompleter id=cmb1 notifyTopics=refresh2 .../
s:autocompleter id=cmb2 notifyTopics=refresh3 listenTopics=refresh2
theme=ajax url=%{myUrl).../
the request succeeds, or 'error' when it fails
* request: request javascript object, when type='load' or type='error'
-Ursprüngliche Nachricht-
Von: Otto, Frank
Gesendet: Montag, 14. Januar 2008 14:43
An: 'user@struts.apache.org'
Betreff: struts 2.0.11: autocompleter and notify
hi,
is there a deadline for struts 2.1 release?
I have download the nightly build, but I can't find the new dojo plugin.
kind regards
Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
hi,
how can I build a ognl variable dynamic? Example:
I have an iteration with different url-definitions, because I need always
another parameter (index):
s:iterator value=myList id=list status=stat
...
s:url id=myMethod%{#stat.index} action=test_myMethod.action
hi,
thanks for your answer.
how can I build a ognl variable dynamic? Example:
I have an iteration with different url-definitions, because
I need always another parameter (index):
s:iterator value=myList id=list status=stat
...
s:url id=myMethod%{#stat.index}
Hi,
I have used struts 1.2 in my app. Now, I want to upgrade to struts 1.3.8 and I
get the error cannot find symbol Globals.DATA_SOURCE_KEY.
I don't find information in the struts javadoc, what I have to use instead. Can
someone help me?
kind regards,
Frank
au destinataire indiqué et peut contenir des
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
destinataire de ce document, nous vous signalons qu'il est strictement interdit
de le diffuser, de le distribuer ou de le reproduire.
- Original Message -
From: Otto
Hi,
i want to use xsl with struts. For example I want to generate html or pdf from
a xml file.
what is the best way to do this? I have seen stxx, but this doesn't work with
struts tiles. Or is this possible?
kind regards,
frank
hi,
you can do this in this way:
logic:iterate name=promptList type=my.bean.type id=element
img src=/module/image-directory/bean:write name=element
property=gifName/ alt=bean:write name=element property=name/
a href=/module/action-path/bean:write name=element
Hi,
I want to convert a NCR formated String to a normal string.
for example: spó#322;k#281;
My problem is that I have an input field, in which the use can change text. But
he couldn't see it with the right characters, but NCR formated.
If I show this text in a jsp page it will function
Hello,
thanks for your answer, but how can I do that the polish characters submitted
correctly?
f.e.: character #281; (\u0119).
How can I convert this character to unicode. In the same way, that native2ascii
do this. Is there any possibility?
I use a servlet filter too.
kind regards,
Frank
Hi,
I have a html form. The user can input text in ISO-8859-2 format.
After submit the form the characters are wrong. I don't know why.
I have set
%@ page contentType=text/html; charset=UTF-8 pageEncoding=UTF-8%
and there is a filter (filters.SetCharacterEncodingFilter) to encode UTF-8.
Hi,
I have a problem with display of characters in latin-1.
for example: The properties file contains the unicode \u0119, but the character
is not displayed.
If I use #x0119; it will be displayed. I use bean:message key=my.text/
Has someone a solution?
Regards,
Frank
hi,
take a look at www.starline-inc.de, it is a german jsp hoster.
We work with starline more than 2 years and we are statisfied.
Starline has good prices and features in his packages.
Regards,
Frank
-Ursprüngliche Nachricht-
Von: Jesse Alexander (KBSA 21)
[mailto:[EMAIL
tag it is wrong.
-Ursprüngliche Nachricht-
Von: Guillaume Cottenceau [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. November 2004 10:10
An: [EMAIL PROTECTED]
Betreff: Re: problem with unicode
Otto, Frank otto 'at' delta-barth.de writes:
I have a problem with display
. But if I use
message tag it is wrong.
-Ursprüngliche Nachricht-
Von: Guillaume Cottenceau [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. November 2004 10:10
An: [EMAIL PROTECTED]
Betreff: Re: problem with unicode
Otto, Frank otto 'at' delta-barth.de writes
Hi,
I have generated a pdf with iText. In my action class I want to write it in the
response object.
The result should be a jsp-page with content pdf generated successful and a link to
this pdf. The pdf should be shown in a new browser window too.
Has someone do this? How can I do this?
a
number of tested cache-libraries)
- could make the PDF available also to other users (depends
on the use-case and the
cache-library)
hope this helps
Alexander
-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 9:18 AM
To: '[EMAIL
Hi,
I have a jar file, that contains a struts-config.xml.
Is it possible to set the init parameter in web.xml, that struts find this
struts-config file?
init-param
param-nameconfig/param-name
param-value???/param-value
/init-param
Regards,
Frank
Hi,
I had the same one last year. The solution was:
I had a table tag with background attribute and this contains a #. If I had remove
this, the action will not executed twice.
Pherhaps it's help you.
Regards,
Frank
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL
Hi,
I think you can define two names for one form.
form-bean name=form1 type=test.CFormClass /
form-bean name=form2 type=test.CFormClass /
So you can use different validations.
Regards,
Frank
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet:
Hi,
you can do this in this way:
bean:define id=step
bean:write name=STANDARDQUERY property=step/
/bean:define
logic:greaterThan name=STANDARDQUERY property=currentStep value=%=step%
html:submit property=submit.stepBackward bean:message
On 04/07/2004 08:10 AM Otto, Frank wrote:
Hi Adam,
I use the validation.xml in this way:
!DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons
Validator Rules Configuration 1.1//EN
http://jakarta.apache.org/commons/dtds/validator_1_1.dtd;
form name=loginForm
to check it out. I now have a test
validate.xml with only one form, one field and one arg, and that has the
bundle attribute on it. Perhaps it wants me to specify what that bundle
is somehow.
Frank, what error do you get? Any exceptions?
Adam
On 04/07/2004 08:10 AM Otto, Frank wrote:
Hi Adam
with struts 1.2
Hi
NO, they don't ! Are you sure you are looking at validation_1.1.dtd ?
Mine is from last nights build
Hermod
-Opprinnelig melding-
Fra: Otto, Frank [mailto:[EMAIL PROTECTED]
Sendt: 7. april 2004 10:18
Til: 'Struts Users Mailing List'
Emne: AW: AW: AW: SV: validation with struts
Hi,
you have to extend your form from ValidatorForm.
Frank
-Ursprüngliche Nachricht-
Von: Zakaria khabot [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. April 2004 12:56
An: Struts Users Mailing List; Struts Developers List
Betreff: validation.xml
Hi all,
How to call the validator
as I know
Hermod
-Opprinnelig melding-
Fra: Otto, Frank [mailto:[EMAIL PROTECTED]
Sendt: 6. april 2004 09:24
Til: 'Struts Users Mailing List'
Emne: AW: validation with struts 1.2
And is there any solution?
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto
36 matches
Mail list logo