Re: Global tag settings?

2009-03-24 Thread carlo latasa
So is this the wrong list to post a question? or is this a RTFM issue?

On Mon, Mar 23, 2009 at 4:47 PM, carlo latasa clat...@gmail.com wrote:

 So should I post this to :
 https://issues.apache.org/struts/secure/Dashboard.jspa ??

 going once, going twice???

 can anyone tell me where the defaults are even set? I've looked through the
 struts-core jar with no luck.


 On Mon, Mar 23, 2009 at 1:57 PM, carlo latasa clat...@gmail.com wrote:

 org.apache.struts2.views.jsp.ui.SelectTag.labelPosition=right

 or

 org.apache.struts2.components.Select.labelPositioin=right

 don't work either.

 So does the default struts.properties file included in the struts jar
 define all the possible keys/values that can be set at runtime?






 On Fri, Mar 20, 2009 at 12:04 PM, clat...@gmail.com wrote:

 Hello,

 Is there any way to set common tag parameters like labelSeparator,
 labelposition etc.. in say the struts.properties file?

 I've tried struts.tag.labelposition, struts.ui.tag.labelposition.

 thanks,

 Carlo








-- 
Carlo Latasa
Cell: (415) 385-1567


Re: Global tag settings?

2009-03-24 Thread carlo latasa
Thanks Jim.

On Tue, Mar 24, 2009 at 10:02 AM, Jim Kiley jhki...@summa-tech.com wrote:

 I don't know of any way to set those values globally for the application,
 but this isn't something I have put a lot of time into.  This is the right
 list to ask questions on, but if you get no response by the second or third
 question it probably means that the folks reading don't know offhand and
 may
 not have time to find the answer.
 jk

 On Tue, Mar 24, 2009 at 12:55 PM, carlo latasa clat...@gmail.com wrote:

  So is this the wrong list to post a question? or is this a RTFM issue?
 
  On Mon, Mar 23, 2009 at 4:47 PM, carlo latasa clat...@gmail.com wrote:
 
   So should I post this to :
   https://issues.apache.org/struts/secure/Dashboard.jspa ??
  
   going once, going twice???
  
   can anyone tell me where the defaults are even set? I've looked through
  the
   struts-core jar with no luck.
  
  
   On Mon, Mar 23, 2009 at 1:57 PM, carlo latasa clat...@gmail.com
 wrote:
  
   org.apache.struts2.views.jsp.ui.SelectTag.labelPosition=right
  
   or
  
   org.apache.struts2.components.Select.labelPositioin=right
  
   don't work either.
  
   So does the default struts.properties file included in the struts jar
   define all the possible keys/values that can be set at runtime?
  
  
  
  
  
  
   On Fri, Mar 20, 2009 at 12:04 PM, clat...@gmail.com wrote:
  
   Hello,
  
   Is there any way to set common tag parameters like labelSeparator,
   labelposition etc.. in say the struts.properties file?
  
   I've tried struts.tag.labelposition, struts.ui.tag.labelposition.
  
   thanks,
  
   Carlo
  
  
  
  
  
  
 
 
  --
  Carlo Latasa
  Cell: (415) 385-1567
 



 --
 Jim Kiley
 Senior Technical Consultant | Summa
 [p] 412.258.3346
 http://www.summa-tech.com




--


Fwd: RE: Global tag settings?

2009-03-24 Thread carlo latasa
I'm not sure I understand what you are getting at but this is what I'd like
to do:

At the moment all of my textfield tags render with labelposition=top - the
default. I'd like to make a global setting for all textfield tags such that
the labelposition=left. Instead of having to call it out in every tag on
every page (thousands in my case).

All other parameters for all other tags could use the default labelposition
- unless I specified otherwise in say the struts.xml;)

Make sense?


On Mar 24, 2009 12:02pm, Martin Gainty mgai...@hotmail.com wrote:

 if you think labelPosition attribute should have a global default then you
may want to update Struts 2 JIRA
 but
 in the case of labelPosition each struts tag is placed in different
