Is there any actual verification that these remarks are true? Could you
give us some links?
On 2/14/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> On 2/14/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> > You could use the referer header to create an action forward based on
> > that value.
>
> "
The only good thing about this is that David Geary is a good man and a real
thinker. But, all Shale has is promotion, no attraction. So, get used to
this sort of thing on a continuing basis. How many years has this breakout
been happening now?
On 2/15/06, Paul Benedict <[EMAIL PROTECTED]> wro
Hi
what is the latest version of struts.what are the new features added to this
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 2/15/06, Miller, John <[EMAIL PROTECTED]> wrote:
>
> Awesome, thanks for the help
For the record, I did indeed add a MockPrincipal class to this package. It
will be available in nightly build 20060216.
Craig
-Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On B
I have an action that needs to call another action and pass data to it.
The first action has the data in a form action1form, but the second
action uses a different form bean action2form. The first action has completed its work and needs to pass off to this second action as well as pass on some
Awesome, thanks for the help
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig
McClanahan
Sent: Wednesday, February 15, 2006 5:46 PM
To: Struts Users Mailing List
Subject: Re: Shale Test Framework setting the remote User
On 2/15/06, Miller, John <[EMA
Michael Jouravlev wrote:
An action should *never* forward to a page that does not belong to
that action; this practice leads to a spaghetti code both in Java and
in config file.
If you mean forward directly to a JSP, I agree. If you meant something
else, I'm not sure how you would ever get to
Paul Benedict wrote:
I was looking through the No Fluff Just Stuff session highlights. It looks
pretty cool, but then I
came across the synoposis for Struts Shale... Hmmm... I have to say, the
wording was pretty
surprising and -- almost provoking? I'd like to hear other people's thoughts
j
Hi
Just as a sidenote : Have you looked the Spring documentation? There might
be something to help you there.
Hermod
-Opprinnelig melding-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Craig
McClanahan
Sendt: 15. februar 2006 23:49
Til: Struts Users Mailing List
Emne: Re:
I think Cactus works OK with JNDI lookups, etc., since it's just a
Servlet. However, I think it falls apart when trying to reference stuff
like FacesContext.getInstance(), since we're not in the middle of an
actual JSF life cycle event.
So my quandary seems to be that, for round trip testing star
On 2/15/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
>
> But let's say my test executes an action method on my application's
> managed bean. That method uses the mock objects and then tries to call
> a Session Bean to do a lookup, but it appears that the lookup fails
> because the action
On 2/15/06, Miller, John <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am new to shale and the concept of mock objects, I am trying to write
> a unit test to test a JSF action. The action requires the
> getRemoteUser() to return a valid user. Can anyone tell me the proper
> way to set up a user in the M
See here: http://wiki.apache.org/struts/StrutsWidgets
Make sure that SopForm.getAuthoriser() returns current authoriser
value when you render the page.
Michael.
On 2/15/06, Sony Thomas <[EMAIL PROTECTED]> wrote:
> Hi Friends,
>
> It will be greateful if anyone can help me out to solve this proble
your another application send a request to your struts application,
your struts application generates the answer as xml (you can stream
out w3c xml objects through the response stream or just have a jsp
which generates the xml)
the first application grabs the struts application's response and
sends
But let's say my test executes an action method on my application's
managed bean. That method uses the mock objects and then tries to call
a Session Bean to do a lookup, but it appears that the lookup fails
because the action method is not really running in a Web Container,
correct? Is this all h
I agree that having a scope that is somewhere between "request" and
"session" would be nice, if that's what you're suggesting. Both Struts
and JSF have to deal with that Servlet limitation, it seems.
JSF is very much here and in production.
- Brendan
-Original Message-
From: Mark Lowe [
Hi,
I am new to shale and the concept of mock objects, I am trying to write
a unit test to test a JSF action. The action requires the
getRemoteUser() to return a valid user. Can anyone tell me the proper
way to set up a user in the Mock External context. Thank you in advance.
John
NOTI
On 2/15/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
> Hmm. I must be coming from a different perspective. None of the
> developers I've worked with in the past 18 months ever wants to go back
> to Struts after having switched to JSF, so it must mean "progress" in
> one form or another.
On 2/15/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> On Wed, February 15, 2006 2:46 pm, [EMAIL PROTECTED] said:
> > Is it, however, possible that you could design you application to where
> > all the mapped actions were "setup actions"? I guess not.
Yes you can. In this case you need to som
I was looking through the No Fluff Just Stuff session highlights. It looks
pretty cool, but then I
came across the synoposis for Struts Shale... Hmmm... I have to say, the
wording was pretty
surprising and -- almost provoking? I'd like to hear other people's thoughts
just for fun. I don't
kn
Hmm. I must be coming from a different perspective. None of the
developers I've worked with in the past 18 months ever wants to go back
to Struts after having switched to JSF, so it must mean "progress" in
one form or another.
Perhaps, though, this disconnect is because I've just started monitor
Hi
I will do that. Nice to be of some help. I will try to find some time in a
busy schedule to further put some stuff into it. It any of the committers
find it useful to put in Wiki or something, please go ahead.
Hermod
-Opprinnelig melding-
Fra: David G. Friedman [mailto:[EMAIL PROTECT
I'd like to use Tiles with WebWork for reasons outlined on my blog:
http://raibledesigns.com/page/rd?entry=large_sites_powered_by_java
I'm able to get the Tiles tag library to work, because it's
essentially JSPs loading other JSPs at that point. Creating a
tiles-config.xml file is a much better s
Good Afternoon All-
I needed to pick up the latest version of xerces jars at
http://www.apache.org/dist/xml/xerces
(version 2.7.1 specifically..)
Thanks,
M-
- Original Message -
From: "Martin Gainty" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, February 15, 2006 1:
Hermod,
This latest version runs much better. I think you might want to alter web.xml
and remove the "Servlet Mapping" for the
*.html files. If you take that out then the error I described will not occur
with the "/" index page. Additionally,
this version fixes the page 3 "template" but leave
On Wed, February 15, 2006 2:46 pm, [EMAIL PROTECTED] said:
> Is it, however, possible that you could design you application to where
> all the mapped actions were "setup actions"? I guess not. Basically this
> is a question of whether we can introduce a hierachy into the actions? Is
> this a bad
>>> [EMAIL PROTECTED] 2/15/2006 9:20 AM >>>
>
>But still the default value is not set to "Paul".
>Do I need to change any settings of the dropdown list.
You need to set the value using the your Action that is loading your
jsp.
sopForm.setAuthoriser = somevalue;
Gary
Jeff Bischoff wrote:
> You
I'm liking Frank's idea about makeing a "setup action" super class which would
store the url for the setup action. I think that this identification of these
"setup actions" would probably be important to a web application in other ways
too. It seems that these kind of actions frequently have
I suggest you declare file list as List type. Keep the form in the session.
When you click on the Add button, you increase the size of the List by one and
display to the user with one extra empty browse .
HTH.
-
Relax. Yahoo! Mail virus scanning
Hi
Also added an image that has been added as background to the menu after this
was initially made.
Hermod
-Opprinnelig melding-
Fra: Hermod Opstvedt [mailto:[EMAIL PROTECTED]
Sendt: 15. februar 2006 18:47
Til: 'Struts Users Mailing List'
Emne: SV: [shale]Help needed for Clay
Hi
I no
I've just posted an technical walkthrough on developing componentized
webapps with Struts 1.3 and Eclipse/OSGi.
The article is at
http://www.infonoia.com/en/content.jsp?d=inf.05.09
It also provides an example using Struts 1.3 commands instead of actions.
This is a technical followup on a previ
The way I do it is skip using the form for the files and retrieve them
from the request.
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of shubu
> Sent: Tuesday, February 14, 2006 9:23 AM
> To: user@struts.apache.org
> Subject: Re: Multiple File Upload using Struts (
Good Morning All-
I get Document root element "faces-config", must match DOCTYPE root "null".
Any ideas on what is causing this?
Many Thanks,
Martin
Hi all,
Thx for the vital discussion. I tested seam - beeing familiar with JBOSS
concepts now. I am looking forward to really getting involved into "struts
2.0".
Hermod, the example is helpful!
Timo Schnölzer
-Original Message-
From: Hermod Opstvedt [mailto:[EMAIL PROTECTED]
Sent: Wed
Hi folks,
I am new to the user list. I have been developing with Struts for about 2
years. I have an open source ajax project that I am building an integration
piece now so that you can use it with Struts. I believe that my syntax for a
dynamic form property is correct (shown below). My question i
Thanks for your suggestion !
But I got it solved this way !
1..I made sure new Project is xml file is created and referenced in
{TomcatDir}\conf\Catalina\localhost or server.xml,, which ever way you
launce your app.
2. in my eclipse workspace tomcat project directory (dot).tomcatplugin
file
I have had the same issue with renaming my eclipse project. I don't presume to
know what xml descriptor file got left out of the refactor process but the
only way I found to resolve it was to create a new project and copy the old
project files into it.
Bryan LaPlante
-- Original Message
Hi
I noticed that it contained an old stylesheet and some subversion info, so I
have replaced it with a new one.
Hermod
-Opprinnelig melding-
Fra: Hermod Opstvedt [mailto:[EMAIL PROTECTED]
Sendt: 15. februar 2006 18:36
Til: 'Struts Users Mailing List'
Emne: SV: [shale]Help needed for C
Hi
That would be the "default page". Use index.jsp instead i.e
http://localhost:8080/ClayMal/index.jsp
Hermod
-Opprinnelig melding-
Fra: David G. Friedman [mailto:[EMAIL PROTECTED]
Sendt: 15. februar 2006 18:06
Til: Struts Users Mailing List; [EMAIL PROTECTED]
Emne: RE: [shale]Help nee
Hermod,
I put the jars in there and have no startup Tomcat errors but I am seeing this
message, for a file not in your zip:
javax.servlet.ServletException: Unable to find file /index.xml.
javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
org.apache.myfaces.component
I Know this is not right group to ask this question !
But I am desperate !
I had working struts application in eclipse 3.1.1 with SysDeo tomcat
plug-in.
I was able to step debug until I refactored Tomcat project name to
different name.
Now my app(tomcat) comes up through eclipse but I am no
>Hi Gary,
>
>you mean, the
>defines the "name" like in tiles.def. So i have to forward to
>"symbols/page1.xml" in order to address the "clay" page???
>
That's correct but I think it's important to distinguish the view from a
subview. In JSF, the component tree that defines a page is identified
On Wed, February 15, 2006 4:24 am, Mark Lowe said:
> My understanding of the suggestion is like replicating the history
> object in client side javascript. Which does sound like a good
> suggestion.
That's a good way to put it :) The only difference is that you wouldn't
build up a whole history,
Hi Jeff and Thor,
Thanks for the reply. I am using same "SopForm" between actions. Only
thing is my "authriserList" contains PersonForms. I am having the same
value "Paul" in the authoriser. But still the default value is not set
to "Paul". Do I need to change any settings of the dropdown list
This is only necessary if the bean/property containing the value to be
compared with initially for marking an object selected is different from
the property to which the submitted selected value will be stored.
Thor Kristensen wrote:
Hi Sony,
Your block should include the 'value=""' part.
T
You don't need to change your JSP code to accomplish this. You just have
to ensure that your "SopForm" still has the selected value when the edit
page is displayed. Are you using the same form between actions, or are
you reseting it / letting it create a new form?
If users selects "Paul", then
Hi Sony,
Your block should include the 'value=""' part.
The first equal value in the list will be selected.
Please note that it's the value, not the presented text that's compared.
Mvh
Thor
> -Original Message-
> From: Sony Thomas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, Fe
Sony Thomas wrote:
Hi Friends,
It will be greateful if anyone can help me out to solve this problem.
I have an ActionForm called SopForm. There is a property called
"authoriserList" . This list contains a list of another ActionForm
called PersonForm. I am displaying the name of the persons fr
Please don't reply to other people's messages to ask your questions,
this somehow mixes Threads and people knowing the answer to your
question might not be listening to this current thread.
It's better to create a new message with an appropriate subject line :)
regards.
Srinivas a écrit :
> Hi,
Hi Friends,
It will be greateful if anyone can help me out to solve this problem.
I have an ActionForm called SopForm. There is a property called
"authoriserList" . This list contains a list of another ActionForm
called PersonForm. I am displaying the name of the persons from PersonForm.
The
**DISCLAIMER**
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, please notify the sender immediately by e-mail if you have received this e-mai
Hi All,
I am developing a web application in struts1.1, jsp1.2 , servlets2.2. This
application I need to deploy in iPlanet web server. Can any one suggest
which version of iPlanet is suitable to develop this application.. I have
iPlanet web server 6.1 Sp1. But when I deploy a sample application
- Original Message -
From: "Srinivas" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, February 15, 2006 7:19 PM
Subject: Re: getRequestUrl returns different url in tomcat 5.0 and tomcat
5.5
Hi,
I am developing a web application in struts1.1, jsp1.2 , servlets
Hi,
I am developing a web application in struts1.1, jsp1.2 , servlets2.2. This
application I need to deploy in iPlanet web server. Can any one suggest
which version of iPlanet is suitable to develop this application.. I have
iPlanet web server 6.1 Sp1. But when I deploy a sample application i
Hi people,
I deployed my struts/tiles app in a tomcat 5.0 and it is working fine, but
when I deployed it on a tomcat 5.5.9 it is having a bad comportament.
I concluded that the error is in the method request.getRequestUrl() that
returns the "abc.do" in tomcat 5.0 and returns "/WEB-INF/pages/mypag
Hi
you can use Jmeter or Jmap or JProbe tools to analyse the heap memory and
objects memory
I think it may help you
With Regards
Praveen
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
I'm not sure I understand your gasps at my question. To extend on the "that's
like
Hi
I have created a sample eclipse project which pretty much shows you how to do a
Tiles-like clay implementation. http://www.opstvedt.com/div/claymal.zip
This was my very first implemention with Clay when transitioning from
Struts-Tiles to Shale-Clay
Have a look at it. It pretty much covers t
> > Hi!
> >
> > I'm trying to combine jsp & struts code in my jsp pages. Problem is that i
don't know how to do
> > this :-( I try to use <% out.println(""); %> but this doesn't work.
> >
> > Is there a way to do this?
>
> What exactly do you want to do?
>
I manage to generate form in jsp page i
On 2/14/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 2/14/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
> >
> > Isn't that functionally what the MyFaces component does?
>
>
> Yes, but requires that you get the page author involved. From
> an architectural viewpoint, I don't thin
On 2/15/06, Lixin Chu <[EMAIL PROTECTED]> wrote:
> ok, I let page A or B pass a returnURL to page C who keeps it in the session
> scoped actionForm.
I think what's being suggested is storing a reference to the "referer"
in the session, and thus circumventing any potential issues with the
Referer h
Hi Gary,
you mean, the
defines the "name" like in tiles.def. So i have to forward to
"symbols/page1.xml" in order to address the "clay" page???
Btw: i saw a lot of naming with "$" like symbols$xyz without getting the
point on this.
Sorry for these newbie questions!!!
Timo
-Original Messag
On 2/15/06, Stanislav <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm trying to combine jsp & struts code in my jsp pages. Problem is that i
> don't know how to do this
> :-( I try to use <% out.println(""); %> but this doesn't
> work.
>
> Is there a way to do this?
What exactly do you want to do?
---
Hi!
I'm trying to combine jsp & struts code in my jsp pages. Problem is that i
don't know how to do this
:-( I try to use <% out.println(""); %> but this doesn't
work.
Is there a way to do this?
Tnx,
Stanislav
-
To unsubscrib
Hello,
I have this use case that I want to send an xml document from my struts apps
to another application for rendering. This (non-strus)application does then
just send an response with attachment header. I'm just not so sure how to do
this in the request/response model of Struts. Can someone hel
64 matches
Mail list logo