struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Boudrant <b...@yahoo.fr>
Subject Re: Tool for visually documenting Tiles hierarchy?
Date Wed, 04 Dec 2002 23:01:43 GMT

 And Easy Struts for Eclipse soon ;)
-emmanuel
http://easystruts.sf.net

  James Holmes &lt;jholmes612@yahoo.com&gt; a écrit : Struts Console allows you to
visually edit the Tiles
config file.

http://www.jamesholmes.com/struts/

-james

--- "Chetty, Arun" wrote:
> Is anyone aware of any tools in the market that
> would help visually document
> the complete Tiles hierarchy used in an application.
> If not, any ideas on
> how you would go about doing this.
> 
> A speedy reply would be greatly appreciated
> 
> Thanks in advance
> Arun
> 
> -----Original Message-----
> From: Karr, David [mailto:david.karr@attws.com]
> Sent: Wednesday, December 04, 2002 4:38 PM
> To: Struts Users Mailing List
> Subject: RE: How does Struts handle arrays of
> fields?
> 
> 
> You can call it a "subclass", or you can say it
> "implements" something.
> It's the same thing. I believe that you'll get into
> trouble if you try
> to make a class which is both a bean AND a
> collection. You'll end up
> having to make a bean which contains a collection
> property AND a size
> property. I'm not sure exactly how this is going to
> interact with the
> form population process.
> 
> > -----Original Message-----
> > From: David Graham
> [mailto:dgraham1980@hotmail.com]
> > 
> > My custom Collection class is not a subclass of
> anything. It 
> > implements the 
> > Collection interface and adds a getSize() method
> so the EL 
> > will work . This 
> > solution works.
> > 
> > What I really need to know is if Struts can
> populate a 
> > Collection class 
> > instead of a String[] for arrays of fields. It
> acts like it 
> > can't but I may 
> > be missing something.
> > 
> > I think the problem is that the EL requires my
> custom 
> > Collection and struts 
> > requires a String[].
> > 
> > Thanks,
> > David
> > 
> > 
> > 
> > 
> > 
> > 
> > >From: "Karr, David" 
> > >Reply-To: "Struts Users Mailing List" 
> > 
> > >To: "Struts Users Mailing List"
> 
> > >Subject: RE: How does Struts handle arrays of
> fields?
> > >Date: Wed, 4 Dec 2002 11:37:38 -0800
> > >
> > >If I'm seeing your problem correctly, you
> probably know by 
> > now that the
> > >EL only references bean properties, except when
> it's referencing
> > >collections :) . It checks whether something is
> a 
> > collection before it
> > >checks whether it is a bean, so creating a
> SUBCLASS of a collection
> > >class and adding bean properties won't work. 
> You'll have to 
> > have a bean
> > >class that has a collection property, AND a size
> property. Try
> > >restructuring your bean to deal with that and see
> how far you get.
> > >
> > > > -----Original Message-----
> > > > From: David Graham
> [mailto:dgraham1980@hotmail.com]
> > > >
> > > > I have a set of hidden fields all named
> "deletedId" but with
> > > > different
> > > > values. What type should this be in my
> ActionForm? It works
> > > > if I have
> > > > private String[] deletedId; and related
> accessor methods.
> > > >
> > > > My problem is that I want to use the JSTL's EL
> to get the
> > > > size of this
> > > > array. I tried ${myForm.deletedId.length}
> with no success so
> > > > I tried using
> > > > a custom Collection class with a getSize()
> method and
> > > > ${myForm.deletedId.size}. So I have a
> > > > public Collection getDeletedId() and a
> > > > public void setDeletedId(String[] id) method. 
> Struts
> > > > apparently didn't like
> > > > that I was trying to trick it and doesn't
> refill the array
> > > > when there's an
> > > > error on the form.
> > > >
> > > > Any suggestions?
> > > >
> > > > Thanks,
> > > > Dave
> > > >
> > > >
>
_________________________________________________________________
> > > > Add photos to your messages with MSN 8. Get 2
> months FREE*.
> > > >
> http://join.msn.com/?page=features/featuredemail
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> >
> >
> > >For additional commands, e-mail:
> > >
> > >
> > >--
> > >To unsubscribe, e-mail: 
> >
> >
> > >For additional commands, e-mail: 
> > >
> > 
> > 
> >
>
_________________________________________________________________
> > The new MSN 8: advanced junk mail protection and 2
> months FREE* 
> > http://join.msn.com/?page=features/junkmail
> > 
> > 
> > --
> > To unsubscribe, e-mail: 
> 
> For additional commands, e-mail:
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> --
> To unsubscribe, e-mail: 
> 
> For additional commands, e-mail:
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



---------------------------------
Soyez solidaire soutenez l’action du Téléthon avec Yahoo! France.
Cliquez ici pour faire un don !
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message