RE: access variable value in html tag

2004-03-26 Thread Steltner, Joern
t: RE: access variable value in html tag The Struts-EL is what I'd recommend, which supports exactly what you want to do, unless you're into (Tomcat 5 and the) JSP 2.0 then you'd just do: ${accounts.number} Otherwise I _think_ I've done this nastiness and it worked, but I migh

Re: Struts tag problem (bean:message and bean:write)

2004-03-26 Thread Dmitrii CRETU
Hello Marco, maybe this will help (using struts-el): Dima. Thursday, March 25, 2004, 6:02:54 PM, you wrote: MM> Hi all, MM> I was wondering if anyone of you have a solution MM> For this dilemma. MM> I have a collectin of product DTOs to show on my jsp. One of MM> DTO's property is,

Re: Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Daniel H A Lima
Marco, can you use bean:define and a scriptlet code inside bean:message ? Something like : --- Marco Mistroni <[EMAIL PROTECTED]> escreveu: > Hi all, > I was wondering if anyone of you have a solution > For this dilemma. > I have a collectin of product DTOs to show on my > jsp. One of

RE: Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Paul McCulloch
Something like Paul > -Original Message- > From: Marco Mistroni [mailto:[EMAIL PROTECTED] > Sent: 25 March 2004 16:03 > To: 'Struts Users Mailing List' > Subject: Struts tag problem (bean:message and bean:write) > > > Hi all, >

Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Marco Mistroni
Hi all, I was wondering if anyone of you have a solution For this dilemma. I have a collectin of product DTOs to show on my jsp. One of DTO's property is, let's say, the type, which is listed in number. (let's say, 10 or 20). ON the DTO I will have the value 10,20 ecc but on the jsp I have

RE: custom tag called with bean properties as attributes

2004-03-25 Thread Hibbs, David
> schaal_nummer=" property="schaalNummer"/>" This is a standard tag nesting error. You can't put tags inside of tag attributes. You CAN put scriptlets, such as your first tag... >property="profielSchalen&

custom tag called with bean properties as attributes

2004-03-25 Thread Kransen, J.
Hello, I'm trying to iterate through a collection of beans and call a custom tag for each bean. " schaal_naam="" ruwe_score="" gewogen_score=""

Re: EL Tag Libraries

2004-03-24 Thread Shaul Siboni
: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: RE: EL Tag Libraries Date: Wed, 24 Mar 2004 08:57:41 -0500 Why not use instead of ??? This works for me: - Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED] Sent: Wednesda

RE: EL Tag Libraries

2004-03-24 Thread Pat Quinn
lt;[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: RE: EL Tag Libraries Date: Wed, 24 Mar 2004 08:57:41 -0500 Why not use instead of ??? This works for me: - Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Pat Quinn [mailto:[EMAI

RE: EL Tag Libraries

2004-03-24 Thread Pady Srinivasan
Why not use instead of ??? This works for me: - Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 7:11 AM To: [EMAIL PROTECTED] Subject: EL Tag Libraries Hi Guys, I have an action form with a

EL Tag Libraries

2004-03-24 Thread Pat Quinn
Hi Guys, I have an action form with a get method (i.e. getValue(String)) which takes a string value, its working fine when i render the data in a text field. E.g. - Now i want to render the data as a label on screen i've tried using the tag lib but i cant get it to work

RE: Generating Tiles tags and Struts tags from with in another Custom Tag

2004-03-23 Thread Sreenivasa Chadalavada
ags from with in another Custom Tag If you are writing a tag,The output generated by your tag should be valid html. Because the life cycle is as follows. 1-->The ServletContainer gets a request for a particular page(In this case your .jsp page) 2-->The request being for a JSP page, the ser

RE: Generating Tiles tags and Struts tags from with in another Custom Tag

2004-03-23 Thread shirishchandra.sakhare
If you are writing a tag,The output generated by your tag should be valid html. Because the life cycle is as follows. 1-->The ServletContainer gets a request for a particular page(In this case your .jsp page) 2-->The request being for a JSP page, the servlet container decides to pass it

Generating Tiles tags and Struts tags from with in another Custom Tag

2004-03-23 Thread Sreenivasa Chadalavada
All, I wrote a custom tag that generates JSP code that includes struts tags and tiles tags. They are not getting interpreted by the JSP Container. Can you please let me know if it is possible? If it is possible are there any examples that help me understand the life cycle? Thanks and

RE: access variable value in html tag

2004-03-23 Thread Brian Buchanan
TML (non-struts tags): "> ._. -Original Message- From: Steltner, Joern [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 7:28 AM To: [EMAIL PROTECTED] Subject: access variable value in html tag Dear, I'm not an expert in Struts and Java. I need some simple help:

RE: access variable value in html tag

2004-03-19 Thread Robert Taylor
age- > From: Steltner, Joern [mailto:[EMAIL PROTECTED] > Sent: Friday, March 19, 2004 7:28 AM > To: [EMAIL PROTECTED] > Subject: access variable value in html tag > > > Dear, > > I'm not an expert in Struts and Java. I need some simple help: >

RE: access variable value in html tag

2004-03-19 Thread Colm Garvey
19 March 2004 12:28 To: [EMAIL PROTECTED] Subject: access variable value in html tag Dear, I'm not an expert in Struts and Java. I need some simple help: Everything works fine, but at ??? mark I would like take account.no_account like ${accounts.number}, but it doesn't work

access variable value in html tag

2004-03-19 Thread Steltner, Joern
Dear, I'm not an expert in Struts and Java. I need some simple help: Everything works fine, but at ??? mark I would like take account.no_account like ${accounts.number}, but it doesn't work. May someone can give me a small note about the right syntax to get the value from accounts.

tag and DynaActionForm

2004-03-09 Thread Poppe, Troy
I have an tag inside a tag, which points to one of my Struts Actions. My Action utilizes a DynaActionForm, in which I have defined several form-property entries. One of these form-property entries, lets call it "imageProperty" matches the property attribute of my tag, also &quo

Re: internationalizing html:option tag, force to lookup resource file

2004-03-08 Thread Niall Pemberton
The tag already has this facility - you can specify a "key" attribute. If however you want yo use the tag, there was an identical discussion on this list recently. You can find the start of that thread here.. http://www.mail-archive.com/[EMAIL PROTECTED]/msg93939.html Niall

RE: internationalizing html:option tag, force to lookup resource file

2004-03-08 Thread Jay Glanville
Currently, you need to use the tag, not the html:options or html:optionsCollection tags. The latter two do not support I18n. Therefore, you need to iterate over a collection, placing the resource key in the html:ooption's key attribute. Here's an example of

internationalizing html:option tag, force to lookup resource file

2004-03-08 Thread Keith Hyland
ish values appearing on the web page regardless of the locale that is set. What I want is for the one, two and three to be keys into the applicationResources.properties so that different locales can be setup. If this is not available would it be useful to write a tag to do this? Che

Problem with tag

2004-03-07 Thread Brian Boyle
Hi! I am writing an application with JSPs and I am using the struts framework. I am also using Struts JSP Tags in my JSP. I am having a problem with the tag. I have a do/while loop embedded in my JSP as a scriplet. Ths scriplet is inside my tags and it is giving me the following 3 errors

RE: Showing selected in struts option tag

2004-03-05 Thread Wendy Smoak
just wonder where you're storing your List of books after you retrieve it from the database. The problem seems to be that whatever Struts is calling 'getBooks()' on, does not have that method. Lets get that part cleared up, then I think there's a problem with your tag. -- We

RE: Showing selected in struts option tag

2004-03-05 Thread as as
Wendy, Sure there is a getBooks method. Shoud it return a java Collection, if so do I have to cast it into it>? My Hibernate Database based on sql returns it as "books" which in my action class comes out as java.util.List Thanks! Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: as as [mailto:[EMAIL

RE: Showing selected in struts option tag

2004-03-05 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] > > > > Gives me error: > javax.servlet.jsp.JspException: No getter method for property > books of bean org.apache.struts.taglib.html.BEAN I think it's looking for a getBooks() method in your form bean, which returns a Collection. Is that where getBook

RE: Showing selected in struts option tag

2004-03-05 Thread as as
formISBN); This isn't right: > If you want Struts to pre-select the correct item based on the value ofthe Form > bean, you have to use a Struts tag, in this case .Here is an example from > subscription.jsp of the struts-example webappthat came with Struts 1.1. > labelProperty=&

RE: Showing selected in struts option tag

2004-03-05 Thread as as
book.getISBN(); > bookForm.setISBN(formISBN); This isn't right: > If you want Struts to pre-select the correct item based on the value ofthe Form > bean, you have to use a Struts tag, in this case .Here is an example from > subscription.jsp of the struts-example we

RE: Showing selected in struts option tag

2004-03-05 Thread as as
you want Struts to pre-select the correct item based on the value ofthe Form > bean, you have to use a Struts tag, in this case .Here is an example from > subscription.jsp of the struts-example webappthat came with Struts 1.1. > labelProperty="label"/>You'll have to fig

RE: Showing selected in struts option tag

2004-03-05 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] Keep this, in the Action: > String formISBN= book.getISBN(); > bookForm.setISBN(formISBN); This isn't right: > If you want Struts to pre-select the correct item based on the value of the Form bean, you have to use a Struts tag, in thi

RE: Showing selected in struts option tag

2004-03-05 Thread as as
llows: httpsession.setAttribute("book", book); String formISBN= book.getISBN(); bookForm.setISBN(formISBN); ALso in my book.jsp, just above the select tag for struts drop down using , here is what I wrote: <% String selectedISBN= null; com.model.Book book= (com.model.Book)re

RE: Showing selected in struts option tag

2004-03-04 Thread as as
TED]> wrote: Actually, you can set the default value to the select attribute of the form bean anywhere before the tag. You can do it either in JSP or action class. I suggest doing it in your action class. For example: int defaultValue = getDefaultISBN(bookId); form.setISBN(defaultValue); ... R

RE: Showing selected in struts option tag

2004-03-03 Thread Vincent Lin
Actually, you can set the default value to the select attribute of the form bean anywhere before the tag. You can do it either in JSP or action class. I suggest doing it in your action class. For example: int defaultValue = getDefaultISBN(bookId); form.setISBN(defaultValue); ... Regards

RE: Showing selected in struts option tag

2004-03-03 Thread as as
drop down, with a default bookStoreName for each book).so this value is defualt for that row but not for the whole table /struts form so wondering how I can implement default to the whole form.in my books object in my logic:iterate tag, iterating over id=book Thanks in advance. sam Vincent

RE: Showing selected in struts option tag

2004-03-03 Thread Vincent Lin
our option collection. The select object will jump to "12345" (struts will give it a "selected" attribute in tag) when the page is loaded. Regard, Vincent --- as as <[EMAIL PROTECTED]> 的訊息:> Hi, > > OK. I tried the following and it works fine (shows > me

RE: Showing selected in struts option tag

2004-03-03 Thread as as
Hi, OK. I tried the following and it works fine (shows me the drop down.Thanks for the syntax, Wendy) I now want to show a default book as the selected item in the drop down.. how do I do it Thanks in advance. My code (working) below... Book: No books found in this site.

RE: url rewrite prob in tag

2004-03-03 Thread Wendy Smoak
> From: Mitchell, Glen (Corporate Channel Development) > On the page I use the following struts tag > > On the initial hit of the site this produces > src="http://host_name/images/x.gif:jsessionid=some_id_valu > e" .> > The browser does not load this a

url rewrite prob in tag

2004-03-03 Thread Mitchell, Glen (Corporate Channel Development)
I've posted this on Apache/Tomcat/Struts as unsure where appropriate I have a jsp page hosted on Apache 1.3.xxx/Tomcat 4.1.xxx config On the page I use the following struts tag On the initial hit of the site this produces http://host_name/images/x.gif:jsessionid=some_id_value"; .

RE: Showing selected in struts option tag

2004-03-02 Thread Wendy Smoak
ve > the getter for the BEAN property supervisor.wondering why. > Thanks in advance. > javax.servlet.jsp.JspException: No getter method for property > supervisors of bean org.apache.struts.taglib.html.BEAN You will need to study the documentation for the tag. It has many attributes,

RE: Showing selected in struts option tag

2004-03-02 Thread as as
Wendy, Sounds good. So updateAccounts() is in the jsp..I have similar functionality to update the backend struts classes on changing the value in this drop downm, especially wondering how to tie in struts with javascript becuase i want to do something like the following in my javascript functi

RE: Showing selected in struts option tag

2004-03-02 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] > Thanks for the prompt reply.Had a quick question. > where do we mention this method? in the form's action class? > updateAccounts(); It's in the 'onchange' attribute of . The docs are here: http://jakarta.apache.org/struts/userGuide/struts-html.html#sele

RE: How do I get a cookie under a different path within the same domain with bean:cookie tag?

2004-03-02 Thread Lee, Yau-Pang
m: Dhaliwal, Pritpal (HQP) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 3:00 PM To: 'Struts Users Mailing List' Subject: RE: How do I get a cookie under a different path within the same domain with bean:cookie tag? Some cookie spec says: The path attribute is used to specify

RE: How do I get a cookie under a different path within the same domain with bean:cookie tag?

2004-03-02 Thread Dhaliwal, Pritpal (HQP)
List' Subject: How do I get a cookie under a different path within the same domain with bean:cookie tag? Is it possible to retrieve the cookie at: www.abcd.com/cookie/path from www.abcd.com/another/path - To unsubscribe, e-

How do I get a cookie under a different path within the same doma in with bean:cookie tag?

2004-03-02 Thread Lee, Yau-Pang
Is it possible to retrieve the cookie at: www.abcd.com/cookie/path from www.abcd.com/another/path - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Showing selected in struts option tag

2004-03-02 Thread as as
Wendy, Thanks for the prompt reply.Had a quick question. where do we mention this method? in the form's action class? updateAccounts(); Meanwhile I am running the new code so I will post my results shortly. Thanks, Samy Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: as as [mailto:

RE: Showing selected in struts option tag

2004-03-02 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] > > > > > > ="employeeID"/>"> > > > > > > > > An example from my project that may get you started: You can drop the '-el' in the tags, there are no expressions in this one anyway. The docs for and are here: http://jakarta.apache.org/str

Showing selected in struts option tag

2004-03-02 Thread as as
Hi, Here is my code > > > > Supervisor: > > > > > > "> > > > > > > > Please let me know how I can accomplish the same. - Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster.

Re: replacing messages tag with fmt tag - can both exist at 1x?

2004-03-01 Thread James Mitchell
MAIL PROTECTED]> Sent: Monday, March 01, 2004 10:16 AM Subject: replacing messages tag with fmt tag - can both exist at 1x? > does anyone have the messages tag working in the same application as the fmt > tag using the fmt tag for displaying messages in some pages and messages for > oth