locations
 so having a global default of labelPosition=top is orthogonal
 as setting each and every struts tag labelPosition would still have to be
 done for each declared tag in the form
 Is there a practical use case for this scenario?

 Martin
 __
 Disclaimer and confidentiality note
 This message is confidential and may be privileged. If you are not the
intended recipient, we kindly ask you to please inform the sender. Any
unauthorised dissemination or copying hereof is prohibited. This message
serves for information purposes only and shall not have any legally binding
effect. Given that e-mails can easily be subject to manipulation, we can not
accept any liability for the content provided.






  Date: Tue, 24 Mar 2009 13:02:18 -0400
  Subject: Re: Global tag settings?
  From: jhki...@summa-tech.com
  To: user@struts.apache.org
 
  I don't know of any way to set those values globally for the
application,
  but this isn't something I have put a lot of time into. This is the
right
  list to ask questions on, but if you get no response by the second or
third
  question it probably means that the folks reading don't know offhand and
may
  not have time to find the answer.
  jk
 
  On Tue, Mar 24, 2009 at 12:55 PM, carlo latasa clat...@gmail.com wrote:
 
   So is this the wrong list to post a question? or is this a RTFM issue?
  
   On Mon, Mar 23, 2009 at 4:47 PM, carlo latasa clat...@gmail.com
wrote:
  
So should I post this to :
https://issues.apache.org/struts/secure/Dashboard.jspa ??
   
going once, going twice???
   
can anyone tell me where the defaults are even set? I've looked
through
   the
struts-core jar with no luck.
   
   
On Mon, Mar 23, 2009 at 1:57 PM, carlo latasa clat...@gmail.com
wrote:
   
org.apache.struts2.views.jsp.ui.SelectTag.labelPosition=right
   
or
   
org.apache.struts2.components.Select.labelPositioin=right
   
don't work either.
   
So does the default struts.properties file included in the struts
jar
define all the possible keys/values that can be set at runtime?
   
   
   
   
   
   
On Fri, Mar 20, 2009 at 12:04 PM, clat...@gmail.com wrote:
   
Hello,
   
Is there any way to set common tag parameters like labelSeparator,
labelposition etc.. in say the struts.properties file?
   
I've tried struts.tag.labelposition, struts.ui.tag.labelposition.
   
thanks,
   
Carlo
   
   
   
   
   
   
  
  
   --
   Carlo Latasa
   Cell: (415) 385-1567
  
 
 
 
  --
  Jim Kiley
  Senior Technical Consultant | Summa
  [p] 412.258.3346
  http://www.summa-tech.com

 Express your personality in color! Preview and select themes for HotmailĀ®.
See how.



Re: RE: Global tag settings?

2009-03-24 Thread carlo latasa
I'm thinking thats the way it's currently intended to achieve what I want.

I was hoping/assuming that in my struts.xml/struts.properties file I could
just add something like :

constant name=org.apache.struts2.components.TextfField.labelposition
value=right/

On Tue, Mar 24, 2009 at 4:44 PM, Jim Kiley jhki...@summa-tech.com wrote:

 Is there a reason you couldn't just overwrite the textfield tag with a
 custom theme?

 On Tue, Mar 24, 2009 at 5:23 PM, carlo latasa clat...@gmail.com wrote:

  I'm not sure I understand what you are getting at but this is what I'd
 like
  to do:
 
  At the moment all of my textfield tags render with labelposition=top -
 the
  default. I'd like to make a global setting for all textfield tags such
 that
  the labelposition=left. Instead of having to call it out in every tag on
  every page (thousands in my case).
 
  All other parameters for all other tags could use the default
 labelposition
  - unless I specified otherwise in say the struts.xml;)
 
  Make sense?
 
 
  On Mar 24, 2009 12:02pm, Martin Gainty mgai...@hotmail.com wrote:
  
   if you think labelPosition attribute should have a global default then
  you
  may want to update Struts 2 JIRA
   but
   in the case of labelPosition each struts tag is placed in different
  locations
   so having a global default of labelPosition=top is orthogonal
   as setting each and every struts tag labelPosition would still have to
 be
   done for each declared tag in the form
   Is there a practical use case for this scenario?
  
   Martin
   __
   Disclaimer and confidentiality note
   This message is confidential and may be privileged. If you are not the
  intended recipient, we kindly ask you to please inform the sender. Any
  unauthorised dissemination or copying hereof is prohibited. This message
  serves for information purposes only and shall not have any legally
 binding
  effect. Given that e-mails can easily be subject to manipulation, we can
  not
  accept any liability for the content provided.
  
  
  
  
  
  
