Re: Nested Messages & Errors tags applicability...

2002-06-21 Thread Arron Bates

> The 'nameList.value' is being used to lookup of the
> messages/errors that were stored under this in the
> ActionMessages.  ActionMessages has an internal Map
> and uses a key (normally the property name and there
> is also GLOBAL_MESSAGE constant) to store
> messages/errors associated with that field.


That part's not the problem.


> > Internally the name is being set to the
> > same as the rest of the tags, is this simply being
> > ignored to go fetch
> > the messages on a standard name?...
> 
> Could you clarify this part?   Or were you asking if
> there was a different between passing in
> 'nameList.value' or a simple property 'value'.


On all the tags which take a name attribute to get at the bean, they
extend the NestedNameSupport. So internally they'll get their name
attribute set, like it or not even if a name was provided it will be
ignored, as they all need to rely on the model the parent tags and such
are working off. Reading the messages tag docco, it reads like the name
attribute has to be set, so I assumed the NestedNameSupport.

Having a closer look through it all, it resolves itself nicely. You've
used the NestedPropertySupport which means that the name will not be
set, and it will use the default ActionMessages reference. It does
reference a different bean, but it's hidden and internal so that's all
ok.

If people provide the name attribute, it's all going fall over if the
nested property isn't there, but that's kind of outside the nested scope
and the original tag should be used.


My confusion was that it was working off a different bean reference,
which kind of impossible with the other nested tags without setting a
new root tag. So I was also thinking about allowing people to reference
a separate bean as standard functionality, as these message tags would
be. I don't think they should, but I can hold off on this choice for
now.

Result, it's all good. Sorry about any confusions.


Arron.


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




JSTL

2002-06-21 Thread Shawn Bayern

Struts developers,

I've just announced the final 1.0 release of the Standard Taglib at
Jakarta Taglibs (see announcement below).  The Standard Taglib is an
implementation of the JSP Standard Tag Library (JSTL).

Concerning integration between JSTL and Struts in the future, I'm happy to
coordinate with anyone who has questions about JSTL.  I'm not currently on
the struts-dev mailing list, but I can join if you guys think it would be
worthwhile.  Either way, feel free to contact me if you've got any 
questions.

Best,

Shawn

-- Forwarded message --
Date: Fri, 21 Jun 2002 19:35:25 -0400 (EDT)
From: Shawn Bayern <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [ANNOUNCE] JSTL implementation available (Jakarta Taglibs)

Struts users,

As the JSP Standard Tag Library (JSTL) has hit each major milestone, I've
mailed this list to notify you of its progress.  Now, I have more good
news.

JSTL 1.0 was finalized in May 2002.  Today, Jakarta Taglibs released
version 1.0 of its "Standard Taglib," an implementation of JSTL.  (The
implementation at Jakarta Taglibs is also the basis for Sun's reference
implementation of JSTL, which was bundled with the Web Services Developer
Pack earlier in June.)

You can download the 1.0 release of the Standard Taglib at

   http://jakarta.apache.org/builds/jakarta-taglibs/releases/standard/

The Standard Taglib requires JSP 1.2; it has been tested with Tomcat
4.0.4.  (Earlier versions of Tomcat may have trouble loading the JAXP 1.2
classes included with our distribution, so I recommend using Tomcat 4.0.4.  
A set of older XML files is available from the URL above if you want to
use an older version of Tomcat.)

Please direct JSTL questions to the [EMAIL PROTECTED]
mailing list.  I'm happy to answer JSTL questions personally, though for
detailed discussion, I might refer you to the list.

For general information about JSTL, as well as a link to the formal
specification, pointers to upcoming books on JSTL, and current articles,
see

http://java.sun.com/products/jsp/jstl/

If you have any comments for future versions of JSTL, you can submit them
to our expert group by mailing [EMAIL PROTECTED]

Enjoy,

-- 
Shawn Bayern
JSTL reference implementation lead
Author, "JSTL in Action"   http://www.manning.com/bayern   (July 2002)



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




NPE from RequestProcessor when logging a warning message with JDK 1.4 logger

2002-06-21 Thread Dennis Doubleday

Windows 2000, JDK 1.4.0, Struts 1.1b

We frequently see a NullPointerException (stack trace reproduced below)
coming from RequestProcessor, line 491, which is this line from
processException:

