Hi Musachy,
Thanks for your reply.
I was wondering what is the significance of struts.ui.templateSuffix is?
Please advice.
Thank you.
Regards,
Kishan.G
Senior Software Engineer.
www.spansystems.com
-Original Message-
From: Musachy Barroso [mailto:musa...@gmail.com]
Sent: Tuesday,
That is just a brutal description dude. I can't even venture a guess at what
you are describing but I would stick with the solution proposed before.
PEGASUS84 wrote:
>
>
> ok but i try to use an hidden tag but it set all values of name because it
> is into an iterator tag
>
--
View this me
How is your JUnit test setup? If your service is injected in your JUnit test
and not in Struts then it could be that contextConfiguration in web.xml is
messed up.
I usually annotate the action with @Component and just put an @Autowired
over the setter. I am not sure what @PostConstruct does.
The technical answer to your question is the "chain" result will copy the
previous request.
I think there could be some pattern issues here though. You have a central
action where you post a variety of forms and you want to reuse that action
and then figure out which form to go back to?
I don
I can't think of anything with a quick breeze through of your message, but
you should use the id parameter of the s:textfield tag so you know what the
HTML id will be in your $("#...") call.
Kiru-2 wrote:
>
> I am using JQuery for validating the fields in my jsp page, created using
> Struts 2.
Perhaps you are looking for some basic "tidbits" you may commonly use:
a) Calendar pop-up
b) Ajax calls with JSON response from Struts
c) Simple element hide/show
Can you build a list like this of things you need to build your UI or are
you looking more for skill building sources?
fireapple wr
In case you have not guessed, asking someone to just "give me code" is not
the best policy on any forum/mailing list. You can either a) use Google to
find someone who has posted code b) Learn to do it yourself. Either way
its not really a Struts related question.
All that said, try this al
I think the File class in the Java API would be a good place to start.
Just a guess though.
On 4/28/09, PEGASUS84 wrote:
>
>
> excuse me
> has some one the code to save the upload file in a specific directory?
> --
> View this message in context:
> http://www.nabble.com/file-upload-tp23282289p232
PEGASUS84 wrote:
has some one the code to save the upload file in a specific directory?
Copy the file to the directory you want.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mai
excuse me
has some one the code to save the upload file in a specific directory?
--
View this message in context:
http://www.nabble.com/file-upload-tp23282289p23286968.html
Sent from the Struts - User mailing list archive at Nabble.com.
Thank you! It seems I have a lot to learn:-)
Wes Wannemacher wrote:
>
> On Tue, Apr 28, 2009 at 10:39 AM, fireapple
> wrote:
>>
>> Hi, Wes, on the table of content of the book, I didn't find anything
>> related
>> to JQuery and Struts2. Since JQuery is similar with JavaScript, can we
>> say
>>
Glad to have been of help :)
Wow, finally, it works... Thank you indeed, I wouldn't have solved this without your help.
I did missunderstand something in your former instructions, the part where I should move
the encoding in my web.xml to before the Struts2 filter. It wouldn't have worked anyw
Wow, finally, it works... Thank you indeed, I wouldn't have solved this without
your help.
I did missunderstand something in your former instructions, the part where I
should move
the encoding in my web.xml to before the Struts2 filter. It wouldn't have
worked anyway I
guess since ISO-8859-
PEGASUS84 wrote:
thanks now thw action works but
please send me a right code to make the uploadfile in a specify directory of
the server because the code wich i try doesn't work
Copy the file to the directory you want.
Dave
--
thanks now thw action works but
please send me a right code to make the uploadfile in a specify directory of
the server because the code wich i try doesn't work
--
View this message in context:
http://www.nabble.com/file-upload-tp23282289p23282922.html
Sent from the Struts - User mailing list a
Sorry, my copy & paste mistake. That file is of course in the core.
Take a look at this: http://struts.apache.org/2.1.6/docs/file-upload.html
Nils-H
On Tue, Apr 28, 2009 at 7:37 PM, PEGASUS84 wrote:
>
> no where is ths file
>
> Nils-Helge Garli wrote:
>>
>> Do you have a jar with the
>> org.apa
PEGASUS84 wrote:
no where is ths file
S2 file uploading requires commons-io and commons-fileupload (by default).
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@st
no where is ths file
Nils-Helge Garli wrote:
>
> Do you have a jar with the
> org.apache.struts2.dispatcher.multipart.MultiPartRequest class
> anywhere in your classpath?
>
> Nils-H
>
> On Tue, Apr 28, 2009 at 7:25 PM, PEGASUS84 wrote:
>>
>> please helm me
>> i must write a code for uploading
Do you have a jar with the
org.apache.struts2.dispatcher.multipart.MultiPartRequest class
anywhere in your classpath?
Nils-H
On Tue, Apr 28, 2009 at 7:25 PM, PEGASUS84 wrote:
>
> please helm me
> i must write a code for uploading file in a directory of the server.
> i just try some example but i
please helm me
i must write a code for uploading file in a directory of the server.
i just try some example but i'm failed.
can someone give me the code to upluoad file
when i try i received this message
java.lang.RuntimeException: Unable to load bean
org.apache.struts2.dispatcher.multipart.MultiP
I am receiving this exception in SystemOut.log from my struts portlet. Can
anyone explain this to me?
[4/28/09 11:15:54:459 EDT] 005d WpRequestProc E
com.ibm.portal.struts.portlet.WpRequestProcessor processException Root cause:
java.lang.IllegalArgumentException: Parameter name == null
a
On Tue, Apr 28, 2009 at 10:39 AM, fireapple wrote:
>
> Hi, Wes, on the table of content of the book, I didn't find anything related
> to JQuery and Struts2. Since JQuery is similar with JavaScript, can we say
> we can use JQuery in Struts2 as soon as we can use JavaScript in Struts2?
> Thank you.
i worked in ohio once..some hard working folks there that need some training in
current technologies
I like the MEAP but i am still looking for the publication preview
comprehensive examples are a good idea..makes it easy to teach from
Martin Gainty
__
Hi, Wes, on the table of content of the book, I didn't find anything related
to JQuery and Struts2. Since JQuery is similar with JavaScript, can we say
we can use JQuery in Struts2 as soon as we can use JavaScript in Struts2?
Thank you. I'm a new programmer with stupid questions,:-)
Wes Wannema
Hi Wes,
Here is the configuration in struts.xml for displaying the result , where we
determine what need to be displayed once validation failed.
If validation fails while "calculateParoleEligibilityDate" , then framwork will
look for input for the defined action which is "determineInputForRed
fireapple wrote:
Because our team is using struts2 to develop the web application and I'm in
charge of the UI part, I have to restrict the UI to struts2.
I heard that JQuery is very popular and I love it. Also, I know some people
are using it in struts2. However, I couldn't find any related tuto
On Tue, Apr 28, 2009 at 9:52 AM, Martin Gainty wrote:
>
> Struts2 in Practice book from manning
>
> http://www.manning.com/wannemacher
>
> feel free to Ping wes or myself offline for any questions/comments/tutorials
>
> Thanks,
> Martin Gainty
Checking in! Did I hear my name?
Yeah, I have quite
Struts2 in Practice book from manning
http://www.manning.com/wannemacher
feel free to Ping wes or myself offline for any questions/comments/tutorials
Thanks,
Martin Gainty
__
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Not
Because our team is using struts2 to develop the web application and I'm in
charge of the UI part, I have to restrict the UI to struts2.
I heard that JQuery is very popular and I love it. Also, I know some people
are using it in struts2. However, I couldn't find any related tutorial. Any
tutorial
it is a ToolTip
Regards
Elyes
2009/4/28 Dave Newton
> elyes sallem wrote:
>
>> i wanna display a bull info once the user put the cursor on the button
>> here is the button declaration
>> valider
>> any one has an idea?
>>
>
> I'm not sure what "bull info" is, but there are any number of
> Java
elyes sallem wrote:
i wanna display a bull info once the user put the cursor on the button
here is the button declaration
valider
any one has an idea?
I'm not sure what "bull info" is, but there are any number of
JavaScript-based tooltip-type libraries available that can be used with
any fra
The template engines just process certain types of templates(ftl, vm,
jsp, etc), but are not(directly) related to tags. The tags need to
output something, what you use to generate the output is up to you,
the struts tags use freemarker, but the javatemplates plugin uses
plain java, for example.
mu
Hello,
i wanna display a bull info once the user put the cursor on the button
here is the button declaration
valider
any one has an idea?
Thanks
Regards
You shouldn't technically need Struts 2.1.7 to be able to use UTF-8. If
you want to stick with 2.1.6, there are two options: either you use
useBodyEncodingForURI="true" in Tomcat's server.xml, or you explicitly
set URIEncoding="UTF-8" in the connector. I'd advise you to use
useBodyEncodingForUR
Wow. I really shouldn't try to help people when I am on a diet. My brain does
not work.
Get rid of the @PostExecute and change that method to execute. You should be
able to set a break-point within your execute method and see that myService has
been initialized.
My struts action contains
ok but i try to use an hidden tag but it set all values of name because it
is into an iterator tag
--
View this message in context:
http://www.nabble.com/radio-with-two-values-tp23272838p23274112.html
Sent from the Struts - User mailing list archive at Nabble.com.
Check 2 things:
- is the jars inside WEB-INF/lib in the dist jar of the application?
- is the only one jar for each library (maybe have one in web-inf and one in
the root).
i've a similar problem with netbeans and jboss (netbeans put all the jar in
the root and nothing in web-inf) so i forced to p
i think u can use a trick
u can set the value in this way: CODE_NAME. and map as a string
in your action u can simply extract where is the "_" char and split the
string.
NB: the code and name doesn't have _ inside
On Tue, Apr 28, 2009 at 10:45, PEGASUS84 wrote:
>
> good moorning.
>
> I've th
Silly me. After I added “.label {font-style:normal; }” to my css file, no
more italic present in the input form. Thank you again Dave.
-Original Message-
From: Qunhuan Mei [mailto:q...@qm18.wanadoo.co.uk]
Sent: Monday, April 27, 2009 12:59 PM
To: 'Struts Users Mailing List'
Subject: RE
good moorning.
I've this question:
Can I send to an action two vakues using radion button?
for example i want send the code and the name for each element of radio
buttons.
Is it possible?
--
View this message in context:
http://www.nabble.com/radio-with-two-values-tp23272838p23272838.html
Sent
Hi,
I'm using Struts 2.1.6.
I'm developing custom Struts 2.1.6 tags.
I want to use org.apache.struts2.components.template.JspTemplateEngine.
The framework supports three template engines, which can be controlled
by the struts.ui.templateSuffix in struts.properties.
If I set the above, does all
41 matches
Mail list logo