RE: Is there a better way to write this code?

2002-01-18 Thread Tom Klaasen (TeleRelay)


If you want logic and valid xml docs, have a look at xsp (implemented in
Cocoon et al.)

tomK

> -Original Message-
> From: c tang [mailto:[EMAIL PROTECTED]] 
> Sent: vrijdag 18 januari 2002 14:46
> To: Struts Users Mailing List
> Subject: Re: Is there a better way to write this code?
> 
> 
> One simple reason for not using scriptlet is that
> making a jsp page an invalid xml doc.
> 
> ct
> 
> --- Arron Bates <[EMAIL PROTECTED]> wrote:
> > c tang wrote:
> > 
> > >You are right this thing is very powerful.  But
> > that
> > >should not be the reason to not doing it.  I can
> > >always do the MyBean.wait() in scriptlet.  There is
> > >nothing to stop that.  
> > >
> > >Power to the developers!
> > >
> > So why complain about not being able to do something
> > and just do it in a 
> > scriptlet?...
> > 
> > 
> > Arron.
> > 
> > (Power to the developer?... Assember's powerful. Why
> > don't you make 
> > webapps in that?... They'll *really* fly.
> > None of this VM sh-t :)
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [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]>




Re: Is there a better way to write this code?

2002-01-18 Thread c tang

One simple reason for not using scriptlet is that
making a jsp page an invalid xml doc.

ct

--- Arron Bates <[EMAIL PROTECTED]> wrote:
> c tang wrote:
> 
> >You are right this thing is very powerful.  But
> that
> >should not be the reason to not doing it.  I can
> >always do the MyBean.wait() in scriptlet.  There is
> >nothing to stop that.  
> >
> >Power to the developers!
> >
> So why complain about not being able to do something
> and just do it in a 
> scriptlet?...
> 
> 
> Arron.
> 
> (Power to the developer?... Assember's powerful. Why
> don't you make 
> webapps in that?... They'll *really* fly.
> None of this VM sh-t :)
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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




Re: Is there a better way to write this code?

2002-01-17 Thread Mark Galbreath

Yeah, right.  Write all the assembler you want dude, and you will be
relegated to the heap of the unemployed.  The day belongs to the VM, whether
it be MS or Sun.

Cheers!
Mark

- Original Message -
From: "Arron Bates" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 6:06 PM
Subject: Re: Is there a better way to write this code?


> c tang wrote:
>
> >You are right this thing is very powerful.  But that
> >should not be the reason to not doing it.  I can
> >always do the MyBean.wait() in scriptlet.  There is
> >nothing to stop that.
> >
> >Power to the developers!
> >
> So why complain about not being able to do something and just do it in a
> scriptlet?...
>
>
> Arron.
>
> (Power to the developer?... Assember's powerful. Why don't you make
> webapps in that?... They'll *really* fly.
> None of this VM sh-t :)
>
>
> --
> 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]>




Re: Is there a better way to write this code?

2002-01-17 Thread Arron Bates

c tang wrote:

>You are right this thing is very powerful.  But that
>should not be the reason to not doing it.  I can
>always do the MyBean.wait() in scriptlet.  There is
>nothing to stop that.  
>
>Power to the developers!
>
So why complain about not being able to do something and just do it in a 
scriptlet?...


Arron.

(Power to the developer?... Assember's powerful. Why don't you make 
webapps in that?... They'll *really* fly.
None of this VM sh-t :)


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




Re: Is there a better way to write this code?

2002-01-17 Thread João Guilherme Del Valle

The thread is going, so let me in. :)

Keith is right. It´s a practical tool, not a taglib translation of Java
Language, not a wrapper to it. My honest opinion is that it´s possible (and
very easy) to make this kind of tag available, but it´s not the point. The
idea behind taglibs is to encapsulate logic, presentation, business or even
persistence logic. But providing method access would bring shortcuts to some
tasks that shouldn´t be there, the JSP should be kept as simple as possible.
One could say "It´s there, but if you don´t want to use it, just do not!".
Why doesn´t java lang allow explicit pointers? Why is type safety so
disciplinefull(!)? Why we (java developers) don´t want the "unsafe"
directive from C# (this kinda disables some consistence checks, like null
pointer exceptions)?

After proving Struts beans with access to method any methods, we could
agregate operators, classses and maybe even tag reflection. Just for fun,
not personal. ;-)

João.


Joao Guilherme Del Valle
[EMAIL PROTECTED]
Visionnaire Informática SA
http://www.visionnaire.com.br
Tel/Fax: +55 41 373-7400 r: 217


- Original Message -
From: "Keith Bacon" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 3:03 PM
Subject: Re: Is there a better way to write this code?