log.warn(getInternal().getMessage("unhandledException",
exception.getClass()));

Apparently the log.warn() method doesn't like to get a null value.
Probably the right fix is to fix the warn() method to gracefully accept
null, but you could also check for null before calling warn().


StandardWrapperValve[action]: Servlet.service() for servlet action threw
exception java.lang.NullPointerException java.lang.NullPointerException
at
org.apache.commons.logging.impl.Jdk14Logger.warn(Jdk14Logger.java:290)
at
org.apache.struts.action.RequestProcessor.processException(RequestProces
sor.java:491)   at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:439)   at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
264)at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1109)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:452)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)   at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:243) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:190) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566) at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
3)  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)   at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)   at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170)   at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)   at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1012)   at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1107)   at java.lang.Thread.run(Thread.java:536)

Dennis Doubleday  email: [EMAIL PROTECTED]
Right Hand Manager Software   web: http://www.righthandmanager.com


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




DO NOT REPLY [Bug 8022] - Need to update the Actions in the actions package for 1.1

2002-06-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8022

Need to update the Actions in the actions package for 1.1

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

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




html:radio.valueProperty

2002-06-21 Thread Ted Husted

I haven't needed one before, but it looks like we could use a tag
enhancement for printing a collection of radio buttons. 

Given a standard LabelValue type collection, this seems to work well
enough 


  


And just adding a "valueProperty" property could eliminate the
scriptlet, so we'd have 



 


Should I give this a whirl, or is there a better solution already?

-- Ted Husted, Husted dot Com, Fairport NY US
-- Java Web Development with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services

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




Re: Nested Messages & Errors tags applicability...

2002-06-21 Thread David Winterfeldt

The 'nameList.value' is being used to lookup of the
messages/errors that were stored under this in the
ActionMessages.  ActionMessages has an internal Map
and uses a key (normally the property name and there
is also GLOBAL_MESSAGE constant) to store
messages/errors associated with that field.

> Internally the name is being set to the
> same as the rest of the tags, is this simply being
> ignored to go fetch
> the messages on a standard name?...

Could you clarify this part?   Or were you asking if
there was a different between passing in
'nameList.value' or a simple property 'value'.

David

--- Arron Bates <[EMAIL PROTECTED]> wrote:
> That all seems cool, and if the test works, all the
> better :)
> 
> To confirm what's happening there...
> It's fetching the "nameList.value" property off the
> same bean as the
> text fields. To read the markup, the messages and
> errors would then be
> calling on the same property. Internally the name is
> being set to the
> same as the rest of the tags, is this simply being
> ignored to go fetch
> the messages on a standard name?...
> 
> Arron.
> 
> On Fri, 2002-06-21 at 05:45, David Winterfeldt
> wrote:
> > I'm not 100% I'm sure I'm following what the
> problem
> > is (probably missed some other e-mails).  I was
> going
> > to talk to you Aaron when I went to do these, but
> it
> > seemed very simple so I went ahead and made them. 
> I
> > just wanted the nested messages and errors tags to
> be
> > able to get the property name of the bean so you
> could
> > display messages and errors next to a field from a
> > list.  These tags don't really need any other
> feature
> > the nested tags provid.  Currently the validator
> can
> > handle lists, but not custom messages for each
> field. 
> > It does correctly create the full property as the
> > error key though so you can display the error next
> to
> > the field.  Here is the example from
> > web/validator/type.jsp where I tested this.
> > 
> >   
> >  
> >
> >   
> >
> >
> >  
> > 
> > 
> > > property="value">
> >name="error"/>
> >
> > 
> >  
> > 
> >   > maxlength="15"/>
> >
> >  
> >   
> > 
> > Let me know what you think.
> > 
> > David
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




DO NOT REPLY [Bug 10129] - some unit tests for ActionMessage and ActionMessages

2002-06-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10129

some unit tests for ActionMessage and ActionMessages





--- Additional Comments From [EMAIL PROTECTED]  2002-06-21 16:26 ---
Created an attachment (id=2152)
changes to ant build script to run new tests

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




Re: Sturts config exception question

2002-06-21 Thread James Holmes

Here's the bug report:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8022

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/


