about yui

2008-03-03 Thread hns
hi i impressed from yui i like to do work with it now i want something like that when yui widget highlight on the screen other area of my page will be shows in dark shadow ,it means remain unactive how i can achieve it please help me -- View this message in context: http://www.nabble.com/abo

Re: sitemesh problem

2008-03-03 Thread hns
aj2r wrote: > > > Can you put here your decorators.xml? > i have putted decoraters.xml at web-inf folder -- View this message in context: http://www.nabble.com/sitemesh-problem-tp15759026p15820667.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: Rad 6.0

2008-03-03 Thread Jerry Gustanski
Here's the error: JSP Processing Error HTTP Error Code: 500 Error Message: JSPG0047E: Unable to locate tag library for uri http://struts.apache.org/tags-html Root Cause: com.ibm.ws.jsp.JspCoreException: JSPG0047E: Unable to locate tag library for uri http://struts.apache.org

Re: Rad 6.0

2008-03-03 Thread Jerry Gustanski
Antonio, I'm sorry I couldn't get back to you last night as I got too sleepy to continue. You gave me some ideas that something was wrong with the jar files. I realized that I was working with the individual components and when I imported the war file it ran fine which answers my original ques

Re: Struts2 application does not work after converting from struts1

2008-03-03 Thread Martin Gainty
This will get you started.. 1st) Struts v1 take a look at legacy mapping in web.xml which maps *.do to action and action to ActionServlet as seen here action *.do action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml 1

Re: Struts2 application does not work after converting from struts1

2008-03-03 Thread kal stevens
Sorry I figured it out. It was combination of modjk and an apache rewrite rule. Sorry for being so vague :) Thanks Kal On Mon, Mar 3, 2008 at 5:54 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- kal stevens <[EMAIL PROTECTED]> wrote: > > The JSP loads properly, but any actions do not respond. >

Re: Package extends

2008-03-03 Thread stanlick
config-browser doesn't deserve to be exposed to the binary mess I have created! I have refactored this Struts 2 application into oblivion. If package D extends packages A, B, and C and package A has a custom default-interceptor defined, shouldn't package D inherit this stack? I am having to dupl

Re: Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Chris Pratt
On Mon, Mar 3, 2008 at 5:37 PM, Martin Gainty <[EMAIL PROTECTED]> wrote: > construct a public Map in your Action class and insert the key,value > pairings e.g. > public Map getDefaultFavouriteCartoonCharacters() { > Map m = new LinkedHashMap(); > m.put("heMan", "He-Man"); >

Re: Struts2 application does not work after converting from struts1

2008-03-03 Thread Dave Newton
--- kal stevens <[EMAIL PROTECTED]> wrote: > The JSP loads properly, but any actions do not respond. You haven't provided much information to go on. Have you changed the extension to ".do"? Is the filter in your web.xml? Have you used the config browser to see how the system thinks your app is co

Struts2 application does not work after converting from struts1

2008-03-03 Thread kal stevens
My company is in the process of converting our application from struts1 to struts2. The JSP loads properly, but any actions do not respond. Not Found The requested URL /member/signin.do was not found on this server. I put the log4j log level to ALL, and it looks like tomcat is loading the acti

Re: Package extends

2008-03-03 Thread Wes Wannemacher
Scott, Would it help if you dropped the config-browser into the app and saw how badly you have it mangled ;) -Wes On Mon, 2008-03-03 at 18:58 -0600, [EMAIL PROTECTED] wrote: > I am knee deep in a problem where I have looked at it so long that I am > nearly wrapped around the axle. Before I get

