RE: Re: Using bean the same way as bundle with a static string as param.

2006-02-27 Thread Robert Alexandersson
Thanx a lot, it worked like a scharm, I just changed the requestScope to applicationScope. So I would say u understood! This works really nice as a rights management replacement. Would any of you out there implement this different? I thought of the JSF rendered attribute when I did this. /Robert

Re: migrate question from Struts 1.0.2 to Struts1.2.8

2006-02-27 Thread Laurie Harper
First things first: did you go through all the migration steps listed on the wiki for 1.0 -> 1.2, 1.1 -> 1.2.4, 1.2.4 -> 1.2.7 and 1.2.7 -> 1.2.8? L. red phoenix wrote: I have a simple Struts program,it can run well in Struts1.0.2,then I migrate it to Struts1.2.8,this time I find index.jsp pag

Re: Tiles and Validator

2006-02-27 Thread Shiby Maria John
Here is the code that I used. validation.xml http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";> Form class public class MyValForm extends ValidatorForm { ..

migrate question from Struts 1.0.2 to Struts1.2.8

2006-02-27 Thread red phoenix
I have a simple Struts program,it can run well in Struts1.0.2,then I migrate it to Struts1.2.8,this time I find index.jsp page shows well,but when I submit this page,it should redirect to show.jsp page and show something in it,but in fact it redirect an empty page,it show nothing,even no error in T

Re: html:link, etc, looking for full url, not just context name

2006-02-27 Thread Michael Jouravlev
On 2/27/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: > All I have been asking is the following: Is there a easy way using the > html:# tags to get the full url printed. along with should help you build proper server-relative URL: http://wiki.apache.org/struts/StrutsTaglibHtmlLink I don't think t

Re: html:link, etc, looking for full url, not just context name

2006-02-27 Thread Michael Jouravlev
On 2/27/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: > Its not my day > > No I do not believe I ever mentioned robots reading the site. Please > stay on the topic. I want to use full URL's not relative. Google and > other indexing "robots" will use the data in the link to index. I have > a buck

RE: html:link, etc, looking for full url, not just context name

2006-02-27 Thread George.Dinwiddie
Jim, If you don't want advice, don't ask. If you ask, don't get snippy about the answers you receive. Google and other indexing robots are perfectly capable of inferring the full URL from a relative URL. I may be wrong, but I think it's significantly harder to "game" your Google placement than

Re: html:link, etc, looking for full url, not just context name

2006-02-27 Thread Jim Reynolds
Its not my day No I do not believe I ever mentioned robots reading the site. Please stay on the topic. I want to use full URL's not relative. Google and other indexing "robots" will use the data in the link to index. I have a bucket full of links, and if I could easily put in the full url, it

RE: html:link, etc, looking for full url, not just context name

2006-02-27 Thread George.Dinwiddie
FWIW, I've never had any trouble getting robots to index relative URLs. In fact, it would seem pretty silly to me if all URLs on a site had to be absolute. The inclusion of query parameters in your URL is more likely to cause it to be ignored than the use of relative URLs. - George > -Origi

Re: JSP 1.2 ( JSTL EL) and checkbox problem.

2006-02-27 Thread digant . k . joshi
No ! I don't have specific need for it. I didn't copy struts-el.jar from standard struts 1.2.8 What is good prcatice ? Should I copy everything under contrib\struts-el\lib to MY WEB-INF/lib ( in tomcat 4.1.30) ? I see struts-html.tld, struts-login.tld are under both directories struts-1.2.8-b

Re: Tiles and Validator

2006-02-27 Thread Laurie Harper
Shiby Maria John wrote: I have a tiles application. I tried to introduce validator framework into it for validations. But it is not working. If i change the tiles to make a single jsp page, the validator worked. Will the both not work together?? Tiles and validator will work together fine. What

Re: JSP 1.2 ( JSTL EL) and checkbox problem.

2006-02-27 Thread Laurie Harper
See the 'contrib' directory in the Struts distribution you downloaded. L. [EMAIL PROTECTED] wrote: in struts 1.2.8 I see struts.jar that may not be containing struts-el.jar. Can anyone send link to contrib ? Thanks. Dave Newton <[EMAIL PROTECTED]> 02/27/2006 02:26 PM Please respond to "Str