Date: Tue, 24 Mar 2009 13:02:18 -0400
Subject: Re: Global tag settings?
From: jhki...@summa-tech.com
To: user@struts.apache.org
   
I don't know of any way to set those values globally for the
  application,
but this isn't something I have put a lot of time into. This is the
  right
list to ask questions on, but if you get no response by the second or
  third
question it probably means that the folks reading don't know offhand
  and
  may
not have time to find the answer.
jk
   
On Tue, Mar 24, 2009 at 12:55 PM, carlo latasa clat...@gmail.com
  wrote:
   
 So is this the wrong list to post a question? or is this a RTFM
  issue?

 On Mon, Mar 23, 2009 at 4:47 PM, carlo latasa clat...@gmail.com
  wrote:

  So should I post this to :
  https://issues.apache.org/struts/secure/Dashboard.jspa ??
 
  going once, going twice???
 
  can anyone tell me where the defaults are even set? I've looked
  through
 the
  struts-core jar with no luck.
 
 
  On Mon, Mar 23, 2009 at 1:57 PM, carlo latasa clat...@gmail.com
  wrote:
 
  org.apache.struts2.views.jsp.ui.SelectTag.labelPosition=right
 
  or
 
  org.apache.struts2.components.Select.labelPositioin=right
 
  don't work either.
 
  So does the default struts.properties file included in the
 struts
  jar
  define all the possible keys/values that can be set at runtime?
 
 
 
 
 
 
  On Fri, Mar 20, 2009 at 12:04 PM, clat...@gmail.com wrote:
 
  Hello,
 
  Is there any way to set common tag parameters like
  labelSeparator,
  labelposition etc.. in say the struts.properties file?
 
  I've tried struts.tag.labelposition,
 struts.ui.tag.labelposition.
 
  thanks,
 
  Carlo
 
 
 
 
 
 


 --
 Carlo Latasa
 Cell: (415) 385-1567

   
   
   
--
Jim Kiley
Senior Technical Consultant | Summa
[p] 412.258.3346
http://www.summa-tech.com
  
   Express your personality in color! Preview and select themes for
  HotmailĀ®.
  See how.
  
 



 --
 Jim Kiley
 Senior Technical Consultant | Summa
 [p] 412.258.3346
 http://www.summa-tech.com




-- 
Carlo Latasa
Cell: (415) 385-1567


Re: Global tag settings?

2009-03-23 Thread carlo latasa
org.apache.struts2.views.jsp.ui.SelectTag.labelPosition=right

or

org.apache.struts2.components.Select.labelPositioin=right

don't work either.

So does the default struts.properties file included in the struts jar define
all the possible keys/values that can be set at runtime?

On Fri, Mar 20, 2009 at 12:04 PM, clat...@gmail.com wrote:

 Hello,

 Is there any way to set common tag parameters like labelSeparator,
 labelposition etc.. in say the struts.properties file?

 I've tried struts.tag.labelposition, struts.ui.tag.labelposition.

 thanks,

 Carlo




-- 
Carlo Latasa
Cell: (415) 385-1567


Re: Global tag settings?

2009-03-23 Thread carlo latasa
So should I post this to :
https://issues.apache.org/struts/secure/Dashboard.jspa ??

going once, going twice???

can anyone tell me where the defaults are even set? I've looked through the
struts-core jar with no luck.