Re: Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Martin Gainty
construct a public Map in your Action class and insert the key,value pairings e.g. public Map getDefaultFavouriteCartoonCharacters() { Map m = new LinkedHashMap(); m.put("heMan", "He-Man"); m.put("popeye", "Popeye"); m.put("mockeyMouse", "Mickey Mouse");

Re: Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Jeromy Evans
Dave Newton wrote: --- Chris Pratt <[EMAIL PROTECTED]> wrote: Is it possible to place the data for the list attribute of an tag in a resource bundle (so that it can be internationalized)? I have tried adding the data to my application.properties file: gender.map='FEMALE':'Female','MALE':'M

Re: Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Dave Newton
--- Chris Pratt <[EMAIL PROTECTED]> wrote: > Is it possible to place the data for the list attribute of an > tag in a resource bundle (so that it can be > internationalized)? I have tried adding the data to my > application.properties file: > > gender.map='FEMALE':'Female','MALE':'Male' > > The

Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Chris Pratt
Is it possible to place the data for the list attribute of an tag in a resource bundle (so that it can be internationalized)? I have tried adding the data to my application.properties file: gender.map='FEMALE':'Female','MALE':'Male' Then referencing it in the JSP as: But this produces, the f

Package extends

2008-03-03 Thread stanlick
I am knee deep in a problem where I have looked at it so long that I am nearly wrapped around the axle. Before I get into the gory details, what does a package extend when it specifies the extends attribute followed by multiple coma separated packages? I am chiefly interested in a default-interce

Re: Struts App - Tomcat on Windows in India and Poland

2008-03-03 Thread Jeromy Evans
How bad is it? It the problem that: users in Poland see question marks but you don't them when you access their server; or you see question marks when you access their server but they don't; or you and they see question marks when you access the server? The issue is either: the pages inclu

Re: Problem with OGNL syntax

2008-03-03 Thread Jeromy Evans
oscar perez wrote: I see what you're trying to do; you're asking OGNL to evaluate companyType first, and use the string result in the outer expression to evaluate. The %{} notation won't do this for you. According to the OGNL guide you should use parentheses to evaluate part of the

Problem with OGNL syntax

2008-03-03 Thread oscar perez
Hi! I am having a very strange problem with struts 2. I am newbie to Struts 2 so maybe it is a simple thing I misunderstood. I have an abstract class (enterprise) and 4 subclasses. I want to perform CRUD operations on them and since all the properties are common to all the subclasses I've decided

Re: More package weirdness

2008-03-03 Thread Dave Newton
We used to be able to send "cancel" messages, but teh intarwebs are way too fast for them to have much effect anymore. --- Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > At one company I did consulting, they had an ancient mail system where > this was possible. The rumours had it that they

Re: More package weirdness

2008-03-03 Thread Nils-Helge Garli Hegvik
At one company I did consulting, they had an ancient mail system where this was possible. The rumours had it that they were betting on sending insults to their boss, and then betting on who could wait the longest before hitting the "unsend" button :) Nils-H On Mon, Mar 3, 2008 at 9:43 PM, <[EMAI

Re: More package weirdness

2008-03-03 Thread stanlick
Why is there no UnSend button? On Mon, Mar 3, 2008 at 2:40 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > Posted what? :) > > On Mon, Mar 3, 2008 at 9:38 PM, <[EMAIL PROTECTED]> wrote: > > Doh! Can we pretend I didn't post this? > > > > > > > > > > On Mon, Mar 3, 2008 at 11:49 AM, Da

Re: More package weirdness

2008-03-03 Thread Nils-Helge Garli Hegvik
Posted what? :) On Mon, Mar 3, 2008 at 9:38 PM, <[EMAIL PROTECTED]> wrote: > Doh! Can we pretend I didn't post this? > > > > > On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes <[EMAIL PROTECTED]> wrote: > > > > > [EMAIL PROTECTED] wrote: > > > which resolves to be: > > > > > > > > > > Th

Re: More package weirdness

2008-03-03 Thread stanlick
Thanks Wes! I had a bald moment. On Mon, Mar 3, 2008 at 2:38 PM, <[EMAIL PROTECTED]> wrote: > Doh! Can we pretend I didn't post this? > > > > On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes <[EMAIL PROTECTED]> wrote: > > > > > [EMAIL PROTECTED] wrote: > > > which resolves to be: > > > > > > >

Re: More package weirdness

2008-03-03 Thread stanlick
Doh! Can we pretend I didn't post this? On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > which resolves to be: > > > > > > The namespace is "/charts", but you use "charts". > > >

Re: how to access a session variable in an action class?