Re: JSP 1.2 ( JSTL EL) and checkbox problem.

2006-02-27 Thread Laurie Harper
Probably, but it would be safer to use the struts-el jar that comes with 1.2.8. Is there any particular reason you want to use the 1.3.0 version? L. [EMAIL PROTECTED] wrote: would struts-el v1.3.0/ will work with struts 1.2.8 and tomcat 4.1.30 ( JSP 1.2) ? "Michael Jouravlev" <[EMAIL

Re: html:link, etc, looking for full url, not just context name

2006-02-27 Thread Jim Reynolds
Not exactly the answer I was looking for. I don't believe I ever mentioned anything about iterating or params, or Anyway, when I use html:link, etc, I get the following in my source: I want http://www.mywebapphere/app/exceptionMain.do?userID=290441";> That way when the robots index the sit

Re: prepopulating check boxes when first form comes up. during reset?

2006-02-27 Thread Michael Jouravlev
On 2/27/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > Hi all: > > I am trying to pre populate checkboxes on struts 1.1 jsp. When the user > goes to the url, I am setting the default values of the checkboxes in > the reset function. Is this the correct way to go? The request/response cycle goes l

Re: prepopulating check boxes when first form comes up. during reset?

2006-02-27 Thread Laurie Harper
SIRAGHER, JOEL wrote: Hi all: I am trying to pre populate checkboxes on struts 1.1 jsp. When the user goes to the url, I am setting the default values of the checkboxes in the reset function. Is this the correct way to go? No, reset should be used to clear the checkbox properties to their 'un

Re: Using bean the same way as bundle with a static string as param.

2006-02-27 Thread Laurie Harper
Robert Alexandersson wrote: Hello. I am using JSP 2.0 tagfiles creating custommtags and want a render controller. I want to make a sort of In a controller i create the settingbean parameters. In the jsp I call the tag file. In the tagfile I try to evaluate the incoming static string byt this I

Re: struts into one cluster machine

2006-02-27 Thread Laurie Harper
Miren Urkijo wrote: Iam programing one struts application for one cluster machine. Into my beans, no struts, i must to implements the serializable If my struts application has the acton, one actionForm i must to serialize the action form for runnig well into the cluster machine? thanks I'm not

Re: Cannot find message resources under key org.apache.struts.action.MESSAGE

2006-02-27 Thread Laurie Harper
Did you define the message resources in struts-config.xml? The init param in web.xml isn't used in current versions of Struts. Make sure you have this in your struts-config: L. red phoenix wrote: I have configure my properties file,but when run,it raise error and say can't find message ke

Re: JSP 1.2 ( JSTL EL) and checkbox problem.

2006-02-27 Thread digant . k . joshi
would struts-el v1.3.0/ will work with struts 1.2.8 and tomcat 4.1.30 ( JSP 1.2) ? "Michael Jouravlev" <[EMAIL PROTECTED]> 02/27/2006 02:48 PM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" cc: Subject:Re: JSP 1.2 ( JS

Re: html:link, etc, looking for full url, not just context name

2006-02-27 Thread Ahmed Hashim
Yes, http://struts.apache.org/struts-taglib/tagreference-struts-html.html#html:link If you will use html:link inside an iteration use the properties (indexed,indexId) If you want to compose a URL like Action1.do?ID=2 use link Ahmed Hashim On 2/27/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: > >

Re: JSP 1.2 ( JSTL EL) and checkbox problem.

2006-02-27 Thread digant . k . joshi
in struts 1.2.8 I see struts.jar that may not be containing struts-el.jar. Can anyone send link to contrib ? Thanks. Dave Newton <[EMAIL PROTECTED]> 02/27/2006 02:26 PM Please respond to "Struts Users Mailing List" To: Struts Users Mailing List cc: Subject:

Re: JSP 1.2 ( JSTL EL) and checkbox problem.

2006-02-27 Thread Michael Jouravlev
On 2/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > We are using tomcat 1.4.30 which in turn has jsp 1.2 version. > JSTL EL works differently in this version meaning For outputting text you > should not > >

Re: JSP 1.2 ( JSTL EL) and checkbox problem.

2006-02-27 Thread Dave Newton
[EMAIL PROTECTED] wrote: > No, I am using jsp version of EL > <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> > Do i have to use struts-el for making life easier, especially when > using checkbox or radio button controls? > Um, you have to use struts-el if

Re: JSP 1.2 ( JSTL EL) and checkbox problem.

2006-02-27 Thread digant . k . joshi
No, I am using jsp version of EL <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> Do i have to use struts-el for making life easier, especially when using checkbox or radio button controls? What's the best way to get struts-el jar/tlds ? Thanks

Tiles Not Processing JSP Content

2006-02-27 Thread Christopher Prince
using tiles standalone (latest from the sandbox) the insert tag looks like Problem is that the jsp pages in the are placed into the output as-is. The JSP/JSF markup is not processed. I tried adding the type="page" to the tag but that didn't help. How do i ensure that the JSP i

Re: JSP 1.2 ( JSTL EL) and checkbox problem.

2006-02-27 Thread Dave Newton
[EMAIL PROTECTED] wrote: > 1. Drop down default value selection should be done based on Form value > "sectorId" and when user chooses any value from drop down, value of > ${sector.sectorId} should populate sectorId. I am getting > ${sector.sectorId}displayed as all of my values in dropdown. >

html:link, etc, looking for full url, not just context name

2006-02-27 Thread Jim Reynolds
I have created a ecommerce site using struts, and using the full array of html:# tags. I am at the point of trying to index the site better, and one thing I have noticed with most sites that index well, and according to what I hear from google. The href links, which I currently use html:link with

JSP 1.2 ( JSTL EL) and checkbox problem.

2006-02-27 Thread digant . k . joshi
We are using tomcat 1.4.30 which in turn has jsp 1.2 version. JSTL EL works differently in this version meaning For outputting text you should not using${someVar} but should use Now I have following problems in making ActionForm pass value to Action . 1. Drop down default value selection sho

Must I use a nested??? several problems.

2006-02-27 Thread SIRAGHER, JOEL
Must I use a nested? I have an actionform and it contains a bean called 'QueryResults'. Inside the 'QueryResults' is an item called 'boolean checkbox' class DisplayQuery extends ActionForm { QueryResults[] stuff; } class QueryResults { boolean checkbox = fals

prepopulating check boxes when first form comes up. during reset?

2006-02-27 Thread SIRAGHER, JOEL
Hi all: I am trying to pre populate checkboxes on struts 1.1 jsp. When the user goes to the url, I am setting the default values of the checkboxes in the reset function. Is this the correct way to go? - To unsubscribe, e-mail: [E

Using bean the same way as bundle with a static string as param.

2006-02-27 Thread Robert Alexandersson
Hello. I am using JSP 2.0 tagfiles creating custommtags and want a render controller. I want to make a sort of In a controller i create the settingbean parameters. In the jsp I call the tag file. In the tagfile I try to evaluate the incoming static string byt this I can not figure out. The rende

Re: Problem with radioTag

2006-02-27 Thread Gary Feidt
Try this: Gary >>> [EMAIL PROTECTED] 2/27/2006 6:23:09 AM >>> Hi, I have a table of data on my JSP and the User may choose one row. I want to do this with a Radiobutton and need the value of the choose radiobutton on my forwarded page. My Question is

Problem with radioTag

2006-02-27 Thread OJAY78
Hi, I have a table of data on my JSP and the User may choose one row. I want to do this with a Radiobutton and need the value of the choose radiobutton on my forwarded page. My Question is now how can I set the value of the radiobutton to a value from m

Re: Cannot find bean in scope Problem

2006-02-27 Thread OJAY78
Thanks, where should I send the box of chocolate? I bet a box of chocolates you forgot to define or badly defined the logic taglib in your .jsp header :) [EMAIL PROTECTED] a écrit : >Hi, > >I have a form with a List and want to show the values on my JSP. But when I >start my JSP the bean "id"

Tiles and Validator

2006-02-27 Thread Shiby Maria John
Hi, I have a tiles application. I tried to introduce validator framework into it for validations. But it is not working. If i change the tiles to make a single jsp page, the validator worked. Will the both not work together?? Please help me . regards, Shiby --

Re: Cannot find message resources under key org.apache.struts.action.MESSAGE

2006-02-27 Thread Dharmendra Singh
Dear First give the right tag URI in right form in index.jsp whatever u have given in web.xml On 2/27/06, red phoenix <[EMAIL PROTECTED]> wrote: > > I have configure my properties file,but when run,it raise error and say > can't find message key,my files are follows: > /*index.jsp*/ > <%@ taglib

Re: Cannot find ActionMappings or ActionFormBeans collection

2006-02-27 Thread Dharmendra Singh
Dear You have given wrong Tag uri in index.jsp.U should give the logical name whatever u have given in web.xml. bye Dharmendra On 2/27/06, red phoenix <[EMAIL PROTECTED]> wrote: > > I have solve this problem,because I missing some jars files in lib > directory. > Thanks. > > > On 2/27/06, Deni

Re: Interaction between Struts and Tiles - redirect doesn't?

2006-02-27 Thread Mark Lowe
You should be able to redirect to an action that then forwards to the tiles definition.. Something like Its not perfect, but then what is? Mark On 2/27/06, Bruce Link <[EMAIL PROTECTED]> wrote: > > > I can do those things, but forwarding is not a problem. What I am trying to > do i

Re: Cannot find ActionMappings or ActionFormBeans collection

2006-02-27 Thread red phoenix
I have solve this problem,because I missing some jars files in lib directory. Thanks. On 2/27/06, Denis Ling <[EMAIL PROTECTED]> wrote: > > > action > org.apache.struts.action.ActionServlet > > application > resources.application > > > config > /WEB-INF/struts-config.xml

Cannot find message resources under key org.apache.struts.action.MESSAGE

2006-02-27 Thread red phoenix
I have configure my properties file,but when run,it raise error and say can't find message key,my files are follows: /*index.jsp*/ <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %> .. /*application.properties*/ error.header= error.footer= error.stime.required=This is a t

Re: Cannot find ActionMappings or ActionFormBeans collection

2006-02-27 Thread Denis Ling
action org.apache.struts.action.ActionServlet application resources.application config /WEB-INF/struts-config.xml debug 2 detail 2 validate true 2 Can you remove the paragraph that remarked re

Re: Cannot find ActionMappings or ActionFormBeans collection

2006-02-27 Thread Denis Ling
action org.apache.struts.action.ActionServlet application resources.application config /WEB-INF/struts-config.xml debug 2 detail 2 validate true 2 Can you remove the paragraph that remarked re

Re: Cannot find ActionMappings or ActionFormBeans collection

2006-02-27 Thread Tamas Szabo
Hi, I think I saw this error a while ago and if I remember it right some jar files were missing from WEB-INF/lib. Check that you have all the jars that are in struts-blank.war for example in WEB-INF\lib. This might be the problem if not sorry, Tamas On 2/27/06, red phoenix <[EMAIL PROTECTED]>

Re: Cannot find ActionMappings or ActionFormBeans collection

2006-02-27 Thread red phoenix
I use But it still raise same error. On 2/27/06, Denis Ling <[EMAIL PROTECTED]> wrote: > > > > ... > > > > You should remove the suffix of "log.do". In other words you can use > "log" > instead of "log.do" . > > good luck for you! > > > 2006/2/27, red phoenix <[EMAIL PROTECTED]>: > > > > I

Re: Cannot find ActionMappings or ActionFormBeans collection

2006-02-27 Thread Denis Ling
... You should remove the suffix of "log.do". In other words you can use "log" instead of "log.do" . good luck for you! 2006/2/27, red phoenix <[EMAIL PROTECTED]>: > > I use Struts struts-1.2.8,when I execute my JSP file,it raise following > error: > > javax.servlet.ServletException: Ca