Re: logic:iterate problem

2003-09-27 Thread Manfred Wolff
Thats not. You use something like  or an other tag that 
uses message resources. But the Struts-Framework can't find the 
resourceBundle..

Manfred

Gregory F. March wrote:

Make sure your getters and setters conform to the Java naming conventions - I 
got burned by something similar and that was the root cause...

HTH...

/greg

On Sep 26, 2003, "MaFai" <[EMAIL PROTECTED]>  wrote:

|Hello, struts-user,
|
|[code]
|
|
|
|
|[/code]
|
|customers is set by request.setAttribute
|
|pps is string value.
|testb is a int value
|
|If remove the testb ,it run smoonthly.
|If change testb to boolean,it also run smoothly.
|Otherwise
|
|It always throw the exception
|
|org.apache.jasper.JasperException: Cannot find message resources under key or
| g.apache.struts.action.MESSAGE
|
|Why?I'm stun at these 2 days.
|
|
|
|
|
|Best regards. 
|
|MaFai
|[EMAIL PROTECTED]
|2003-09-26
|
|
|
|-
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]



--
Gregory F. March-=-http://www.gfm.net:81/~march-=-AIM:GfmNet


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

--
===
Dipl.-Inf. Manfred Wolff
---
phone neusta  : +49 421 20696-27
phone : +49 421 534522
mobil : +49 178 49 18 434
eFax  : +49 1212 6 626 63 965 33
---

Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich geschützte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese 
Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



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


Re: logic:iterate problem

2003-09-26 Thread Gregory F. March

Make sure your getters and setters conform to the Java naming conventions - I 
got burned by something similar and that was the root cause...

HTH...

/greg

On Sep 26, 2003, "MaFai" <[EMAIL PROTECTED]>  wrote:

 |Hello, struts-user,
 |
 |[code]
 |
 |
 |
 |
 |[/code]
 |
 |customers is set by request.setAttribute
 |
 |pps is string value.
 |testb is a int value
 |
 |If remove the testb ,it run smoonthly.
 |If change testb to boolean,it also run smoothly.
 |Otherwise
 |
 |It always throw the exception
 |
 |org.apache.jasper.JasperException: Cannot find message resources under key or
 | g.apache.struts.action.MESSAGE
 |
 |Why?I'm stun at these 2 days.
 |
 |
 |
 |
 |
 |Best regards. 
 |
 |MaFai
 |[EMAIL PROTECTED]
 |2003-09-26
 |
 |
 |
 |-
 |To unsubscribe, e-mail: [EMAIL PROTECTED]
 |For additional commands, e-mail: [EMAIL PROTECTED]




--
Gregory F. March-=-http://www.gfm.net:81/~march-=-AIM:GfmNet



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



Re: logic:iterate problem

2003-09-20 Thread Bryce Fischer
uhh.. Never mind. Figured it out. Told you all it would be something
stupid.

Forgot to add the <%@ taglib uri="/tags/struts-bean" prefix="bean"%>...

Sorry to waste bandwidth.

-- 
Bryce Fischer <[EMAIL PROTECTED]>


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



Re: logic:iterate problem

2003-09-19 Thread Bryce Fischer
To partially answer my own question, I changed this:

> 
> CenterTitleTotal
>  type="com.berzerkersoft.bisweb.db.ejb.value.CenterBrowseValue">
>   
>   
>   
> 
> 

to read:


CenterTitleTotal


Element Value: 




and I get the exact number of "Element Value: " outputs, but no output
from the bean tag So something must be wrong with the bean tag or
the way I have my id declared...

-- 
Bryce Fischer <[EMAIL PROTECTED]>


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



Re: logic:iterate problem with jsp:include tags

2002-07-02 Thread Kubo Hiroshi



The problem seems to be involved in output buffer.
Try flushing the buffer :




From: "Jeremy Haile" <[EMAIL PROTECTED]>
Subject: logic:iterate problem with jsp:include tags
Date: Tue, 2 Jul 2002 19:20:47 +