2008-03-03 Thread Othon Reyes Sanchez
I wonder what mojoRising is thrying to achieve. As Dave Newton said "setting something to session from the JSP is a little suspicious" because tipically you want things the other way around( from action to jsp) and if you need to send some data to the action, you have to use parameters (in the url

Re: how to access a session variable in an action class?

2008-03-03 Thread Dave Newton
Oops, I misunderstood the question. Musachy's correct, though; setting something to session from the JSP is a little suspicious. Dave --- Musachy Barroso <[EMAIL PROTECTED]> wrote: > That would be to set the value on your action. On your jsp, use the > "set" tag, and set the "scope" attribute to

Re: how to access a session variable in an action class?

2008-03-03 Thread Musachy Barroso
That would be to set the value on your action. On your jsp, use the "set" tag, and set the "scope" attribute to session: http://struts.apache.org/2.x/docs/set.html btw, if you are setting something on the session in your jsp and using it on the actions, there is a good chance that you are doing s

Re: how to access a session variable in an action class?

2008-03-03 Thread Dave Newton
--- mojoRising <[EMAIL PROTECTED]> wrote: > Hi, I want to set a parameter in the session from my JSP, and then access > it from my action class. I am not sure what the correct syntax is for this. > Could someone please explain? Thanks! http://struts.apache.org/2.x/docs/how-do-we-get-access-to-the-

how to access a session variable in an action class?

2008-03-03 Thread mojoRising
Hi, I want to set a parameter in the session from my JSP, and then access it from my action class. I am not sure what the correct syntax is for this. Could someone please explain? Thanks! -- View this message in context: http://www.nabble.com/how-to-access-a-session-variable-in-an-action-class--

Struts 2: Designing faceted search - a general architecture/design issue

2008-03-03 Thread Magnus
Hi, Does anyone have any experience using Struts 2 to implement a web app that provides faceted search? (Using Lucene/LARQ etc.) I'm wondering what the best approach is, using SiteMesh/Tiles ie, when it comes to the architecture/design of the web app. The basic idea is to provide the user with a

Re: sitemesh problem

2008-03-03 Thread aj2r
hns wrote: > > hi > i have one default namespace / and another /webmail > css applied to decorator is worked in / but it can not work at /webmail > what is problem? > Can you put here your decorators.xml? -- View this message in context: http://www.nabble.com/sitemesh-problem-tp15759026p1581

Re: get the Locale from Action[S2]

2008-03-03 Thread aj2r
slideharmony wrote: > > Hello, > anybody knows how can I get the client machine's Locale from my action > struts 2? > any help would be apprecciated. > Riccardo > Your action must extend com.opensymphony.xwork2.ActionSupport and then you can use getLocale() -- View this message in context: h

Re: More package weirdness

2008-03-03 Thread Wes Wannemacher
The questionChart action exists in a different namespace than the JSP. Try - namespace="/charts" The leading / is significant. -Wes On 3/3/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > How can this JSP code > > > "/> > > which resolves to be: > > > > > be generating this exceptio

Re: More package weirdness

2008-03-03 Thread Daniel Baldes
[EMAIL PROTECTED] wrote: which resolves to be: The namespace is "/charts", but you use "charts". - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

More package weirdness

2008-03-03 Thread stanlick
How can this JSP code "/> which resolves to be: be generating this exception? 11:28:45,271 ERROR org.apache.struts2.dispatcher.Dispatcher.serviceAction():512 - Could not find action or result There is no Action mapped for namespace */quiz* and action name questionChart. - [unknown locatio

Re: [struts] How to use Action Mapper?

2008-03-03 Thread Dale Newfield
smart acer wrote: Unfortunately only apache opensource is allowed for us so we cant use this. I'm glad I don't have to deal with policies like this one. I think I can investigate putting the redirect in interceptor, and if that doesnt work then servlet filter? I thought ActionMapper does some

Re: [struts] How to use Action Mapper?

2008-03-03 Thread smart acer
The URL is actually derived from namespace, not context. (eg: context is "StrutsBlankWeb", package namespace "/example"). And for whatever reason it didnt occur to me that I could create a directory example inside Web Content and put the welcome file! I am all set now, thanks! On 3/3/08, Dave New

Re: [struts] How to use Action Mapper?

2008-03-03 Thread Dave Newton
You could also just use a welcome file with a redirect. --- smart acer <[EMAIL PROTECTED]> wrote: > thanks, yes to some extent this is what I am looking for but not the > complete features as mod_rewrite. Unfortunately only apache opensource is > allowed for us so we cant use this. > > I think I

Re: [struts] How to use Action Mapper?

2008-03-03 Thread smart acer
Hi Dale, thanks, yes to some extent this is what I am looking for but not the complete features as mod_rewrite. Unfortunately only apache opensource is allowed for us so we cant use this. I think I can investigate putting the redirect in interceptor, and if that doesnt work then servlet filter? I

Re: [struts] How to use Action Mapper?

2008-03-03 Thread Dale Newfield
smart acer wrote: Could anyone please guide me how to setup/use ActionMapper --- I would like the URL http://localhost:9080/StrutsBlankWeb/example/ to redirect to http://localhost:9080/StrutsBlankWeb/example/HelloWorld.action Sounds like you are looking for http://tuckey.org/urlrewrite/ -Dale

How to use Action Mapper?

2008-03-03 Thread smart acer
Could anyone please guide me how to setup/use ActionMapper --- I would like the URL http://localhost:9080/StrutsBlankWeb/example/ to redirect to http://localhost:9080/StrutsBlankWeb/example/HelloWorld.action Thanks!

Re: Need help in Action class Design

2008-03-03 Thread ravi_eze
can u post the code? cple of qns before that. Is the variable that holds the search list in session scope? try .. it could help. ravi Venkat Guru wrote: > > Hi, >This is Venkat. Iam new to struts2 framework. Iam struck up with a > small problem using tag. > > I have a page which con

Re: Troubles getting validation to work

2008-03-03 Thread mteccles
workflow interceptor was missing, this was the problem. newton.dave wrote: > > --- mteccles <[EMAIL PROTECTED]> wrote: >> I am trying to validate a form so that field 'username' is 3 characters >> or >> more. I have tried both xml configuration and annotations but seem to be >> missing somethi

Re: Troubles getting validation to work

2008-03-03 Thread Dave Newton
--- mteccles <[EMAIL PROTECTED]> wrote: > I am trying to validate a form so that field 'username' is 3 characters or > more. I have tried both xml configuration and annotations but seem to be > missing something on how it works. The form is working perfectly, ie all > properties on the class are be

Need help in Action class Design

2008-03-03 Thread Venkat Guru
Hi, This is Venkat. Iam new to struts2 framework. Iam struck up with a small problem using tag. I have a page which contains a select tag . on page load i will populate its list values from server. Its a search form. when i perform the search the results are displayed in the same page.

Struts App - Tomcat on Windows in India and Poland

2008-03-03 Thread Raghuveer
I have deployed a struts web application on Windows 2003 Server in Poland and India. Application needs to display Polish language coming from SAP. This is working in India on Windows 2003 Servers. But Messages are coming Question marks from Similar Configuration Server(language is polish)

encoding - web.xml,struts-config.xml

2008-03-03 Thread Raghuveer
I am working on i18n application that needs to be worked in English and Polish language. This application is working on Tomcat Servers on windows system In India, But getting Question Marks Polish language in Poland Windows System. Is there anything that needs to be handled in "web.xml" and

Re: about DAO

2008-03-03 Thread Jeromy Evans
hns wrote: InputStream is = getClass().getResourceAsStream("/db.properties"); Don't include a leading slash unless you really mean the root directory (which you shouldn't do in a webapp). Instead, this line: InputStream is = getClass().getResourceAsStream("db.properties"); will