--- James Holmes <[EMAIL PROTECTED]> wrote:
> This is because there is a *bug* in the
> DispatchAction
> in 1.1b1 and the nightly builds.  Currently the
> DispatchAction does not support the new Exceptions
> facility in Struts 1.1.  There is already a bug in
> Bugzilla for this and I have submitted a patch.  I
> will be applying the patch to the Struts code soon.
> 
> -james
> [EMAIL PROTECTED]
> http://www.jamesholmes.com/struts/
> 
> 
> --- João_Cerdeira <[EMAIL PROTECTED]>
> wrote:
> > HI,
> > 
> > i work with struts 1.1
> > 
> > 
> > and i have a class with
> > 
> > submit is the parameter od the form
> (DispathAction)
> > 
> > public ActionForward *submit*(
> > ActionMapping mapping,
> > ActionForm form,
> > HttpServletRequest request,
> > HttpServletResponse response) {
> > 
> >  
> > throw new SecurityException("ola");
> >  
> > }
> > 
> > 
> > and in struts config-xml:
> > 
> >  > key="java.lang.SecurityException"
> > type="java.lang.SecurityException"
> > path="/jsp/security.jsp"
> > scope="request"/>
> > 
> > 
> > AND they do not redirect to the /jsp/security.jsp
> > why 
> > 
> > 
> > BUT if i have:
> > 
> > public ActionForward *perform*(
> > ActionMapping mapping,
> > ActionForm form,
> > HttpServletRequest request,
> > HttpServletResponse response) {
> > 
> >  
> > throw new SecurityException("ola");
> >  
> > }
> > 
> > 
> > They work WHY ??
> > 
> > 
> > Can anybody help me to resolve this problem
> > 
> > 
> > Bye.
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> >
> 
> > For additional commands, e-mail:
> > 
> > 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Re: Sturts config exception question

2002-06-21 Thread James Holmes

This is because there is a *bug* in the DispatchAction
in 1.1b1 and the nightly builds.  Currently the
DispatchAction does not support the new Exceptions
facility in Struts 1.1.  There is already a bug in
Bugzilla for this and I have submitted a patch.  I
will be applying the patch to the Struts code soon.

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/


--- João_Cerdeira <[EMAIL PROTECTED]> wrote:
> HI,
> 
> i work with struts 1.1
> 
> 
> and i have a class with
> 
> submit is the parameter od the form (DispathAction)
> 
> public ActionForward *submit*(
> ActionMapping mapping,
> ActionForm form,
> HttpServletRequest request,
> HttpServletResponse response) {
> 
>  
> throw new SecurityException("ola");
>  
> }
> 
> 
> and in struts config-xml:
> 
>  key="java.lang.SecurityException"
> type="java.lang.SecurityException"
> path="/jsp/security.jsp"
> scope="request"/>
> 
> 
> AND they do not redirect to the /jsp/security.jsp
> why 
> 
> 
> BUT if i have:
> 
> public ActionForward *perform*(
> ActionMapping mapping,
> ActionForm form,
> HttpServletRequest request,
> HttpServletResponse response) {
> 
>  
> throw new SecurityException("ola");
>  
> }
> 
> 
> They work WHY ??
> 
> 
> Can anybody help me to resolve this problem
> 
> 
> Bye.
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




DO NOT REPLY [Bug 10129] - some unit tests for ActionMessage and ActionMessages

2002-06-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10129

some unit tests for ActionMessage and ActionMessages





--- Additional Comments From [EMAIL PROTECTED]  2002-06-21 15:56 ---
Created an attachment (id=2151)
some tests for ActionMessages.java

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




DO NOT REPLY [Bug 10129] - some unit tests for ActionMessage and ActionMessages

2002-06-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10129

some unit tests for ActionMessage and ActionMessages





--- Additional Comments From [EMAIL PROTECTED]  2002-06-21 15:56 ---
Created an attachment (id=2150)
some tests for ActionMessage.java

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




DO NOT REPLY [Bug 10129] New: - some unit tests for ActionMessage and ActionMessages

2002-06-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10129

some unit tests for ActionMessage and ActionMessages

   Summary: some unit tests for ActionMessage and ActionMessages
   Product: Struts
   Version: 1.1 Beta 1
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Test
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]

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




Re: Dynamic Property Dispatch

2002-06-21 Thread James Holmes

Daniel,

Take a look at the DynaActionForm stuff in Struts 1.1b
or the nightly builds.  The DynaActionForm can handle
dynamic form fields.

