Hi,
I am calling an Action class and want my same JSP to get refreshed from
this Action class. I am not understnding how i can do this, without losing
the values that the user has already given. I tried putting target=null from
the Action class. But this is still opening another bowser for me.
A
Hi
Try and clean out your Tomcat work directory prior to restart after you have
made your changes.
Hermod
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]
Sent: Friday, January 27, 2006 12:14 AM
To: Struts Users Mailing List
Subject: [shale] Some Clay oddities
I'm pl
Hi
I have tested quite a bit of them, and so far I have only found that JSCookMenu
does not work.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig
McClanahan
Sent: Thursday, January 26, 2006 11:51 PM
To: Struts Users Mailing List
Subject: Re: [
Hi
I have to do that all the time with Shale/Clay. Otherwise I always get the old
stuff. Just changing a html/xml file and believe it will get recompiled will
hurt you.
Hermod
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 10:29 PM
T
Hi Lixin,
That was in all probability a comment I made in a thread... the 32k
limit used to be a recommendation from IBM. The reason was that in a
clustered environment, the session replication time across nodes was a
big concern. Even on a single server the container managing persistence
o
Well, that i know. I am already populating the JSP from a Child JSP. I do
not want this child JSP to be shown to the user.
On 1/27/06, Srinivas Jadcharla <[EMAIL PROTECTED]> wrote:
>
> //Is there a way thru which i can populate my JSP from Action class
>
> use mapping.findForward("success");
>
> O
Did u define ur form-bean in struts config?
On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Somehow I am getting ActionForm is null when one of the Action is
> called.
>
> How can I find out if ActionForm object was created after jsp forwarded to
> ActionServlet. ?
>
>
> Here is my
I have a bean property is a dynamic array.
ex:
boolean[] arrCheckbox = null
so, I wanna initialize boolean array arrCheckbox before the form is
populated, before the form is populated, you can not get any attribute from
request, such as http hidden property, you get only parameters from url
a
Why would you want it in the reset method?
You can do a request.getAttribute("property");
Shawn
-Original Message-
From: Pham Anh Tuan
To: Struts Users Mailing List
Sent: 1/26/2006 8:15 PM
Subject: Re: [HELP] Can't not get parameter when submit a form
hidden tag ? You can not get that
hidden tag ? You can not get that html hidden property
in reset method of FormBean ...
any solution :(
- Original Message -
From: "Garner, Shawn" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
Sent: Friday, January 27, 2006 12:38 AM
Subject: RE: [HELP] Can't not get parameter
Hi Rick, et. al.
Of course, sorry. Now I see it. I was thinking my
form was my action. I know better, the form is
calling the action and that is what I call from the
html. Sorry for wasting bandwidth,grin.
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
> Chris Pat wrote the following on 1/26/200
Chris Pat wrote the following on 1/26/2006 6:44 PM:
Hi Michael
Thanks, but I still unclear. I dont want to wrap the
href in a form tag. Where that href is going should
be explicitly known by me b/c it is server-side.
Just make the link go to the same path that your form submits to. Use
the
Somehow I am getting ActionForm is null when one of the Action is
called.
How can I find out if ActionForm object was created after jsp forwarded to
ActionServlet. ?
Here is my details.
web.action.SectorAction has
public ActionForward setUpForInsertOrUpdate(ActionMapping mapping,
Actio
>From: Richard Wallace <[EMAIL PROTECTED]>
>
> I'm playing with templating using symbol replacement like in the
> use-cases. It's very cool and very powerful. A couple of things that
> are strange tho:
>
> 1) The first letter of the content of the file being used is being
> cutoff. So, for in
Hi,
I saw a thread discussing this but can not find it anymore now. I remember
someone mentioned that the amount of data put into the session context
should not exceed 32KB in general otherwise performance might be affected.
I may interpreted it wrongly. so i would like to clarify if it is indeed
As I told you, forward your arguments to the address where form.jsp
submits data to. Seems that "server-side forwarding" is what you are
looking for.
Are you trying to black-box text your action? Otherwise I cannot get
what do you want to do.
On 1/26/06, Chris Pat <[EMAIL PROTECTED]> wrote:
> Hi
Hi Michael
Thanks, but I still unclear. I dont want to wrap the
href in a form tag. Where that href is going should
be explicitly known by me b/c it is server-side. If a
jsp gets compiled down to a servlet can I specifly the
correct syntax of that servlet and pre-compile the
jsp?
--- Michael Jo
Check where the HTML FORM is posted from form.jsp ("action"
attribute). Send your parameters to that location directly, instead of
sending them to form.jsp.
Michael.
On 1/26/06, Chris Pat <[EMAIL PROTECTED]> wrote:
> Hi ChadMichael
> Sorry I am not clear it is my lack of precise
> understanding
>
Hi ChadMichael
Sorry I am not clear it is my lack of precise
understanding
I want the hyperlink from the html to be like this
http://host:8080/myWebApp/form.jsp?param1=value¶m2=value
Which I can do. The problem is it takes me to
form.jsp, with the url populated correctly on the
address line o
On 1/26/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 1/26/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
> >
> > Gary mentioned in his follow up response to my earlier questions that it
> > is indeed possible to use MyFaces Tomahawk with Shale Clay. So now I
> > want to find some more info
I'm playing with templating using symbol replacement like in the
use-cases. It's very cool and very powerful. A couple of things that
are strange tho:
1) The first letter of the content of the file being used is being
cutoff. So, for instance, I have the clay definition:
On Thu, 2006-01-26 at 10:43 -0500, fea jabi wrote:
>
>
>
>
>
> I am not sure what the value="${}" would be.
You can add an id="row" to the display:table tag, and use
${row.balance}.
--
Torgeir Veimo <[EMAIL PROTECTED]>
-
On 1/26/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
>
> Gary mentioned in his follow up response to my earlier questions that it
> is indeed possible to use MyFaces Tomahawk with Shale Clay. So now I
> want to find some more information about that.
>
> I see that you basically have to create a
Gary mentioned in his follow up response to my earlier questions that it
is indeed possible to use MyFaces Tomahawk with Shale Clay. So now I
want to find some more information about that.
I see that you basically have to create a clay-config.xml with
declarations for each tomahawk component
What do you mean that javascipt only brings you to the form requiring a manual
submit? Do you mean that you want to simulate a form submission but without
the browser?
--- On Thu 01/26, Chris Pat < [EMAIL PROTECTED] > wrote:
From: Chris Pat [mailto: [EMAIL PROTECTED]
To: user@struts.apache
Huh, weird. I had to shutdown tomcat, remove the webapp from
$TOMCAT_HOME/webapps and $TOMCAT_HOME/work/Catalina/localhost to fix the
problem.
Thanks again,
Rich
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
I updated to use the nightly from this morning and I'm getting th
Either one would work, to be consistent with other struts tags I am using,
html:text is probably better. This doesn't affect the validation issue.
On 1/26/06, Thomas Garben <[EMAIL PROTECTED]> wrote:
>
> Dan,
>
> Should you be using"
> instead of:
>
>
>
> Tom
>
>
>
>
>
> Daniel Kies <[EMAIL PR
Dan,
Should you be using"
Tom
Daniel Kies <[EMAIL PROTECTED]>
01/26/2006 04:07 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
Validation problems
Hello. I am trying to do some standard validations, but I am failing. Any
ideas why? I k
Hello. I am trying to do some standard validations, but I am failing. Any
ideas why? I know the errors are getting raised as the request is
forwarding back to the initial page making the request, but the error
messages are not showing on the page. Any help is appreciated!
Struts config DynaActi
No, The jsp and Action and everything works fine as they need to be and
renders the jsp fine.
But, once in a while thwors this error to the Server Log.
There is no mistake with the spelling
Thanks...
On 1/26/06, Srinivas Jadcharla <[EMAIL PROTECTED]> wrote:
>
> //java.lang.NoSuchMethodExcepti
Sure. Lots of ways. You can use all of your mvc 2 web app with Struts.
On 1/26/06, Java Development Team <[EMAIL PROTECTED]> wrote:
>
> Hi
> (new in struts)
> I was wondering if there is a way in using the tiles framework in a MVC 1 web
> app (Servlets Jsp Javabeans). Is there a way in using
Craig McClanahan wrote:
On 1/26/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
Ok. I understand that's how you use it in the html files. But what
about in the clay-config.xml file? For instance, in the use-cases
clay-symbols-config.xml file there is a component definition like this:
On 1/26/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
>
>
> Ok. I understand that's how you use it in the html files. But what
> about in the clay-config.xml file? For instance, in the use-cases
> clay-symbols-config.xml file there is a component definition like this:
>
>
>
Hello
I have a mini-webapp with an action/form and view. It
works perfectly. However how can I simulate the submit
from an html page without showing the form and
requiring a manual submit from the form? I believe I
want it to behave like a servlet, but process the
parameters through the form bean
//java.lang.NoSuchMethodException
May be caused by Spelling mistakes of the method names!!
On 1/26/06, RathinaGanesh MeenakshiSundaram <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Iam getting the following DispatchAction error.
> Everything works fine and but, once in a while, I see the following
//Is there a way thru which i can populate my JSP from Action class
use mapping.findForward("success");
Other Option:
Use separate JSP for displaying other fields.
On 1/26/06, Deepa Khetan <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there a way thru which i can populate my JSP from Action class
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
Hello again,
Sorry if I'm getting to be a pest, but I really like Clay and want to
understand it better. So, here are my questions of the day:
Can you (or how do you) use resource bundles in the clay config files?
I'm trying to
Hi All,
Iam getting the following DispatchAction error.
Everything works fine and but, once in a while, I see the following error
message in the Server Log..!
Even when I get this error in the log, I don't see any problem with my
application/usage. It just works fine..But, still throws the followi
>From: Richard Wallace <[EMAIL PROTECTED]>
>
> I updated to use the nightly from this morning and I'm getting the
> following when trying to load a page:
>
> afterPhase () - RESTORE_VIEW(1)
> beforePhase () - RENDER_RESPONSE(6)
> Jan 26, 2006 9:59:10 AM org.apache.shale.clay.faces.ClayViewHan
>From: Richard Wallace <[EMAIL PROTECTED]>
>
> Hello again,
>
> Sorry if I'm getting to be a pest, but I really like Clay and want to
> understand it better. So, here are my questions of the day:
>
> Can you (or how do you) use resource bundles in the clay config files?
> I'm trying to get t
In fact, Java Web Parts has such a filter:
http://http://javawebparts.sourceforge.net/javadocs/javawebparts/filter/ParameterMungerFilter.html
And in fact, if you wanted to do it client-side, JWP can help there too:
http://javawebparts.sourceforge.net/javadocs/javawebparts/taglib/jstags/FullTrimT
Use an html hidden property to get this value.
Shawn
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Wednesday, January 25, 2006 1:31 PM
To: user@struts.apache.org
Subject: Re: [HELP] Can't not get parameter when submit a form
Pham Anh Tuan wrote
Hi
(new in struts)
I was wondering if there is a way in using the tiles framework in a MVC 1 web
app (Servlets Jsp Javabeans). Is there a way in using the struts libraries and
mix the archritecture with no problem?
Any suggestions? Had anyone tried this?
On 1/27/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> On 1/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > When struts takes the data from the request and populates your form,
> > does it automatically trim whitespace? I think this might be answered
> > from the particulars of HTML
I updated to use the nightly from this morning and I'm getting the
following when trying to load a page:
afterPhase () - RESTORE_VIEW(1)
beforePhase () - RENDER_RESPONSE(6)
Jan 26, 2006 9:59:10 AM org.apache.shale.clay.faces.ClayViewHandler
renderView
INFO: Clay template renderView for /defaul
What you want is the following:
On 1/26/06, fea jabi <[EMAIL PROTECTED]> wrote:
> Have an object Account which has couple of attributes in it.
>
> using displaytag to show all the accounts.
>
>
>
>
>
>
>
> ...
>
On 1/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> When struts takes the data from the request and populates your form,
> does it automatically trim whitespace? I think this might be answered
> from the particulars of HTML rather than struts. Perhaps the question
> is really whether html
No. Why should it?
On 1/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
>
> When struts takes the data from the request and populates your form, does it
> automatically trim whitespace? I think this might be answered from the
> particulars of HTML rather than struts. Perhaps the ques
>From: Sergey <[EMAIL PROTECTED]>
>
> Hello,
>
> I like your solution a lot. But I'm wondering if it going to be possible
> express the following in outer HTML template.
>
> >< property="selectedContact.firstName" size="20" maxlength="30"
> required="true" immediate="false"/>
>
> I've trie
When struts takes the data from the request and populates your form, does it
automatically trim whitespace? I think this might be answered from the
particulars of HTML rather than struts. Perhaps the question is really whether
html trims whitespace before building the request. If id doesn
Hello again,
Sorry if I'm getting to be a pest, but I really like Clay and want to
understand it better. So, here are my questions of the day:
Can you (or how do you) use resource bundles in the clay config files?
I'm trying to get to a place where I can use the symbol replacement
features
Have an object Account which has couple of attributes in it.
using displaytag to show all the accounts.
...
want to display the values in the column as $1000 or so. i.e prefix the
value with dolar sign.
I am no
Hi,
Is there a way thru which i can populate my JSP from Action class. I have a
requirement, wherein, when user enters a particular value, a database call
has to made and other fileds should get populated . What i was doing is,
submit another form when user enters this particular value, call an Ac
Per Jørgen Walstrøm ha scritto:
>
>
Try with: flush="false"
;-)
Antonio Petrelli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Thomas Corte schrieb:
I know that this thread is quite old, but I still wonder whether there
is a better solution for this. It's quite tedious to find errors in JSPs
when the Tiles framework swallows exceptions completely. Is there a
patch available that keeps Tiles from doing this?
Nev
Thanks for all the responses. It helped me to find an alternative for
this. I am using a property for the 'disabled' in my bean and if it is
true I am setting the checkbox properties.
Vidya
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Thursday 26 January 2006
Hi,
Laurie Harper wrote:
Tiles can sometimes 'swallow' errors rendering a JSP without logging
them, returning empty pages. Double check your logs first to see if the
problem *is* being logged, but if not a couple of approaches you can try
to track down the problem:
- try loading your JSPs
On 1/26/06, Vidya (Suvarna) Mahavadi <[EMAIL PROTECTED]> wrote:
> Is there a work around for this..
Not a simple one - for text or textarea elements the "readonly"
attribute would do the job you're looking for, but from memory
"readonly" isn't part of the html 4 standard for checkbox.
One approac
thanks for your answer. I am probably a bit slow here, because I can't really
figure out how to do it... ;-)
in my file layoutSearch.jsp, I have the following:
and then in my reportBody.jsp, I have the following:
I don't see what name my placeho
On 1/26/06, Vidya (Suvarna) Mahavadi <[EMAIL PROTECTED]> wrote:
>
> Is there a work around for this..
Can the user change the value of the checkboxes?
I mean they are always disabled or you enable/disable them dynamically?
Tamas
Is there a work around for this..
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Thursday 26 January 2006 12:24
To: Struts Users Mailing List
Subject: Re: struts html:checkbox value
On 1/26/06, Vidya (Suvarna) Mahavadi <[EMAIL PROTECTED]> wrote:
>
> Hi ,
>
> If
I think you should compare the original data with the submited data,
ex: before you submit new changes, you have 5 checked box, after that, you
choose only 3 checkbox are checked, so, after your form is submited, you
should check the differences...
hiz, hope you understand what I mean :(
---
On 1/26/06, Vidya (Suvarna) Mahavadi <[EMAIL PROTECTED]> wrote:
>
> Hi ,
>
> If a check box is disabled and checked does it submit the value true? I
> have a situation where it is not submitting the disabled checkbox
> properties. Is there a work around for this...
This is a browser / HTTP isssue
Thanks to everyone who responded to this, thought I would post back
the results for those interested. I asked this question on three
mailing lists, in the figures below "Dev" referes to the Commons Dev
maliling list, "User" to Commons User and "Struts" to the Struts User
mailing list.
51 people re
I did. But it does not help.
I have a form with a huge list of data (which I am displaying in pages,
10 per page) and a save button which saves the data (on the current
page) and reloads the page. When it submits the form it is ignoring the
disabled check boxes (always submits as false), it shoul
Dear Vidya,
there's a solution, in reset method of your form bean, you should set all
your checkbox to false. ;)
- Original Message -
From: "Vidya (Suvarna) Mahavadi" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, January 26, 2006 4:37 PM
Subject: struts html:ch
Hi ,
If a check box is disabled and checked does it submit the value true? I
have a situation where it is not submitting the disabled checkbox
properties. Is there a work around for this...
Regards,
Vidya
This message and any attachments are confidential and intended solely for the
Hi ,
If a check box is disabled and checked does it submit the value true? I
have a situation where it is not submitting the disabled checkbox
properties. Is there a work around for this...
Regards,
Vidya
This message and any attachments are confidential and intended solely for the
add
Gary Feidt ha scritto:
> If you are extending mainLayout you must have itemcount and pagecount
> defined in mainLayout, and so on.
It is not necessary if you don't use a definition directly but only its
extended versions.
Regards
Antonio Petrelli
-
On 1/25/06, Pham Anh Tuan <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I got a problem when I submit a form with setting like below
>
>
> onclick='postEditFrm.action="$link.setAction("/addNewPost.do")?myNum=4";postEditFrm.submit;'>
>
>
>
> I can not get the parameter name "myNum" from request.getPar
70 matches
Mail list logo