On Mon, Mar 23, 2009 at 1:57 PM, carlo latasa clat...@gmail.com wrote:

 org.apache.struts2.views.jsp.ui.SelectTag.labelPosition=right

 or

 org.apache.struts2.components.Select.labelPositioin=right

 don't work either.

 So does the default struts.properties file included in the struts jar
 define all the possible keys/values that can be set at runtime?






 On Fri, Mar 20, 2009 at 12:04 PM, clat...@gmail.com wrote:

 Hello,

 Is there any way to set common tag parameters like labelSeparator,
 labelposition etc.. in say the struts.properties file?

 I've tried struts.tag.labelposition, struts.ui.tag.labelposition.

 thanks,

 Carlo







Re: passing params to action tag...

2009-01-26 Thread carlo latasa
That makes sense. It was multi-line in older versions of WebWork with
Velocity.

So I'm still stuck trying to make this work

Is there any documentation that I'm missing? How would one do this with a
plain struts action tag?

On Mon, Jan 26, 2009 at 5:28 PM, Dave Newton newton.d...@yahoo.com wrote:

 clat...@gmail.com wrote:

 I'm trying to use the #saction tag where I pass a parameter into the
 action being called. (Struts 2, Velocity 1.5)

 Like this:

 #saction( id=vehicleAction namespace=/admin/fleet/vehicle
 name=search executeResult=true)
 #sparam(name=when value=now)
 #end


 I'd guess that due to Velocity issues the action tag is an inline tag
 (i.e., won't work with an #end). AFAIK only a few tags are multiline, like
 form.

 The source seems to confirm my suspicion. The issue is that the directives
 have to define up-front if they're inline or multiline, so for convenience
 most of the Velo tags are declared inline to handle the most common
 use-cases.

 Dave


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




-- 
Carlo Latasa
Cell: (415) 385-1567


Re: passing params to action tag...

2009-01-26 Thread carlo latasa
Right - duh. I knew that.

So I guess it's just not possible using the velocity tag equivalent. I'll
try digging into the source.

Are the Struts 2 Velocity just not very popular and or supported?

On Mon, Jan 26, 2009 at 5:44 PM, Dave Newton newton.d...@yahoo.com wrote:

 carlo latasa wrote:

 That makes sense. It was multi-line in older versions of WebWork with
 Velocity.

 So I'm still stuck trying to make this work

 Is there any documentation that I'm missing? How would one do this with a
 plain struts action tag?


 In JSP? The way you're doing it.


 Dave


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




-- 
Carlo Latasa
Cell: (415) 385-1567


Struts 2 - Velocity Tag reference

2009-01-22 Thread carlo latasa
Hello,
I'm using Struts 2 and Velocity 1.5/Tools 2.0-beta3 and trying to find
a list of supported parameters in the velocity struts tags like:
#stext or #slabel.

For example, passing labelSeparator=- - does nothing.
'labelPosition' - likewise, does nothing.

I've seen other posts relating to this issue:
http://www.mail-archive.com/user@struts.apache.org/msg83661.html

Of course I've looked in the struts documentation and don't see
anything. Putting a '#s' in front of the tags listed here:
http://struts.apache.org/2.0.14/docs/tag-reference.html, you would
think that all of the parameters listed would be supported.

Any clues?

jars:
struts2-core-2.0.11.2.jar (and all the other jars that come with 2.0.11.2)
veloticty-1.5.jar
velocity-tools-2.0-beta3.jar

Thanks,
Carlo.


Re: Struts 2 - Velocity Tag reference

2009-01-22 Thread carlo latasa
Not sure. How do I check? It's a legacy app.

On Thu, Jan 22, 2009 at 1:41 PM, Musachy Barroso musa...@gmail.com wrote:

 you are not using the simple theme right?

 musachy

 On Thu, Jan 22, 2009 at 1:31 PM, carlo latasa clat...@gmail.com wrote:
  Hello,
  I'm using Struts 2 and Velocity 1.5/Tools 2.0-beta3 and trying to find
  a list of supported parameters in the velocity struts tags like:
  #stext or #slabel.
 
  For example, passing labelSeparator=- - does nothing.
  'labelPosition' - likewise, does nothing.
 
  I've seen other posts relating to this issue:
  http://www.mail-archive.com/user@struts.apache.org/msg83661.html
 
  Of course I've looked in the struts documentation and don't see
  anything. Putting a '#s' in front of the tags listed here:
  http://struts.apache.org/2.0.14/docs/tag-reference.html, you would
  think that all of the parameters listed would be supported.
 
  Any clues?
 
  jars:
  struts2-core-2.0.11.2.jar (and all the other jars that come with
 2.0.11.2)
  veloticty-1.5.jar
  velocity-tools-2.0-beta3.jar
 
  Thanks,
  Carlo.
 



 --
 Hey you! Would you help me to carry the stone? Pink Floyd

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




-- 
Carlo Latasa
Cell: (415) 385-1567


Re: Struts 2 - Velocity Tag reference

2009-01-22 Thread carlo latasa
Check that, on the .vm page, I'm not calling out a theme and there's nothing
obvious in my struts.xml file.
Is there another way the theme can be set globally?

On Thu, Jan 22, 2009 at 2:01 PM, carlo latasa clat...@gmail.com wrote:

 Not sure. How do I check? It's a legacy app.


 On Thu, Jan 22, 2009 at 1:41 PM, Musachy Barroso musa...@gmail.comwrote:

 you are not using the simple theme right?

 musachy

 On Thu, Jan 22, 2009 at 1:31 PM, carlo latasa clat...@gmail.com wrote:
  Hello,
  I'm using Struts 2 and Velocity 1.5/Tools 2.0-beta3 and trying to find
  a list of supported parameters in the velocity struts tags like:
  #stext or #slabel.
 
  For example, passing labelSeparator=- - does nothing.
  'labelPosition' - likewise, does nothing.
 
  I've seen other posts relating to this issue:
  http://www.mail-archive.com/user@struts.apache.org/msg83661.html
 
  Of course I've looked in the struts documentation and don't see
  anything. Putting a '#s' in front of the tags listed here:
  http://struts.apache.org/2.0.14/docs/tag-reference.html, you would
  think that all of the parameters listed would be supported.
 
  Any clues?
 
  jars:
  struts2-core-2.0.11.2.jar (and all the other jars that come with
 2.0.11.2)
  veloticty-1.5.jar
  velocity-tools-2.0-beta3.jar
 
  Thanks,
  Carlo.
 



 --
 Hey you! Would you help me to carry the stone? Pink Floyd

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




 --
 Carlo Latasa
 Cell: (415) 385-1567




-- 
Carlo Latasa
Cell: (415) 385-1567


Re: Struts 2 - Velocity Tag reference

2009-01-22 Thread carlo latasa
Yep, checked my struts.xml and I DO NOT have the following: constant
name=struts.ui.theme value=simple/

On Thu, Jan 22, 2009 at 2:06 PM, carlo latasa clat...@gmail.com wrote:

 Check that, on the .vm page, I'm not calling out a theme and there's
 nothing obvious in my struts.xml file.
 Is there another way the theme can be set globally?

 On Thu, Jan 22, 2009 at 2:01 PM, carlo latasa clat...@gmail.com wrote:

 Not sure. How do I check? It's a legacy app.


 On Thu, Jan 22, 2009 at 1:41 PM, Musachy Barroso musa...@gmail.comwrote:

 you are not using the simple theme right?

 musachy

 On Thu, Jan 22, 2009 at 1:31 PM, carlo latasa clat...@gmail.com wrote:
  Hello,
  I'm using Struts 2 and Velocity 1.5/Tools 2.0-beta3 and trying to find
  a list of supported parameters in the velocity struts tags like:
  #stext or #slabel.
 
  For example, passing labelSeparator=- - does nothing.
  'labelPosition' - likewise, does nothing.
 
  I've seen other posts relating to this issue:
  http://www.mail-archive.com/user@struts.apache.org/msg83661.html
 
  Of course I've looked in the struts documentation and don't see
  anything. Putting a '#s' in front of the tags listed here:
  http://struts.apache.org/2.0.14/docs/tag-reference.html, you would
  think that all of the parameters listed would be supported.
 
  Any clues?
 
  jars:
  struts2-core-2.0.11.2.jar (and all the other jars that come with
 2.0.11.2)
  veloticty-1.5.jar
  velocity-tools-2.0-beta3.jar
 
  Thanks,
  Carlo.
 



 --
 Hey you! Would you help me to carry the stone? Pink Floyd

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




 --
 Carlo Latasa
 Cell: (415) 385-1567




 --
 Carlo Latasa
 Cell: (415) 385-1567




-- 
Carlo Latasa
Cell: (415) 385-1567


Re: Struts 2 - Velocity Tag reference

2009-01-22 Thread carlo latasa
Ok confirmed, it appears the default is xhtml considering that when I add:
constant name=struts.ui.theme value=xhtml/ to struts.xml

I get the same as without it.

On Thu, Jan 22, 2009 at 2:09 PM, carlo latasa clat...@gmail.com wrote:

 Yep, checked my struts.xml and I DO NOT have the following: constant
 name=struts.ui.theme value=simple/


 On Thu, Jan 22, 2009 at 2:06 PM, carlo latasa clat...@gmail.com wrote:

 Check that, on the .vm page, I'm not calling out a theme and there's
 nothing obvious in my struts.xml file.
 Is there another way the theme can be set globally?

 On Thu, Jan 22, 2009 at 2:01 PM, carlo latasa clat...@gmail.com wrote:

 Not sure. How do I check? It's a legacy app.


 On Thu, Jan 22, 2009 at 1:41 PM, Musachy Barroso musa...@gmail.comwrote:

 you are not using the simple theme right?

 musachy

 On Thu, Jan 22, 2009 at 1:31 PM, carlo latasa clat...@gmail.com
 wrote:
  Hello,
  I'm using Struts 2 and Velocity 1.5/Tools 2.0-beta3 and trying to find
  a list of supported parameters in the velocity struts tags like:
  #stext or #slabel.
 
  For example, passing labelSeparator=- - does nothing.
  'labelPosition' - likewise, does nothing.
 
  I've seen other posts relating to this issue:
  http://www.mail-archive.com/user@struts.apache.org/msg83661.html
 
  Of course I've looked in the struts documentation and don't see
  anything. Putting a '#s' in front of the tags listed here:
  http://struts.apache.org/2.0.14/docs/tag-reference.html, you would
  think that all of the parameters listed would be supported.
 
  Any clues?
 
  jars:
  struts2-core-2.0.11.2.jar (and all the other jars that come with
 2.0.11.2)
  veloticty-1.5.jar
  velocity-tools-2.0-beta3.jar
 
  Thanks,
  Carlo.
 



 --
 Hey you! Would you help me to carry the stone? Pink Floyd

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




 --
 Carlo Latasa
 Cell: (415) 385-1567




 --
 Carlo Latasa
 Cell: (415) 385-1567




 --
 Carlo Latasa
 Cell: (415) 385-1567




-- 
Carlo Latasa
Cell: (415) 385-1567


Using Old Velocity tags

2008-12-03 Thread carlo latasa
Hello,

I'm wondering if the older style velocity tags of the following form are
still supported:

- #tag( *tagname* label='login.submit'  align=right ) - where *tagname *is
something like TextField, Password or Submit.

I have a hunch that there is some special configuration that is necessary
considering that right alongside this tag call the standard #stextfield,
#spassword or #ssubmit all work.

Maybe someone can just throw me a link to where this kind of thing is
documented?


Thanks in advance.


Re: Using Old Velocity tags

2008-12-03 Thread carlo latasa
Hello musachy,

Thanks for the reply. I've read that link (along with lots of other docs on
struts.apache.org) and was looking for a way to get the old tags to work. My
client has an application that has hundreds and hundreds of .vm files all
using that older syntax.  I'd really like to avoid having to re-factor all
of those files.

