{Maybe OT} Ajax with struts

2006-04-10 Thread vijay r
Hello, I used AJAX to fill details for a corrosponding selected value listed in a combo box. So for a particular registration number, the details of the vehicle are filled. On the onchange() event of the combo box, I am calling a JavaScript function which creates a XmlHttpRequest with the url = "

variable in one tile to another

2006-04-10 Thread Raghuveer
Is there a facility to get a variable in one tile from another tile in Struts Tiles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Error reading tld listeners

2006-04-10 Thread Anuradha Vaidya
Hi I am using Tomcat/5.5.12 and java version "1.4.2_10" and am receiving errors: the description follows... SEVERE: Error reading tld listeners javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/s n context /mycontext javax.servlet.ServletException: Ex

Re: Usage of Clay in portal environment

2006-04-10 Thread Dakota Jack
These posts are supposed to be preceded by [SHALE] On 4/10/06, Phanidhar Adusumilli <[EMAIL PROTECTED]> wrote: > > Can Clay be used in portlets as it is or do we need to customize it.? we > would like to use it weblogic portal environment. > > -- "You can lead a horse to water but you cannot mak

Re: [HELP] how do I catch url like http://www.myweb.com/mysite :(

2006-04-10 Thread Pham Anh Tuan
Thanks Dave, I try following your instructions. again, thank you! :) bowlkhin - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, April 10, 2006 10:07 PM Subject: Re: [HELP] how do I catch url like http://www.myweb.com/mysite :(

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-10 Thread Pham Anh Tuan
hiz ... thank you very much Dave :) - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, April 10, 2006 10:11 PM Subject: Re: [HELP] Problem with redirect attribute of forward tag Pham Anh Tuan wrote: I got problem with redirect

Re: [Shale] Clay

2006-04-10 Thread Gary VanMatre
>Gary, I appreciate the information. Ok, here is what I have and it is not >working. Bear with me, I am going to post the bulk of my files, though the= >y >are quite short. > > >[web.xml] I didn't seen anything that didn't look correct in the web.xml snippet you provided. One thing to check i

Re: how to include a "do" url?

2006-04-10 Thread 王曾wang_zeng
OK. I have checked it out,so great. Sorry, I reply so late. cos the place where I live is opposite to the place where you live on this earth. When you get up,I am going to sleep. 2006/4/10, Michael Jouravlev <[EMAIL PROTECTED]>: > You can check out how I use it. > > This is main website of my p

Re: Usage of Clay in portal environment

2006-04-10 Thread Phanidhar Adusumilli
But I have seen some code in ClayViewHandler that casts the response to ServletResponse. This is in RenderView method. The code is as follows: ServletResponse response = (ServletResponse) context.getExternalContext ().getResponse(); Following this line, the ServletResponse is used to get Characte

Re: trying to get a Collection from my jsp

2006-04-10 Thread ot 811
Kid, > I try to get a collection from my jsp to my form bean. do you mean that you get the exception when you POST from the JSP ? Struts will not call your setPrestationsComptage(List prestationsComptage) method. Instead you must used indexed properties. see: http://struts.apache.org/struts-d

Re: Custom tag question

2006-04-10 Thread Aladin Alaily
... with tag files ... Aladin Alaily wrote: Hi Dave, I'm also wary of doing such a thing (hence why I'm posting here) because I would essentially be mimicking the servlet container's job. Now if it's possible to do what I'm trying to with files then I'll give that a shot instead. Thanks.

Re: Custom tag question

2006-04-10 Thread Aladin Alaily
Hi Dave, I'm also wary of doing such a thing (hence why I'm posting here) because I would essentially be mimicking the servlet container's job. Now if it's possible to do what I'm trying to with files then I'll give that a shot instead. Thanks. Aladin Dave Newton wrote: Aladin Alaily wr

Re: Custom tag question

2006-04-10 Thread Dave Newton
Aladin Alaily wrote: > Would you use a .tag to produce the effect described above? If you mean a JSP 2.0 custom tag written in JSP, then sure. I'd also be wary of using other custom tags inside a tag like that, although I guess I've never tried it. Dave

