Re: How to include CSS file in struts

2007-11-23 Thread John Bell
If you look at the struts2-showcase and see where they are there. They are in the root directory (WebContent) under styles. In the JSPs I had to use the full path to the style sheet as relative paths did not seem to work after calling an action. There is a description if you search the archives.

Re: param tag won't work!

2007-11-23 Thread slideharmony
well actually I've also tried with href=#url but it doesn't work yet.. newton.dave wrote: Is it rendering properly? (I'm actually a little surprised you don't have to use the # character, eg. href=#url--I thought you did.) --- slideharmony [EMAIL PROTECTED] wrote: hi, I'm

RE: How to include CSS file in struts

2007-11-23 Thread Martin Gainty
Hellopathing scenarios with css are *usually* relative to the tag which invokes the stylesheet I would recommend creating a base css property which you could then use in your build-script e.g. http://mail-archives.apache.org/mod_mbox/struts-dev/200012.mbox/[EMAIL PROTECTED] dojo javascript

remote div diff behavior in 2.1.x

2007-11-23 Thread Giovanni Azua
hi, Sorry I tested example1.jsp and it is not the same use-case as mine. If you try example4.jsp in the showcase under Ajax remote DIV you will see the same problem I have happening there i.e. you have to wait 5 seconds while it displays loading now which I think is wrong. Now I strongly

Re: Wizard like Screens

2007-11-23 Thread Gary Affonso
My suggestion would be to checkout the scope plug-in or WebFlow and the WebFlow plug-in. - Gary Radha Krishna wrote: Hi, I have a wizard like screen where i need to pass the selected values (2 text box) at first page to last page,last page to again first page. Can anyone tell me the

RE: [Dojo] Pass topic parameters to action

2007-11-23 Thread Engelking, Nicholas
s:url var=ajaxTest action=AjaxInfo s:param name=uid value=userid / /s:url a onmouseover=dojo.event.topic.publish('/request')Show Info/a sx:bind listenTopics=/request href=%{#ajaxTest} targets=userInfoBar/ Should work just fine. The url already has userid added to it. You can also wire

RE: remote div diff behavior in 2.1.x

2007-11-23 Thread Martin Gainty
It would be helpful to know a bit more detail such as whether or not you're using XhrPost and progid for XMLHttpRequest connection objectWhich Version of Dojo are you implementing with?Which version Browser?Bedankt Martin __Disclaimer and

Re: is there any book on struts 2 in the market.................

2007-11-23 Thread stanlick
http://www.manning.com/dbrown/ On Nov 22, 2007 5:07 AM, wicketshafi [EMAIL PROTECTED] wrote: Hello,, is there any book on struts2 in the market... if it is there please send a message. regards -Shafi -- View this message in context:

Re: [Dojo] Pass topic parameters to action

2007-11-23 Thread Musachy Barroso
if you use the formId attribute, that form will be submitted in the request. musachy On Nov 23, 2007 11:03 AM, Engelking, Nicholas [EMAIL PROTECTED] wrote: s:url var=ajaxTest action=AjaxInfo s:param name=uid value=userid / /s:url a onmouseover=dojo.event.topic.publish('/request')Show

Issue with Type Conversion and Select Boxes

2007-11-23 Thread Gunnar Hillert
Hi, I am using Struts 2.0.11. I am running into an issue when using type converters and pre-populating corresponding select boxes. I defined a type converter in xwork-conversion.properties and everything works for normal text fields (converter is called perfectly). The problem I have occurs

Wizard like Screens

2007-11-23 Thread Radha Krishna
Hi, I have a wizard like screen where i need to pass the selected values (2 text box) at first page to last page,last page to again first page. Can anyone tell me the best solution how could i achive this without storing values in to Session? Thanks.

struts2 blank application request parameters

2007-11-23 Thread slideharmony
I'm really going crazy with struts2 and request parameters, for example look at the following struts2blankapplication code: h3Languages/h3 ul li s:url id=url action=HelloWorld s:param name=request_localeen/s:param /s:url s:a href=%{url}English/s:a

Re: param tag won't work!

2007-11-23 Thread slideharmony
no, it's not! it doesn't render nothing.. newton.dave wrote: Is it rendering properly? --- slideharmony [EMAIL PROTECTED] wrote: well actually I've also tried with href=#url but it doesn't work yet.. newton.dave wrote: Is it rendering properly? (I'm actually a

Re: param tag won't work!

2007-11-23 Thread Dave Newton
Is it rendering properly? --- slideharmony [EMAIL PROTECTED] wrote: well actually I've also tried with href=#url but it doesn't work yet.. newton.dave wrote: Is it rendering properly? (I'm actually a little surprised you don't have to use the # character, eg.

Re: remote div diff behavior in 2.1.x

2007-11-23 Thread Giovanni Azua
The showcase 2.1.1 remote DIV example1.jsp works just fine. It immediately calls the action that renders the DIV upon start i.e. you never see the Initial Content message because the DIV is rendered immediately. The only difference between my code and the showcase example AFAICT is that I

S:iterator

2007-11-23 Thread Rajagopal_Yendluri
Hi .. Here is my Requirement: I am getting a list of colleges from Database and displaying it in a page like the following: I have the college POJO List and I will displayL CollegeId CollegeName 123456789 Abcdefghijkl I know how to do the above :

Re: remote div diff behavior in 2.1.x

2007-11-23 Thread Giovanni Azua
btw Sorry I missed including that I experience this issue with Struts 2.1.1 build yesterday from svn ... I know, I love living on the edge :) no seriously for my app I have only found this little small issue everything else works like a dream :) Best regards, Giovanni Giovanni Azua wrote:

remote div diff behavior in 2.1.x

2007-11-23 Thread Giovanni Azua
hi! In version 2.0.x the remote DIV UI tag was initially rendering the content of the DIV by immediately invoking the target action. In version 2.1.x on the other hand, remote DIV does not initially render the content of the target action, I did some research and tried using the new

Accessing Database fields using struts

2007-11-23 Thread Unnikrishnan
Hello I would like to know how to get field values into a combo box. I am using EJB/struts and IDE netbeans. could any one help me out or give me a URL so that I can check it Thanks Unnikrishnan -- View this message in context:

Re: param tag won't work!

2007-11-23 Thread slideharmony
ok, hope to find the solution slideharmony wrote: hi, I'm using the following code in my jsp: s:url id=url action=Test s:param name=test value=test/ /s:url s:a href=%{url}Link/s:a the following code for my action: package prova.actions; import java.util.Iterator;

RE: param tag won't work!

2007-11-23 Thread Rajagopal_Yendluri
It seems everything is correct, let me try the same on my machine.. -Original Message- From: slideharmony [mailto:[EMAIL PROTECTED] Sent: Friday, November 23, 2007 2:53 PM To: user@struts.apache.org Subject: Re: param tag won't work! well actually I've also tried with href=#url

RE: problem There is no Action mapped for namespace / and action name hellome. -

2007-11-23 Thread Rajagopal_Yendluri
Struts.xml should be in WEB-INF\classes folder. Try it out... If not Change the s:url as follows: s:a href=s:url action=HelloWorldAction / Say Hello !!! /s:a Regards, Rajagopal Y (Raj) HCU-Consulting Enterprise Solutions. Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.

RE: problem There is no Action mapped for namespace / and action name hellome. -

2007-11-23 Thread kushi
structs.xml is placed at C:\Documents and Settings\Admin\structExample\src\java\structs.xml action is called in index.jsp like s:url action= /s:urlHello Rajagopal_Yendluri wrote: Where is your struts.xml placed How you are invoking the action from your jsp ??? Regards,