replacing messages tag with fmt tag - can both exist at 1x?

2004-03-01 Thread Menke, John
does anyone have the messages tag working in the same application as the fmt tag using the fmt tag for displaying messages in some pages and messages for other pages? can you implement both at once? - To unsubscribe, e-mail

RE: Xhtml tag usage question

2004-02-26 Thread Renato Romano
- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: giovedì 26 febbraio 2004 12.36 To: Struts Users Mailing List Subject: Re: Xhtml tag usage question Unfortunately it saves the xhtml 'flag' in page scope so there isn't much you can do about it. Background: BaseHandlerTag

Re: Xhtml tag usage question

2004-02-26 Thread Niall Pemberton
#x27;xhtml' versions - all you would have to do is override the isXhtml() method there. For example public class XhtmlTextTag extends TextTag public XhtmlTextTag () { super(); } protected boolean isXhtml() { return true; } } So I think you have a few options: - put the

Xhtml tag usage question

2004-02-26 Thread Renato Romano
I tried to insert the xhtml tag in my pages, but the only way I found is to insert it in each tile that composes my page. It seems it is not sufficient to put it in the template file, or in the page using the template. Is there a better approach ? Any help is appreciated Renato

RE: Nested nest Tag

2004-02-25 Thread Paul McCulloch
That should be fine as well. I'd test that you can read the property first before trying to write it: Paul > -Original Message- > From: Daniel, Gillian [mailto:[EMAIL PROTECTED] > Sent: 25 February 2004 18:07 > To: Struts Users Mailing List > Subject:

RE: Nested nest Tag

2004-02-25 Thread Daniel, Gillian
the nested:nest tag, and the property taskTitle does not get set. Is there a way I can force the jsp to sometimes submit an LocDTO rather than the SccDTO?? Thanks again, Gillian Daniel -Original Message- From: Daniel, Gillian Sent: 25 February 2004 16:27 To: Struts Users Mailing List

RE: Nested nest Tag

2004-02-25 Thread Daniel, Gillian
lloch [mailto:[EMAIL PROTECTED] Sent: 25 February 2004 16:23 To: 'Struts Users Mailing List' Subject: RE: Nested nest Tag Have you tried using the LocDTO properties? I think it will just work - Struts uses bean utils which looks at the object you are trying to operate on, rather than

RE: Nested nest Tag

2004-02-25 Thread Paul McCulloch
February 2004 14:31 > To: [EMAIL PROTECTED] > Subject: Nested nest Tag > > > Hi there, I am using Struts 1.1 and Java SE 1.4.2.02 and Java EE 1.4 > > > > I have an object called SccDTO.java which is extended by many objects, > but I will use LocDTO,java

Nested nest Tag

2004-02-25 Thread Daniel, Gillian
Hi there, I am using Struts 1.1 and Java SE 1.4.2.02 and Java EE 1.4 I have an object called SccDTO.java which is extended by many objects, but I will use LocDTO,java as the example here. In my SccBean.java - which extends the ValidatorForm - I have getter and setter methods for a SccDTO ob

Re: Struts Tag Lib Documentation/Tutorials

2004-02-25 Thread Niall Pemberton
http://jakarta.apache.org/struts/userGuide/index.html If you look at the second part of the menu of the left titled "Developer Guides" you can see the all the different tag packages guides. Niall - Original Message - From: "Kommineni, Sateesh (GE Consumer & I

Struts Tag Lib Documentation/Tutorials

2004-02-25 Thread Kommineni, Sateesh \(GE Consumer & Industrial\)
Hi All, Could any one of you pls let me know URL's to find the Documentation of the Struts TagLibs .. Thanks Sateesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Loading attributes into a tag attribute

2004-02-24 Thread Richard Yee
rikes me that there is probably a better, > cleaner way to do this. > How would you use JSTL to do this? Originally, I > wanted to use JSTL but > it appears that the c:set tag doesn't make startDate > available as a > scripting value. > > >

Loading attributes into a tag attribute

2004-02-24 Thread Mike Zatko
there is probably a better, cleaner way to do this. How would you use JSTL to do this? Originally, I wanted to use JSTL but it appears that the c:set tag doesn't make startDate available as a scripting value. Mike Zatko * I know this topic has probably been covered before but the mailing l

RE: Must have action="....." in tag?

2004-02-24 Thread Guillermo Meyer
Struts places mapping name in the request before redirecting to the JSP We extended FormTag and allows action not to be mandatory. If no action is defined in the tag, we have the following code to get action name: ActionMapping mapping = (ActionMapping)pageContext.getRequest().getAttribute

RE: Must have action="....." in tag?

2004-02-23 Thread Au-Yeung, Stella H
st Subject: RE: Must have action="." in tag? Well, as the others said DispatchAction is the way to go. Since, you already have two separate Actions defined, I thought it may be worthwhile to give my idea a try. What I meant was, instead of a "submit" button , use a nor

RE: Must have action="....." in tag?

2004-02-23 Thread Khalid K.
: 'Struts Users Mailing List' Subject: RE: Must have action="." in tag? Ramadoss: That's what I did already in one of my original version. My reason of posting to this group is because doesn't allow me to use a dynamically assigned "action" (such as

RE: Must have action="....." in tag?

2004-02-23 Thread Au-Yeung, Stella H
Ramadoss: That's what I did already in one of my original version. My reason of posting to this group is because doesn't allow me to use a dynamically assigned "action" (such as one I set in my Javascript function to replace the one I have within the tag. -Origin

RE: Must have action="....." in tag?

2004-02-23 Thread Ramadoss Chinnakuzhandai
Subject: RE: Must have action="." in tag? Shyam: I am not sure what you mean, can you elaborate that? The current form only has one 'submit' button. After the user fills in data on the current form, I want the data to be submitted to the DB and then automatically be taken

RE: Must have action="....." in tag?

2004-02-23 Thread Shyam A
ic > > My user only wants "ONE" submit button on "theForm" > and the application > should be smart enough to return to the correct > 'previous' page. > > > > > -Original Message- >

Re: Must have action="....." in tag?

2004-02-23 Thread Geeta Ramani
Stella: Any time you incorporate Javascript into your app, you have to wonder if things will work now/ever/always in this/that/other browser. So avoiding everything except the most basic javascript may be a good idea. What you want to do can be done more cleanly (just in my opinion though) in th

RE: Must have action="....." in tag?

2004-02-23 Thread Au-Yeung, Stella H
ion". That's why has to be dynamic My user only wants "ONE" submit button on "theForm" and the application should be smart enough to return to the correct 'previous' page. -Original Message

RE: Must have action="....." in tag?

2004-02-23 Thread Hubert Rabago
uot;/app/fdd/shopWorkOrder/fromUpdateShopWorkOrder"; > > >} > > > > > >return true; > > > } > > > > > > > > > > > > > > > > > class="com.cat.sdl.fdd.formBean.shopWorkOrder.ShopWorkOrderForm"/&g

RE: Must have action="....." in tag?

2004-02-23 Thread Paul, R. Chip
here some reason why this has to be done via javascript? Chip -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:52 PM To: 'Struts Users Mailing List' Subject: RE: Must have action="." in tag? Paul and Hubert:

RE: Must have action="....." in tag?

2004-02-23 Thread Au-Yeung, Stella H
WorkOrder.ShopWorkOrderForm"/> > > -Original Message- From: Paul, R. Chip [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 5:23 PM To: 'Struts Users Mailing List' Subject: RE: Must have action="." in tag? You can't. Correct me if

RE: Must have action="....." in tag?

2004-02-23 Thread Shyam A
d/shopWorkOrder/fromUpdateShopWorkOrder". > But I want whichever one > to be chosen to be "dynamically". So how I do that > all within the > tag? > > -Original Message----- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Monday, February 23, 2004 4:

RE: Must have action="....." in tag?

2004-02-23 Thread Paul, R. Chip
: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:13 PM To: 'Struts Users Mailing List' Subject: RE: Must have action="." in tag? But I don't always want "/app/fdd/shopWorkOrder/fromCreateShopWorkOrder" to be my action all th

RE: Must have action="....." in tag?

2004-02-23 Thread Hubert Rabago
er" and "/app/fdd/shopWorkOrder/fromUpdateShopWorkOrder". But I want whichever one to be chosen to be "dynamically". So how I do that all within the tag? --- Hubert Rabago <[EMAIL PROTECTED]> wrote: > I never said anything close to what you're asking me. &

RE: Must have action="....." in tag?

2004-02-23 Thread Au-Yeung, Stella H
m) to pick the action "dynamically". In other words, I have in my struts-config.xml file for both path "/app/fdd/shopWorkOrder/fromCreateShopWorkOrder" and "/app/fdd/shopWorkOrder/fromUpdateShopWorkOrder". But I want whichever one to be chosen to be "dynamicall

RE: Must have action="....." in tag?

2004-02-23 Thread Hubert Rabago
how do I do everything that the > function submitForm() does to dynamically pick an action all within the > tag? > > -Original Message- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Monday, February 23, 2004 4:36 PM > To: Struts Users Mailing List > Subject

RE: Must have action="....." in tag?

2004-02-23 Thread Au-Yeung, Stella H
Hubert: Can you elaborate that In othe words, how do I do everything that the function submitForm() does to dynamically pick an action all within the tag? -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:36 PM To: Struts Users

Re: Must have action="....." in tag?

2004-02-23 Thread Hubert Rabago
Specify the Action associated with "fromCreateShopWorkOrder" or "fromUpdateShopWorkOrder" in the attribute. --- "Au-Yeung, Stella H" <[EMAIL PROTECTED]> wrote: > Hi: > My tag doesn't allow me to skip an 'action' attribue. If you &g

Must have action="....." in tag?

2004-02-23 Thread Au-Yeung, Stella H
Hi: My tag doesn't allow me to skip an 'action' attribue. If you look at my code below, I move the assignment of the 'form action' to the javascript function so which action to take is dynamically depends on the form element 'whichAction'. But the compile

RE: tag doesn't recognize Struts dataBean property's value

2004-02-23 Thread Au-Yeung, Stella H
ruts Users Mailing List Subject: Re: tag doesn't recognize Struts dataBean property'svalue Jumping in here.. yes, I think you need to trim() before you check. Also, if that too doesn't work, can you check for something "positive" (like if "ShopOrderExist" is

Re: tag doesn't recognize Struts dataBean property'svalue

2004-02-23 Thread Geeta Ramani
ot;..?). Another thought, try to get this to work just using oridinary jsp tags and java code (<% java code here %>) and see oif things work. Than you can narrow the problem down to tag issues.. Good luck! Geeta "Au-Yeung, Stella H" wrote: > Niall: > I did what you suggeste

RE: tag doesn't recognize Struts dataBean property's value

2004-02-23 Thread Au-Yeung, Stella H
value of "shopOrderExist" such as .trim() or convert to "true" before letting it be compared in the logic:equal tag? < ADDED -Original Message- From: Niall Pemberto

RE: tag doesn't recognize Struts dataBean property's value

2004-02-23 Thread Au-Yeung, Stella H
why I thought my is not correct. -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 11:16 AM To: Struts Users Mailing List Subject: Re: tag doesn't recognize Struts dataBean property's value I doubt the problem is . Y

Re: tag doesn't recognize Struts dataBean property's value

2004-02-23 Thread Khalid K.
There is an error in your JSP. IF that is the complete jsp post, then you are missing the closing iterate tag "" So anything between the interate tag is not being evaulated, I bet if you look at the rendered html output source, you will actually see the "" tags Kha

Re: tag doesn't recognize Struts dataBean property's value

2004-02-23 Thread Niall Pemberton
Yeung, Stella H" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 23, 2004 3:34 PM Subject: tag doesn't recognize Struts dataBean property's value > Hi: > In my struts-based application I am using a tag in my JSP page > to print two link

tag doesn't recognize Struts dataBean property's val ue

2004-02-23 Thread Au-Yeung, Stella H
Hi: In my struts-based application I am using a tag in my JSP page to print two links depends on the value of a struts-based databean's property. Bacially on this JSP page, a list of records wil be displayed. Next to each record, either a "Create" link or an "Update"

Re: html link tag

2004-02-18 Thread Geeta Ramani
Hi! Replace Add An Employee by Add An Employee and it should work.. Regards, Geeta struts fox wrote: > I just did an example strust project in JBuilder, and it works. > I have a jsp with a form that issues an action that forwards to itself and it works. > > Now I wanted to just do a html link t

Re: Conditional tag for method results

2004-02-18 Thread Niall Pemberton
nan, Jayesh" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 9:33 PM Subject: RE: Conditional tag for method results > You will need to create a simple custom tag for this. > Its pretty sim

RE: Conditional tag for method results

2004-02-18 Thread Avinash Gangadharan
Exactly I thought so and that is why in my question I asked "if I can replace the following with a much better looking tag library usage " I wanted to make sure there is'nt something already out there which I can simply use. Moreover I do think that the struts logic tag should

RE: Conditional tag for method results

2004-02-18 Thread Gopalakrishnan, Jayesh
You will need to create a simple custom tag for this. Its pretty simple, & plenty of samples are available. -jayash -Original Message- From: Avinash Gangadharan [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 1:20 PM To: '[EMAIL PROTECTED]' Subject: RE: Condi

RE: Conditional tag for method results

2004-02-18 Thread Avinash Gangadharan
pass from within the JSP for evaluating the result. Thx A -Original Message- From: Niall Pemberton To: Struts Users Mailing List Sent: 2/18/2004 1:07 PM Subject: Re: Conditional tag for method results Yo can either use the Struts "logic" tags, or the standard tag library (J

Re: Conditional tag for method results

2004-02-18 Thread Niall Pemberton
Yo can either use the Struts "logic" tags, or the standard tag library (JSTL) JSTL: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html Struts Logic Tags: http://jakarta.apache.org/struts/userGuide/struts-logic.html Niall - Original Message - From: "Avin

Conditional tag for method results

2004-02-18 Thread Avinash Gangadharan
Hello All, I'm fairly new to the world of struts so pardon me if this has already been asked. Could someone tell me if I can replace the following with a much better looking tag library usage: <% if( foo.method( "xyz" ) ) { %> Submit % } %> You can a

html link tag

2004-02-18 Thread struts fox
I just did an example strust project in JBuilder, and it works. I have a jsp with a form that issues an action that forwards to itself and it works. Now I wanted to just do a html link to call the action from a new generic jsp page and it doesn't work. Add An Employee but it says error resourc

Struts tag external resource?

2004-02-17 Thread Bjørn T Johansen
I need to configure my IDE with an external link, as well as local, to the tld tag files, so I was just wondering which URI I can use for the external resource files? Regards, BTJ - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Error Start Tag Exception

2004-02-16 Thread Betty Koon
Subject: Re: Error Start Tag Exception Hi Betty, I think you need to set the 'message' attribute to false here, as the tag is looking for an ActionMessage instance, not an ActionError one (which is what you get in the loop created by the tag). Here's a snippet of an implement

Re: nested tag problem - image not shown

2004-02-16 Thread lixin chu
prolem found: need to use relative path : ~~~ --- hi, i am trying the nexted MOnkey example, everything works fine except that the image is not shown. In my TreeNode.jsp: The only difference is that TreeNod

Re: Error Start Tag Exception

2004-02-16 Thread Curtis Taylor
Hi Betty, I think you need to set the 'message' attribute to false here, as the tag is looking for an ActionMessage instance, not an ActionError one (which is what you get in the loop created by the tag). Here's a snippet of an implementation I've used:

Re: Error Start Tag Exception

2004-02-16 Thread Niall Pemberton
changed from processing ActionErrors/ActionError to ActionMessages/ActionMessage from struts 1.1 to struts 1.2 - the most obvious cause of this is your app generating ActionMessages/ActionMessage messages but the tag is struts 1.1 version. Are you sure you are deploying the nightly build jars to

  1   2   3   4   5   6   7   8   9   10   >