There has been much discussion about this lately on
the user list.  Take a look at the archives to find
past messages.

http://www.mail-archive.com/struts-user%40jakarta.apache.org/

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/




--- Daniel Hinz <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> i've a feature request for
> org.apache.struts.action.ActionForm for a little
> bit more dynamic dispatch of properties. The current
> state is that for each
> property A the corresonding setA / getA methods are
> invoked upon read/write.
> There's nothing wrong with that. However i must
> deploy form fields that are
> unknown to me at compile-time. Thus i cannot write a
> Bean with the
> appropriate methods. A simple solution would be to
> introduce methods with
> the following signature:
> 
> public void setProperty(String propertyName, Object
> propertyValue)
> public Object getProperty(String propertyName)
> 
> which is of course not terribly type safe but would
> solve my problem.
> 
> And forgive me if this has already been discussed (i
> couldn't find anything
> in the Archives).
> 
> Regards,
> 
> Daniel Hinz
> 
> --
> Daniel Hinz
> Software Engineer
> [EMAIL PROTECTED]
> www.coremedia.com
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Dynamic Property Dispatch

2002-06-21 Thread Daniel Hinz

Hi,

i've a feature request for org.apache.struts.action.ActionForm for a little
bit more dynamic dispatch of properties. The current state is that for each
property A the corresonding setA / getA methods are invoked upon read/write.
There's nothing wrong with that. However i must deploy form fields that are
unknown to me at compile-time. Thus i cannot write a Bean with the
appropriate methods. A simple solution would be to introduce methods with
the following signature:

public void setProperty(String propertyName, Object propertyValue)
public Object getProperty(String propertyName)

which is of course not terribly type safe but would solve my problem.

And forgive me if this has already been discussed (i couldn't find anything
in the Archives).

Regards,

Daniel Hinz

--
Daniel Hinz
Software Engineer
[EMAIL PROTECTED]
www.coremedia.com


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




Re: Validator's (fields) on DynamicForm?

2002-06-21 Thread James Holmes

Tomas,

These types of questions are best asked on the Struts
users mailing list.  This list is not meant for these
types of questions.

[EMAIL PROTECTED]

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/

--- Struts-dev Newsgroup <[EMAIL PROTECTED]>
wrote:
> Subject: Validator's (fields) on DynamicForm?
> From: "Tomas" <[EMAIL PROTECTED]>
>  ===
> hello,
>  I try using validator's forms and fields on Dynamic
> forms, it is possible?
> I have a problem width this. Can You have a simple
> example?
> 
> Tomas
> [EMAIL PROTECTED]
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Re: How could I validate the double quotation in struts?

2002-06-21 Thread James Holmes

Chen,

These types of questions are best asked on the Struts
users mailing list.  This list is not meant for these
types of questions.

[EMAIL PROTECTED]

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/

--- Chen Zhi feng <[EMAIL PROTECTED]> wrote:
> Can you help me?I meet with a large trouble.
> 
> In validation.xml,I want to describe a constant as
> following to prevent user
> input invalide characters in file path:
> 
> filepath
>
>
^[^\/;,\*\?\|<>]*$
> 
> But I'm not able to include the double  quotation(
> ") in it,althought I have
> used XML entity \ to substitute it,
> and in the generated javascript string,there is two
> \ before the " looking
> like \\" .As
> you know this is invalide in jscript language
> syntex. How should I do?
> 
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Re: Taglib problem

2002-06-21 Thread Nicolas De Loof

You have to build your INPUT Tag "value" attribute with quote delimiters.
If you don't use this quotes, first blank character is interpreted as end of
the value string.

You should try to get used using XHTML notation for your HTML code, with
lowercase tags and quoted attribute values:

pageContext.getOut().print("Group Name");
pageContext.getOut().print("");

Nico


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




Taglib problem

2002-06-21 Thread Kedar Upadhye

Hi,

I have something like this in one of my tag classes :

pageContext.getOut().print("Group Name");
pageContext.getOut().print("");

The value assigned to str variable is "localhost ipaddress". It shows it correctly if 
I print it to System.out. But on the html page all it shows is the first word: i.e. 
"localhost". If however I hard code the same value (using escape sequences) then it 
works correctly. Do I have to make setting to show a complete strings (multiple words) 
or what it is ?