Custom tag question

2006-04-10 Thread Aladin Alaily
Hi, I have a question pertaining intregrating a custom tags with a struts tag. I want to know if there exists a "best practise" when trying to do what I'm doing (other than not doing it). I am trying to write a custom tag which wraps another tag in the following way: HTML Written: Desir

Re: Action DTD for struts-config.xml

2006-04-10 Thread Craig McClanahan
On 4/10/06, Lim Hock-Chai <[EMAIL PROTECTED]> wrote: > > Anybody know where I can find a complete explanation of Action tag and > all of its properties? I'm trying to see how the "include" property > work. The DTD itself is chock full of documentation comments. Look for the relevant version(s)

Re: Is there an "IsInSet" or "IsInList" Tag already out there?

2006-04-10 Thread Rick Reumann
Rick Reumann wrote the following on 4/10/2006 10:44 AM: I'm going to be needing a tag similar to how struts' logic:present role="" tag works, but I need it to work with my own set of roles that are going to be in bean ( in List or Set). I supposed I could consider a JSTL function as well.

Action DTD for struts-config.xml

2006-04-10 Thread Lim Hock-Chai
Anybody know where I can find a complete explanation of Action tag and all of its properties? I'm trying to see how the "include" property work. thanks.

Re: [Shale] Clay

2006-04-10 Thread Gregg Bolinger
Gary, I appreciate the information. Ok, here is what I have and it is not working. Bear with me, I am going to post the bulk of my files, though they are quite short. [web.xml] Shale Blank Starter App javax.faces.STATE_SAVING_METHOD client

Re: Usage of Clay in portal environment

2006-04-10 Thread Ryan Wynn
I have used Clay with WebSphere Portal 5.1 and the MyFaces JSR-168 portlet without any changes to clay. In fact, because the MyFaces portlet is a bridge, I can run the same clay app in either a portlet or web environment without any changes. I can't speak to weblogic, but I guess it should work t

Usage of Clay in portal environment

2006-04-10 Thread Phanidhar Adusumilli
Can Clay be used in portlets as it is or do we need to customize it.? we would like to use it weblogic portal environment.

indexed property validation error:java.lang.reflect.InvocationTargetException

2006-04-10 Thread Carl Smith
I have a jsp containing three text fields which are indexed property, I needs to validate all the text box contains a value other than null or empth string. When I click on save I got the error (see the bottom). Your helps are highly appreciated! jsp: (1) indexed property - text box

Re: Struts 1.3 - WebSite/Docs

2006-04-10 Thread Rahul Akolkar
On 4/10/06, Dion Gillard <[EMAIL PROTECTED]> wrote: > Any pointers to where to find details on the changes and details in 1.3? > Probable starting points: http://struts.apache.org/struts-action/userGuide/release-notes.html http://wiki.apache.org/struts/StrutsUpgrade -Rahul

[OT] where i can find List of all JBI implementation?

2006-04-10 Thread Legolas Woodland
Hi Thank you for reading my post where i can find a list of all JBI implementation ? projects like service mix mule celtix ... Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

trying to get a Collection from my jsp

