On 12/6/06, Venkata Phani Kumar [EMAIL PROTECTED] wrote:
Hi,
You can get any resource path wich is under context path using
ServeletContext.getRealPath().
The usage of this method is here,
String iniFilePath =
request.getSession().getServletContext().getRealPath(test.ini);
you
Hi,
Is there a component in the current code to show a modal dialog or
'Accordion' (as shown on the DojoTooklit website)?
If not - I could try to help in this area.
Dariusz Wojtas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi
Yep, and it works for the html:... tags. But when I try to use them
with other tags such as c:if... it can't find them.
I've used scriptlets for now (urgh) but I may try again some time even
though I'm sure I've tried every possible combination.
Thanks
Richard
-Original Message-
Hi,
Is it possible to compare dates with logic equals tag.
My form bean has a property called addedDate.
I need to compare it with date 2006-12-24
how should I write the equals tag
logic:equals name=FormBeanName property=addedDate
value=What should I put here
Thanking You,
Chamal.
John Tangney johnt at jdtangney.com writes:
Hi all,
I have memorized the docs, scoured the archives, googled 'till my eyes were
crossed, experimented at great length, but have not been able to solve this
riddle.
I have a JSP that looks like this:
nested:iterate property=allUsers
Hi Chamal,
Try
logic:equals name=FormBeanName property=addedDate
value=%=thedate %
where thedate is a date Obj...
Best regards,
Mano
-Original Message-
From: chamal desilva [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 06, 2006 3:00 PM
To: user@struts.apache.org
Subject:
thanks to you..
lemme know if any other details are there
i am going through the lesson 1
Ed Griebel [EMAIL PROTECTED] wrote:
Start here, it doesn't get much clearer than this, and google for
unfamiliar terms: http://www.learntechnology.net/struts-lesson-1.do
On 12/5/06, Jagaran Bubai Das
Hi to all, i have a cuestion about populatin values in an action. I have an
action that implements the interface ModelDriven. The object CUSTOMER has
some string properties and a collection of users
class MyAction implements ModelDriven{
Customer customer = null
public Object
From: David H. DeWolf [mailto:[EMAIL PROTECTED] On Behalf Of David H.
The snapshot you're using may still use the parameter name
'definitions-config' instead of org.apache.tiles.DEFINITION_CONFIG
Grr. . .lesson learned, don't release with a snapshot!
;)
Not a problem; I knew I'd be pushing
From: Juan Espinosa [mailto:[EMAIL PROTECTED]
Anyone knows how to populate this kinds of values.
I don't know if Preparable has any negative interactions with
ModelDriven (haven't even looked at it yet :( but it may do what you
want.
Dave
Hello,
have you looked at Type Conversion mechanism:
http://cwiki.apache.org/WW/type-conversion.html ?
Regards,
Andrew Stepanenko,
http://unf.tane.edu.ua
On 12/6/06, Juan Espinosa [EMAIL PROTECTED] wrote:
Hi to all, i have a cuestion about populatin values in an action. I have an
action that
Hi folks,
I have problem with the scenario Indexed Properties, BeanUtils and Form on
REQUEST scope.
When I select a a value from (1 or 2) from the dropdownlist and submit the
form, I get an exception from BeanUtils.populate method about some getter which
can be found!??
IF change the scope of
Yes i see this but its hard to understandmaybe if you know something
that i can read...
Hel!!!
-Mensaje original-
De: Andrew Stepanenko [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 06 de Diciembre de 2006 09:38 a.m.
Para: Struts Users Mailing List
Asunto: Re: STRUTS 2 .
I thought that was just what Andrew did? :)
If I'm not mistaken, Struts2 showcase has some examples of conversion.
Hth,
Peter
-Original Message-
From: Juan Espinosa [mailto:[EMAIL PROTECTED]
Sent: den 6 december 2006 14:57
To: 'Struts Users Mailing List'
Subject: RE: STRUTS 2 .
Typo:
When I select a a value from (1 or 2) from the dropdownlist and submit the
form, I get an exception from BeanUtils.populate method about some getter which
can NOT be found!??
Sorry
-Oorspronkelijk bericht-
Van: Urso Wieske
Verzonden: woensdag 6 december 2006 13:44
Aan:
Hello,
there is also a lot of posts on Type Conversion subject in the WebWork forum:
http://forums.opensymphony.com/forum.jspa?forumID=1
AFAIK, type conversion belongs to XWork which WebWork and Struts2 use,
so you may find the answer in WW forum too.
Regards,
Andrew
On 12/6/06, Juan Espinosa
Ok andrew i will search in that forum...Thanks for your help...
Juan
-Mensaje original-
De: Andrew Stepanenko [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 06 de Diciembre de 2006 10:13 a.m.
Para: Struts Users Mailing List
Asunto: Re: STRUTS 2 . Populating values in Action
Hello,
Webwork in action have a 20-page chapter on Type conversion.
-Original Message-
From: Andrew Stepanenko [mailto:[EMAIL PROTECTED]
Sent: den 6 december 2006 14:13
To: Struts Users Mailing List
Subject: Re: STRUTS 2 . Populating values in Action
Hello,
there is also a lot of posts on
Following Andrew advices i search in the forums, i find some posibble
solutions
1)having a properties file, who specified how the objects are created
ActionName-conversion.properties
2) if you are using java 5, using generics, if this is the case the jar
xwork-tiger.jar must be addedd
Thanks
Hello,
I'd like to install Struts 2.0.1 apps as a live-demo to Struts 2. I'm using
Tomcat 4.1.30 on Java5 (jrockit). When running mailreader app, I get :
TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found
Seems there is some dependency
Hi
I'm new to Struts2. Can any one help me in letting me know, How can we
override the default css for various widgets provided by struts 2 ? Like if
I want to specify my own style for s:textfield how can I do that ??
Regards,
Pranav
--
No virus found in this outgoing message.
Checked by AVG
Please ignore ...
just testing my gMail account.
You had a question if it would work ?
On 12/6/06, nicolas de loof [EMAIL PROTECTED] wrote:
Please ignore ...
just testing my gMail account.
It seems to work !
Just was curious not getting messages I send to the list in my mail box.
2006/12/6, Adam K [EMAIL PROTECTED]:
You had a question if it would work ?
On 12/6/06, nicolas de loof [EMAIL PROTECTED] wrote:
Please ignore ...
just testing my gMail account.
it works with xalan 2.6.0.
If this lib is required, why isn't it in the war WEB-INF/lib ?
2006/12/6, nicolas de loof [EMAIL PROTECTED]:
Hello,
I'd like to install Struts 2.0.1 apps as a live-demo to Struts 2. I'm
using Tomcat 4.1.30 on Java5 (jrockit). When running mailreader app, I get
:
Thanks Paul, Putting Bean in scope and manually calling validate worked
for me. Appreciate your help.
Thanks
Prakash
-Original Message-
From: Paul Benedict [mailto:[EMAIL PROTECTED] On Behalf Of
Paul Benedict
Sent: Sunday, December 03, 2006 2:12 PM
To: Struts Users Mailing List
That's because GMail doesn't send you your own postings.
On 12/6/06, nicolas de loof [EMAIL PROTECTED] wrote:
It seems to work !
Just was curious not getting messages I send to the list in my mail box.
2006/12/6, Adam K [EMAIL PROTECTED]:
You had a question if it would work ?
On
It's a bit annoying, but I suppose it's to try and avoid mail loops/excess
inbox junk. It's not that difficult to search your inbox or bcc yourself
though.
On 12/6/06, James Mitchell [EMAIL PROTECTED] wrote:
That's because GMail doesn't send you your own postings.
On 12/6/06, nicolas de loof
My fiulter automatically place my sent message under struts tag, so my
contribs to the list are not lost, and does not get duplicated, so this is a
nice feature.
Nico.
2006/12/6, Adam K [EMAIL PROTECTED]:
It's a bit annoying, but I suppose it's to try and avoid mail loops/excess
inbox junk.
On 12/6/06, nicolas de loof [EMAIL PROTECTED] wrote:
it works with xalan 2.6.0.
If this lib is required, why isn't it in the war WEB-INF/lib ?
snip/
I agree it should work out of the box, but dropping in WEB-INF/lib
isn't the ideal solution either. Cross-JDK JAXP has gotten a tad
trickier
Root cause follows.
java.lang.NullPointerException
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:56)
I had this problem intermittently, and finally figured out its source and
how to quash it for good.
It has to do with when struts2 cleans up after itself to prevent memory
leaks
Hi,
s:iterator works over various collections; yesterday I had a need to do
a simple iteration using an S2-style scope param.
I did the s:set/c:forEach thing but I thought that was kind of ugly; any
likelihood that s:iterator will be expanded or there will be an s:loop
kinda thang?
Dave
Hello All,
Can anyone comment on what is the release date for struts2 - general
availability. I am planning on using it for one of company projects. I played
with Struts 2.0.1 beta release. Struts2 appears to be the best thing that
happened since 1.x release.
But I am little hesitant to
Does anybody know how to make a form button, that starts downloading myFile.xml
What I want is to make an onclick = Save target as
Med venlig hilsen
Søren Blidorf
Nolas Consulting
Web: http://www.nolas.dk
Mobil: +45 61676513
add a header Content-Disposition attachment; filename=myFile.xml using
response.addHeader()
-Original Message-
From: Søren Blidorf [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 06, 2006 4:56 PM
To: Struts Users Mailing List
Subject: OT: file download without opening a window
Thanks.
How can I add a header without opening a new window or redirect?
- Original Message -
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Wednesday, December 06, 2006 11:02 PM
Subject: RE: file download without opening a window
add a header Content-Disposition attachment;
Can you restate what you want? It's not exactly clear what you are
asking.
--
James Mitchell
678.910.8017
On Dec 6, 2006, at 4:56 PM, Søren Blidorf wrote:
Does anybody know how to make a form button, that starts
downloading myFile.xml
What I want is to make an onclick = Save target
I have an action which uses the following form-bean below. All works fine
when the page is first displayed. In addition to user submit. For example
AccessRequest[] can initially contain a list of requests lets say 5. The
user can then modify request by updating info. For example he may update 2
We can't comment on a release date because its not the decision of any
one person. Each time a milestone distribution is made, each of the
committers test the distribution, and, ideally, put it into production
ourselves. Then, based on that experience, we decide whether the
distribution is ready
Hi, all !
wilson wong xrote :
can you simply use javascript
window.open(your_url_for_jsp) ?
Yes, it does work. But I realize that my problem is a bit more complicated.
I would like to :
- open a popup when clicking on a link into a JSP (done)
- which would give, as a link parameter, a
What I need is for system users to be able to download a specifik xml file
on my server.
The download should start when the user clicks on a button. The click on the
button should copy the action of right-clicking on a link to the xml file
and choosing Save target as. I dont want a new window to
41 matches
Mail list logo