regards
-- Kedar



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




Re: Commons Validator Configuration

2002-06-21 Thread Tomasz Kuczerski


 Hello,
 
 I have a problem, width using Validator's on Dynamic Form.

 Can You give me small example, how to work widt Validator's and Dyna(class)?

 Tomas
 [EMAIL PROTECTED]


dynamic forms validation problem

2002-06-21 Thread @Basebeans.com

Subject: dynamic forms validation problem
From: "Tomas" <[EMAIL PROTECTED]>
 ===
Hello,

how, to make verification (validation) of dynamic forms ?

in struts-config.xml  is:





.

.

.































.

.

.





in file validator.xml is:

























in web.xml is:





action

org.apache.struts.action.ActionServlet



application

ApplicationResources





config

/WEB-INF/struts-config.xml





debug

3





detail

3





validate

true



2









no efect in edit form, always (but still) error messages:



747375 [HttpProcessor[80][4]] DEBUG

org.apache.struts.action.RequestProcessor - Validating input form

properties

747375 [HttpProcessor[80][4]] DEBUG

org.apache.struts.action.RequestProcessor - No errors detected, accepting

input



Can you help?

Second question is, how to used text fields (width indexed=true) on dynamic
forms?

[EMAIL PROTECTED]




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




Validator's (fields) on DynamicForm?

2002-06-21 Thread @Basebeans.com

Subject: Validator's (fields) on DynamicForm?
From: "Tomas" <[EMAIL PROTECTED]>
 ===
hello,
 I try using validator's forms and fields on Dynamic forms, it is possible?
I have a problem width this. Can You have a simple example?

Tomas
[EMAIL PROTECTED]



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




Re: [ANN] Easy Struts 0.3.0 for Eclipse is out [sorry bad list]

2002-06-21 Thread emmanuel.boudrant


 I'm sorry, I post (quickyly) this in wrong list ! 

-Emmanuel



-
Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !



[ANN] Easy Struts 0.3.0 for Eclipse is out

2002-06-21 Thread emmanuel.boudrant


Easy Struts v0.3.0 just released. For the moment this version is only for Eclipse IDE.

The aim of this project is to provide a collection of tools integrated with Eclipse 
2.0, in order to facilitate the development of a web project based on the MVC2 Jakarta 
Struts framework. 
Changes:
- v0.3.0
   - Add template managing for Jsp generation (a sample is in /tempate directory)
   - Add managing of application resources in project properties.
   - Add resources managing wizard.
   - Add datasource wizard.
   - Fix & Improve struts-config.xml generation (element created did not respect DTD 
order elements).
   - Improve action wizard, with forward action, include action...
   - Add many ToolTipText extracted from struts DTD and Ted Husted catalog)
   - Add dynamic form creation.
   - Et n'oubliez pas la fête de la musique :)

http://sourceforge.net/projects/easystruts
http://easystruts.sourceforge.net/index.html [english]
http://easystruts.sourceforge.net/index_fr.html [francais]

-Emmanuel



-
Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !



How could I validate the double quotation in struts?

2002-06-21 Thread Chen Zhi feng
Can you help me?I meet with a large trouble.

In validation.xml,I want to describe a constant as following to prevent user
input invalide characters in file path:

filepath
^[^\/;,\*\?\|<>]*$

But I'm not able to include the double  quotation( ") in it,althought I have
used XML entity \ to substitute it,
and in the generated javascript string,there is two \ before the " looking
like \\" .As
you know this is invalide in jscript language syntex. How should I do?


Re: Struts and iWS 4.1

2002-06-21 Thread Carmen FLOREA

Hi Adolfo

In fact, I am working in France (Paris) not in Spain, and here there are
already a lot of companies interested
to implement this framework.
The name of my company is AUBAY, and I guess that the framework is going to
be used also by our subsidiaries companies (Italy, Spain, Benelux).

Carmen

- Original Message -
From: "Adolfo Miguelez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 10:39 AM
Subject: Re: Struts and iWS 4.1