Re: about DAO

2008-03-03 Thread hns
i got one file dbconnmannager.java for pooling but it has some error i know its nt an s2 question but still wait 4 ans i put in one package connpool it gives error at specific point it can not load properties file --

Re: Rad 6.0

2008-03-03 Thread Antonio Petrelli
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>: > > [3/3/08 1:17:00:062 PST] 001b jsp E com.ibm.ws.jsp.taglib.TldParser > logParseErrorMessage Failed to parse Tag Library > [/WEB-INF/struts-tiles.tld]: JSPG0235E: The JSP container failed to load > the > TagExtraInfo class [org.apache.struts.tile

Troubles getting validation to work

2008-03-03 Thread mteccles
I am trying to validate a form so that field 'username' is 3 characters or more. I have tried both xml configuration and annotations but seem to be missing something on how it works. The form is working perfectly, ie all properties on the class are being set. However the execute method is always c

Struts2, JDO transaction handling

2008-03-03 Thread Daniel Baldes
Hi, If I want to edit my domain objects directly, how can I handle transactions? Example: My action has getLogin(), which returns a database-persistent object. In order to let struts set properties of the object, a transaction must be active. I wonder if there is a "common way" to do thi

Re: Rad 6.0

2008-03-03 Thread Jerry Gustanski
Yes, I do get errors on startup of server: [3/3/08 1:16:40:297 PST] 0014 AdminHelper A ADMN1021I: An attempt is made to stop the server1 server. [3/3/08 1:16:40:406 PST] 002c WSChannelFram A CHFW0020I: The Transport Channel Service has stopped the Chain labeled WCInboundAdmin. [3/3/

get the Locale from Action[S2]

2008-03-03 Thread slideharmony
Hello, anybody knows how can I get the client machine's Locale from my action struts 2? any help would be apprecciated. Riccardo -- View this message in context: http://www.nabble.com/get-the-Locale-from-Action-S2--tp15799905p15799905.html Sent from the Struts - User mailing list archive at Nabb

Re: Rad 6.0

2008-03-03 Thread Antonio Petrelli
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>: > > That is the excepion I receive when starting the app. I have not been clear. With "starting" the app I mean when you startup the server, not when you call the homepage of your app. Antonio

Re: Rad 6.0

2008-03-03 Thread Jerry Gustanski
That is the excepion I receive when starting the app. - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, March 03, 2008 1:07 AM Subject: Re: Rad 6.0 2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>: [3/3/08 0:44:31:344 PST]

Re: Rad 6.0

2008-03-03 Thread Antonio Petrelli
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>: > > [3/3/08 0:44:31:344 PST] 002b ServletWrappe E SRVE0068E: Could not > invoke the service() method on servlet /index.jsp. Exception thrown : > java.lang.NullPointerException > > at org.apache.struts.util.RequestUtils.pageURL(RequestUtils.java:159

Re: Rad 6.0

2008-03-03 Thread Jerry Gustanski
[3/3/08 0:44:31:078 PST] 002b ServletWrappe A SRVE0242I: [/index.jsp]: Initialization successful. [3/3/08 0:44:31:172 PST] 002b PropertyMessa I Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [3/3/08 0:44:31:219 PST] 002b PropertyMessa I Initiali

Re: Rad 6.0

2008-03-03 Thread Jerry Gustanski
I am new to this group, I didn't know the rules. - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Jerry Gustanski" <[EMAIL PROTECTED]> Sent: Monday, March 03, 2008 12:51 AM Subject: Re: Rad 6.0 Whoops wow I notice now that you wrote to me directly, I won't answer

Re: Rad 6.0

2008-03-03 Thread Antonio Petrelli
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>: > > When I copy a 1.3.8 sample app into my RAD workspace, RAD doesn't seem to > recognize that things like wildcards are now okay. It flags them as > errors. Did you correct the reference to the DTD? -//Apache Software Foundation//DTD Struts Config

Re: Rad 6.0

2008-03-03 Thread Jerry Gustanski
Antonio, Thank you for your response. Yes, I am using Websphere 6.0. When I copy a 1.3.8 sample app into my RAD workspace, RAD doesn't seem to recognize that things like wildcards are now okay. It flags them as errors. I brought in the 1.3.8 jars and TLDs. The errors remain. If I deploy the

Re: Rad 6.0

2008-03-03 Thread Antonio Petrelli
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>: > Can Rad 6.0 use/run Struts versions greater than 1.1, say 1.3.8, 1.3.9, or 2.0 Well, Rad 6.0 is based on Eclipse 3.0, so it is very limited regarding the version of Java (1.4.2). And it depends on the Websphere version you are using (you are using W