On 1/12/07, Joe Germuska <[EMAIL PROTECTED]> wrote:
(I sent the below to the cargo users list, but haven't gotten a response in
several days, so I'm going to be gauche and send it to struts; now that
Struts2 uses Maven2, some Struts folks must be dealing with this [*cough*
Wendy :-) ] If anyone
Don Brown was heard to exclaim, On 01/12/07 18:01:
> If using the latest code,
What's "latest code"? Subversion trunk, or 2.0.1? Probably doesn't matter,
since I'm waiting on Constant Configuration, which will be in the next version.
That will allow me to define devMode in an xml entity that I
If using the latest code, you can have it injected into your action via:
@Inject(StrutsConstants.STRUTS_DEVMODE)
public void setDevMode(String mode) {
this.devMode = "true".equals(mode);
}
This holds true for any configuration value or internal framework object.
Don
On 1/12/07, Dirk Bergstrom
I need to find the value of the devMode flag from within my code. Ideally I'd
have access to it from the ApplicationListener, so that I could set logging
levels and choose the correct database. At the least, I need it in my
ActionSupport classes, so I can turn on Dojo debugging.
I've googled, an
Hi Alexandre,
The datepicker tag has been on the move between 2.0.1 -> 2.0.3. I would
suggest not to use 2.0.2, and wait until the next stable build is
released, must likely 2.0.3. If you can't wait, and decide to build
from source, and still have the same problem, let us know.
regards
musa
Hi,
Previously, when I was using version 2.0.1, my JSP was:
The property dataCadastro in bean equipamento (property of my action) is from
type java.util.Date . It's worked!
Now, I'm using the actual version that I´ve copied from
http://people.apache.org/builds/struts/2.0.2/ .
The tag was mo
Thanks Joe, that's what I needed to know
I'll sign on to the dev list while I'm at it, so I can keep up with
this stuff.
E.
On Jan 12, 2007, at 11:53 AM, Joe Germuska wrote:
This was actually just fixed in an obscure side dependency,
struts-annotations (https://issues.apache.org/struts/br
This was actually just fixed in an obscure side dependency,
struts-annotations (https://issues.apache.org/struts/browse/WW-1392)
I haven't deployed snapshots to the Apache repo since Struts moved to M2;
I'll give that a crack right now, but if you need to, you could check out
http://svn.apache.o
Greetings,
I don't know if this is the best place to post this, so let me know
if this question is out of scope.
I recently attempted building the latest snapshot of Struts 2 (rev
495680) on Mac OS X and I get this error when building with Maven.
=
Missing:
--
(I sent the below to the cargo users list, but haven't gotten a response in
several days, so I'm going to be gauche and send it to struts; now that
Struts2 uses Maven2, some Struts folks must be dealing with this [*cough*
Wendy :-) ] If anyone has advice, it will be appreciated... )
I'm explorin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wes,
Wesley Wannemacher wrote:
> There is generally a 'Virtual Framebuffer' available in both Linux and
> Solaris IIRC.
>
> http://www.die.net/doc/linux/man/man1/xvfb.1.html
While xvfb can be used to run java without access to the console, it's
no
I too have used the code at json.org, but this looks like a nice extension
of that. Thanks for pointing it out Nuwan!
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Aja
Hi Priya,
Struts 1.x doesn't natively understand JSON as either input or output.
That doesn't stop you from doing it yourself though.
The output side is easy: just generate it, either in an Action (probably
not a great idea) or in a JSP (preferred). For instance, here's a JSP
from a prod app I
There is generally a 'Virtual Framebuffer' available in both Linux and
Solaris IIRC.
http://www.die.net/doc/linux/man/man1/xvfb.1.html
This may help, my situation was running a build task that required AWT,
so I am not familiar with Jasper, but it sounds like the same issue (AWT
needs an Xserve
Hi,
I use JSON Lib project hosted in http://json-lib.sourceforge.net/ and
convert my beans and list to json string, and then write it to the response
and return null from the action class., after that its ajax in my page.
eg. code in my action class.
JSONArray jsonOrderArray = JSONArray.fro
Added.
musachy
Frank W. Zammetti wrote:
I'm in the last month or so of work on my next book, so chances are you'll
finish it all off long before I have a chance to jump in, but just in
case, my username is fzammetti (I'm not terribly original!) In the mean
time, feel perfectly free to ping me
Well my intention was to have it in S2, given some people need it and it
is a simple thing. The autocompleter tag also needs it, but that one
will fly to a plugin soon after 2.0.3. As a side not, for those
interested on ajax stuff, check the GWT S2 plugin also, free membership
available for you
Actually, I was going to commit it as a plug-in to the s2 code base in
the next few weeks. But since Musachy started a separate project, it
seems logical to have it all together - also means I have less to do ;-)
/Ian
Ted Husted wrote:
:) I think this is the part where Musachy gives Ian ac
I'm in the last month or so of work on my next book, so chances are you'll
finish it all off long before I have a chance to jump in, but just in
case, my username is fzammetti (I'm not terribly original!) In the mean
time, feel perfectly free to ping me if you have any questions about the
code (I
This whole thing started with Frank's code, and I'm indeed going to
reuse it. As for access to the google project, I just need the gmail
user name. Frank if you are interested jump in and send me your gmail
user name.
regards
musachy
Ted Husted wrote:
:) I think this is the part where Musach
:) I think this is the part where Musachy gives Ian access to the
Google Code project :)
On 1/12/07, Ian Roughley <[EMAIL PROTECTED]> wrote:
I think Frank already has the code in the defect, adding it would be
very simple.
/Ian
-
Hi all,
Is it possible to add ajax inside uitags tags??
I am trying to create a page in struts including uitags and ajax, but it
doesn't work. And I don't know if what I'm trying to do is possible or not.
I have a form with:
1. An html:select, which shows some access control list
onchange="
Hi All,
I am using struts 1. How can I use JSON with that?
Regds
Priya Khanna
CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
oh..yes I did. Right now I don't have the proper link for the solution.
Check in the jasper reports forum. Me n many others have given the solutions
there. As me too have faced this problem in Linux...
Regards,
MS
On 1/12/07, Don Don <[EMAIL PROTECTED]> wrote:
Has anyone used strust with jasp
I think Frank already has the code in the defect, adding it would be
very simple.
/Ian
Musachy Barroso wrote:
That will be coming up next, I need the JSON result of other things
and didn't have time to do the whole result/interceptor thing, so this
is just the first part :)
thanks
musachy
Yes! What stupid question :-)))
btw. here is the code that work for me:
import org.apache.struts.config.ModuleConfig;
import org.apache.struts.config.DataSourceConfig;
import org.apache.struts.Globals;
ModuleConfig config =
(ModuleConfig)request.getAttribute(Globals.MODULE_KEY);
Yet another native guide:
* Java CRUD frameworks - http://kproject.gr/blog/?p=7
-Ted.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Iterate the map you get and from there you can find the properties in that
map.
Thanks,
Nuwan
- Original Message -
From: "Stanislav" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, January 12, 2007 10:20 AM
Subject: Re: reading data from struts-config.xml
Yes, you
Has anyone used strust with jasper reports integration while running on a unix
server with AWT in headless mode ? (No support for X11 or XServer)
-
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
Yes, you helped me, but where can i find list of all posible properties that i
can get from
DataSourceConfig?
Tnx!
From: "Nuwan Chandrasoma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>,
Subject: Re: reading data from struts-config.xml
Date: Fri, 12 Jan 2007 15:21:06 -
- Original Messag
Hi,
Get the module confing and from there you can get the data source
configarations., in this object there is a Map which contains the
properties, you can get it from there..,
eg:-
ModuleConfig config =
(ModuleConfig)aRequest.getAttribute(Globals.MODULE_KEY);
DataSourceConfig dscs[] = co
Yes!
inside and then inside
From: "Nuwan Chandrasoma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: reading data from struts-config.xml
Date: Fri, 12 Jan 2007 15:04:36 -
- Original Message Follows -
> Hi,
>
> Where have you specified this property?.. inside in
> str
Hi!
In struts-config.xml i defined database connection settings. Partuculary
database name.
code:
Is there any to detect database name in Action class? I want to check db name,
and if it's test db
to put some information in .jsp.
Tnx in advance,
Stanislav
---
33 matches
Mail list logo