Do you have any magic docs that you could point me to as to how struts works
with Velocity? Or perhaps just some struts classes that I could look at?

Cheers.

On Wed, Dec 3, 2008 at 8:41 AM, Musachy Barroso [EMAIL PROTECTED] wrote:

 Struts implements some magic so velocity can use the struts tags:

 http://struts.apache.org/2.0.14/docs/velocity-tags.html

 I think for that magic to work you need to use the #sXYZ format.
 musachy

 On Wed, Dec 3, 2008 at 11:35 AM, carlo latasa [EMAIL PROTECTED] wrote:
  Hello,
 
  I'm wondering if the older style velocity tags of the following form are
  still supported:
 
  - #tag( *tagname* label='login.submit'  align=right ) - where
 *tagname *is
  something like TextField, Password or Submit.
 
  I have a hunch that there is some special configuration that is necessary
  considering that right alongside this tag call the standard #stextfield,
  #spassword or #ssubmit all work.
 
  Maybe someone can just throw me a link to where this kind of thing is
  documented?
 
 
  Thanks in advance.
 



 --
 Hey you! Would you help me to carry the stone? Pink Floyd

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




-- 
Carlo Latasa
EdgeDriven.com
Cell: (415) 385-1567


Older Velocity Tag support and custom tags / directives...

