2007/12/10, NagsNags <[EMAIL PROTECTED]>:
>
>
If you insert this attribute (by using ) the actual JSP page
is *included* in the layout page. This the default behaviour for all
attributes that have their values starting with the '/'.
Now if you want to insert the string, either use or add
i
Thanks a lot. I understand it now.
Jeromy Evans - Blue Sky Minds wrote:
>
> quinquin2209 wrote:
>> I have a page which has a tabbed panel and all tab is remote tab:
>>
>> main.jsp
>> http://www.w3.org/1999/xhtml"; xml:lang="en">
>>
>>
>>
>>
>> > loadingText="Loading..." />
>>
In main.jsp, I have a tabbed panel which has a remote tag loading an external
page memberList.jsp. This memberList.jsp contains a display tag which is
used for sorting and pagination.
Now I encounter problem when I press on the display tag to do
sorting/pagination. Every time I click on the hype
Hi,
I just learned how to create applets and made my own ticker. It works fine
but when I try to integrate it to my struts 2 project I have problems
loading the page with the applet. It seems like my browser hangs and I need
to kill the process.
I first did was package my applet and its files i
I have a very similar issue where forms partially load an the
application hangs...
I'm still inverstigating.. i'll let you know if i come up with something
interesting
Andrea
Dave Mills wrote:
> I've got a Struts 2.0.11 app running on Sun Web Server 7.1, which I
> recently re-wrote from an entir
quinquin2209 wrote:
In main.jsp, I have a tabbed panel which has a remote tag loading an external
page memberList.jsp. This memberList.jsp contains a display tag which is
used for sorting and pagination.
Now I encounter problem when I press on the display tag to do
sorting/pagination. Every ti
I have the same problem as you have. Have you already found any solution
to this?
Thanks.
Jason Wyatt escribió:
I'm trying to implement a file upload tab in an ajax-themed tabbed panel,
using the tag.
The file uploading works OK if I view the action directly instead of inside
a tabbedpanel.
Which validators you used for the two fields, which are getting validated
rightly?
I am facing similar situation that whenever you use "required" validator,
it'll not work.
So for the string field you have to use "requiredstring" validator.
For number, specially which have "long" data type, I am no
quinquin2209 wrote:
Thanks for reply. But I encounter this problem:
In my main.jsp is the tab panel as follow:
And in my memberList.jsp, the display tag is defined as follow:
headerClass="sortable" />
when I click on the sort hyperlink, it direct me to
http:/
Thanks for reply. But I encounter this problem:
In my main.jsp is the tab panel as follow:
And in my memberList.jsp, the display tag is defined as follow:
when I click on the sort hyperlink, it direct me to
http://localhost:8080/app/folder/?dojo.preventCache=1
Hi all,
At present I am using struts 2.08
I wanted what are updates that are there in 2.1.
What is the best place to find these details all at one place?
Thanks
Vamsi
All the development discussions happen on the dev list, and all of the
changes to the codebase are reflected on the commit list, and in JIRA
(issues@).
* http://struts.apache.org/mail.html
Right now, that's as close as we are to "one place". When we get
closer to a 2.0.1 release, there would be
Hi,
I am trying to dynamic update a dropdown list based on the selection
of the previous one, but I am getting no value in the 2nd dropdown
list.
dropdown.jsp:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
Example - Dropdown
The 'requiredstring' validator will check for both not-null and
not-empty, where 'required' only checks for non-null. If you're using a
numeric primitive type (i.e. 'long' rather than 'Long'), you can never
have a null value, so required can never fail. In that case, you need to
specify range c
Chris Pat wrote:
Hello
In my app I write the labels with and I
have an ApplicationProperties.properties, ApplicationProperties_el.properties with the modified
\uXXXx encoding of the labels in language. I then used this for local switching and I still
get the . Am I missing something? t
Grish wrote:
Hi,
I just learned how to create applets and made my own ticker. It works fine
but when I try to integrate it to my struts 2 project I have problems
loading the page with the applet. It seems like my browser hangs and I need
to kill the process.
I first did was package my applet
well that's one of my problems, it seems like my browser hangs everytime the
page is rendered. I can't view the source of the page, so i can't verify the
codebase. So what I did try was putting the jar in the same folder as the
page. That didn't work, so I tried putting the class files in the same
no, it does no effect.
my error page displays following error:
Message: null
javax.servlet.ServletException
at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:490)
at
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:458)
at
org.apache.catalina.
Is the $resources$ directory WEB-INF?
On Oct 6, 2007 8:51 AM, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> I thought I'd share the instructions I prepared for creating a dojo
> 0.4.2 custom profile for Struts 2.0.9. The objective is to bundle all
> the required dojo resources into dojo.js to avoid t
Thank you, Paul, for the clarification about the parsing of the regex (ORO
vs JDK 1.4); that's completely new to me! No luck so far in trying to
checkout the latest build of Validator 1.4, but will try again later today.
Failing that, I'll look into ORO's regex parser.
2007/12/10, Paul Benedict
I'm beating myself against a wall here . Struts 1.X project (but
shouldn't matter if was 2.X either).
I have a JSP page with form containing checkboxes where a user selects
which items he wants to 'print'.
Submission of form to action which generates the PDF...and places it
in the response (settin
Hi, everyone!
If anyone can assist me, please let me know.
There may be a simple solution to this, or it is just some sort of error I
have, but I cannot firure it out for a while now.
Everything seems to be fine.
I have jsp page, I have a struts form. I have action class.
Jsp has form th
--- piterskiy <[EMAIL PROTECTED]> wrote:
> IF ANYONE COULD HELP ME, PLEASE, I WOULD REALLY APPRICIATE IT.
You've provided no code, configuration, or anything with which anybody could
begin to help you. This will make assistance somewhat problematic. Sounds
like a JavaScript issue at this point.
You can only have one response per request
But your first action should first go to a landing page. The landing page
then either contains a link for the user to click to download the document,
or uses a JSP redirect there to get the PDF.
Paul
On Dec 11, 2007 9:01 AM, Jeff Amiel <[EMAIL PROTE
Let me know. I am really interested in I18N issues. I want to be able to do
the same thing.
On Dec 11, 2007 9:18 AM, Pierre Thibaudeau <[EMAIL PROTECTED]>
wrote:
> Thank you, Paul, for the clarification about the parsing of the regex (ORO
> vs JDK 1.4); that's completely new to me! No luck so f
Thanks a ton for your reply Jeromy... Finally I got it working... :-)...
Regards,
Jugal
--
View this message in context:
http://www.nabble.com/Struts-2-and-DateTimePicker-tag-tp14239582p14277652.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
Ok, it is going to be a lot of text
:working:
If you stil can help me after seeing all these codes, I would really
appriciate it.
Here is the process flow
for the search: jsp --> SearchFundsAction --> jsp
for naviation: jsp --> NavigateFundsAction --> jsp
for edit or view: jsp --> WBasCo
I think you forgot struts-config.xml
piterskiy wrote:
Ok, it is going to be a lot of text
:working:
If you stil can help me after seeing all these codes, I would really
appriciate it.
Here is the process flow
for the search: jsp --> SearchFundsAction --> jsp
for naviation: jsp --> Nav
struts-config.xml
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
loginForm
--- piterskiy <[EMAIL PROTECTED]> wrote:
> Ok, it is going to be a lot of text
That's because you didn't narrow it down to highlight the specific behavioral
issue you're dealing with, leaving it to the reader to wade through and solve
your problem. Of course, in this case, separating out any func
Hi,
Please bear with me, incase this turns out to be a dumb question.
I want to transfer control to a non JSP page after I hit submit. Apart from
this I am also sending some data as a HTTPS POST. In case of using
response.sendRedirect(), it doesn't take care of the POST data.
So, can anybody he
Hi,
this way you're hard coding the 1st dropdown list. I'd like to get it
from an action.
By the way, how does the 2nd dropdown get updated?
Thanks,
Rodrigo Pereira
On Dec 11, 2007 2:01 PM, <[EMAIL PROTECTED]> wrote:
> http://struts.apache.org/2.0.6/docs/ajax-tags.html
> theme="simple" list="
Hi everyone. I'm new to Struts and i'm developing a web application.
I've a page with 3 links. Every link call the doPurchase action, but each passes
a different amount.Here's the snippet of the jsp that calls doPurchase action
">
">
">
In the Purchase action class i've
Hi,
I tried that but it only loads 1st dropdown, the 2nd is never updated.
Thanks,
Rodrigo Pereira
On Dec 11, 2007 4:42 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Rodrigo Pereira <[EMAIL PROTECTED]> wrote:
> > this way you're hard coding the 1st dropdown list.
> > I'd like
Try to make your url action as follows and see if this works better.
Paranoid_Fabio wrote:
Hi everyone. I'm new to Struts and i'm developing a web application.
I've a page with 3 links. Every link call the doPurchase action, but each passes
a different amount.Here's the snippet of
--- Rodrigo Pereira <[EMAIL PROTECTED]> wrote:
> this way you're hard coding the 1st dropdown list.
> I'd like to get it from an action.
So use a value from the action instead of an immediate OGNL value.
> By the way, how does the 2nd dropdown get updated?
Via the notify/listen topics.
d.
--
Hello Everyone,
First of all let me wish you merry Christmas and happy new year.
I have a small question to those that use display tag.
I have a page:
<%@ taglib uri="http://displaytag.sf.net"; prefix="display" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
Test
See if helps.
You can also set that as a default.
I do agree with the other response that using the tag makes
things a little cleaner.
d.
--- Paranoid_Fabio <[EMAIL PROTECTED]> wrote:
> Hi everyone. I'm new to Struts and i'm developing a web application.
> I've a page with 3 links. Every lin
Folks,
When I set the property "development.mode" to "true" I received a lot of
useful information in case of errors, however i also receive this
additional Error in my log (when submitting a form):
ERROR ParametersInterceptor [http-8080-Processor24] 11 Dec 2007
14:20:18: ParametersIntercept
You have a form value on the page called _checkbox_dna that is being set
to a string value, but there is no getter or setter in your action to
map this value to. It is nothing to worry about right now.
Alberto A. Flores wrote:
Folks,
When I set the property "development.mode" to "true" I rec
Thanks!
Mike Jennings wrote:
You have a form value on the page called _checkbox_dna that is being set
to a string value, but there is no getter or setter in your action to
map this value to. It is nothing to worry about right now.
Alberto A. Flores wrote:
Folks,
When I set the property "de
Is there an error in your App Server log? Sometimes, if there is an
exception while sending output, it can bomb out part of the way
through. Check your logs to see if you find an exception that might
help narrow the problem down a little.
-Wes
On 12/11/07, Serge Bornow <[EMAIL PROTECTED]> wrote:
On Dec 11, 2007 10:22 AM, Paul Benedict <[EMAIL PROTECTED]> wrote:
> But your first action should first go to a landing page. The landing page
> then either contains a link for the user to click to download the document,
> or uses a JSP redirect there to get the PDF.
I thought of that...but I don'
Hello Wes,
Thanks for the reply.
Actually i do get this but it's not an error.
11-Dec-2007 3:27:10 PM org.displaytag.export.ExportViewFactory
INFO: Initializing ExportViewFactory with type={csv,excel,xml,pdf}
11-Dec-2007 3:27:10 PM org.displaytag.export.ExportViewFactory
registerExportView
WAR
Folks,
I'm not sure if I should be worrying about this, but I'm adding
validation to our Struts 2.x and we need to decide whether we should use
Annotations or XML. My first concern would probably be whether
annotations add (and possibly hurt) performance (this may be if such
annotations are d
You will always have a page present. The best you can do is respond with a
blank page and use javascript or HTML redirect to get the PDF.
On Dec 11, 2007 2:23 PM, Jeff Amiel <[EMAIL PROTECTED]> wrote:
> On Dec 11, 2007 10:22 AM, Paul Benedict <[EMAIL PROTECTED]> wrote:
> > But your first action s
Hello
I have a form with many, many fields on it. I would like to process some of
them in my Action but get all them into the session object so my forwarded jsp
can use them as the values. So may I ask:
1. How can I put the entire form bean from an action into the session scope
without extrac
I have a form with many, many fields on it. I would like to process some of
them in my Action but get all them into the session object so my forwarded jsp
can use them as the values. So may I ask:
1. How can I put the entire form bean from an action into the session scope
without extractin
Hi all,
I want to create a web app with Struts 2 that is Oracle database driven.
Integrating Struts 2 + Spring 2 + JPA (as described in
http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html), how do I
configure Oracle database Connection Caching (pooling)?
Oracle's JDBC driver provide
I would move your List named persons to action scope and make sure you have
a public getter for it. Then get rid of the in the jsp. That's how I'm doing. Or you
could put it in request scope in the action using
ActionContext.getContext().getParameters().put("persons", persons);.
That error is fro
I have no idea how to do that, but it isn't specific to Struts or JPA.
Spring documentation would be the best place to look that up I guess.
musachy
On Dec 11, 2007 4:56 PM, Filipe David Manana <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I want to create a web app with Struts 2 that is Oracle databa
Database Connection Pooling is typically handled (already) by the
container. You can get your datasource from this connection pooling
using JNDI. Spring has a way of doing this nicely using the
JndiObjectFactoryBean. Each container has a different way to configure
this JNDI configuration, so yo
Hello friends -
I'm struggling with a bit of an architecture question, and I'm hoping that some
of the gurus can help me out.
I have the validator configured to validate on my ActionForm fine, and for
simple validations things seem to work out AOK. However, for more complicated
validations
--- CrackheadMillionaire <[EMAIL PROTECTED]> wrote:
> but I can't see how to expose it to a business layer without mandating it
> accept some ackward objects that are specific to struts.
What Struts-specific objects do you think you'd need to expose?
d.
-
Hi Dave -
Thanks for the quick reply!
Well, I guess my initial thought was, why not find a way to call the form
bean's validate(mapping, request) method. This would generate a list of action
errors for me that didn't fit the rules defined in validator.xml; I could
append any complicated rule
Oh, Struts 1 :)
It might be easier to put a business object into the ActionForm.
There are lots of ways to go about all this, but in general, I did *only*
simple form-based validation on the Struts side of things, whether or not I
had an embedded business object. On the non-form side of things I
enthucoder wrote:
Hi,
Please bear with me, incase this turns out to be a dumb question.
I want to transfer control to a non JSP page after I hit submit. Apart from
this I am also sending some data as a HTTPS POST. In case of using
response.sendRedirect(), it doesn't take care of the POST data.
Hi!
Regarding the question asked by wild_oscar on Nov 19, 2007 on this
list
(http://www.nabble.com/Ajax-form-submit---problem-with-Struts2-annotations--to13834818.html).
I have a similar problem - Oscar, did you find out why is it happening
and whether it's a bug in Struts 2?
--
Best Regards,
Hi Alberto
Thank you. However, how do I refer to my placed formBean from a struts tag?
How does it know the difference from my formBean and the default formBean
created from ApplicationResources? Can I refer to it as:
"Alberto A. Flores" <[EMAIL PROTECTED]> wrote:
> I have a form with many,
However, how do I refer to my placed formBean from a struts tag?
One way to do it would be:
now "foo" is a variable within your JSP page with the value "fname" from
your form.
How does it know the difference from my formBean and the default
formBean created from ApplicationResources?
Form
As i said persons list has getters/setters on Action obviously, this
isn't that simple.
I have read that i needed that line to SET a variable on a request scope
because Display tag cannot read the Value stack of Struts.
Thanks for a try.
Randy Burgess wrote:
I would move your List named pe
I have tried to store the last selected tab by setting
useSelectedTabCookie=true. It works fine as long as the tab remains.
However, problem occurs when the last selected is removed as follow:
1. User select tab "B"
2. In the jsp, remove the tab with id "B"
3. Refresh the browser
Javascript erro
Hello all,
I want to get started with the customzied tag writing for Struts2.
I was able to find out ftl files for corresponding HTML elements.
Actually, I want to start writing tags which are integrated with ExtJS
library.
I'd appreciate if some one could point me to some resource where I can find
Varun Narang wrote:
Hello all,
I want to get started with the customzied tag writing for Struts2.
I was able to find out ftl files for corresponding HTML elements.
Actually, I want to start writing tags which are integrated with ExtJS
library.
One of the developers recently mentioned they is w
Richard Sayre wrote:
Is the $resources$ directory WEB-INF?
On Oct 6, 2007 8:51 AM, Jeromy Evans <[EMAIL PROTECTED]> wrote:
$resources$ refers to the directory that contains your web files (eg.
the directory that contains /index.jsp and the parent directory of WEB-INF)
Better description:
h
I have a problem of having tiles and waitAndExec working together.
WaitAndExec and the tag cannot generate the action request correctly
on the wait page.
On the wait page "wait.jsp" uses the tiles template file
"http://localhost:8080/jsp/layout/layout.jsp"; as the URL
instead of http://localh
quinquin2209 wrote:
I have tried to store the last selected tab by setting
useSelectedTabCookie=true. It works fine as long as the tab remains.
However, problem occurs when the last selected is removed as follow:
1. User select tab "B"
2. In the jsp, remove the tab with id "B"
3. Refresh the bro
67 matches
Mail list logo