> I like struts as a 'practical' tool for business development.
> I haven't had a problem with it being restrictive in (fairly limited)
practice. I hope that struts
> guides you towards best practise & standard techniques.
> On wrappers - I normally wrap collections anyway to apply restrictions &
to add extra functions.
> (A very old design pattern). That's my 2 cents worth.
> Keith.
>
> --- c tang <[EMAIL PROTECTED]> wrote:
> > You are right this thing is very powerful.  But that
> > should not be the reason to not doing it.  I can
> > always do the MyBean.wait() in scriptlet.  There is
> > nothing to stop that.
> >
> > Power to the developers!
> >
> > ct
> >
> > --- Arron <[EMAIL PROTECTED]> wrote:
> > > I can see what you're trying to say and it would be
> > > truly flexible if
> > > you could do that.
> > >
> > > But I can already foresee the reaction from the
> > > die-hards, and that is
> > > that it would give the person doing the markup "too"
> > > much power.
> > > Probably get at some things that shouldn't be gotten
> > > at, like MyBean.wait().
> > >
> > > Nice idea, wouldn't get past the committing
> > > committee I'm afraid.
> > >
> > > And the fact is, if you want to get that sort of
> > > power, you may as well
> > > script it. There's plenty of ways to get a hold of
> > > your object for
> > > scripting. The MVC model is to decouple a the model.
> > > Having access to a
> > > specific api isn't decoupling.
> > >
> > >
> > > Arron.
> > >
> > > c tang wrote:
> > >
> > > >Creating a wrapper class may get rid of scriptlet
> > > in
> > > >JSP. But that means for every public api (such as
> > > >Collection.size(), Object.toString()) that does not
> > > >fit get/set pattern, a wrapper class has to be
> > > created
> > > >in order to avoid scriptlet using struts.  IMHO,
> > > that
> > > >is worse than just using scriptlet because it
> > > bloats
> > > >the class number significantly.
> > > >
> > > >ct
> > > >
> > > >--- Arron Bates <[EMAIL PROTECTED]> wrote:
> > > >
> > > >>A getter method like...
> > > >>
> > > >>public int getMyListSize() {
> > > >>return this.myList.getSize();
> > > >>}
> > > >>
> > > >>with a tag like...
> > > >>
> > > >>...maybe?
> > > >>
> > > >>
> > > >>Arron.
> > > >>
> > > >>
> > > >>c tang wrote:
> > > >>
> > > >>>I agree with Alex that current strut taglib has a
> > > >>>
> > > >>big
> > > >>
> > > >>>deficiency.  It allows only access through
> > > get/set
> > > >>>methods of a property.  How do I write the size
> > > of
> > > >>>collection object to a page without resorting
> > > >>>scriptlet or <%=?  How do I write toString()
> > >

Re: Is there a better way to write this code?

2002-01-17 Thread Fernando Esteban Barril Otero

In my opinion, one should use JSP with taglibs to 
present the data. If you need special
processing or more complex behavior, you
should encapsulate it inside a bean or a
custom tag.

The examples you mentioned (Integer.toOctalString(),
String.toLowerCase()) can be easily achieved using
the JSTL. If you want other, you should create a
tag for it.

Fernando

- Original Message - 
From: "c tang" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 1:05 PM
Subject: Re: Is there a better way to write this code?


> I think you miss my point.  We are lucky that the
> examples I gave have some special tag builded in
> struts.  How about writing Integer.MAX_VALUE,
> Integer.toOctalString(), String.toLowerCase() etc.
> There are tons of public API in jdk not mention third
> party one.
> 
> ct


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




Re: Is there a better way to write this code?

2002-01-17 Thread Keith Bacon

I like struts as a 'practical' tool for business development.
I haven't had a problem with it being restrictive in (fairly limited) practice. I hope 
that struts
guides you towards best practise & standard techniques.
On wrappers - I normally wrap collections anyway to apply restrictions & to add extra 
functions.
(A very old design pattern). That's my 2 cents worth.
Keith.

--- c tang <[EMAIL PROTECTED]> wrote:
> You are right this thing is very powerful.  But that
> should not be the reason to not doing it.  I can
> always do the MyBean.wait() in scriptlet.  There is
> nothing to stop that.  
> 
> Power to the developers!
> 
> ct
> 
> --- Arron <[EMAIL PROTECTED]> wrote:
> > I can see what you're trying to say and it would be
> > truly flexible if 
> > you could do that.
> > 
> > But I can already foresee the reaction from the
> > die-hards, and that is 
> > that it would give the person doing the markup "too"
> > much power. 
> > Probably get at some things that shouldn't be gotten
> > at, like MyBean.wait().
> > 
> > Nice idea, wouldn't get past the committing
> > committee I'm afraid.
> > 
> > And the fact is, if you want to get that sort of
> > power, you may as well 
> > script it. There's plenty of ways to get a hold of
> > your object for 
> > scripting. The MVC model is to decouple a the model.
> > Having access to a 
> > specific api isn't decoupling.
> > 
> > 
> > Arron.
> > 
> > c tang wrote:
> > 
> > >Creating a wrapper class may get rid of scriptlet
> > in
> > >JSP. But that means for every public api (such as
> > >Collection.size(), Object.toString()) that does not
> > >fit get/set pattern, a wrapper class has to be
> > created
> > >in order to avoid scriptlet using struts.  IMHO,
> > that
> > >is worse than just using scriptlet because it
> > bloats
> > >the class number significantly.
> > >
> > >ct
> > >
> > >--- Arron Bates <[EMAIL PROTECTED]> wrote:
> > >
> > >>A getter method like...
> > >>
> > >>public int getMyListSize() {
> > >>return this.myList.getSize();
> > >>}
> > >>
> > >>with a tag like...
> > >>
> > >>...maybe?
> > >>
> > >>
> > >>Arron.
> > >>
> > >>
> > >>c tang wrote:
> > >>
> > >>>I agree with Alex that current strut taglib has a
> > >>>
> > >>big
> > >>
> > >>>deficiency.  It allows only access through
> > get/set
> > >>>methods of a property.  How do I write the size
> > of
> > >>>collection object to a page without resorting
> > >>>scriptlet or <%=?  How do I write toString()
> > output
> > >>>
> > >>to
> > >>
> > >>>a page without resorting scriptlet or <%=?
> > >>>
> > >>>I had a proposal to allow x.y expression to get y
> > >>>in the this order:
> > >>>(1) x.getY()
> > >>>(2) x.y()
> > >>>(3) x.y
> > >>>
> > >>>In this way, to write toString of x object to a
> > >>>
> > >>page,
> > >>
> > >>>simply use
> > >>>
> > >>>
> > >>>This proposal is shotdown.  Without this,
> > scriptlet
> > >>>has to be used in jsp.
> > >>>
> > >>>ct
> > >>>
> > >>>
> > >>>--- Arron Bates <[EMAIL PROTECTED]> wrote:
> > >>>
> > For one, I recommend getting your properties
> > into
> > getter/setter 
> > methodology. Simply so you can use the wealth
> > that
> > is the Struts tagging 
> > system (as it's (the bean spec Struts runs
> > against
> > for it's model 
> > components) kind of what it's all about).
> > 
> > By "'raw' String" do you mean the object's
> > "toString()" method?... Any 
> > property that yields and object to be written
> > out
> > will have it's 
> > "toString()" method called to write it to the
> > output.
> > 
> > I'm also curious about your "null pointer" issue
> > with the nested 
> > extension (for some reason :).
> > Can I get a hold of the bean and JSP you were
> > 
> > >>trying
> > >>
> > to run it with?...
> > 
> > Arron.
> > 
> > 
> > Alex Paransky wrote:
> > 
> > >I am pretty new with struts and wrote the
> > >
> > >>following
> > >>
> > .JSP code.  Is there a
> > 
> > >better way to write this?  I could not find a
> > tag
> > >
> > in STRUTS to let me just
> > 
> > >get the property from the object.  My object
> > does
> > >
> > not have get/set methods,
> > 
> > >so I had to resort to using <%= tag.  Is there
> > a
> > >
> > tag in STRUTS that would
> > 
> > >just access the "raw" String attribute of the
> > >
> > object instead of calling
> > 
> > >get/set?
> > >
> > >I also tried using the keyboardmonkey nested
> > >
> > library, but kept getting
> > 
> > >NullPointerExceptions when nested:iterate would
> > >
> > execute
> > 
> > > > >
> >
> >>>class="com.myprofiles.client.web.bean.MemberProfileHeadersBean"
> > >>>
> > />
> > 
> > > > name="profileHeaders"
> > >
> > property="profiles"
> > 
> >
> >>>type="com.myprofiles.service.common.ProfileHeaderValue">
> > >>>
> > ><%=profile.name%>
> > >

