Hello,
Let me just say that I'm struggling at times writing my first production Struts
application. The issue that I'm trying to wrestle with now is that part of the
application requires security, and part of it should allow general access to
the public. This sounds like a case for modules (
If I want to configure Freemarker within Struts 2, how do I access the
FreemarkerManager instance? Ideally, I would do this one time on startup to
set global settings for my application.
I see there are some settings that can be configured via
freemarker.properties, but other options can not.
--
Hi
I have a question please,
the user will be presented with a form that has lot of rows from a database,
each line will be like this :
ID --- TITLE --- 0(1) 0(2) 0(3) 0(4) 0(5) <--- 5 radio buttons
the user has only to select one radio button of each line (it's like a
survey) and then s
I think this would make a good jira ticket, if you can clearly
describe what functionality you'd like. Even better, write a patch
and it'll have a much higher chance of getting implemented ;)
Don
On 9/22/07, Gabriel Belingueres <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Quite a few days ago I posted t
Im sorry.. what is the question?
M--
- Original Message -
From: "rama krishna yalagandula" <[EMAIL PROTECTED]>
To:
Sent: Friday, September 21, 2007 6:48 PM
Subject: Spring tutorial
> Hi,
>
> I am new to struts 2.0.9 ... Earlier I worked on oracle Developer Tools
.
> Now we have to mig
I echo Dave's sentiment, but you need to determine what your data access
needs are before deciding one way or another.
Many people really like the ORM approach using something like Hibernate.
Others like pure JDBC, or at least *close* to pure JDBC, which is an
area Spring can help in (it can
I tried it without the "." as well, just: body {background-color: #00FF00; }
but nothing changes.
I circumvented this issue by simply adding a
You don't *need* to, but it (Spring) can make life a
lot easier.
--- rama krishna yalagandula <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I am new to struts 2.0.9 ... Earlier I worked on
> oracle Developer Tools ..
> Now we have to migrate From Oracle to Java
> Struts I need to connect to
> data
Hi,
I am new to struts 2.0.9 ... Earlier I worked on oracle Developer Tools ..
Now we have to migrate From Oracle to Java Struts I need to connect to
database several times so do I need to use Spring Frame Work(as I heared
from my supervisor)
Thanks in advance
Regards
Rama...
Hi
Let me explain you more in detail.
I need to call an id which is defined in JSP page in Tile. My jsp
page code looks like:
Where as in tilepage.jsp the code looks like:
The Date: Fri, 21 Sep 2007 09:10:21 +0200> From: [EMAIL PROTECTED]> To:
> user@struts.apache.org> Subje
--- Session A Mwamufiya wrote:
> .body {background-color: #00FF00;}
That's defining a class called "body"; does your
tag have a "class='body'" attribute?
If you want to define a style for an HTML element you
shouldn't (AFAIK, anyway; I guess I've never tried it)
preface the element name with a "
Hi,
I'm trying to control all of my css styles through the s:head tag, so that I
change things in only one place. I copied the template folder to my project's
webcontent folder, and edited the styles.css file in template/xhtml/ with the
following:
.body {background-color: #00FF00;}
however, t
thank you Rick, I will try to do what you said,
in my database I have a table that has :
Id
Title
Priority
I want to populate a form with lot of rows and present them to the user as :
Id Title - five radio buttons
how I am gonna do it in jsp file ?
t
Hi,
If you are using struts 1.x then u need to have a database code.Call that
from your action get the values. Set them to your action form thats
itexample if u want...
let your action form be
someActionform extends ValidatorForm{
private String name;
public String getName(){
return name
On 9/21/07, Kenton <[EMAIL PROTECTED]> wrote:
> At: http://struts.apache.org/2.x/docs/url.html
>
> it says url attribute "id" is deprecated in favor of "var". However, var
> doesn't work and id does (Struts 2.0.9). I assume this is a documentation
> error. Can I fix this somehow? Or I will just ig
On 9/21/07, A. Lotfi <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I need to populate a form with data from database, is there any example.
>
> thank you your help is appreciated.
Probably are a ton of them. (Here's one for Struts1.x using iBATIS
http://www.learntechnology.net/content/ibatis/spring_ib
--- [EMAIL PROTECTED] wrote:
> So is this 2.0.9 javadoc correct?
It's XWork, not S2; not sure which version.
> /**
> * @return the model to be pushed onto the
> ValueStack instead of the
> Action itself
> */
It also says:
/**
* ModelDriven Actions provide a model object to be
pus
At: http://struts.apache.org/2.x/docs/url.html
it says url attribute "id" is deprecated in favor of "var". However, var
doesn't work and id does (Struts 2.0.9). I assume this is a documentation
error. Can I fix this somehow? Or I will just ignore.
--
View this message in context:
http://www.nab
Hi,
Quite a few days ago I posted this question and nobody answered. I
guess this is something we cannot currently do right now with v2.0.9?
Should I post it in JIRA as an improvement for future versions?
Does even anybody think it would be useful to have validation defined
on multiple similar f
Hi Jane,
Unfortunately there's been no change :(. Every now and again I get an Email
out of JIRA saying that the fix version has been changed, but unfortunately
it'd being changed to the version after the one being released :(
Al.
-Original Message-
From: Jiang, Jane (NIH/NCI) [C] [mailt
Hi,
I need to populate a form with data from database, is there any example.
thank you your help is appreciated.
-
Tonight's top picks. What will you watch tonight? Preview the hottest shows on
Yahoo! TV.
Yes indeed! The more I look at the code in these interceptors, the more I
question the number of times Ctrl-C and Ctrl-V were pressed!
Scott
On 9/21/07, Chris Pratt <[EMAIL PROTECTED]> wrote:
>
> > On 9/21/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> > > public String intercept(ActionInvocation
> On 9/21/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> > public String intercept(ActionInvocation invocation)
> > throws Exception {
> > Object action = invocation.getAction();
> > if (action instanceof ModelDriven) {
> > ModelDriven modelDriven = (ModelDriven)
> > action;
> >
Thanks for the reply.
I did indeed try to create an over an immediate list
of those strings, but I could never get it to work. I can get it to
work over numbers (i.e. >), but not strings. Probably user error. I'd love to see a
solution to that.
But your suggestion to use the id parame
So is this 2.0.9 javadoc correct?
public interface ModelDriven {
/**
* @return the model to be pushed onto the ValueStack instead of the
Action itself
*/
T getModel();
}
This sort of sound like the Action IS NOT ALSO on the stack!
On 9/21/07, Dave Newton <[EMAIL PROTECTED]>
I agree, and that's the thought that stopped me from doing this in the
past. I do think it would be nice to bring APT to a wider audience, and
making it a plug-in would probably give it more exposure and have that
effect, but it's not the best reason to do something like this. I may
still do
Hi!
I'm using json-taglib [0] to populate lists of users (user: username,
id, name, surname, description) to an s:autocompleter tag.
I put the code in [1] of json.
I put the snipplet of jsp in [2].
the system i'm developing is for spanish speakers, so some times they
use non ascii characters in tho
Hi Al,
I am having the same problem with s:select and validation. I found your
thread when I searched the user group for answers.
Have you found a better solution to this problem? Has it be identified
as a bug? Unfortunately, I am so far along on my validation code that I
really don't want to
--- [EMAIL PROTECTED] wrote:
> Is there anything that ModelDriven does other than
> push your model on the top of the stack?
public String intercept(ActionInvocation invocation)
throws Exception {
Object action = invocation.getAction();
if (action instanceof ModelDriven) {
ModelDri
Is there anything that ModelDriven does other than push your model on the
top of the stack?
--
Scott
[EMAIL PROTECTED]
there is a mail taglib but a mail is sent from the jsp then.
or you grab the reply from the server via httpclient, put it in a
multipart mail message and send.
Leon
On 9/21/07, Oguz Kologlu <[EMAIL PROTECTED]> wrote:
> Not really suitable for what I'm after since I need the result of the
> rendere
--- Kevin Wade <[EMAIL PROTECTED]> wrote:
> separator=","
> id="myAttr">
>
>
> < want to test groupname here, etc... >
>
>
I'm not sure why you're using at all
since you could over an immediate
list.
will return the current iteration
object. You sh
Greetings all. I am having difficulty crafting an struts 2 iterator
using the generator tag. I want to iterate over a set of string
values and then test against the current one in the loop. Something
like this:
id="myAttr">
The easiest solution on 2.0.9 is just to overwrite head.ftl and remove
the dojo stuff, you won't have tooltips but you are probably not using
them anyway.
musachy
On 9/21/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> If a undestand, there is no way to get rid of this problem with struts
>
If a undestand, there is no way to get rid of this problem with struts
2.0.9.
There is still no date for the 2.1 release availability ?
Meissa
"Musachy Barroso" <[EMAIL PROTECTED]>
21/09/2007 16:52
Veuillez répondre à
"Struts Users Mailing List"
A
"Struts Users Mailing List"
cc
Objet
Re:
You can also map each method to a name in your struts.xml by using the method
attribute of the action tag.
Ganebnyi Genadii wrote:
>
> Requesting action like /web-path/someAction!someMethod.action, calls
> SomeAction.doSomeMethod().
>
> 2007/9/21, michetag <[EMAIL PROTECTED]>:
>>
>>
>> Hi
If you don't have "plugin" anything, there isn't any real benefit to
it, but I haven't looked at JWP.
musachy
On 9/21/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I'll see if I can find some time this weekend... the only thing that's
> really stopped me in the past when I thought of it is t
on any file that you are using the S2 ajax tags, you have to use the
wrote:
> Musachy where do you set this cache=true in what file exactly?
>
> On 9/21/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
> >
> > I could see
> > > making this an S2 plug-in if there was some interest in that, I've had
>
Not really suitable for what I'm after since I need the result of the
rendered output on the server,
not on the client. As i mentioned I've seen it done with Velocity,
using something like
Velocity Template Processor/Engine (can't remember the exact name).
Doing the same on a JSP I'd probably
I'll see if I can find some time this weekend... the only thing that's
really stopped me in the past when I thought of it is that it's really
so darned easy to drop in manually (two added JAR files, one config file
and one context param in web.xml), there's almost no benefit to it being
a plug-
Musachy where do you set this cache=true in what file exactly?
On 9/21/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
>
> I could see
> > making this an S2 plug-in if there was some interest in that, I've had
> > that thought before.
> >
>
> That would be a pretty good idea :)
>
> musachy
>
>
Example code:
On 9/21/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- j alex <[EMAIL PROTECTE
I could see
> making this an S2 plug-in if there was some interest in that, I've had
> that thought before.
>
That would be a pretty good idea :)
musachy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
If you're not going to use the built-in AJAX support in S2, you may also
want to have a look at AjaxParts Taglib (APT):
http://javawebparts.sourceforge.net/javadocs/javawebparts/ajaxparts/taglib/package-summary.html
... which is a component of Java Web Parts (JWP):
http://javawebparts.sourcefo
Just to confirm that, there is no dependency on Dojo anymore, the
tooltips are now implemented using DomTT which is a really small js
file.
musachy
On 9/21/07, Don Brown <[EMAIL PROTECTED]> wrote:
> No, thank goodness :) The dojo code has been moved out into its own
> plugin and cleaned up, from
Setting cache="true" will pretty much kill the Dojo lazy loading
feature, as it will use a custom build (all the required js files
compressed in one file). On top of that 2.1 won't scan the whole page
for widgets, which will make it even faster.
musachy
On 9/20/07, Don Brown <[EMAIL PROTECTED]> w
Marc Eckart wrote:
Any ideas? Or any other suggestions?
http://www.javaworld.com/javaworld/jw-08-2007/jw-08-ajaxtables.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Yesterday at 11:25pm, VR=>Van Riper <[EMAIL PROTECTED]> wrote:
VR> [..snip..]
VR>
VR> The best workaround that I have found is to "Just Say NO" to the built
VR> in support for Dojo and instead to use Prototype judiciously. All my
VR> ajax logic is done that way. I don't use the builtin ajax
Thanks for your response.
by having in a
Tile.Where Bformname is super class. If I have this piece of code, the page
after Date: Fri, 21 Sep 2007 09:10:21 +0200> From: [EMAIL PROTECTED]> To:
> user@struts.apache.org> Subject: Re: Urgent: Is it possible to define
> superclass form name in
Hi,
How can I use a global resource properties file (defined in struts.xml as:
) for setting an action error text in an action class having an error key ?
I tried: addActionError(getText("error.business.norights")), but the problem is
that the text is not found and the key is returned.
When I
Hello,
I have a very strange problem. I can´t specify if it is an Struts 2
problem, a Javascript problem, a Dojo problem,...
The scenario is as follows:
I have a .jspx page like this:
http://www.w3.org/1999/xhtml";
xmlns:jsp="http://java.sun.com/JSP/Page";
xmlns:fmt="http://java.sun.co
Requesting action like /web-path/someAction!someMethod.action, calls
SomeAction.doSomeMethod().
2007/9/21, michetag <[EMAIL PROTECTED]>:
>
>
> Hi all!!..
> I'm new with the framework and we are trying to develope a proyect with
> Struts 2.
> In the Analysys of the proyect we are trying to understa
--- j alex <[EMAIL PROTECTED]> wrote:
>
The entire expresion is OGNL, not just the "key" value
from the stack.
d.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all!!..
I'm new with the framework and we are trying to develope a proyect with
Struts 2.
In the Analysys of the proyect we are trying to understand if it's possible
to call different "process methods" ( or execution method ) in the same
Action class.
It is so or always when we call an actio
I think that is called URL's parameter encryption.
You may want to take a look at
http://www.avedatech.com/Products/QueryCrypt/index.jsp,
I haven't try it by myself though.
On 9/20/07, Vo Van Thuong <[EMAIL PROTECTED]> wrote:
> Hi Vinny,
>
> I'd like users to access to my website by URLs like Eb
2007/9/21, Arunkumar Balasubramanian <[EMAIL PROTECTED]>:
>
>
>
With this piece of code, you are putting:
- the bean registered with the "Bformname" attribute name in thr "request"
scope
- in the page scope (that it is the default) with the attribute name "name".
Is it really what you want?
Ant
No, thank goodness :) The dojo code has been moved out into its own
plugin and cleaned up, from what I hear.
Don
On 9/21/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Does it mean that we'll still suffer from this even with the 2.1 version ?
> Having page load time over 40s is hard to dig
Does it mean that we'll still suffer from this even with the 2.1 version ?
Having page load time over 40s is hard to diggest.
Meissa
"Don Brown" <[EMAIL PROTECTED]>
21/09/2007 08:51
Veuillez répondre à
"Struts Users Mailing List"
A
"Struts Users Mailing List"
cc
Objet
Re: [struts] [s2] St
58 matches
Mail list logo