> Hi Carmen,
>
> could you please tell me which company is using is Struts in Spain. I am
> making a research about the impact of this framework in our country and
its
> future.
>
> Thanks in advance,
>
> Adolfo.
>
> >From: "Carmen FLOREA" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
> >To: "Struts Developers List" <[EMAIL PROTECTED]>
> >Subject: Re: Struts and iWS 4.1 Date: Thu, 20 Jun 2002 21:14:07 +0200
> >
> >Thank you for your suggestion, James.
> >
> >Carmen
> >- Original Message -
> >From: "James Holmes" <[EMAIL PROTECTED]>
> >To: "Struts Developers List" <[EMAIL PROTECTED]>
> >Sent: Thursday, June 20, 2002 5:38 PM
> >Subject: Re: Struts and iWS 4.1
> >
> >
> > > Carmen,
> > >
> > > You'll have better luck asking these types of
> > > questions on the Struts Users list:
> > >
> > > [EMAIL PROTECTED]
> > >
> > > -james
> > > [EMAIL PROTECTED]
> > > http://www.jamesholmes.com/struts/
> > >
> > >
> > > --- Carmen FLOREA <[EMAIL PROTECTED]> wrote:
> > > > Hello Everybody
> > > >
> > > > I read the emails concernig how to get Struts
> > > > working under the IPlanet web
> > > > Server 4.1, and I found a message from  Stanley
> > > > Santiago who wrote a
> > > > documentation about how to get Struts based
> > > > application to work on iWS 4.1.
> > > > Can somebody send me this documentation?
> > > >
> > > >
> > > > Thank you,
> > > > Carmen
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > 
> > > > For additional commands, e-mail:
> > > > 
> > > >
> > >
> > >
> > > __
> > > Do You Yahoo!?
> > > Yahoo! - Official partner of 2002 FIFA World Cup
> > > http://fifaworldcup.yahoo.com
> > >
> > > --
> > > To unsubscribe, e-mail:
> >
> > > For additional commands, e-mail:
> >
> > >
> >
> >
> >--
> >To unsubscribe, e-mail:
> >
> >For additional commands, e-mail:
> >
>
>
>
>
> 
>   
>  Adolfo's signature
>   
>   
>  Adolfo Rodriguez Miguelez
>
>   
>   
>
>
>
>
>
> _
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


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




DO NOT REPLY [Bug 10106] New: - html:optionscollection needs a 'filter' property

2002-06-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10106

html:optionscollection needs a 'filter' property

   Summary: html:optionscollection needs a 'filter' property
   Product: Struts
   Version: 1.1 Beta 1
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Custom Tags
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


html:optionscollection will HTML filter all output, whereas the html:options 
tag provides a property to optionally turn this off.

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




Re: Struts and iWS 4.1

2002-06-21 Thread Adolfo Miguelez

Hi Carmen,

could you please tell me which company is using is Struts in Spain. I am 
making a research about the impact of this framework in our country and its 
future.

Thanks in advance,

Adolfo.

>From: "Carmen FLOREA" <[EMAIL PROTECTED]>
>Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
>To: "Struts Developers List" <[EMAIL PROTECTED]>
>Subject: Re: Struts and iWS 4.1 Date: Thu, 20 Jun 2002 21:14:07 +0200
>
>Thank you for your suggestion, James.
>
>Carmen
>- Original Message -
>From: "James Holmes" <[EMAIL PROTECTED]>
>To: "Struts Developers List" <[EMAIL PROTECTED]>
>Sent: Thursday, June 20, 2002 5:38 PM
>Subject: Re: Struts and iWS 4.1
>
>
> > Carmen,
> >
> > You'll have better luck asking these types of
> > questions on the Struts Users list:
> >
> > [EMAIL PROTECTED]
> >
> > -james
> > [EMAIL PROTECTED]
> > http://www.jamesholmes.com/struts/
> >
> >
> > --- Carmen FLOREA <[EMAIL PROTECTED]> wrote:
> > > Hello Everybody
> > >
> > > I read the emails concernig how to get Struts
> > > working under the IPlanet web
> > > Server 4.1, and I found a message from  Stanley
> > > Santiago who wrote a
> > > documentation about how to get Struts based
> > > application to work on iWS 4.1.
> > > Can somebody send me this documentation?
> > >
> > >
> > > Thank you,
> > > Carmen
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > 
> > > For additional commands, e-mail:
> > > 
> > >
> >
> >
> > __
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
>
> > For additional commands, e-mail:
>
> >
>
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>





  
 Adolfo's signature
  
  
 Adolfo Rodriguez Miguelez

  
  





_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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