Re: Is there a better way to write this code?

2002-01-17 Thread c tang

I think you miss my point.  We are lucky that the
examples I gave have some special tag builded in
struts.  How about writing Integer.MAX_VALUE,
Integer.toOctalString(), String.toLowerCase() etc.
There are tons of public API in jdk not mention third
party one.

ct

--- Fernando Esteban Barril Otero
<[EMAIL PROTECTED]> wrote:
> To write the size of collection object or array,
> you can 
> and write with .
> 
> The "size" bean can also be used with the tag
> 
> ...
> 
> 
> In the case of toString, if you don't specify a
> property
> attribute in the tag , the output is the
> toString
> of the object, like the above example.
> 
> This may help to avoid scriptlet in the JSP in some
> cases.
> 
> Fernando
> 
> 
> - Original Message - 
> From: "c tang" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> Sent: Thursday, January 17, 2002 10:41 AM
> Subject: Re: Is there a better way to write this
> code?
> 
> 
> > Creating a wrapper class may get rid of scriptlet
> in
> > JSP. But that means for every public api (such as
> > Collection.size(), Object.toString()) that does
> not
> > fit get/set pattern, a wrapper class has to be
> created
> > in order to avoid scriptlet using struts.  IMHO,
> that
> > is worse than just using scriptlet because it
> bloats
> > the class number significantly.
> > 
> > ct
> > 
> > --- Arron Bates <[EMAIL PROTECTED]> wrote:
> > > A getter method like...
> > > 
> > > public int getMyListSize() {
> > > return this.myList.getSize();
> > > }
> > > 
> > > with a tag like...
> > >  />
> > > ...maybe?
> > > 
> > > 
> > > Arron.
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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




Re: Is there a better way to write this code?

2002-01-17 Thread c tang

You are right this thing is very powerful.  But that
should not be the reason to not doing it.  I can
always do the MyBean.wait() in scriptlet.  There is
nothing to stop that.  

Power to the developers!

ct