> I have a strange problem with the logic:iterate tag.  I have used this
> tag numerous numerous times (not in this context however) and have
> never seen this type of problem.
> 
> First, I will explain the symptoms:
> 
> Say my page is laid out in five sections: A, B, C, D, E and a
> logic:iterate tag encompasses the whole page (all 5 sections)
> 
> Now lets say sections A, C, and E are  tags
> and sections B and D are html segments.
> 
> When the page is displayed, it will display in the order of A, C, E, B,
> D.  ALL of the jsp include tag segments get lumped into one location. 
> Why would this occur?  Am I doing something wrong?
> 
> In order to better explain my problem, I have put together three very
> simple JSP files(attached) to demonstrate this problem. (The example
> uses 3 sections)
> 
> I am on a deadline and this problem just sunk me.  Any help would be
> greatly appreciated!
> 
> Thanks,
> Jeremy
> 
> 
> -- 
>   Jeremy Haile
>   [EMAIL PROTECTED]

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: logic:iterate problem

2002-04-05 Thread Jerome Josephraj

David,

Thanks a lot for your input. I verified the attribute in
the form objects and it had values.

I fixed the problem but have no idea why on the first
place it has occurred. All I did was created another object (java bean)
same as Employee object and added this object into a Vector object
called Employees. And it worked.

Any idea why?

Thanks,

Jerome.



-Original Message-
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: 04 April 2002 18:01
To: [EMAIL PROTECTED]
Subject: Re: logic:iterate problem


>>>>> "Jerome" == Jerome Josephraj <[EMAIL PROTECTED]> writes:

Jerome> Hi,
Jerome> My logic:iterate looks like this

Jerome>  property="lstEmployees" > 
Jerome> 
Jerome>  
Jerome>name="searchEmpRes" property="firstName"/> 
Jerome>   
Jerome>name="searchEmpRes" property="lastName"/> 
Jerome>   
Jerome> 

Jerome> lstEmployees is a vector defined in the form and has
Employee
Jerome> objects

Jerome> The problem is the iterate is not going to line 1. There
are
Jerome> values in lstEmployees. Any help on this is much
appreciated.

Just in case, when you say "not going to line 1", you mean that line,
including
any of the lines inside the "logic:iterate" element, are not being
emitted into
the output?

In your Action that forwarded to this page, are you verifying the
attribute
name in the form object, and verifying it really has elements?

If you still can't fix it, this would be a good opportunity to set up
your
debugger to step into the Struts code, the IterateTag in particular.
This
likely won't find any problems in the IterateTag, but it might give you
a clue
why it isn't finding your elements.

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


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

This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please
request a hard-copy version. 

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




Re: logic:iterate problem

2002-04-04 Thread David M. Karr

> "Jerome" == Jerome Josephraj <[EMAIL PROTECTED]> writes:

Jerome> Hi,
Jerome> My logic:iterate looks like this

Jerome>  property="lstEmployees" > 
Jerome> 
Jerome>  
Jerome>name="searchEmpRes" property="firstName"/> 
Jerome>   
Jerome>name="searchEmpRes" property="lastName"/> 
Jerome>   
Jerome> 

Jerome> lstEmployees is a vector defined in the form and has Employee
Jerome> objects

Jerome> The problem is the iterate is not going to line 1. There are
Jerome> values in lstEmployees. Any help on this is much appreciated.

Just in case, when you say "not going to line 1", you mean that line, including
any of the lines inside the "logic:iterate" element, are not being emitted into
the output?

In your Action that forwarded to this page, are you verifying the attribute
name in the form object, and verifying it really has elements?

If you still can't fix it, this would be a good opportunity to set up your
debugger to step into the Struts code, the IterateTag in particular.  This
likely won't find any problems in the IterateTag, but it might give you a clue
why it isn't finding your elements.

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
For additional commands, e-mail: