Mate you are a genious. Thanks alot. It has solved my
silly problem. I should have thought of that before:(.
Thanks once again.
Shoaib
--- Adam Ruggles <[EMAIL PROTECTED]> wrote:
> You can specify an id in the tag and it
> will override the default.
>
> Shoaib Gauhar wrote:
> > You might be r
Hi there,
I need to create an interface where the user can transfer choices from one
select box to another box and based on the selected items, I need to display
the text fields where the user can enter some values and do the validation
accordingly. The options for left select box will be populat
On 9/27/07, Vinicius Medeiros Peretti <[EMAIL PROTECTED]> wrote:
>
> I had problems with this combination using jdk 1.6, solved when I
> changed the tomcat's jdk to 1.5.
Yes, a bit off topic but the src of tomcat 6.0.14 or so even can't be built
with java 6.
Vinicius
>
> Tom Holmes Jr. wrote:
>
I'm working on a Struts 2.0.9 app using Java6. I'm switching from Jetty
(which we were using for a few weeks to get started) over to Tomcat
6.0.14.
When trying to deploy my webapp, I get the error below. When I google'd
for this error, I found that I wasn't the first to have this problem as
the
Here's a sample app that's ready to run if you have MySQL installed.
https://appfuse-light.dev.java.net/files/documents/6839/68407/appfuse-light-struts2-hibernate-1.8.zip
Matt
Vinicius Medeiros Peretti wrote:
>
> I had problems with this combination using jdk 1.6, solved when I
> changed the
Hi
We a to develop a web application which we want to be able to deploy on any
J2EE compatiable application server.
We would create a war file for deployment, but there is a issue with
database connection,
We do not know the JNDI name,
So we thought we would put xml file under WEB-INF folder, and a
On 9/26/07, A. Lotfi <[EMAIL PROTECTED]> wrote:
>
> Hi, I just want to get a collection of rows from a database and put them in
> a form.
http://www.learntechnology.net/content/struts/struts_nested.jsp
(and it's not a good idea to call your data access layer from your
action. I've given you so
You can specify an id in the tag and it will override the default.
Shoaib Gauhar wrote:
You might be right but the code that is rendered is
not in my control. Is it??? There seems to be problem
with the inputtransferselect component renderer or
something.
Still waiting for the solution.
Thank
Hi I have this issue where Struts only sees struts.xml in classes folder
this is an issue because if I want to add another jar or something else it
will delete struts.xml from my classes folder. Is there a way I could
specify so that application will look for struts.xml in /WEB-INF folder.
Thanks.
--- Chris Pratt wrote:
> It's too bad there is no JavaDoc information on the
> methods, since that could easily clear up the
> confusion.
Please file a JIRA for issues, including documentation
(or lack thereof).
d.
-
To unsub
I think count is a one based position in the iteration where as index
is zero based. But there is almost no information in the
documentation. The tag library documentation simply says that a
InteratorStatus is pushed on the Value Stack. And the JavaDocs for
IteratorStatus has one line of "useful
I think you may be interpreting it's purpose incorrectly. If you are
looking for the size of the iterated collection, why not use OGNL to
find it - '%{iterableList.size()}' ?
>From what I can tell, the 'count' is meant to tell you where you are in
the iteration.
-Wes
> -Original Message---
I believe that I have come across a bug in the iterator tag. It appears
that the count value for the status object is returning (index + 1)
rather than the size of the collection being iterated over.
Has anyone else seen this behavior?
Is this the correct behavior and I am just not interepreting
Hi, I just want to get a collection of rows from a database and put them in a
form.
I created a simple bean Vote.java
public class Vote {
protected String ticketid;
protected String title;
protected String vote;
public void setTicketid(String tid) {
this.ticketid = tid;
}
public Stri
Thanks Wes --
That's the ticket! I suppose I can assign values in the console as well?
Is it so exciting when we can change memory isn't it? I feel like a kid
again.
Scott
Wesley Wannemacher wrote:
>
> Scott,
>
> Using the OGNL console is like working interactively with perl or
> python
I have multiple web-apps in an ear file and want to share the resource bundle
across web-apps.
Is this possible ?
--
View this message in context:
http://www.nabble.com/Sharing-resource-bundles-across-web-apps-tf4524302.html#a12907732
Sent from the Struts - User mailing list archive at Nabble.c
I had problems with this combination using jdk 1.6, solved when I
changed the tomcat's jdk to 1.5.
Vinicius
Tom Holmes Jr. wrote:
Yes ... this is one of the very first links that came up with my
Google search and I looked at this example in detail.
Unfortunately, I'm not really using JPA (si
Yes ... this is one of the very first links that came up with my Google
search and I looked at this example in detail.
Unfortunately, I'm not really using JPA (since in my opinion it's far
from Hibernate and really not complete yet) ... and I'm not using Ajax
at the moment.
It really wasn't
"As a workaround for pre 2.1 version, cssStyle="display:none" can be set
on the tabs that should not be preloaded "
But if I do it, my "stuff" is not shown, is it?
STUFF
Musachy Barroso escribió:
Ooops...fixed on 2.1:
https://issues.apache.org/struts/browse/WW-1860
musachy
>
>
> > 2) Can anyone point me to a sample Struts2 web-app
> > that uses Spring2 Beans with Hibernate.
>
> Did you take a look at this example at,
http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html
It is complete with all possible combinations with Strus2
Leena
-
Ooops...fixed on 2.1:
https://issues.apache.org/struts/browse/WW-1860
musachy
On 9/26/07, Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote:
> Hi Musachy!
>
> Thakns for your answer.
>
> I´m using struts 2.09 and at this url:
> http://struts.apache.org/2.0.9/docs/ajax-tags.html
> I don´t see any
Hi Musachy!
Thakns for your answer.
I´m using struts 2.09 and at this url:
http://struts.apache.org/2.0.9/docs/ajax-tags.html
I don´t see any "preload" attribute for the s:div tag.
Would you mind giving me a bit more information about that, please? Or
telling me where to search.
Thank you.
It's a warning that occurs because you're using displaytags.
Don't worry about it, it won't hurt you, and messing with it will just make
bad things happen (you know the kind of thing, long nights trying to work
out things like why table sorting isn't working, why data isn't being
displayed, and wh
autostart is to be used with a timer (when you set updateFreq to some
value). To prevent the div from loading when after the page is loaded
use "preload".
musachy
On 9/26/07, Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote:
> Hi everybody!
>
> I have the following code:
>
>
> autoStart="false"
--- "Tom Holmes Jr." <[EMAIL PROTECTED]> wrote:
> 1) What the Hell is Plexus?
Hell, Plexus is a dependency injection container.
> And what the Hell is it needed for in Struts2?
Hell, it can be used for dependency injection.
But hell, if you're not using it, then take the plugin
the hell out of
Did you include the plexus plugin on your app? If you did, you can
just remove it to get rid of those errors, it isn't required at all.
regards
musachy
On 9/26/07, Tom Holmes Jr. <[EMAIL PROTECTED]> wrote:
> Alright ... I know this will be a n00b question, but let me state first:
> 1) I am a seni
Hi,
I've found intriguing that the Interceptor interface extends from Serializable.
Why is that? I mean, if interceptors need to be stateless then there
is no state to save/restore.
Or is it because they are stored in application scope?
Gabriel
-
Alright ... I know this will be a n00b question, but let me state first:
1) I am a senior J2EE Engineer using JDK 1.6 and the latest J2EE api's
2) On Resin 3.1.2 on Linux
3) Yes, I did go through Google and tried to find answers on the Net
before I came here.
4) Yes, I have programmed in Spring 1
--- stanlick <[EMAIL PROTECTED]> wrote:
> Does *anyone* know where I can find the list of
> commands understood by the OGNL console?
AFAIK it's just evaluating against the OGNL stack.
d.
-
To unsubscribe, e-mail: [EMAIL PROTECT
Someone resolve this issue, or definitely is a bug??? Two @Validations
for different methods. (No execute method).
Hi again, and thank you for your answer.
I've tried using @Validations at the method level as you point out. I'll
try to illustrate:
I have an action, not annotated with
Hi everybody!
I have the following code:
autoStart="false"
listenTopics="/refreshTree" executeScripts="true">
stuff
Why when the page first loads, action "RefreshTree" is invoked??
-
To unsubscribe, e-mail: [
Scott,
Using the OGNL console is like working interactively with perl or
python, you just issue commands in OGNL and they will be evaluated and
printed in the console. Here is a quick sample session ->
Welcome to the OGNL console!
:-> #request
[EMAIL PROTECTED],
__cleanup_recursion_counter=1, dec
Does *anyone* know where I can find the list of commands understood by the
OGNL console?
Musachy Barroso wrote:
>
> by the way, there is a new option to the debug interceptor. If you set
> debug=browser (by default the root object will be #context, which can
> be changed setting object=value)
I use struts2.0.9 and displaytag,xwork-2.0.4.jar,when I click next page of
displaytag,it will raise flowing warning:
Warn: ParametersInterceptor - [setParameters]: Unexpected Exception caught
setting 'd-1332698-p' on 'class Test.TestAction: Error setting expression
'd-1332698-p' with value '[Ljava
I'm having doubts on a really basic question: which values are passed to the
action (and can therefore be get/set) with a s:submit button?
I ask this because I have a form with two submit buttons:
Button 1 does some work and sets parameter par1 which is retrieved in the
jsp with a tag;
Button
Laurie,
As you can see above in my sample code, I am already setting the
type="button" as you have suggested and I have also verified that the html
getting rendered is a and not .
Can you try it for yourself as see if you can get it to work?
Maybe I will have to write up a bug report for this.
I looked at that documentation but don't understand why the name property is
being used as opposed to the label property.
On 9/26/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> http://struts.apache.org/2.x/docs/localizing-output.html
>
> --- "Cory D. Wiles" <[EMAIL PROTECTED]> wrote:
>
> > Does an
http://struts.apache.org/2.x/docs/localizing-output.html
--- "Cory D. Wiles" <[EMAIL PROTECTED]> wrote:
> Does anyone have a possible solution for using wild
> cards in error messages
> for form validation?
>
> In my package.properties I have:
> arc.screen.required.error.message = {0} is a
> re
Does anyone have a possible solution for using wild cards in error messages
for form validation?
In my package.properties I have:
arc.screen.required.error.message = {0} is a required field
How does my validation need to be formatted to accept a parameter for the
message?
http://www.opensymphony
hi,
I would like to have the autocompleter working with
optiontransferselect, is that possible?
i.e. the user would select the right element from the autocompleter and
add it to the items
in the optiontransferselect control.
If not possible any alternative way?
regards,
Giovanni
---
40 matches
Mail list logo