--- Arron <[EMAIL PROTECTED]> wrote:
> I can see what you're trying to say and it would be
> truly flexible if 
> you could do that.
> 
> But I can already foresee the reaction from the
> die-hards, and that is 
> that it would give the person doing the markup "too"
> much power. 
> Probably get at some things that shouldn't be gotten
> at, like MyBean.wait().
> 
> Nice idea, wouldn't get past the committing
> committee I'm afraid.
> 
> And the fact is, if you want to get that sort of
> power, you may as well 
> script it. There's plenty of ways to get a hold of
> your object for 
> scripting. The MVC model is to decouple a the model.
> Having access to a 
> specific api isn't decoupling.
> 
> 
> Arron.
> 
> c tang wrote:
> 
> >Creating a wrapper class may get rid of scriptlet
> in
> >JSP. But that means for every public api (such as
> >Collection.size(), Object.toString()) that does not
> >fit get/set pattern, a wrapper class has to be
> created
> >in order to avoid scriptlet using struts.  IMHO,
> that
> >is worse than just using scriptlet because it
> bloats
> >the class number significantly.
> >
> >ct
> >
> >--- Arron Bates <[EMAIL PROTECTED]> wrote:
> >
> >>A getter method like...
> >>
> >>public int getMyListSize() {
> >>return this.myList.getSize();
> >>}
> >>
> >>with a tag like...
> >>
> >>...maybe?
> >>
> >>
> >>Arron.
> >>
> >>
> >>c tang wrote:
> >>
> >>>I agree with Alex that current strut taglib has a
> >>>
> >>big
> >>
> >>>deficiency.  It allows only access through
> get/set
> >>>methods of a property.  How do I write the size
> of
> >>>collection object to a page without resorting
> >>>scriptlet or <%=?  How do I write toString()
> output
> >>>
> >>to
> >>
> >>>a page without resorting scriptlet or <%=?
> >>>
> >>>I had a proposal to allow x.y expression to get y
> >>>in the this order:
> >>>(1) x.getY()
> >>>(2) x.y()
> >>>(3) x.y
> >>>
> >>>In this way, to write toString of x object to a
> >>>
> >>page,
> >>
> >>>simply use
> >>>
> >>>
> >>>This proposal is shotdown.  Without this,
> scriptlet
> >>>has to be used in jsp.
> >>>
> >>>ct
> >>>
> >>>
> >>>--- Arron Bates <[EMAIL PROTECTED]> wrote:
> >>>
> For one, I recommend getting your properties
> into
> getter/setter 
> methodology. Simply so you can use the wealth
> that
> is the Struts tagging 
> system (as it's (the bean spec Struts runs
> against
> for it's model 
> components) kind of what it's all about).
> 
> By "'raw' String" do you mean the object's
> "toString()" method?... Any 
> property that yields and object to be written
> out
> will have it's 
> "toString()" method called to write it to the
> output.
> 
> I'm also curious about your "null pointer" issue
> with the nested 
> extension (for some reason :).
> Can I get a hold of the bean and JSP you were
> 
> >>trying
> >>
> to run it with?...
> 
> Arron.
> 
> 
> Alex Paransky wrote:
> 
> >I am pretty new with struts and wrote the
> >
> >>following
> >>
> .JSP code.  Is there a
> 
> >better way to write this?  I could not find a
> tag
> >
> in STRUTS to let me just
> 
> >get the property from the object.  My object
> does
> >
> not have get/set methods,
> 
> >so I had to resort to using <%= tag.  Is there
> a
> >
> tag in STRUTS that would
> 
> >just access the "raw" String attribute of the
> >
> object instead of calling
> 
> >get/set?
> >
> >I also tried using the keyboardmonkey nested
> >
> library, but kept getting
> 
> >NullPointerExceptions when nested:iterate would
> >
> execute
> 
> > >
>
>>>class="com.myprofiles.client.web.bean.MemberProfileHeadersBean"
> >>>
> />
> 
> > name="profileHeaders"
> >
> property="profiles"
> 
>
>>>type="com.myprofiles.service.common.ProfileHeaderValue">
> >>>
> ><%=profile.name%>
> ><%=profile.description%>
> >
> >
> >Thanks.
> >
> >
> >-AP_
> >www: http://www.alexparansky.com
> >
> >
> >--
> >To unsubscribe, e-mail:  
> >
>
>>>
> >>>
> >For additional commands, e-mail:
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
=== message truncated ===


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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




Re: Is there a better way to write this code?

2002-01-17 Thread Arron

I can see what you're trying to say and it would be truly flexible if 
you could do that.

But I can already foresee the reaction from the die-hards, and that is 
that it would give the person doing the markup "too" much power. 
Probably get at some things that shouldn't be gotten at, like MyBean.wait().

Nice idea, wouldn't get past the committing committee I'm afraid.

And the fact is, if you want to get that sort of power, you may as well 
script it. There's plenty of ways to get a hold of your object for 
scripting. The MVC model is to decouple a the model. Having access to a 
specific api isn't decoupling.


Arron.

c tang wrote:

>Creating a wrapper class may get rid of scriptlet in
>JSP. But that means for every public api (such as
>Collection.size(), Object.toString()) that does not
>fit get/set pattern, a wrapper class has to be created
>in order to avoid scriptlet using struts.  IMHO, that
>is worse than just using scriptlet because it bloats
>the class number significantly.
>
>ct
>
>--- Arron Bates <[EMAIL PROTECTED]> wrote:
>
>>A getter method like...
>>
>>public int getMyListSize() {
>>return this.myList.getSize();
>>}
>>
>>with a tag like...
>>
>>...maybe?
>>
>>
>>Arron.
>>
>>
>>c tang wrote:
>>
>>>I agree with Alex that current strut taglib has a
>>>
>>big
>>
>>>deficiency.  It allows only access through get/set
>>>methods of a property.  How do I write the size of
>>>collection object to a page without resorting
>>>scriptlet or <%=?  How do I write toString() output
>>>
>>to
>>
>>>a page without resorting scriptlet or <%=?
>>>
>>>I had a proposal to allow x.y expression to get y
>>>in the this order:
>>>(1) x.getY()
>>>(2) x.y()
>>>(3) x.y
>>>
>>>In this way, to write toString of x object to a
>>>
>>page,
>>
>>>simply use
>>>
>>>
>>>This proposal is shotdown.  Without this, scriptlet
>>>has to be used in jsp.
>>>
>>>ct
>>>
>>>
>>>--- Arron Bates <[EMAIL PROTECTED]> wrote:
>>>
For one, I recommend getting your properties into
getter/setter 
methodology. Simply so you can use the wealth that
is the Struts tagging 
system (as it's (the bean spec Struts runs against
for it's model 
components) kind of what it's all about).