2006-04-10 Thread KID
Hi, I try to get a collection from my jsp to my form bean. This is my code: and in my form bean: private List prestationsComptage; public List getPrestationsComptage() { return prestationsComptag

Struts tiles layout by tiles-config

2006-04-10 Thread Raghuveer
Is there facility to restrict some tile in my base configration. Example In "page.error" how to use only header part of my base configration. - tiles-config xml file

Re: problem in tiles

2006-04-10 Thread Dave Newton
Ahmed Hashim wrote: > I tried to forward to loginPage.page from the action and it is working fine, > but i remember that I can request the page directly... > any suggestion? > You can use tile definitions as "input" or "forward" attribute values in your Struts config file; is that what you mean

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-10 Thread Dave Newton
Pham Anh Tuan wrote: > I got problem with redirect attribute in forward tag. > > after MyRegistration is processed, it register some values in request scope > (some messages to inform that Registration was successful), but after > redirecting to Summary action, all values which registered in requ

Re: [HELP] how do I catch url like http://www.myweb.com/mysite :(

2006-04-10 Thread Dave Newton
Pham Anh Tuan wrote: > I just think that we can check request object, after that we check db > for specific username (360.yahoo.com/username), if it's exist, we will > view homepage of that username. > > The problem here, I don't know how to do that :( I had to recreate this usecase for a conversi

Is there an "IsInSet" or "IsInList" Tag already out there?

2006-04-10 Thread Rick Reumann
I'm going to be needing a tag similar to how struts' logic:present role="" tag works, but I need it to work with my own set of roles that are going to be in bean ( in List or Set). I can write my own, but I was wondering if one already existed. Something like.. (maybe an optional arg to de

-Tag inside a -Tag?

2006-04-10 Thread Klaus Rohwer
Hello together, I am trying to implement a search_form with a dynamic pull-down menu whose entries can be in different languages. Unfortunatelly, I can't put a -Tag inside a -Tag. At least I get the following exception: org.apache.jasper.JasperException: /search_form_advanced.jsp(48,126) equal

RE: Servlet Filter?

2006-04-10 Thread Frank W. Zammetti
On Mon, April 10, 2006 2:09 am, Quinn Stone said: > Frank, thanks for the link to javawebparts. The source code there helped > me a > great deal. Good deal, glad to hear it! > My next question is whether there's a mechanism by which I can stick an > ActionError in the request so that the error pa

RE: Proxy rewrites

2006-04-10 Thread George.Dinwiddie
If you put https://machine1/proxy/machine2//application/index.jsp";> into the head of your index.jsp, what is the redirect URL? > -Original Message- > From: Anil Arora [mailto:[EMAIL PROTECTED] > Sent: Friday, April 07, 2006 6:42 PM > To: Struts Users Mailing List > Subject: RE: Pro

RE: Reg: use of Application Resources

2006-04-10 Thread Shasirekha Engala
-Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Saturday, April 08, 2006 7:20 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Reg: use of Application Resources Yes, you can specify an alternate "bundle" in the relevant tags, and load the bundle in th

RE: Reg: use of Application Resources

2006-04-10 Thread Shasirekha Engala
I am thankful to you for the reply.Can I get some more information regarding the topic and if possible an example. Which site I have to refer for this? Thanks and regards Shasi -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Saturday, April 08, 2006 7:20 PM To: Struts

Re: [OT] Need information about books to buy

2006-04-10 Thread erikweber
-Original Message- >From: Ashish Kulkarni <[EMAIL PROTECTED]> >Sent: Apr 7, 2006 11:58 AM >To: user@struts.apache.org >Subject: [OT] Need information about books to buy > >Hi >I need to buy couple of books, 1 for AJAX, and 2 for >Webservices, >I know the basics of Ajax and Webservices, an

Re: struts validation problem

2006-04-10 Thread Madhav Bhargava
As a quick fix i changed the validator-rules.xml file. I added the following: *if (field == undefined) {* * isValid = true;* } else if { } I did this for required and mask rules. This solved the problem for me. Thanks for your response. Moreover with the version of validator framework i a

Struts 1.3 - WebSite/Docs

2006-04-10 Thread Dion Gillard
Any pointers to where to find details on the changes and details in 1.3? -- http://www.multitask.com.au/people/dion/ Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid of the dark, but because the dark is afraid of Chuck Norris

[ANN] JSP Controls Tag Library 0.6 has been released

2006-04-10 Thread Michael Jouravlev
New website, new features: * removed hardcoded Javascript from JSP tags, using Behaviour.js instead. * rewritten Tabbed Notebook tags - it cannot get simpler than that: <%@ page contentType="text/html;charset=UTF-8"%> <%@ taglib uri="http://jspcontrols.net/tags/core"; prefix="jc" %>

Re: how to include a "do" url?

2006-04-10 Thread Michael Jouravlev
You can check out how I use it. This is main website of my project, JSP Controls Tag Library: http://www.jspcontrols.net This is what you talked about: http://www.jspcontrols.net/struts.jsp Michael. On 4/9/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: > That's great! Thank you,Michael,for using yo