Hello Gary!
>
> [...]
>
>Make sure that you have a navigation rule setup to handle the immediate
>command button. Try adding a rule that directs you to the target viewid
>(sounds like the page you are submitting from). If you don't have a
>navigation case, I think the veiw is just restored
Hi Jason,
I'm a real newbie to JSF and Shale, but maybe the tip that Craig gave me about
setting the immediate flag in the commandbutton could help you. Then validation
is skipped, as far as I understood it. This helped me with my first problem.
Maybe you can use it, too.
Then you could remo
Hi Gunduz,
At first place having to much session information using session.setAttribute
will make the middleware to consume lot of memory. And, In an application
where there will be more users who could be online at the same point of
time. It is design constraint not to put lot of information in s
Prasad, Kamakshya capitalservicing.co.jp> writes:
>
> Hi,
>
> In the form bean keep an array list of FormFile and use it similarly as
> dynamic list control.
>
> KP
>
> -Original Message-
> From: Viral_Thakkar [mailto:Viral_Thakkar infosys.com]
> Sent: Thursday, July 08, 2004 3:01
ok, I let page A or B pass a returnURL to page C who keeps it in the session
scoped actionForm.
On 2/15/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> Michael Jouravlev wrote:
> > On 2/14/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> >
> >> In the action just look for some param like "fromPa
On 2/14/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
>
> ok... I got it to show the messages...
>
> I did what you suggested and moved the to the end of my
> page - THANKS! But the method to convert my ErrorEvents into
> FacesMessages still needed to be called. So I made it return true and
> set
ok... I got it to show the messages...
I did what you suggested and moved the to the end of my
page - THANKS! But the method to convert my ErrorEvents into
FacesMessages still needed to be called. So I made it return true and
set it as the "render" attribute for the messages tag. AHHH!
It worke
Michael Jouravlev wrote:
On 2/14/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
In the action just look for some param like "fromPage" and key off of
that for your return. (Of course a drawback is you'll need to remember
to set this var on the pages that need it - of course there are ways you
co
Are you using r/o request "beans" or session r/w "beans"?
How many users at a time? What is the mix? How many bytes per
columns/rows? (ex: displaytag)
Also, what is your DAO (data) caching plans? This in my designs is
majority of RAM usage.
I built one site to support 10,000 concurent users,
On 2/14/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Mark Lowe wrote the following on 2/14/2006 2:32 PM:
> >
> > The only other suggestion i would make if this were an issue is use
> > separate action mappings for each point of entry..
>
> Actually that seems pretty clean to me. Even if he has a l
On 2/14/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> In the action just look for some param like "fromPage" and key off of
> that for your return. (Of course a drawback is you'll need to remember
> to set this var on the pages that need it - of course there are ways you
> could simplify that even,
>From: Richard Wallace <[EMAIL PROTECTED]>
>
> Hello all,
>
> I'm trying to use the tomahawk validator for making sure two fields have
> the same value for users entering their password. There isn't a
> definition in the clay-config.xml in the Shale or MyFaces JIRA tickets
> so I'm trying to
Mark Lowe wrote the following on 2/14/2006 2:32 PM:
The only other suggestion i would make if this were an issue is use
separate action mappings for each point of entry..
Actually that seems pretty clean to me. Even if he has a lot of points
of entry it can't be "that" many. Or another option
Hi
I checked and it is supposed to be: org.apache.myfaces.validator.Equal
This is the ID of the tag.
Hermod
-Opprinnelig melding-
Fra: Hermod Opstvedt [mailto:[EMAIL PROTECTED]
Sendt: 14. februar 2006 23:40
Til: 'Struts Users Mailing List'
Emne: SV: [shale] Clay component definition
On 2/14/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
>
> Hmm... I guess a phase listener wouldn't work for me. From what you
> say, it appears that the outcome of the phase is already determined
> before the "afterPhase" listener is triggered.
>
> Is there a another place for me to plug into the st
Hi
Have you tried to set as pr. the tomahawk.tld :
org.apache.myfaces.custom.equalvalidator.ValidateEqual
Hermod
-Opprinnelig melding-
Fra: Richard Wallace [mailto:[EMAIL PROTECTED]
Sendt: 14. februar 2006 23:27
Til: Struts Users Mailing List
Emne: [shale] Clay component definition fo
Hmm... I guess a phase listener wouldn't work for me. From what you
say, it appears that the outcome of the phase is already determined
before the "afterPhase" listener is triggered.
Is there a another place for me to plug into the steps taken "during"
a phase, that is, before the final steps in t
Hello all,
I'm trying to use the tomahawk validator for making sure two fields have
the same value for users entering their password. There isn't a
definition in the clay-config.xml in the Shale or MyFaces JIRA tickets
so I'm trying to create one. So I went ahead and created one:
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 think that's necessarily the right
answer (in many cases) where the stat
Isn't that functionally what the MyFaces component does?
- Brendan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig
McClanahan
Sent: Tuesday, February 14, 2006 3:26 PM
To: Struts Users Mailing List
Subject: Re: [shale] datatables request scope
[sni
On 2/13/06, VIJAISENTHIL, P. K. <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>
> I am deploying an ear file, which has two war files. (means with
> two different webcontext)
> I need to share the session values stored in one war file with
> other.
The servlet spec prohibits sharing sessions
On 2/14/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I was wondering if there is an easy way to get a postRender method to
> be called in my Shale ViewController.
> Is a new Phase Listener the only / best option? Perhaps I can extend a
> Shale class to also call a postRender method?
On 2/14/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
> >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
> >
> > OK. We're working with IBM's RSA IDE (which uses Eclipse underneath).
> > I'm just trying to fit into my mind how to organize the two root source
> > directories in that environment
>From: Timo Schnölzer <[EMAIL PROTECTED]>
>
> Thx Gary,
>
> Looks promising...
>
> In my case it is now just a base idea of using a template (mainLayout.html)
> page and the "tiles" incls.
>
You might take a look at the symbols shale usecase. It shows two options for
alternate page entry
On 2/14/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
>
> Ah, OK. Then the component from MyFaces would be more
> appropriate for the problem being discussed. We've used this in several
> applications, with no problems. All of our beans (except maybe two of
> them, that contain more st
Thx Gary,
Looks promising...
In my case it is now just a base idea of using a template (mainLayout.html)
page and the "tiles" incls.
So 1st step to layouting a page. All the other concepts work fine, e.g.
dialog and so on.
Thx for input
timo
-Original Message-
From: Gary VanMatre
Am I in the right forum?
-VJ
- Original Message -
From: "VIJAISENTHIL, P. K." <[EMAIL PROTECTED]>
To:
Sent: Monday, February 13, 2006 6:24 PM
Subject: Re: Sharing the session between two war
Sorry not to mention that I am using OC4J as my app server
Thanks in advance
Vijai Senthil
>From: Timo Schnölzer <[EMAIL PROTECTED]>
>
> Hi folks,
>
> after a good time on struts we are examinating seam and shale for jsf
> framework. My todays concern is the construction of the templating engine
> clay. I spent so much hours on a simple login page with a layout for header,
> menu,
Hi All,
I was wondering if there is an easy way to get a postRender method to
be called in my Shale ViewController.
Is a new Phase Listener the only / best option? Perhaps I can extend a
Shale class to also call a postRender method?
Here is my scenario:
I have the concept of an ErrorEventCollecto
You can tell him numbers with how many actions and how many form-beans.
The memory the Servlet itself should be pretty constant.
Shawn
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 12:28 PM
To: Struts Users Mailing List
Subject: Re:
Hi folks,
after a good time on struts we are examinating seam and shale for jsf
framework. My todays concern is the construction of the templating engine
clay. I spent so much hours on a simple login page with a layout for header,
menu, content and footer. The symbol example of usecases did not re
Yeah, but there is a weight class to it.
Shawn
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 10:20 AM
To: Struts Users Mailing List
Subject: Re: memory usage
LOL! That's like buying a truck from Ford, and then asking them how
much
Make sure you have a form-bean and action defined in your struts config and
that they map to actual classes by checking the class names and package
names.
The JSP page will reference the form-bean in the struts config through the
action declaration on html:form.
Make sure all your controls with pro
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> OK, sorry for being a little dense about this, but, if, for example, my
> application code is referencing a FacesContext object, and my Test code
> initializes MockFacesContext, what is the mechanism that makes my
> application use the va
Thanks a bunch! I think JBoss probably behaves the same as Tomcat in
this instance. Since my JSP files had an older timestamp, they were not
being updated. That is, after all, somewhat intuitive.
What had really been puzzling me was why I couldn't manually clear all
my stuff out of JBoss, and
Hi folks,
after a good time on struts we are examinating seam and shale for jsf
framework. My todays concern is the construction of the templating engine
clay. I spent so much hours on a simple login page with a layout for header,
menu, content and footer. The symbol example of usecases did not re
I think you may running into a simular problem that I ran into.
I have the following scenario: page 1 has the user choose from a list
of options. On page 2, the form saves the selected option of page 1
in a hidden field in its form. In addition the selected value from
page 1 is used to populate
OK, sorry for being a little dense about this, but, if, for example, my
application code is referencing a FacesContext object, and my Test code
initializes MockFacesContext, what is the mechanism that makes my
application use the values that are in MockFacesContext? I understand
that MockFacesCont
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.
>
> "referer" field is unreliable. Can fail depending on your mix or
> forwarding/redirecting/reloadi
On 2/14/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> You could use the referer header to create an action forward based on
> that value.
"referer" field is unreliable. Can fail depending on your mix or
forwarding/redirecting/reloading a page. It is also often removed by
proxies/firewalls. I would no
James Mitchell wrote:
> The footprint is still driven by your specific implementation. The
> more session based form beans you use, the larger the footprint. How
> should we determine this? I guess you could run the struts-blank
> application, and measure that. Would that be accurate? Probably
The footprint is still driven by your specific implementation. The
more session based form beans you use, the larger the footprint. How
should we determine this? I guess you could run the struts-blank
application, and measure that. Would that be accurate? Probably not.
--
James Mitche
[EMAIL PROTECTED] wrote:
> As long as you are arriving at the "settings" page via an action, can't you
> just call the getInputForward() -- the method that the validate stuff calls
> to return to the starting page if there were errors; this seems like it would
> easily work.
>
> If you aren't
As long as you are arriving at the "settings" page via an action, can't you
just call the getInputForward() -- the method that the validate stuff calls to
return to the starting page if there were errors; this seems like it would
easily work.
If you aren't arriving at the "settings" page via
I'm not sure I understand your gasps at my question. To extend on the "that's
like buying a truck asking them how much it will weight when you fill it up" --
I can calculate the memory usage of the parts that I implement on behalf of my
application itself. Obviously no one can speak to the si
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> Maybe I'm misunderstanding the problem that the Shale Test Framework is
> trying to solve. My JSF actions are doing JNDI lookups and calling
> Session Beans, based upon the values in JSF managed beans and maybe some
> JSFContext info. If
>From: Peter Goetz <[EMAIL PROTECTED]>
>
> Hi again,
>
> I tried the whole weekend, but I didn't get any results other than those
> mentioned in the email below.
> Shall I send some code to illustrate the problem or is it really so
> unusual, what I'm trying to do?
>
Make sure that you hav
Maybe I'm misunderstanding the problem that the Shale Test Framework is
trying to solve. My JSF actions are doing JNDI lookups and calling
Session Beans, based upon the values in JSF managed beans and maybe some
JSFContext info. If it encounters errors, it queues the errors to be
displayed.
If t
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> OK. We're working with IBM's RSA IDE (which uses Eclipse underneath).
> I'm just trying to fit into my mind how to organize the two root source
> directories in that environment. We have a Web Project set up that
> contains the applicatio
Can anyone recommend a good shopping cart system for Struts? We don't want to
write one from scratch.
We've built a struts/hibernate application on Linux. The products are shown
with specific pricing and options. But, when it is time to purchase the plan,
we want to send the customer to a
Hi again,
I tried the whole weekend, but I didn't get any results other than those
mentioned in the email below.
Shall I send some code to illustrate the problem or is it really so
unusual, what I'm trying to do?
Thanks a lot for any help!
Peter
Good morning Craig,
thank you, I think I'm m
OK. We're working with IBM's RSA IDE (which uses Eclipse underneath).
I'm just trying to fit into my mind how to organize the two root source
directories in that environment. We have a Web Project set up that
contains the application code to be tested. Normally, we just export
our application (i
Ah, OK. Then the component from MyFaces would be more
appropriate for the problem being discussed. We've used this in several
applications, with no problems. All of our beans (except maybe two of
them, that contain more static values) are request scope, but they carry
their values through multi
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> OK, I'm going through the section in the PDF document ("Shale Framework
> v.1.0.1-SNAPSHOT Project Documentation") on the Test Framework. In that
> section, the example appears to involve creating a test class
> (SelectTestCase) in the sa
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> As Gary mentioned, you can use the MyFaces component to
> carry bean values from one request to another. I'm new to Shale, but I
> saw something about a Dialog framework. Is that also supposed to
> address this issue?
The dialog manager
James Mitchell wrote:
> LOL! That's like buying a truck from Ford, and then asking them how
> much it will weigh when you fill it up.
That's a better answer than mine; I was just gonna say "15K" and call it
day.
Dave "You don't code your Struts in assembly?!"
--
Hi Mark,
Thanks a lot. One of your suggestions worked for me. Once again thank
you very much.
bye sony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
LOL! That's like buying a truck from Ford, and then asking them how
much it will weigh when you fill it up.
--
James Mitchell
EdgeTech, Inc.
http://edgetechservices.net/
678.910.8017
Skype: jmitchtx
On Feb 13, 2006, at 5:00 PM, [EMAIL PROTECTED] wrote:
Let me know if this is not a ve
As Gary mentioned, you can use the MyFaces component to
carry bean values from one request to another. I'm new to Shale, but I
saw something about a Dialog framework. Is that also supposed to
address this issue?
- Brendan
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
>From: Mark Lowe <[EMAIL PROTECTED]>
>
> Hello
>
> I've a general question on shale.
>
> Despite the jsf spec being churned out for a significant amount of
> time, there seems to be no tidy means of maintaining request
> attributes between requests to the server.. If i have a datatable and
OK, I'm going through the section in the PDF document ("Shale Framework
v.1.0.1-SNAPSHOT Project Documentation") on the Test Framework. In that
section, the example appears to involve creating a test class
(SelectTestCase) in the same WAR project as the application code. Is
this true? If so, how
Thanks a lot for this hint we found it out
Thanks Starky
-- Initial Header ---
>From : "Dave Newton" [EMAIL PROTECTED]
To : "Struts Users Mailing List" user@struts.apache.org
Cc :
Date : Tue, 14 Feb 2006 09:45:33 -0500
Subject : Re: Problem with Co
starki78 wrote:
> It seems that the action is not absolutely thread safe.
> Can this be?
>
Actions should never* have instance variables. You should not have a
connection stored as an instance variable; it should be retrieved within
a method to a method-local variable. If this is what you are do
Hi,
we have a connection-member variable
in our super-action that is opened
and closed there by the connection-pool.
(it's always clossed within the finally block)
Now then we call the sub-classes very
often in a short period it seems
the connection isn't been given back!!!
It seems that the action
That could work, and it would scale to n input pages.
Thanks Mark!
On 2/14/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> You could use the referer header to create an action forward based on
> that value.
>
> String referer = request.getHeader("Referer");
> URL url = new URL(referer);
> String path
You could use the referer header to create an action forward based on
that value.
String referer = request.getHeader("Referer");
URL url = new URL(referer);
String path = url.getPath();
String contextPath = request.getContextPath();
path = path.replaceFirst(contextPath,"");
return new ActionForwa
Greetings, I need to have an action return to a previous page
depending upon which page originally requested the common page. Think
of it as a settings page that can be accessed from multiple places.
Like this:
Entry 1 ---> Common Page
I think so, look at this.
http://www.learntechnology.net/validate-manually.do
My implementation down here.
/*** CODE ***
/**
* This method is used to execute validation rules
* The good-part,
* 1. can chose to not validate if cancel is submitted .
* 2. If validate excepti
On 2/14/06, Marcio Ghiraldelli <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am working with a dyanmic form, that generates n checkboxes (for each
> row of my set).
>
> Using a String[] type in the action form, I´d been able to retrieve the
> data. Now, I´m trying to pre-populate these ch
On 2/14/06, Sony Thomas <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a URL set to my form bean. The property in my form bean is called
> "objectLink".
>
> I have to set this link to my The Link
>
>
> how is it possible
Here are some ideas, assuming I've understood you correctly..
..
<%
St
Hello,
I am working with a dyanmic form, that generates n checkboxes (for each row
of my set).
Using a String[] type in the action form, I´d been able to retrieve the
data. Now, I´m trying to pre-populate these checkbox values correctly, via
ActionForm reset method, but can´t figur
Hi,
I have a URL set to my form bean. The property in my form bean is called
"objectLink".
I have to set this link to my The Link
how is it possible
thanks in advance
sony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Hello
I've a general question on shale.
Despite the jsf spec being churned out for a significant amount of
time, there seems to be no tidy means of maintaining request
attributes between requests to the server.. If i have a datatable and
want to add a row, indeed a can but i need to scope the bac
On 2/14/06, Chipo Hamayobe <[EMAIL PROTECTED]> wrote:
> Hi,
> I keep getting the error " Cannot find bean message in any scope" in
> most of my jsp pages.
Its looking for a bean named "message" and can't find it - have you
used this in the "name" property on any of your tags?
For example
Are yo
74 matches
Mail list logo