By "'raw' String" do you mean the object's
"toString()" method?... Any 
property that yields and object to be written out
will have it's 
"toString()" method called to write it to the
output.

I'm also curious about your "null pointer" issue
with the nested 
extension (for some reason :).
Can I get a hold of the bean and JSP you were

>>trying
>>
to run it with?...

Arron.


Alex Paransky wrote:

>I am pretty new with struts and wrote the
>
>>following
>>
.JSP code.  Is there a

>better way to write this?  I could not find a tag
>
in STRUTS to let me just

>get the property from the object.  My object does
>
not have get/set methods,

>so I had to resort to using <%= tag.  Is there a
>
tag in STRUTS that would

>just access the "raw" String attribute of the
>
object instead of calling

>get/set?
>
>I also tried using the keyboardmonkey nested
>
library, but kept getting

>NullPointerExceptions when nested:iterate would
>
execute

>
>>>class="com.myprofiles.client.web.bean.MemberProfileHeadersBean"
>>>
/>

>
property="profiles"

>>>type="com.myprofiles.service.common.ProfileHeaderValue">
>>>
><%=profile.name%>
><%=profile.description%>
>
>
>Thanks.
>
>
>-AP_
>www: http://www.alexparansky.com
>
>
>--
>To unsubscribe, e-mail:  
>
>>>
>>>
>For additional commands, e-mail:
>



--
To unsubscribe, e-mail:  

>>>
>>>
For additional commands, e-mail:


>>>
>>>__
>>>Do You Yahoo!?
>>>Send FREE video emails in Yahoo! Mail!
>>>http://promo.yahoo.com/videomail/
>>>
>>>--
>>>To unsubscribe, e-mail:  
>>>
>>
>>
>>>For additional commands, e-mail:
>>>
>>
>>
>>>
>>
>>
>>--
>>To unsubscribe, e-mail:  
>>
>>For additional commands, e-mail:
>>
>>
>
>
>__
>Do You Yahoo!?
>Send FREE video emails in Yahoo! Mail!
>http://promo.yahoo.com/videomail/
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>



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




Re: Is there a better way to write this code?

2002-01-17 Thread Fernando Esteban Barril Otero

To write the size of collection object or array,
you can 
and write with .

The "size" bean can also be used with the tag

...


In the case of toString, if you don't specify a property
attribute in the tag , the output is the toString
of the object, like the above example.

This may help to avoid scriptlet in the JSP in some
cases.

Fernando


- Original Message - 
From: "c tang" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 10:41 AM
Subject: Re: Is there a better way to write this code?


> Creating a wrapper class may get rid of scriptlet in
> JSP. But that means for every public api (such as
> Collection.size(), Object.toString()) that does not
> fit get/set pattern, a wrapper class has to be created
> in order to avoid scriptlet using struts.  IMHO, that
> is worse than just using scriptlet because it bloats
> the class number significantly.
> 
> ct
> 
> --- Arron Bates <[EMAIL PROTECTED]> wrote:
> > A getter method like...
> > 
> > public int getMyListSize() {
> > return this.myList.getSize();
> > }
> > 
> > with a tag like...
> > 
> > ...maybe?
> > 
> > 
> > Arron.


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




Re: Is there a better way to write this code?

2002-01-17 Thread c tang

Creating a wrapper class may get rid of scriptlet in
JSP. But that means for every public api (such as
Collection.size(), Object.toString()) that does not
fit get/set pattern, a wrapper class has to be created
in order to avoid scriptlet using struts.  IMHO, that
is worse than just using scriptlet because it bloats
the class number significantly.

ct

--- Arron Bates <[EMAIL PROTECTED]> wrote:
> A getter method like...
> 
> public int getMyListSize() {
> return this.myList.getSize();
> }
> 
> with a tag like...
> 
> ...maybe?
> 
> 
> Arron.
> 
> 
> c tang wrote:
> 
> >I agree with Alex that current strut taglib has a
> big
> >deficiency.  It allows only access through get/set
> >methods of a property.  How do I write the size of
> >collection object to a page without resorting
> >scriptlet or <%=?  How do I write toString() output
> to
> >a page without resorting scriptlet or <%=?
> >
> >I had a proposal to allow x.y expression to get y
> >in the this order:
> >(1) x.getY()
> >(2) x.y()
> >(3) x.y
> >
> >In this way, to write toString of x object to a
> page,
> >simply use
> >
> >
> >This proposal is shotdown.  Without this, scriptlet
> >has to be used in jsp.
> >
> >ct
> >
> >
> >--- Arron Bates <[EMAIL PROTECTED]> wrote:
> >
> >>For one, I recommend getting your properties into
> >>getter/setter 
> >>methodology. Simply so you can use the wealth that
> >>is the Struts tagging 
> >>system (as it's (the bean spec Struts runs against
> >>for it's model 
> >>components) kind of what it's all about).
> >>
> >>By "'raw' String" do you mean the object's
> >>"toString()" method?... Any 
> >>property that yields and object to be written out
> >>will have it's 
> >>"toString()" method called to write it to the
> >>output.
> >>
> >>I'm also curious about your "null pointer" issue
> >>with the nested 
> >>extension (for some reason :).
> >>Can I get a hold of the bean and JSP you were
> trying
> >>to run it with?...
> >>
> >>Arron.
> >>
> >>
> >>Alex Paransky wrote:
> >>
> >>>I am pretty new with struts and wrote the
> following
> >>>
> >>.JSP code.  Is there a
> >>
> >>>better way to write this?  I could not find a tag
> >>>
> >>in STRUTS to let me just
> >>
> >>>get the property from the object.  My object does
> >>>
> >>not have get/set methods,
> >>
> >>>so I had to resort to using <%= tag.  Is there a
> >>>
> >>tag in STRUTS that would
> >>
> >>>just access the "raw" String attribute of the
> >>>
> >>object instead of calling
> >>
> >>>get/set?
> >>>
> >>>I also tried using the keyboardmonkey nested
> >>>
> >>library, but kept getting
> >>
> >>>NullPointerExceptions when nested:iterate would
> >>>
> >>execute
> >>
> >>> >>>
>
>>class="com.myprofiles.client.web.bean.MemberProfileHeadersBean"
> >>/>
> >>
> >>> >>>
> >>property="profiles"
> >>
>
>>type="com.myprofiles.service.common.ProfileHeaderValue">
> >>
> >>> <%=profile.name%>
> >>> <%=profile.description%>
> >>>
> >>>
> >>>Thanks.
> >>>
> >>>
> >>>-AP_
> >>>www: http://www.alexparansky.com
> >>>
> >>>
> >>>--
> >>>To unsubscribe, e-mail:  
> >>>
>
>>
> >>
> >>>For additional commands, e-mail:
> >>>
> >>
> >>
> >>>
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:  
>
>>
> >>For additional commands, e-mail:
> >>
> >>
> >
> >
> >__
> >Do You Yahoo!?
> >Send FREE video emails in Yahoo! Mail!
> >http://promo.yahoo.com/videomail/
> >
> >--
> >To unsubscribe, e-mail:  
> 
> >For additional commands, e-mail:
> 
> >
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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