2008-12-02 Thread carlo latasa
Hello all,

I've got  an older application built using xwork (1.x) and Velocity for all
of the html presentation pages. It also made use of several custom velocity
tags/directives that used the webwork based VelocityManager as well as the
velocity.app.VelocityEngine to build Templates.

On the actual .vm pages there is heavy use of the following formats:
- '#tag( TextField ...' - type tags (as opposed to the newer
'#stextfield(...' tags).
- Custom tags like: '#tag( Component template=/templates/errorMessages.vm
params.value=actionErrors )'
- #tag( *tagname* value='login.submit' align=right ) - where the actual
text for  'login.submit' is held in a properties file.

So - I'd like to upgrade to struts2 but am having a heck of a time finding
struts2 velocity specific documentation that will help me make the migration
without having to re-write the hundreds of .vm pages the application has.
I've looked at all of the struts documenction :
http://struts.apache.org/2.x/ as well as playing with the showcase
application. This information is great for someone starting off new but not
that helpful for someone in my position.

I've spent a couple of days messing with the velocity.properties, web.xml,
struts.xml and struts.properties files but haven't had much luck.

Is this possible? If so, I could sure use some Help!

Thanks in advance.

-- 
Carlo Latasa


Older Velocity Tag support and custom tags / directives...

2008-12-02 Thread carlo latasa
Hello all,

I've got  an older application built using xwork (1.x) and Velocity for all
of the html presentation pages. It also made use of several custom velocity
tags/directives that used the webwork based VelocityManager as well as the
velocity.app.VelocityEngine to build Templates.

On the actual .vm pages there is heavy use of the following formats:
- '#tag( TextField ...' - type tags (as opposed to the newer
'#stextfield(...' tags).
- Custom tags like: '#tag( Component template=/templates/errorMessages.vm
params.value=actionErrors )'
- #tag( *tagname* value='login.submit' align=right ) - where the actual
text for  'login.submit' is held in a properties file.

So - I'd like to upgrade to struts2 but am having a heck of a time finding
struts2 velocity specific documentation that will help me make the migration
without having to re-write the hundreds of .vm pages the application has.
I've looked at all of the struts documenction :
http://struts.apache.org/2.x/ as well as playing with the showcase
application. This information is great for someone starting off new but not
that helpful for someone in my position.

I've spent a couple of days messing with the velocity.properties, web.xml,
struts.xml and struts.properties files but haven't had much luck.

Is this possible? If so, I could sure use some Help!

Thanks in advance.

-- 
Carlo Latasa



-- 
Carlo Latasa
EdgeDriven.com
Cell: (415) 385-1567

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