setecastronomy wrote:
So, according to my experience if you use Sitemesh and datetimepicker
together you have to remember to use exceptions in the decorator.xml...
Thank you for sharing your experience. This is not a
DateTimePicker-specific issue.
If you use a page decorator like sitemesh yo
Thanks for the respones.
Perhaps i didn't explain myself properly. What i'm really looking for is
a way to define the context root url as the base url.
My motives for doing this is to allow me to share code across my
application. An example would be referencing a style sheet in a header
incl
Correction... the last two lines of code in my previous mail should have
been (getting myStylesUrl by value not name!)
" />
not
" />
Max Pimm wrote:
Thanks for the respones.
Perhaps i didn't explain myself properly. What i'm really looking for
is a way to define the context root url as
Why don't you use JSP EL?
Best regards.
--
Robi
Max Pimm wrote:
Thanks for the respones.
Perhaps i didn't explain myself properly. What i'm really looking for is
a way to define the context root url as the base url.
My motives for doing this is to allow me to share code across my
app
It seems to me that for the majority or senarios you would want
paramsPrepareParamsStack to be the default stack. One thing we have
noticed with this as our default and devMode turned on is that we get
errors with pages with checkboxs because the checkbox interceptor is
being called after the param
Hello
I'm new beginner starting with a "struts-blank-1.3.8.war" web
application, deployed on tomcat 5.5, but I couldn't find the .tld
files anywhere.
thanks for replying
hicham
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
On 6/22/07, hicham <[EMAIL PROTECTED]> wrote:
Hello
I'm new beginner starting with a "struts-blank-1.3.8.war" web
application, deployed on tomcat 5.5, but I couldn't find the .tld
files anywhere.
They are shipped in the struts-taglib-1.3.8.jar - so as long as you
deploy that jar, then that sho
I want to use object factory in my POJO, at present ObjectFactory.getInstance
returns null. I am able to use it in Actions but not in POJO. Please advice
how to use it?
--
View this message in context:
http://www.nabble.com/How-to-use-objectfactory-tf3964352.html#a11251178
Sent from the Struts
Hi Guys,
I have an autocompleter tag in my app, but it isn't working good in IE7. In
FF it is doing good.
The problem is when I keep typing, there are some options that it doesn't
retrieve.
I little strange and hard to explain.
I'm generating the JSON using a freemarker template, like this:
[
<#
HI,
Visit http://www.roseindia.net/struts/struts-projects.shtml to download
struts, spring and hibernate example projects and desctiption
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Well,
Regarding that ShowCase is working on IE7, I suppose the issue is on
loadOnTextChange.
I'm using that because the list is really big, and I can't bring it in one
time. About 35000 records comming from Database. I would like to wait for 2
chars before make the select in Database. How could
Hi everybody!
I have a strange behavior while using Struts 2, s:form, and action with
wildcard. Can you please help me?
Here is my struts.xml file, with a wildcard mapping, very straightforward:
/jsp/login.jsp
When I go to http://localhost:8080/Authentification.action, I got a "no
ac
forms? You can use map fields in you action and access the in your views
(jsp, ftl..)
musachy
On 6/22/07, tom tom <[EMAIL PROTECTED]> wrote:
Hi,
Is it possible to use Map-backed forms in S2.
Existing application using the Map-backed form doesnt
seem to work with S2,
Thanks
_
Hi.
I get the following warning:
2007-06-22 14:24:00 org.apache.struts.util.RequestUtils createActionForm
WARNING: No FormBeanConfig found under ''
And what does the warning mean?
Will it stop my webapp from working. It did work before I upgraded struts
Soren
That's what that attribute is for, can you enable logging on head
(debug="true") and submit any logged error, or javascript errors? The ajax
tags still need to be tested on IE 7.
musachy
On 6/22/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
Well,
Regarding that ShowCase is working on IE7,
Jeromy Evans - Blue Sky Minds wrote:
Here's some options:
1. store your results in the http session. This takes no effort but
won't scale very well.
2. Look at the paging implementation provided by displaytag. The
default behaviour loads all data and pages through it for you.
http://displayta
Dejavu?
musachy
On 6/22/07, Deepak Kumar <[EMAIL PROTECTED]> wrote:
HI,
Visit http://www.roseindia.net/struts/struts-projects.shtml to download
struts, spring and hibernate example projects and desctiption
Thanks
-
To unsu
debug-true worked.
But the message is not a big thing., at least for me. Doesn't say much.
FATAL exception raised: [object Error]
FATAL exception raised: [object Error]
FATAL exception raised: [object Error]
FATAL exception raised: [object Error]
But now I've removed loadOnTextChange, and the er
musachy
//I have to install IE 7 and test it, but I've been pushing that :)
On 6/22/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
debug-true worked.
But the message is not a big thing., at least for me. Doesn't say much.
FATAL exception raised: [object Error]
FATAL exception raised: [obje
I am trying to create a validation for the s:file tag to ensure that a
file name was provided.
My tag looks like this:
I tried using the validation:
However, the validation always fails whether the file name is empty
A strange thing is that ShowCase is working on IE7.
Maybe the problem is in my template?
[
<#list vars as var>
["${var}", "${var}"],
]
How will be this comma in my last line? How could I remove the last comma?
Thanks,
Felipe
Musachy Barroso wrote:
>
>
>
> musachy
> //I have to
I found it. :-))
the problem was in my template. The comma in the end of jSon return was
crasshing my list.
So I fixed only changin to that:
[
<#list vars as var>
["${var}"],
[""]
]
Thanks for your help.
Felipe
Felipe Rodrigues wrote:
>
> A strange thing is that ShowCase is working
Hi, people.
What you think we create a alternative template to use ajax and web
standards.
Why ajax?
Dojo is a great framework ajax, however is very slow to make bussiness
solutions, and i don't think appropiate to use with struts2, because what
the widget dojo do is to make easy a complexy so
My bad, I didn't noticed it the first time around. I always forget that IE
doesn't like that trailing comma, do this:
[
<#list vars as var>
["${var}"]
<#if var_has_next>,
]
musachy
On 6/22/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
I found it. :-))
the problem was in my
What is the implication of creating your model bean in the prepare() method
*and* having Spring wired to inject the bean into the action?
Scott Trafton wrote:
>
> Hi,
> I have been getting the same errors from the Parameter interceptor. So
> far I haven't found a way around that unless you pu
Probably a dumb question but does anyone have an example of the best way of
obtaining the web application context within a Struts 2 action?
I need to lookup and get a bean that I've configured in my spring context.
Thanks in advance!
Regards,
Paul
Hi There,
I'm setting the header in my VB application without charset property in the
Content type;
winhttp.SetRequestHeader "Content-Type", "multipart/form-data; boundary=xxx
This was using fine and the file was received by struts in the FormFile
object
But now I'm trying the same on Vista with
Can anyone give me any advice on a good tool to use for unit testing struts
action classes. I am currently using struts 1.2.9 with spring 1.2.9 and
hibernate. I have looked into StrutsTestCase but cannot get it to work. I get
the following error:
test:
[junit] Testsuite: com.chisq.common
Let your Action implements ApplicationContextAware interface.
On 6/22/07, Paul <[EMAIL PROTECTED]> wrote:
Probably a dumb question but does anyone have an example of the best way of
obtaining the web application context within a Struts 2 action?
I need to lookup and get a bean that I've config
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
Do not hijack topics. Please post a new message to
user@struts.apache.org to ask a question.
- -chris
Joe Yuen wrote:
>
> Can anyone give me any advice on a good tool to use for unit testing struts
> action classes. I am currently using stru
Yes, freemarker is used by Struts 2 tags to generate html. We could have a
property for the cache setting, but, does it solve your problem? (you said
it was partially resolved)
regards
musachy
On 6/20/07, Ing. Andrea Vettori <[EMAIL PROTECTED]> wrote:
I discussed the problem with the freemarke
Andrea,
please create a JIRA issue for this, and join the discussion at the
Struts Developers list too, if possible:
http://www.nabble.com/-S2--FreeMarker-usage-in-Struts-2-tf3965756.html
Antonio
-
To unsubscribe, e-mail: [EMAIL
I understand now. I apologize. I'll post a new message. Thanks for pointing
this out.
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Fri 6/22/2007 9:25 AM
To: Struts Users Mailing List
Subject: Re: Advice on unit testing struts action classes
-B
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
Joe Yuen wrote:
> Huh??? What are you talking about? What topic being hijacked??? I am
> asking a question. Do you mean that this subject line has already
> been used in another thread???
You replied to a message in the "AutoCompleter doesn't w
Huh??? What are you talking about? What topic being hijacked??? I am asking a
question. Do you mean that this subject line has already been used in another
thread???
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Fri 6/22/2007 9:12 AM
To: Struts User
Can anyone give me any advice on a good tool to use for unit testing struts
action classes. I am currently using struts 1.2.9 with spring 1.2.9 and
hibernate. I have looked into StrutsTestCase but cannot get it to work. I get
the following error:
test:
[junit] Testsuite: com.chisq.common.ac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
Joe Yuen wrote:
> Can anyone give me any advice on a good tool to use for unit testing
> struts action classes. I am currently using struts 1.2.9 with spring
> 1.2.9 and hibernate. I have looked into StrutsTestCase but cannot get it
> to work. I
Hi, people.
What you think we create a alternative template to use ajax and web
standards.
Why ajax?
Dojo is a great framework ajax, however is very slow to make bussiness
solutions, and i don't think appropiate to use with struts2, because what
the widget dojo do is to make easy a complexy solu
I've never used StrutsTestCase before but here's my unit test setup method:
public void setUp() throws Exception {
super.setUp();
setContextDirectory(new File("C:/Projects/Main"));
//explicitly define the path to web.xml
setServletConfigFile("
Did you find any documentation on radio buttons?
Hi,
I am using struts 1.3.8. I have text fileds in jsp which should be made
editable and non-editable depending on the user role. I used container
managed security for implementing the role based security. Can anyone
please help me how to sort out this issue. I am new to security
implementation.
Hi,
I think you can be interested with FormView
http://formview.sourceforge.net/which is taglib to manage state of
your fields (hidden, visible,...). With
FormView you can manage fields switch user role
http://formview.sourceforge.net/roles.html
Regards Angelo
2007/6/22, Archer <[EMAIL PROTECTED
On top of that, in 2.1 Dojo will be on it's own plugin, making it easier for
people who do not want to use it, or want to use another framework. You made
a very good point, AJAX support in struts is a nice feature and it covers
some common use cases, but that's about it.
As for the reasons for ch
I'm going to take the bait and attempt to answer this email...
José Carlos Sardagna wrote:
Hi, people.
What you think we create a alternative template to use ajax and web
standards.
Why ajax?
Dojo is a great framework ajax, however is very slow to make bussiness
solutions, and i don't think app
Hello every one:
This question may seem of topic. The reason I am asking this here is
because I am sure some one faced this problem when dealing with struts
and can provide an advice.
I have many objects that are mapped using hibernate to a DB. I need to
update one of these objects (lets call
Let me re-articulate my interpretation of what you've done:
You load an entity E with say 4 properties (a, b, c, and d) from
persistence and render a view based on it. The persistence session is
closed.
In a new thread, the user submits an update that affects only two
properties of the entity
Please see page oriented way of Struts application sample, OzJpetstore
from http://sourceforge.net/projects/optionzero
This application uses OzStruts + Spring on iBatis' jpetstore.
If you want to write robust and maintainable struts application with simple
code,
and not want to have complex deve
Jeromy Evans wrote:
Let me re-articulate my interpretation of what you've done:
You load an entity E with say 4 properties (a, b, c, and d) from
persistence and render a view based on it. The persistence session is
closed.
In a new thread, the user submits an update that affects only two
prop
Mansour wrote:
An alternative approach is that you don't allow persistent entities
to be modified within your actions whatsoever and all updates are
applied behind a service layer that performs reattachment and updates.
How do I do this (reattachment and updates)? Assuming I have a very
big a
There are three pages of issues on freemarker... I'll take a look at
them and see if it's already present.
Thank you
Il giorno 22/giu/07, alle ore 19:17, Antonio Petrelli ha scritto:
Andrea,
please create a JIRA issue for this, and join the discussion at the
Struts Developers list too, if po
50 matches
Mail list logo