RE: Is there a better way to write this code?

2002-01-16 Thread Alex Paransky

Arron, was this in some documentation that I failed to read.  If so, could
you please point me to it.  I will try this at home tonight.

Thanks.
-AP_

-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 3:37 PM
To: Struts Users Mailing List
Subject: Re: Is there a better way to write this code?


You have three options on starting the nested tags.

nested:form - extends html:form
html:form - naturally
nested:root - this is the "formless" option for starting off. It requires
only a "name" attribute which has to match the name of a bean which is in
"scope". This can be done by defining a bean in the struts-config.xml and
have it put in session scope, or you can use the  tag and set
the name of the nested:root tag to the name of the bean in this jap:useBean
tag.

One other thing...




...there's no need to set the "name" property here. It will be ignored by
the nested tags anyway, as they must rely on the founded name set by the
parent tags.


Arron.


Alex Paransky wrote:

>Some background:
>
>I am using Struts 1.0.1.  The nested tags were obtained from
>http://www.keyboardmonkey.com/struts.  I could not find a reference manual
>for the nested tags, but looking at the .TDL it appears as they were
>intended to be a 1-to-1 mapping with struts.  So I simply replaced
>struts-logic.tld and nested references the nested-tags.tld).  I even
removed
>the code in the tag, so it looked like this:
>
>
>
>
>In the examples on the www.keyboardmonkey.com/struts site, all the tags
were
>used inside of a form.  I don't have a form, perhaps that's why I was
>getting a null pointer exception.  I am new with STRUTS so I do not know
why
>this is happening and I have not had a chance to dig into the source code
>yet.
>
>Thanks.
>-AP_
>
>-Original Message-
>From: Arron Bates [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, January 15, 2002 10:30 PM
>To: Struts Users Mailing List
>Subject: Re: Is there a better way to write this code?
>
>
>For one, I recommend getting your properties into getter/setter
>methodology. Simply so you can use the wealth that is the Struts tagging
>system (as it's (the bean spec Struts runs against for it's model
>components) kind of what it's all about).
>
>By "'raw' String" do you mean the object's "toString()" method?... Any
>property that yields and object to be written out will have it's
>"toString()" method called to write it to the output.
>
>I'm also curious about your "null pointer" issue with the nested
>extension (for some reason :).
>Can I get a hold of the bean and JSP you were trying to run it with?...
>
>Arron.
>
>
>Alex Paransky wrote:
>
>>I am pretty new with struts and wrote the following .JSP code.  Is there a
>>better way to write this?  I could not find a tag in STRUTS to let me just
>>get the property from the object.  My object does not have get/set
methods,
>>so I had to resort to using <%= tag.  Is there a tag in STRUTS that would
>>just access the "raw" String attribute of the object instead of calling
>>get/set?
>>
>>I also tried using the keyboardmonkey nested library, but kept getting
>>NullPointerExceptions when nested:iterate would execute
>>
>>>class="com.myprofiles.client.web.bean.MemberProfileHeadersBean" />
>>>type="com.myprofiles.service.common.ProfileHeaderValue">
>> <%=profile.name%>
>> <%=profile.description%>
>>
>>
>>Thanks.
>>
>>
>>-AP_
>>www: http://www.alexparansky.com
>>
>>
>>--
>>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]>
>
>
>--
>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]>


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




Re: Is there a better way to write this code?

2002-01-16 Thread Arron Bates

You have three options on starting the nested tags.

nested:form - extends html:form
html:form - naturally
nested:root - this is the "formless" option for starting off. It requires only a 
"name" attribute which has to match the name of a bean which is in "scope". This can 
be done by defining a bean in the struts-config.xml and have it put in session scope, 
or you can use the  tag and set the name of the nested:root tag to the 
name of the bean in this jap:useBean tag.

One other thing...




...there's no need to set the "name" property here. It will be ignored by the nested 
tags anyway, as they must rely on the founded name set by the parent tags.


Arron.


Alex Paransky wrote:

>Some background:
>
>I am using Struts 1.0.1.  The nested tags were obtained from
>http://www.keyboardmonkey.com/struts.  I could not find a reference manual
>for the nested tags, but looking at the .TDL it appears as they were
>intended to be a 1-to-1 mapping with struts.  So I simply replaced
>struts-logic.tld and nested references the nested-tags.tld).  I even removed
>the code in the tag, so it looked like this:
>
>
>
>
>In the examples on the www.keyboardmonkey.com/struts site, all the tags were
>used inside of a form.  I don't have a form, perhaps that's why I was
>getting a null pointer exception.  I am new with STRUTS so I do not know why
>this is happening and I have not had a chance to dig into the source code
>yet.
>
>Thanks.
>-AP_
>
>-Original Message-
>From: Arron Bates [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, January 15, 2002 10:30 PM
>To: Struts Users Mailing List
>Subject: Re: Is there a better way to write this code?
>
>
>For one, I recommend getting your properties into getter/setter
>methodology. Simply so you can use the wealth that is the Struts tagging
>system (as it's (the bean spec Struts runs against for it's model
>components) kind of what it's all about).
>
>By "'raw' String" do you mean the object's "toString()" method?... Any
>property that yields and object to be written out will have it's
>"toString()" method called to write it to the output.
>
>I'm also curious about your "null pointer" issue with the nested
>extension (for some reason :).
>Can I get a hold of the bean and JSP you were trying to run it with?...
>
>Arron.
>
>
>Alex Paransky wrote:
>
>>I am pretty new with struts and wrote the following .JSP code.  Is there a
>>better way to write this?  I could not find a tag in STRUTS to let me just
>>get the property from the object.  My object does not have get/set methods,
>>so I had to resort to using <%= tag.  Is there a tag in STRUTS that would
>>just access the "raw" String attribute of the object instead of calling
>>get/set?
>>
>>I also tried using the keyboardmonkey nested library, but kept getting
>>NullPointerExceptions when nested:iterate would execute
>>
>>>class="com.myprofiles.client.web.bean.MemberProfileHeadersBean" />
>>>type="com.myprofiles.service.common.ProfileHeaderValue">
>> <%=profile.name%>
>> <%=profile.description%>
>>
>>
>>Thanks.
>>
>>
>>-AP_
>>www: http://www.alexparansky.com
>>
>>
>>--
>>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]>
>
>
>--
>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]>




Re: Is there a better way to write this code?

2002-01-16 Thread Arron Bates

A getter method like...

public int getMyListSize() {
return this.myList.getSize();
}

with a tag like...

...maybe?


Arron.


c tang wrote:

>I agree with Alex that current strut taglib has a big
>deficiency.  It allows only access through get/set
>methods of a property.  How do I write the size of
>collection object to a page without resorting
>scriptlet or <%=?  How do I write toString() output to
>a page without resorting scriptlet or <%=?
>
>I had a proposal to allow x.y expression to get y
>in the this order:
>(1) x.getY()
>(2) x.y()
>(3) x.y
>
>In this way, to write toString of x object to a page,
>simply use
>
>
>This proposal is shotdown.  Without this, scriptlet
>has to be used in jsp.
>
>ct
>
>
>--- Arron Bates <[EMAIL PROTECTED]> wrote:
>
>>For one, I recommend getting your properties into
>>getter/setter 
>>methodology. Simply so you can use the wealth that
>>is the Struts tagging 
>>system (as it's (the bean spec Struts runs against
>>for it's model 
>>components) kind of what it's all about).
>>
>>By "'raw' String" do you mean the object's
>>"toString()" method?... Any 
>>property that yields and object to be written out
>>will have it's 
>>"toString()" method called to write it to the
>>output.
>>
>>I'm also curious about your "null pointer" issue
>>with the nested 
>>extension (for some reason :).
>>Can I get a hold of the bean and JSP you were trying
>>to run it with?...
>>
>>Arron.
>>
>>
>>Alex Paransky wrote:
>>
>>>I am pretty new with struts and wrote the following
>>>
>>.JSP code.  Is there a
>>
>>>better way to write this?  I could not find a tag
>>>
>>in STRUTS to let me just
>>
>>>get the property from the object.  My object does
>>>
>>not have get/set methods,
>>
>>>so I had to resort to using <%= tag.  Is there a
>>>
>>tag in STRUTS that would
>>
>>>just access the "raw" String attribute of the
>>>
>>object instead of calling
>>
>>>get/set?
>>>
>>>I also tried using the keyboardmonkey nested
>>>
>>library, but kept getting
>>
>>>NullPointerExceptions when nested:iterate would
>>>
>>execute
>>
>
>>class="com.myprofiles.client.web.bean.MemberProfileHeadersBean"
>>/>
>>
>
>>property="profiles"
>>
>>type="com.myprofiles.service.common.ProfileHeaderValue">
>>
>>> <%=profile.name%>
>>> <%=profile.description%>
>>>
>>>
>>>Thanks.
>>>
>>>
>>>-AP_
>>>www: http://www.alexparansky.com
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:  
>>>
>>
>>
>>>For additional commands, e-mail:
>>>
>>
>>
>>>
>>
>>
>>--
>>To unsubscribe, e-mail:  
>>
>>For additional commands, e-mail:
>>
>>
>
>
>__
>Do You Yahoo!?
>Send FREE video emails in Yahoo! Mail!
>http://promo.yahoo.com/videomail/
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>



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




RE: Is there a better way to write this code?

2002-01-16 Thread Alex Paransky

Some background:

