Thanks,
Yes I do agree with you, Reason for this question is
still we have not mixed JSTL with S2, I thought can we
get this going with S2 tags, it would have been
cleaner.
thanks
--- Don Brown <[EMAIL PROTECTED]> wrote:
> Use the JSTL tag. The Struts 2 tags aren't meant to
> replace JSTL, but
Use the JSTL tag. The Struts 2 tags aren't meant to replace JSTL, but
complement it in ways that are useful. There are several tags that do
overlap with JSTL, such as the iterator tag, but they are kept mainly
to keep backwards-compatibility.
Don
On 9/4/07, tom tom <[EMAIL PROTECTED]> wrote:
>
Hi,
In S2, how can we import a remote URL or file inside a
JSP.
JSTL I think we can use c:import, what is the S2
equivalent of that.
Thanks,
Ready
for the edge of your seat?
Check out tonight's top pi
Hello
I'm trying to use checkboxes for a service/product selection. But
following the documentation I wasn't able to set the value of each
option.
My code:
Resulting in
Service1
Shouldn't the value attribute be set to whatever the id of my service is set to?
Why is value="true" inst
Yes, the way to specify the location is the 'config' parameter in
web.xml, however, it will try to load the path from the classpath, not
the webapp root. If you do specify it, it is recommended to add to
the existing - 'struts-default.xml,struts-plugin.xml,struts.xml' -
rather than replacing it, a
Use two astrisks - '**'
Don
On 9/4/07, Neil Aggarwal <[EMAIL PROTECTED]> wrote:
> Hello:
>
> In my struts.xml, I have this property:
>
>
>
> At the very end of my actions, I have this one:
>
>
> page.products
>
>
> This works if I have a url with a non-slash action name:
> http
Hello
How do I format dates and numbers with Struts2?
I tried following this tutorial found on documentation but it didn't
work. Could anyone point me to a working example or tell me how to do
it. I did not want to have to create methods to format dates and
numbers in my action.
http://struts.ap
Should I open up a JIRA issue? Please explain how to do that and what it
means.
Thanks,
Ron
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 30, 2007 5:00 PM
To: 'Struts Users Mailing List'
Subject: RE: Can you specify the name of struts.xml for Str
(Mary Poppins: 'Practically Perfect in Every Way')
This is a complicated scenario, what with a private static final ThreadLocal in
a class with a public constructor. Without coding it and tracing the
ThreadLocal context, my guess is that the ThreadLocal is not being carried thru
the various re
Hi,
I use Displaytag and want to use the sorting capability. So I configured the
displaytag to go to a empty action, because my list is in the session -
nothing should be loaded again, just using the existing search results.
If I do this, I get a
iam sorry that was LookupDispatchAction, not ValidateDispatchAction..
abhiram
-
Once upon a time there was 1 GB storage in your inbox. Click here for happy
ending.
Hello:
In my struts.xml, I have this property:
At the very end of my actions, I have this one:
page.products
This works if I have a url with a non-slash action name:
http://cbsweb.jammconsulting.com/cbsweb/nonExistent.action
loads the page I want.
But, if I have an action n
Thanks for the input Frank. I found out my mistake, I didn't have the scripts
in the header section, they were in the body, that's why the djConfig wasn't
going through properly.
Thanks,
Session
> It *looks* like your using a Dojo profile that doesn't include the pieces
> you need, and Dojo i
iam using ValidateDispatchAction to handle multiple submit buttons in a form.
in this form, i display images and a submit for each of them. i want the id of
the image(which i already have in the form) to be submitted to the form-bean on
clicking the corresponding submit button.
problem is
It *looks* like your using a Dojo profile that doesn't include the
pieces you need, and Dojo is going off and trying to import them and not
finding them. Have a look here:
http://www.nabble.com/djConfig-params-t2109960.html
You should set djConfig.baseScriptUri first, see if that resolves you
Who has experience using Dojo? Please help me get it setup. I added the
dojo.js file from the 0.9.0 release (I think it's the latest) to my webcontent
folder in an eclipse WAP project, but firebug keeps giving me the same error
"djConfig.baseScriptUri has no properties getBaseScriptUri()dojo.j
On 9/3/07, Alexandre Seabra <[EMAIL PROTECTED]> wrote:
> Leon,
>
> Frist of all, I wanna say hi to the community. I just sign in the
> list, and hope we have a good time!
welcome aboard.
>
> I don't remember reading a book about MVC2, but informaly, with
> friends at work, this subject comes up s
To follow up on this; I used firebug to try to figure out what was going on,
and this is the error message I get in the console:
djConfig.baseScriptUri has no properties
getBaseScriptUri()dojo.js (line 155)
loadPath("src/lang/__package__.js", "dojo.lang", undefined)dojo.js (line
187)
loadModule("d
Leon,
Frist of all, I wanna say hi to the community. I just sign in the
list, and hope we have a good time!
I don't remember reading a book about MVC2, but informaly, with
friends at work, this subject comes up some times. The MVC2 is not
doesn 't depend on struts. Struts uses is implemented usin
Hi,
I'm attempting to follow a Dojo tree widget tutorial,
http://willcode4beer.com/ware.jsp?set=dojoTreeWidget, where Dojo is used to
define a tree. Unfortunately nothing comes up on the page, even though the
page source shows the tree definition.
The tree page is set as the result page for a
I have a struts application, deployed using tomcat 5, that uses database
pooling. I have a helper class called DAOhelper that encapsulates database
interactions. The problem I have is that the class only works during
application initialisation. I have an ApplicationInitaliser class that
extends Pl
Thanks Nuwan.
It's working.
--
View this message in context:
http://www.nabble.com/How-to-give-a-text-field-name-dynamically--tf4358482.html#a12460663
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsub
why can't u get request object from ServletContext?
- Original Message -
From: "Alvaro Sanchez-Mariscal" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, September 03, 2007 6:53 AM
Subject: Re: ServletRequestAware
As far as I know, the only way is asking HttpServlet
Wow...thank you very much..
its working..
Jeromy Evans - Blue Sky Minds wrote:
>
> In IE6 the s:a can't have a target equal to a div that contains the
> itself unless you set showLoadingText=false
>
> The problem is that in IE6 the form nodes are overwritten by the loading
> text before its
1) there is no such thing as MVC2.
You are probably mixing things up: Model2 for JSP Development and MVC Pattern.
2) If you are talking about struts 2, there is a major difference
between a servlet and an action, since the action incorporates both,
request data and logic, which servlet doesnt.
3)
In IE6 the s:a can't have a target equal to a div that contains the
itself unless you set showLoadingText=false
The problem is that in IE6 the form nodes are overwritten by the loading
text before its actually read and posted. Disable the loading text and
it will be okay.
regards,
Jeromy Ev
Dear all,
In order to better understanding and using of Struts2, I have created
the Animated Tutorial for Struts2 that shows how does struts work.
My goal for creating this document was to show basic primitives such as
request scope value stack, action classes and objects to s
Hi,
I used simple ajax form submission in my application and it worked in
both Mozilla and Internet Explorer.
and now, I shifted to DOJO and my form is like this..
<@s.div id="login_box_ajx" theme="ajax">
<@s.form action="login" name="login_form" id="login_form"
method="P
Hi Marc,
if you are using struts2 , i guess that your action result is xslt
(returning xml) . Normally when no errors occur you will parse this xml
and populate the list with javascript. Why don't you set a flag on your
xml result i.e.
1
Invalid input
so that you will test for the value of
29 matches
Mail list logo