user-tiles-definitions-config.xml

2002-06-26 Thread Carlos Fernandez



Is there a way that 
you can use more than one user-tiles-definitions-config.xml file? Currently we 
have an application that uses only one and it's getting veryhard for UI 
people to access it, due to the "traffic" on that file.

Thanks.

Carlos
x356

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


i18n

2002-06-18 Thread Carlos Fernandez



Does anyone know how 
to get the data stored in "value" from de action class?

i18n:imagepageproperty="buttonEditImage"altProperty="buttonEditText"property="action"value="Edit_Coverage"border="0"/


Thanks


-Carlos.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: i18n

2002-06-18 Thread Carlos Fernandez

WEll, that code is placed in the JSP. It's a button. I want to know when the
button is pressed. Is that clear enough?

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 12:12 PM
To: Struts Users Mailing List
Subject: RE: i18n


You'll have to restate your question with a little more clarity please.
I, personally, have no clue what it is you need.

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://struts-atlanta.open-tools.org

  -Original Message-
  From: Carlos Fernandez [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, June 18, 2002 11:52 AM
  To: Struts (E-mail)
  Subject: i18n


  Does anyone know how to get the data stored in value from de action
class?

  i18n:image
   pageproperty=buttonEditImage
   altProperty=buttonEditText
   property=action
   value=Edit_Coverage
   border=0/


  Thanks


  -Carlos.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: i18n

2002-06-18 Thread Carlos Fernandez

Nope. I will put it this way. I have 3 buttons un my JSP. Cancel, continue
and Edit. How do I know which button was pressed in my action class?. The
way how I implement the buttons is : 

   i18n:image
pageproperty=buttonEditImage
altProperty=buttonEditText
property=action
value=Edit_Coverage
border=0/

That example goes for the edit button.

-Carlos


-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 2:29 PM
To: Struts Users Mailing List
Subject: RE: i18n


I'm assuming by your using the property=action, that you have a field on
your form for action (getAction() and setAction())

MyActionForm frm = (MyActionForm) form;
String action = frm.getAction()
if (action != null) {
  // insert code here
}

You might also look into the DispatchAction, its very easily implemented and
it can be a real timesaver.
See Chuck's book (Chapter 5 around page 23)
You can get review online at:
http://www.theserverside.com/resources/strutsreview.jsp




James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://struts-atlanta.open-tools.org

 -Original Message-
 From: Carlos Fernandez [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 18, 2002 1:24 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: i18n


 WEll, that code is placed in the JSP. It's a button. I want to
 know when the
 button is pressed. Is that clear enough?


 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 18, 2002 12:12 PM
 To: Struts Users Mailing List
 Subject: RE: i18n


 You'll have to restate your question with a little more clarity please.
 I, personally, have no clue what it is you need.

 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://struts-atlanta.open-tools.org

   -Original Message-
   From: Carlos Fernandez [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, June 18, 2002 11:52 AM
   To: Struts (E-mail)
   Subject: i18n


   Does anyone know how to get the data stored in value from de action
 class?

   i18n:image
pageproperty=buttonEditImage
altProperty=buttonEditText
property=action
value=Edit_Coverage
border=0/


   Thanks


   -Carlos.



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




mapping

2002-06-06 Thread Carlos Fernandez



Hi 
There,

Can someone tell me 
the best way to know which page I am coming from?. I have a clue using mapping 
object in the action class. This is the scenario : The first page is a data 
entry one. Once you put the fields you click continue and go to the summary one 
that will ask to confirm the values just entered. This second page has two 
buttons "edit" and "continue".

If I click "edit" 
button, I have to come back to the first page with the valuesI entered 
beforein the fields. The question is : The first page gets invoked from 
two different pagesthe previous one (that invokes it the first time) and 
from the summary one. I need to know which page invoked it. Any ideas? 


Carlos 
Fernandez
www.s1.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: mapping

2002-06-06 Thread Carlos Fernandez

I keep that to myself, if you know how to do it, I'd appreciate your answer
and help, otherwise thanks!

Carlos Fernandez
www.s1.com

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 1:09 PM
To: 'Struts Users Mailing List'
Subject: RE: mapping


Why do you need to know which page invokes the data entry page?

-Original Message-
From: Carlos Fernandez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 12:00 PM
To: Struts
Subject: mapping


Hi There,

Can someone tell me the best way to know which page I am coming from?. I
have a clue using mapping object in the action class. This is the scenario :
The first page is a data entry one. Once you put the fields you click
continue and go to the summary one that will ask to confirm the values just
entered. This second page has two buttons edit and continue.

If I click edit button, I have to come back to the first page with the
values I entered before in the fields. The question is : The first page gets
invoked from two different pagesthe previous one (that invokes it the
first time) and from the summary one. I need to know which page invoked it.
Any ideas?

Carlos Fernandez
www.s1.com http://www.s1.com



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Button pressed

2002-06-03 Thread Carlos Fernandez



Hi 
guys,

I'd like to know if 
there is a way that I will know which button was pressed. I have two buttons in 
the JSP (Edit and Continue). In my action class I need to know which one of 
those was pressed.

Thanks in 
advance.

Carlos.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: Button pressed

2002-06-03 Thread Carlos Fernandez

Thanks guys, but...as a company policy, we are not suppose to use java
script.

-Carlos.

-Original Message-
From: Bharat Nagwani [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 2:39 PM
To: Struts Users Mailing List
Subject: Re: Button pressed


one more alternative
create a hidden field and assign a value to it (edit or continue) using
javascript

and check that hidden field in request.getParameter...

At 02:26 PM 6/3/2002 -0400, you wrote:
Hi guys,

I'd like to know if there is a way that I will know which button was
pressed. I have two buttons in the JSP (Edit and Continue). In my action
class I need to know which one of those was pressed.

Thanks in advance.

Carlos.
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]