I am using Struts 1.0.1.  The nested tags were obtained from
http://www.keyboardmonkey.com/struts.  I could not find a reference manual
for the nested tags, but looking at the .TDL it appears as they were
intended to be a 1-to-1 mapping with struts.  So I simply replaced



In the examples on the www.keyboardmonkey.com/struts site, all the tags were
used inside of a form.  I don't have a form, perhaps that's why I was
getting a null pointer exception.  I am new with STRUTS so I do not know why
this is happening and I have not had a chance to dig into the source code
yet.

Thanks.
-AP_

-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 10:30 PM
To: Struts Users Mailing List
Subject: Re: Is there a better way to write this code?


For one, I recommend getting your properties into getter/setter
methodology. Simply so you can use the wealth that is the Struts tagging
system (as it's (the bean spec Struts runs against for it's model
components) kind of what it's all about).

By "'raw' String" do you mean the object's "toString()" method?... Any
property that yields and object to be written out will have it's
"toString()" method called to write it to the output.

I'm also curious about your "null pointer" issue with the nested
extension (for some reason :).
Can I get a hold of the bean and JSP you were trying to run it with?...

Arron.


Alex Paransky wrote:

>I am pretty new with struts and wrote the following .JSP code.  Is there a
>better way to write this?  I could not find a tag in STRUTS to let me just
>get the property from the object.  My object does not have get/set methods,
>so I had to resort to using <%= tag.  Is there a tag in STRUTS that would
>just access the "raw" String attribute of the object instead of calling
>get/set?
>
>I also tried using the keyboardmonkey nested library, but kept getting
>NullPointerExceptions when nested:iterate would execute
>
>class="com.myprofiles.client.web.bean.MemberProfileHeadersBean" />
>type="com.myprofiles.service.common.ProfileHeaderValue">
>  <%=profile.name%>
>  <%=profile.description%>
>
>
>Thanks.
>
>
>-AP_
>www: http://www.alexparansky.com
>
>
>--
>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]>


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




Re: Is there a better way to write this code?

2002-01-16 Thread c tang

I agree with Alex that current strut taglib has a big
deficiency.  It allows only access through get/set
methods of a property.  How do I write the size of
collection object to a page without resorting
scriptlet or <%=?  How do I write toString() output to
a page without resorting scriptlet or <%=?

I had a proposal to allow x.y expression to get y
in the this order:
(1) x.getY()
(2) x.y()
(3) x.y

In this way, to write toString of x object to a page,
simply use


This proposal is shotdown.  Without this, scriptlet
has to be used in jsp.

ct


--- Arron Bates <[EMAIL PROTECTED]> wrote:
> For one, I recommend getting your properties into
> getter/setter 
> methodology. Simply so you can use the wealth that
> is the Struts tagging 
> system (as it's (the bean spec Struts runs against
> for it's model 
> components) kind of what it's all about).
> 
> By "'raw' String" do you mean the object's
> "toString()" method?... Any 
> property that yields and object to be written out
> will have it's 
> "toString()" method called to write it to the
> output.
> 
> I'm also curious about your "null pointer" issue
> with the nested 
> extension (for some reason :).
> Can I get a hold of the bean and JSP you were trying
> to run it with?...
> 
> Arron.
> 
> 
> Alex Paransky wrote:
> 
> >I am pretty new with struts and wrote the following
> .JSP code.  Is there a
> >better way to write this?  I could not find a tag
> in STRUTS to let me just
> >get the property from the object.  My object does
> not have get/set methods,
> >so I had to resort to using <%= tag.  Is there a
> tag in STRUTS that would
> >just access the "raw" String attribute of the
> object instead of calling
> >get/set?
> >
> >I also tried using the keyboardmonkey nested
> library, but kept getting
> >NullPointerExceptions when nested:iterate would
> execute
> >
> >
>class="com.myprofiles.client.web.bean.MemberProfileHeadersBean"
> />
> > property="profiles"
>
>type="com.myprofiles.service.common.ProfileHeaderValue">
> >  <%=profile.name%>
> >  <%=profile.description%>
> >
> >
> >Thanks.
> >
> >
> >-AP_
> >www: http://www.alexparansky.com
> >
> >
> >--
> >To unsubscribe, e-mail:  
> 
> >For additional commands, e-mail:
> 
> >
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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




Re: Is there a better way to write this code?

2002-01-15 Thread Arron Bates

For one, I recommend getting your properties into getter/setter 
methodology. Simply so you can use the wealth that is the Struts tagging 
system (as it's (the bean spec Struts runs against for it's model 
components) kind of what it's all about).

By "'raw' String" do you mean the object's "toString()" method?... Any 
property that yields and object to be written out will have it's 
"toString()" method called to write it to the output.

I'm also curious about your "null pointer" issue with the nested 
extension (for some reason :).
Can I get a hold of the bean and JSP you were trying to run it with?...

Arron.


Alex Paransky wrote:

>I am pretty new with struts and wrote the following .JSP code.  Is there a
>better way to write this?  I could not find a tag in STRUTS to let me just
>get the property from the object.  My object does not have get/set methods,
>so I had to resort to using <%= tag.  Is there a tag in STRUTS that would
>just access the "raw" String attribute of the object instead of calling
>get/set?
>
>I also tried using the keyboardmonkey nested library, but kept getting
>NullPointerExceptions when nested:iterate would execute
>
>class="com.myprofiles.client.web.bean.MemberProfileHeadersBean" />
>type="com.myprofiles.service.common.ProfileHeaderValue">
>  <%=profile.name%>
>  <%=profile.description%>
>
>
>Thanks.
>
>
>-AP_
>www: http://www.alexparansky.com
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>



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