Re: How to list a property in a display:table (Struts 2)

2007-08-09 Thread fergunet

Thank you Toni! It worked!

Only adding 
display:column titleKey=global.roles

s:iterator value=#attr.row.roles 
s:property value=roleBaseVO.name /

/s:iterator


and all is shown ok.

Thank you again ;)


Toni Lyytikäinen wrote:
 
 Set the uid attribute in the display:table -tag like this:
 
 display:table uid=row name=... id=... ...
 
 after that you can refer to the row from struts tags by using #attr.row
 
 so the iterator should now works like this:
 
 s:iterator value=#attr.row.roles
 
 On 8/8/07, fergunet [EMAIL PROTECTED] wrote:


 Hi all!

 I've created a display table to show a list of things and their
 attributes.
 But one of those attributes is another list of objects. I don't know how
 to
 print their names.

 Let's see what I have:


 display:table name=usersBase class=displaytag pagesize=10
 defaultsort=1
defaultorder=ascending export=true id=row
 requestURI=/user/list.mpch 
 display:caption title=global.users/
 display:column property=id titleKey=global.id
 sortable=true headerClass=sortable/
 display:column property=login titleKey=global.login
 sortable=true headerClass=sortable/
 display:column property=name titleKey=global.name
 sortable=true headerClass=sortable/
 display:column property=cif titleKey=global.cif
 sortable=true headerClass=sortable/
 display:column property=email titleKey=global.email
 sortable=true headerClass=sortable/
 display:column property=roles titleKey=global.roles
 sortable=true headerClass=sortable/

 display:column title=Roles
 s:iterator value=${row.roles}
 ITERATE
 /s:iterator


 /display:column
 display:column title=getTextglobal.provider
 sortable=true
 headerClass=sortable
 s:if test=${row.provider}==true
 Is provider
 /s:if
 s:else
 Is not provider
 /s:else
 /display:table


 Look at the roles property column. That property is a ListRoleVO
 which
 have an attribute RoleBaseVO wich have the String name. I'm trying to
 show
 the list of that names. (Now only prints:
 [EMAIL PROTECTED],
 [EMAIL PROTECTED],
 [EMAIL PROTECTED] )

 I thought to use an iterator as you can see, but the ITERATE!!! string
 is
 never shown.

 Any ideas? Thanks in advance, and sorry about my English.
 --
 View this message in context:
 http://www.nabble.com/How-to-list-a-property-in-a-display%3Atable-%28Struts-2%29-tf4236011.html#a12052184
 Sent from the Struts - User mailing list archive at Nabble.com.


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


 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-list-a-property-in-a-display%3Atable-%28Struts-2%29-tf4236011.html#a12066999
Sent from the Struts - User mailing list archive at Nabble.com.


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



RE: Binding a Java 5 Enumeration to a Select Tag

2007-08-09 Thread Thorsten Schäfer
S2

 S1 or S2?

  I'd like to bind an enumeration directly to a select tag, 


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



RE: Struts Url Validator

2007-08-09 Thread Al Sutton
Could it be because http://google isn't a valid URL?

Many browsers add .com, .net etc to the end of what you type and look for
the first thing that gets a response, but that is browser behaviour, and the
url validator should reject http://google because it isn't a valid URL.


-Original Message-
From: semaj.najraham [mailto:[EMAIL PROTECTED] 
Sent: 09 August 2007 03:45
To: user@struts.apache.org
Subject: Re: Struts Url Validator



I can validate http://www.google.com, https://www.google.com, but not
http://google

Is this the limitation of struts url validator?

I would really appreciate if someone would reply.

Thank you,
semaj


semaj.najraham wrote:
 
 Does anybody know if I can use Struts Url Validator for intranet url?
 
 For exampe: http://intranet or http://localhost:8080
 
 Thanks,
 semaj
 
 
 

-- 
View this message in context:
http://www.nabble.com/Struts-Url-Validator-tf4238692.html#a12065552
Sent from the Struts - User mailing list archive at Nabble.com.


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



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



Re: portlet jasper report example

2007-08-09 Thread Leonidas Papadakis

Hi Nils,

thank you very much for your reply. I really appreciate it.

I will try your solution and see what will come out.

Best Regards,

Leonidas


Nils-Helge Garli wrote:

Hi!

Jasper reports is, as far as I know, not tested in the portlet
framework. I'm not too familiar with Jasper, but if it's something
that should be generated and displayed on the fly (that is of binary
type), this cannot be done in a portlet in a portable manner. You
might have better luck dispatching your request to a servlet that does
the job. There's no problem combining servlets and portlets in your
application.

Nils-H

On 8/8/07, Leonidas Papadakis [EMAIL PROTECTED] wrote:
  

Greetings to all,

i am trying to use jasper reports under liferay. I think that i managed
to add successfully my portlet to liferay although i had issues with the
struts.xml file (had to manually add the result type jasper pointing
to the plugin class).

The problem is that now i get an uncaught exception from class
JasperReportsResult.java at line 222:
File directory = new File(systemId.substring(0,
systemId.lastIndexOf(File.separator)));

Has anyone come across this issue before ? or if someone has a struts
2.0.9 Working tutorial (a..z) can you please send me a link ?

Thank you very much

Regards,

Leonidas

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





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


  



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



Re: Struts Url Validator

2007-08-09 Thread Dale Newfield

Does anybody know if I can use Struts Url Validator for intranet url?

For exampe: http://intranet or http://localhost:8080


I'm pretty sure it doesn't try to resolve the machine, or do a DNS 
lookup in order to determine if the url is valid.  One could conceive of 
building something that did...


-Dale

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



Re: Struts Url Validator

2007-08-09 Thread Jasper Floor
well, I'm pretty sure after checking the rfc's (1738 section3.4 and
3.1, 1034 section 3.5 adn 1123 section 2.1) that you are building
vaild url's under the http scheme. So either the validator is doing
something wrong or you are. Mind a URL is deffined as:

scheme:scheme-specific-part

so it really matters which scheme you are validating. Assuming the
validator is correct perhaps you need to specify what scheme you are
using. Assuming you're code is correctwell check the source of the
validator to see what it's doing wrong. Then steal the code (can you
steal oss?), rewrite it and send it back to the creators  with a
pompous message about l33t you are compared to them and how sucky they
are and how they are such poor hack0rs that they will never be able to
find you... uhm, come to think of it that last part might not be such
a good idea.

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



css_xhtml theme label position thoughts

2007-08-09 Thread TuomoS

Following  http://struts.apache.org/2.0.9/docs/cssxhtml-theme.html document 
states that the css_xhtml uses 2 column layout. 

How come all the .flt files in the css_xhtml directory keep referring to
labelposition?default(top) == 'top' ? And by default I get a 1 column
layout.

Even though the document also says that 'the CSS theme does not use a
labelposition attribute. Instead, the label position is defined by CSS
rules.' I find it that it can be changed by changing the labelPosition
attribute with the form tags and by that way having 2 column layout.


Regards,
Tuomo

-- 
View this message in context: 
http://www.nabble.com/css_xhtml-theme---label-position-thoughts-tf4241331.html#a12068536
Sent from the Struts - User mailing list archive at Nabble.com.


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



tiles defs file

2007-08-09 Thread George Dadulescu
Hi. I've just started using struts 2 and I need a little help from you guys.
I tried to integrate tiles with struts but I don't have all the info. I
added the struts-tiles plugin, the listener 
org.apache.struts2.tiles.StrutsTilesListener and I added the
result-types
result-type name=tiles class=
org.apache.struts2.views.tiles.TilesResult /
/result-types
in my struts.xml but now I don't know how to configure the tiles defs file
and any other step I missed.

PS: Where should I put the former init-param element so that the
application knows where is my tiles defs file ?

Thanks.


Re: tiles defs file

2007-08-09 Thread Antonio Petrelli
2007/8/9, George Dadulescu [EMAIL PROTECTED]:
 Hi. I've just started using struts 2 and I need a little help from you guys.
 I tried to integrate tiles with struts but I don't have all the info. I
 added the struts-tiles plugin, the listener 
 org.apache.struts2.tiles.StrutsTilesListener and I added the
 result-types
 result-type name=tiles class=
 org.apache.struts2.views.tiles.TilesResult /
 /result-types
 in my struts.xml but now I don't know how to configure the tiles defs file
 and any other step I missed.

 PS: Where should I put the former init-param element so that the
 application knows where is my tiles defs file ?


See:
http://tiles.apache.org/tutorial/configuration.html
See the instructions for the use of the TilesListener, the context
parameter is the same even using StrutsTilesListener.

Antonio

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



logic:iterate - Question

2007-08-09 Thread Mad Shop
I have following scenario.
   
   I have getExSummary() method in exForm which returns a arraylist of A 
object.  How to use logic:iterate tag to print all the values which methods in 
A object.
  getACount(),getBCount() are methods in A object.
   
  I tried following tag, which is not working.  Please suggest me the 
correct logic:iterate tag.
   
  logic:notEmpty name =exForm property=exSummary
  logic:iterate name =exForm property=exSummary id=e indexId=edx
  tr
  td
  bean:write name=exSummary property=aCount /
  /td
  td
  bean:write name=expSummary property=bCount /
  /td
  /tr
  /logic:iterate
  /logic:notEmpty
  /table
   
  Error which I am getting
   
  Aug 9, 2007 3:52:43 PM IST Error HTTP BEA-101020 
[weblogic.servlet.inte
[EMAIL PROTECTED] - appName: 'AAA', name: 'aaa', context-path: '/
eem'] Servlet failed with Exception
java.lang.NullPointerException
at weblogic.logging.commons.LogImpl.doLog(LogImpl.java:95)
at weblogic.logging.commons.LogImpl.debug(LogImpl.java:59)
at weblogic.logging.commons.LogImpl.debug(LogImpl.java:55)
at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1036)
at org.apache.struts.taglib.TagUtils.message(TagUtils.java:999)
Truncated. see log file for complete stacktrace


   
-
Got a little couch potato? 
Check out fun summer activities for kids.

logic:greaterThan tag - issue

2007-08-09 Thread Mad Shop
  Following is my actual code 
 nested:notEmpty property=completeItems
nested:iterate property=completeItems id=complete 
indexId=completeIdx
 nested:write property=paymentAmount /
nested:greaterEqual property=paymentAmount value=1000.00 
  tr
b Greater Equal 1000 /b 
 /tr
  /nested:greaterEqual
 /nested:iterate
/nested:notEmpty
   

This is working for all the values greater and equal to 1000 but it 
also works for all the values less than 1000, which it should not.  Can you 
help me out in this.  I am getting Greater Equal 1000 message even for values 
less than 1000.
   
The bean property returns a big Decimal.  But still this comparision fails! 
 Not able to get to the root of the cause, do you have any idea.   
  I am retriving the values from Database, and I have checked the 
return value its a big decimal.
   
  Even logic:greaterEqual is not working for me.
   
  We are using Struts 1.2 version.  Still problem exists.
  Specification-Title: Struts Framework
Specification-Vendor: The Apache Software Foundation
Specification-Version: 1.2.7
Implementation-Title: Struts Framework
Implementation-Vendor: The Apache Software Foundation
Implementation-Vendor-Id: org.apache
Implementation-Version: 1.2.7
   
  struts-logic.tld entries
   tlibversion1.2/tlibversion
jspversion1.1/jspversion



   
-
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 

how do I use an ognl expression to set a param value in a field validator

2007-08-09 Thread David Harland
Can someone please tell me how I use an ognl expression to set a param
value in a field validator.

Thanks

Dave.

__
Ufi Limited 
Registered in England No.  3980770 
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP 

learndirect Solutions Ltd 
Registered in England No. 5081669 
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP 

UFI Charitable Trust 
Registered in England No.  3658378 
Registered Charity No.  1081028 
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP 

This email has been scanned by the MessageLabs Email Security System.

__

Can you add ognl evaluation of param values in field validators

2007-08-09 Thread David Harland
Would it be possible to add ognl evaluation of param values in field
validators.

Thanks

Dave.

__
Ufi Limited 
Registered in England No.  3980770 
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP 

learndirect Solutions Ltd 
Registered in England No. 5081669 
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP 

UFI Charitable Trust 
Registered in England No.  3658378 
Registered Charity No.  1081028 
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP 

This email has been scanned by the MessageLabs Email Security System.

__

How to print values using nested:iterate tag

2007-08-09 Thread Mad Shop
I have following scenario.
   
   I have getExSummary() method in exForm which returns a arraylist
 of A object.  How to use logic:iterate tag to print all the values
 which methods in A object.
  getACount(),getBCount() are methods in A object.
   
  I tried following tag, which is not working.  Please suggest me
 the correct nested:iterate tag.
   table
  nested:notEmpty name =exForm property=exSummary
  nested:iterate name =exForm property=exSummary id=e indexId=edx
  tr
  td
  nested:write property=aCount /
  /td
  td
  nested:write property=bCount /
  /td
  /tr
  /nested:iterate
  /nested:notEmpty
  /table
   
  Error which I am getting
   
  Aug 9, 2007 3:52:43 PM IST Error HTTP BEA-101020
 [weblogic.servlet.inte
[EMAIL PROTECTED] - appName: 'AAA', name: 'aaa',
 context-path: '/
eem'] Servlet failed with Exception
java.lang.NullPointerException
at weblogic.logging.commons.LogImpl.doLog(LogImpl.java:95)
at weblogic.logging.commons.LogImpl.debug(LogImpl.java:59)
at weblogic.logging.commons.LogImpl.debug(LogImpl.java:55)
at
 org.apache.struts.taglib.TagUtils.message(TagUtils.java:1036)
at org.apache.struts.taglib.TagUtils.message(TagUtils.java:999)
Truncated. see log file for complete stacktrace


   
-
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 

2.0.9 and TabbedPanel

2007-08-09 Thread stanlick
Is there something special about getting TabbedPanel to work in 2.0.9?

-- 
Scott
[EMAIL PROTECTED]


[S2]: Client-side validation per method

2007-08-09 Thread Veronica Iturrioz
Hi, I'm trying to use client-side validation with annotations in my action 
methods. But for all methods executes the same javascript validation. I want 
different validations for different methods. 

How can I do that?
I put @SkipValidation in some methods.

thanks, Veronica


   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

Re: tiles defs file

2007-08-09 Thread j alex
Also, if you dont specify any path for the tiles def ; it default to
WEB-INF/tiles.xml (Tiles 2.0.4 onwards i guess)

On 8/9/07, Antonio Petrelli [EMAIL PROTECTED] wrote:

 2007/8/9, George Dadulescu [EMAIL PROTECTED]:
  Hi. I've just started using struts 2 and I need a little help from you
 guys.
  I tried to integrate tiles with struts but I don't have all the info. I
  added the struts-tiles plugin, the listener 
  org.apache.struts2.tiles.StrutsTilesListener and I added the
  result-types
  result-type name=tiles class=
  org.apache.struts2.views.tiles.TilesResult /
  /result-types
  in my struts.xml but now I don't know how to configure the tiles defs
 file
  and any other step I missed.
 
  PS: Where should I put the former init-param element so that the
  application knows where is my tiles defs file ?


 See:
 http://tiles.apache.org/tutorial/configuration.html
 See the instructions for the use of the TilesListener, the context
 parameter is the same even using StrutsTilesListener.

 Antonio

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




Re: struts1 or struts 2?

2007-08-09 Thread Ted Husted
On 8/8/07, Asthana, Rahul [EMAIL PROTECTED] wrote:
 Besides,I was also interested in how things like workflow are handled in an 
 AJAX based
 framework, as opposed to a webapp that happens to use AJAX .

Conventional web applications tend to use a different page for each
top-level view. If we are using a tab-motif, each tab is usually a
separate (thin) page. In an AJAX application, each tab is often a
separate div of the same (rich) page, and we make the appropriate div
visible or invisible.

In a conventional web application, workflow means bouncing between
thin pages, and trying to maintain state as we go. In an AJAX
application, we tend to bounce between divs on the same rich page. A
very handy difference is that we can store state on the client-side as
JavaScript variables. Another big difference is that we don't have to
resort to gizmos like Tiles and SiteMesh to retain look and feel.
Instead of swapping page fragments between requests, we can swap divs
progmatically.

Of course, we've been trying to simulate this approach in thin pages
for years. I can remember doing the same sort of thing in Perl eons
ago. We would output the base page, switch to the panel to insert for
a given request, and output the rest of the base. Conventional ASP.NET
does the same sort with its panel control. The difference is that with
AJAX it is not a simulation. It's the real thing. The client is
actually changing the content in the middle of the page.

The very best part is that the AJAX architecture creates a very clear
separation between model and view. In a conventional web application,
we tend to muddle the action workflow with the concerns of both the
model and the view. In an AJAX application, it's much easier to keep
all of the model concerns on the server-side of a JSON request, and
keep all the the view concerns client-side.

IMHO, if we had today's JavaScript/CSS/HTML environment available to
us in 1998, then JSP, ASP, JSF, PHP, and all the rest of it, would not
exist. We did all these things to make up for the shortcomings of the
client-side environment, and, since then, the key shortcomings have
been addressed.

-Ted.

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



Re: tiles defs file

2007-08-09 Thread Antonio Petrelli
2007/8/9, j alex [EMAIL PROTECTED]:

 Also, if you dont specify any path for the tiles def ; it default to
 WEB-INF/tiles.xml (Tiles 2.0.4 onwards i guess)



It's the default even on Struts-Tiles

Antonio


Re: logic:iterate - Question

2007-08-09 Thread Leon Rosenberg
you seems to have problems with logging configuration.
apparently your weblogic server isn't properly configured which log to
use with commons-logging adaptor.

On 8/9/07, Mad Shop [EMAIL PROTECTED] wrote:
 I have following scenario.

I have getExSummary() method in exForm which returns a arraylist of A 
 object.  How to use logic:iterate tag to print all the values which methods 
 in A object.
   getACount(),getBCount() are methods in A object.

   I tried following tag, which is not working.  Please suggest me the 
 correct logic:iterate tag.

   logic:notEmpty name =exForm property=exSummary
   logic:iterate name =exForm property=exSummary id=e indexId=edx
   tr
   td
   bean:write name=exSummary property=aCount /
   /td
   td
   bean:write name=expSummary property=bCount /
   /td
   /tr
   /logic:iterate
   /logic:notEmpty
   /table

   Error which I am getting

   Aug 9, 2007 3:52:43 PM IST Error HTTP BEA-101020 
 [weblogic.servlet.inte
 [EMAIL PROTECTED] - appName: 'AAA', name: 'aaa', context-path: '/
 eem'] Servlet failed with Exception
 java.lang.NullPointerException
 at weblogic.logging.commons.LogImpl.doLog(LogImpl.java:95)
 at weblogic.logging.commons.LogImpl.debug(LogImpl.java:59)
 at weblogic.logging.commons.LogImpl.debug(LogImpl.java:55)
 at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1036)
 at org.apache.struts.taglib.TagUtils.message(TagUtils.java:999)
 Truncated. see log file for complete stacktrace
 


 -
 Got a little couch potato?
 Check out fun summer activities for kids.

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



Re: logic:greaterThan tag - issue

2007-08-09 Thread Leon Rosenberg
have you tried to use double instead?
Leon

On 8/9/07, Mad Shop [EMAIL PROTECTED] wrote:
   Following is my actual code
  nested:notEmpty property=completeItems
 nested:iterate property=completeItems id=complete 
 indexId=completeIdx
  nested:write property=paymentAmount /
 nested:greaterEqual property=paymentAmount value=1000.00
   tr
 b Greater Equal 1000 /b
  /tr
   /nested:greaterEqual
  /nested:iterate
 /nested:notEmpty


 This is working for all the values greater and equal to 1000 but it 
 also works for all the values less than 1000, which it should not.  Can you 
 help me out in this.  I am getting Greater Equal 1000 message even for 
 values less than 1000.

 The bean property returns a big Decimal.  But still this comparision 
 fails!  Not able to get to the root of the cause, do you have any idea.
   I am retriving the values from Database, and I have checked the 
 return value its a big decimal.

   Even logic:greaterEqual is not working for me.

   We are using Struts 1.2 version.  Still problem exists.
   Specification-Title: Struts Framework
 Specification-Vendor: The Apache Software Foundation
 Specification-Version: 1.2.7
 Implementation-Title: Struts Framework
 Implementation-Vendor: The Apache Software Foundation
 Implementation-Vendor-Id: org.apache
 Implementation-Version: 1.2.7

   struts-logic.tld entries
tlibversion1.2/tlibversion
 jspversion1.1/jspversion




 -
 Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links.

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



Re: logic:greaterThan tag - issue

2007-08-09 Thread Mad Shop
Thanks Leon,
   
  Big Decimal is our project requirement.  Looks like the tld files under my 
WEB-INF directory are not correct.  Can you please let me know the compatable 
nested tld files for struts1.2.7 version.
   
  Regards
  

Leon Rosenberg [EMAIL PROTECTED] wrote:
  have you tried to use double instead?
Leon

On 8/9/07, Mad Shop wrote:
 Following is my actual code
 
 
 
 
 
 Greater Equal 1000 
 
 
 
 


 This is working for all the values greater and equal to 1000 but it also 
 works for all the values less than 1000, which it should not. Can you help me 
 out in this. I am getting Greater Equal 1000 message even for values less 
 than 1000.

 The bean property returns a big Decimal. But still this comparision fails! 
 Not able to get to the root of the cause, do you have any idea.
 I am retriving the values from Database, and I have checked the return value 
 its a big decimal.

 Even is not working for me.

 We are using Struts 1.2 version. Still problem exists.
 Specification-Title: Struts Framework
 Specification-Vendor: The Apache Software Foundation
 Specification-Version: 1.2.7
 Implementation-Title: Struts Framework
 Implementation-Vendor: The Apache Software Foundation
 Implementation-Vendor-Id: org.apache
 Implementation-Version: 1.2.7

 struts-logic.tld entries
 1.2
 1.1




 -
 Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.

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



   
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 

Re: logic:iterate - Question

2007-08-09 Thread Mad Shop
Thanks Leon,
   
  We are using log4j for logging. Existing project is working fine and I added 
the following block for new requirement.  when I remove bean:write  tags then 
it won't give any error!!!


Leon Rosenberg [EMAIL PROTECTED] wrote:
  you seems to have problems with logging configuration.
apparently your weblogic server isn't properly configured which log to
use with commons-logging adaptor.

On 8/9/07, Mad Shop wrote:
 I have following scenario.

 I have getExSummary() method in exForm which returns a arraylist of A object. 
 How to use logic:iterate tag to print all the values which methods in A 
 object.
 getACount(),getBCount() are methods in A object.

 I tried following tag, which is not working. Please suggest me the correct 
 logic:iterate tag.

 
 
 
 
 
 
 
 
 
 
 
 
 

 Error which I am getting

 [weblogic.servlet.inte
 [EMAIL PROTECTED] - appName: 'AAA', name: 'aaa', context-path: '/
 eem'] Servlet failed with Exception
 java.lang.NullPointerException
 at weblogic.logging.commons.LogImpl.doLog(LogImpl.java:95)
 at weblogic.logging.commons.LogImpl.debug(LogImpl.java:59)
 at weblogic.logging.commons.LogImpl.debug(LogImpl.java:55)
 at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1036)
 at org.apache.struts.taglib.TagUtils.message(TagUtils.java:999)
 Truncated. see log file for complete stacktrace
 


 -
 Got a little couch potato?
 Check out fun summer activities for kids.

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



   
-
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 

Re: logic:greaterThan tag - issue

2007-08-09 Thread Leon Rosenberg
How is the BigDecimal a requirement for a jsp page?
You know that you can (and often should) use different formats for
storage and computations and for presentation?

regards
Leon

On 8/9/07, Mad Shop [EMAIL PROTECTED] wrote:
 Thanks Leon,

   Big Decimal is our project requirement.  Looks like the tld files under my 
 WEB-INF directory are not correct.  Can you please let me know the compatable 
 nested tld files for struts1.2.7 version.

   Regards


 Leon Rosenberg [EMAIL PROTECTED] wrote:
   have you tried to use double instead?
 Leon

 On 8/9/07, Mad Shop wrote:
  Following is my actual code
 
 
 
 
 
  Greater Equal 1000
 
 
 
 
 
 
  This is working for all the values greater and equal to 1000 but it also 
  works for all the values less than 1000, which it should not. Can you help 
  me out in this. I am getting Greater Equal 1000 message even for values 
  less than 1000.
 
  The bean property returns a big Decimal. But still this comparision fails! 
  Not able to get to the root of the cause, do you have any idea.
  I am retriving the values from Database, and I have checked the return 
  value its a big decimal.
 
  Even is not working for me.
 
  We are using Struts 1.2 version. Still problem exists.
  Specification-Title: Struts Framework
  Specification-Vendor: The Apache Software Foundation
  Specification-Version: 1.2.7
  Implementation-Title: Struts Framework
  Implementation-Vendor: The Apache Software Foundation
  Implementation-Vendor-Id: org.apache
  Implementation-Version: 1.2.7
 
  struts-logic.tld entries
  1.2
  1.1
 
 
 
 
  -
  Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.

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




 -
 Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, 
 news, photos  more.

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



Re: logic:greaterThan tag - issue

2007-08-09 Thread Mad Shop
Hi Leon,
   
   I just now verified that the tld files i.e., struts-nested.tld, 
struts-nested.tld in struts.jar and tld files under WEB-INF are different.  
Does this make any difference!  When I extracted these two tld's from 
struts.jar and replaced with exisiting tld files under WEB-INF directory, but 
now its not even entering in the tag  Are there any other related changes 
we have to make!
   
  

Leon Rosenberg [EMAIL PROTECTED] wrote:
  How is the BigDecimal a requirement for a jsp page?
You know that you can (and often should) use different formats for
storage and computations and for presentation?

regards
Leon

On 8/9/07, Mad Shop wrote:
 Thanks Leon,

 Big Decimal is our project requirement. Looks like the tld files under my 
 WEB-INF directory are not correct. Can you please let me know the compatable 
 nested tld files for struts1.2.7 version.

 Regards


 Leon Rosenberg wrote:
 have you tried to use double instead?
 Leon

 On 8/9/07, Mad Shop wrote:
  Following is my actual code
 
 
 
 
 
  Greater Equal 1000
 
 
 
 
 
 
  This is working for all the values greater and equal to 1000 but it also 
  works for all the values less than 1000, which it should not. Can you help 
  me out in this. I am getting Greater Equal 1000 message even for values 
  less than 1000.
 
  The bean property returns a big Decimal. But still this comparision fails! 
  Not able to get to the root of the cause, do you have any idea.
  I am retriving the values from Database, and I have checked the return 
  value its a big decimal.
 
  Even is not working for me.
 
  We are using Struts 1.2 version. Still problem exists.
  Specification-Title: Struts Framework
  Specification-Vendor: The Apache Software Foundation
  Specification-Version: 1.2.7
  Implementation-Title: Struts Framework
  Implementation-Vendor: The Apache Software Foundation
  Implementation-Vendor-Id: org.apache
  Implementation-Version: 1.2.7
 
  struts-logic.tld entries
  1.2
  1.1
 
 
 
 
  -
  Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.

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




 -
 Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, 
 news, photos  more.

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



   
-
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.

Re: logic:greaterThan tag - issue

2007-08-09 Thread Mad Shop
Following are the differences  Will this make any difference
   
  struts-logic.tld file in struts.jar file
  tlibversion1.0/tlibversion
  jspversion1.1/jspversion
   
  struts-logic.tld file under WEB-INF folder
  tlibversion1.2/tlibversion
  jspversion1.1/jspversion
  

Mad Shop [EMAIL PROTECTED] wrote:
  Hi Leon,

I just now verified that the tld files i.e., struts-nested.tld, 
struts-nested.tld in struts.jar and tld files under WEB-INF are different. Does 
this make any difference! When I extracted these two tld's from struts.jar and 
replaced with exisiting tld files under WEB-INF directory, but now its not even 
entering in the tag Are there any other related changes we have to make!



Leon Rosenberg wrote:
How is the BigDecimal a requirement for a jsp page?
You know that you can (and often should) use different formats for
storage and computations and for presentation?

regards
Leon

On 8/9/07, Mad Shop wrote:
 Thanks Leon,

 Big Decimal is our project requirement. Looks like the tld files under my 
 WEB-INF directory are not correct. Can you please let me know the compatable 
 nested tld files for struts1.2.7 version.

 Regards


 Leon Rosenberg wrote:
 have you tried to use double instead?
 Leon

 On 8/9/07, Mad Shop wrote:
  Following is my actual code
 
 
 
 
 
  Greater Equal 1000
 
 
 
 
 
 
  This is working for all the values greater and equal to 1000 but it also 
  works for all the values less than 1000, which it should not. Can you help 
  me out in this. I am getting Greater Equal 1000 message even for values 
  less than 1000.
 
  The bean property returns a big Decimal. But still this comparision fails! 
  Not able to get to the root of the cause, do you have any idea.
  I am retriving the values from Database, and I have checked the return 
  value its a big decimal.
 
  Even is not working for me.
 
  We are using Struts 1.2 version. Still problem exists.
  Specification-Title: Struts Framework
  Specification-Vendor: The Apache Software Foundation
  Specification-Version: 1.2.7
  Implementation-Title: Struts Framework
  Implementation-Vendor: The Apache Software Foundation
  Implementation-Vendor-Id: org.apache
  Implementation-Version: 1.2.7
 
  struts-logic.tld entries
  1.2
  1.1
 
 
 
 
  -
  Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.

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




 -
 Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, 
 news, photos  more.

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




-
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.

   
-
Shape Yahoo! in your own image.  Join our Network Research Panel today!

can we access database in the interceptor??

2007-08-09 Thread urshari7

Hi,
   Can anyone tell me, 
   whether we can access database in the interceptor?
   
-- 
View this message in context: 
http://www.nabble.com/can-we-access-database-in-the-interceptor---tf4242652.html#a12072518
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: Struts Url Validator

2007-08-09 Thread semaj.najraham

This is what I need in validation.xml file

field property=website page=2 depends=url
arg position=0 key=label.supplier.website/
var
var-nameallowallschemes/var-name
var-valuetrue/var-value
/var
/field

All urls ending with .com or .net is validated while those not ending with
.com or dot else is not working.
Is this the limitation of struts validator?



Jasper Floor wrote:
 
 well, I'm pretty sure after checking the rfc's (1738 section3.4 and
 3.1, 1034 section 3.5 adn 1123 section 2.1) that you are building
 vaild url's under the http scheme. So either the validator is doing
 something wrong or you are. Mind a URL is deffined as:
 
 scheme:scheme-specific-part
 
 so it really matters which scheme you are validating. Assuming the
 validator is correct perhaps you need to specify what scheme you are
 using. Assuming you're code is correctwell check the source of the
 validator to see what it's doing wrong. Then steal the code (can you
 steal oss?), rewrite it and send it back to the creators  with a
 pompous message about l33t you are compared to them and how sucky they
 are and how they are such poor hack0rs that they will never be able to
 find you... uhm, come to think of it that last part might not be such
 a good idea.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Struts-Url-Validator-tf4238692.html#a12072724
Sent from the Struts - User mailing list archive at Nabble.com.


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



S2 : Validation per Action method - ideas?

2007-08-09 Thread j alex
Hi,

Is there a way to declaratively restrict validations depending on the method
within the Action? - this could be useful for wizard-like forms where each
step of the wizard has a set of fields ; corresponds to a different method
but all of them share the same Action.

I can think of having an expression validator based on currentstep added to
every field short-circuited ; but that's more of a workaround rather than
the right way to do it.

Thanks,
Joseph


Re: struts1 or struts 2?

2007-08-09 Thread Frank W. Zammetti
On Thu, August 9, 2007 8:24 am, Ted Husted wrote:
 IMHO, if we had today's JavaScript/CSS/HTML environment available to
 us in 1998, then JSP, ASP, JSF, PHP, and all the rest of it, would not
 exist. We did all these things to make up for the shortcomings of the
 client-side environment, and, since then, the key shortcomings have
 been addressed.

Great observation IMO, and it couldn't be more true.

I always like to tell the story of a Java users group I was at maybe two
years ago now... the speaker was talking about AJAX and he said that the
people who know what AJAX is at that point are the same people who are
pissed about it because frankly it hasn't been anything new for them for
some time!

I have one app that was put in production in 1998 ironically, the year you
picked here Ted, that you'd look at today and say it was AJAX, an RIA, but
it didn't use what we'd call AJAX now (hidden iFrame that got Javascript
back which executed upon return and automatically updated and hide and
showed a variety of DIVs on the page... in fact, this is the extreme case
because absolutely every view the user can ever see in the app is loaded
up front and never generated server-side, it's only data being plugged
into fields after startup).  If I'd have thought for one second that what
I was doing was any big deal, unusual in some way, it could have been my
name going down in history as having invented AJAX instead of Jesse James
Garrett!  And the worse part is I know I'm not the only one that can say
that! LOL

I've had the interesting experience of witnessing an evolution here at
work... in 1998, I was the only one building apps in that fashion at this
company, everyone else was very much at the other extreme, the whole let
the server do everything approach as you described, thin pages, etc. 
Everyone thought I was nuts (I only got away with it because my projects
are always successful, something not everyone here can claim), I got into
some really heated dehates with folks over the years about it too.  Now,
things are very much swinging the other way... apps are being built now in
much more RIA ways, it's much more mainstream thinking.

I think that evolution is playing itself out across many organizations
now, and that's my point: there's a critical mass now, and the mindset is
starting to change, and Ted's right, many of the technologies we're
saddled with today would never have needed inventing if everyone had
listened to me (or the others that were doing what I did in various
orgamizations) back in 1998! LOL

 -Ted.

Frank


-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of Practical Ajax Projects With Java Technology
 (2006, Apress, ISBN 1-59059-695-1)
and JavaScript, DOM Scripting and Ajax Projects
 (2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
 Supplying the wheel, so you don't have to reinvent it!

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



[s2] @ConversionErrorFieldValidator and Collections

2007-08-09 Thread Petzsch, Martin

Hi,

I posted this a few days ago but have had no response as yet.  I will
probably raise this as an issue/bug soon unless it is obvious to someone on
here that I have a mistake in my approach.



I have a data bean which a jsp links into through an action.  This bean
contains a date field. I annotate the set method with:
@ConversionErrorFieldValidator(message=aDate: Conversion Error)
@RequiredFieldValidator(message=aDate: Required Field)
public void setADate(Date date) {
aDate = date;
}

This works fine and I get the messages about type conversion and validation
failure in the expected order depending on my input.

The same data bean also contains a List of another data bean and the
associated methods:
private ListInnerBean innerList;
@VisitorFieldValidator(message=Inner Message:,appendPrefix=true)
public ListInnerBean getInnerList() {
if (innerList == null) {
innerList = new ArrayListInnerBean();
innerList.add(new InnerBean());
}
return innerList;
}

public void setInnerList(ListInnerBean innerList) {
this.innerList = innerList;
}

My inner bean is as follows:
private Date innerProp;
public Date getInnerProp(){
return innerProp;
}

@ConversionErrorFieldValidator(message=innerProp: Conversion
Error)
@RequiredFieldValidator(message=innerProp: Required Field)
public void setInnerProp(Date str){
innerProp = str;
}

The required field validator works as expected.  I do not however get any
result EVER back from the ConversionErrorFieldValidator on the inner bean.
If I enter an incorrect value it simply does not get set.

Does anyone have a working example of ConversionErrorFieldValidator inside a
bean which is inside a collection?

Many thanks,
Martin


Source Code Follows
===
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import
com.opensymphony.xwork2.validator.annotations.ConversionErrorFieldValidator;
import com.opensymphony.xwork2.validator.annotations.RequiredFieldValidator;
import com.opensymphony.xwork2.validator.annotations.VisitorFieldValidator;

public class MyDataBean {
private Date aDate;
private ListInnerBean innerList;  

public MyDataBean() {
}

@VisitorFieldValidator(message=Inner Message,appendPrefix=false)
public ListInnerBean getInnerList() {
if (innerList == null) {
innerList = new ArrayListInnerBean();
innerList.add(new InnerBean());
}
return innerList;
}

public void setInnerList(ListInnerBean innerList) {
this.innerList = innerList;
}

public Date getADate() {
return aDate;
}

// this works fine
@ConversionErrorFieldValidator(message=aDate: Conversion Error)
@RequiredFieldValidator(message=aDate: Required Field)
public void setADate(Date date) {
aDate = date;
}
}

/**
 * 
 */
import java.util.Date;

import
com.opensymphony.xwork2.validator.annotations.ConversionErrorFieldValidator;
import com.opensymphony.xwork2.validator.annotations.RequiredFieldValidator;

/**
 * @author MPETZSCH
 *
 */
public class InnerBean {
private Date innerProp;

public Date getInnerProp(){
return innerProp;
}

// this does not work
@ConversionErrorFieldValidator(message=innerProp: Conversion
Error)
@RequiredFieldValidator(message=innerProp: Required Field)
public void setInnerProp(Date str){
innerProp = str;
}
}


Capgemini is a trading name used by the Capgemini Group of companies which 
includes Capgemini UK plc, a company registered in England and Wales (number 
943935) whose registered office is at No. 1 Forge End, Woking, Surrey, GU21 
6DB. 


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



RE: S2 : Validation per Action method - ideas?

2007-08-09 Thread Arnaud Cogoluegnes
You should check the Javadoc of the
com.opensymphony.xwork2.validator.annotations.Validation annotation.

Syntax example:

@Validations(
 requiredFields =
 [EMAIL PROTECTED](type = ValidatorType.SIMPLE,
fieldName = customfield, message = You must enter a value for field.)},
 requiredStrings =
 [EMAIL PROTECTED](type = ValidatorType.SIMPLE,
fieldName = stringisrequired, message = You must enter a value for
string.)}
 
 )
 public String execute() throws Exception {
 return SUCCESS;
 }

-Message d'origine-
De : j alex [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 9 août 2007 15:38
À : Struts Users Mailing List
Objet : S2 : Validation per Action method - ideas?

Hi,

Is there a way to declaratively restrict validations depending on the method
within the Action? - this could be useful for wizard-like forms where each
step of the wizard has a set of fields ; corresponds to a different method
but all of them share the same Action.

I can think of having an expression validator based on currentstep added to
every field short-circuited ; but that's more of a workaround rather than
the right way to do it.

Thanks,
Joseph


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



Re: can we access database in the interceptor??

2007-08-09 Thread Musachy Barroso
you can do anything you want in an interceptor.

musachy

On 8/9/07, urshari7 [EMAIL PROTECTED] wrote:

 Hi,
Can anyone tell me,
whether we can access database in the interceptor?

 --
 View this message in context: 
 http://www.nabble.com/can-we-access-database-in-the-interceptor---tf4242652.html#a12072518
 Sent from the Struts - User mailing list archive at Nabble.com.


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




-- 
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]



Re: [2] Changing xwork.default.invalid.fieldvalue to report type

2007-08-09 Thread mraible

On a related note, the only way to override
xwork.default.invalid.fieldvalue seems to be to specify a global resource
bundle with struts.custom.i18n.resources in struts.xml and then put the
value in there. Is this correct?

The following page seems to imply that I should be able to override this
value in package.properties for a particular package.

http://struts.apache.org/2.x/docs/internationalization.html

Thanks,

Matt


Don Brown wrote:
 
 Hmm...could you use a custom TextProvider impl that recognizes that
 error key, checks the type of the parameter, then looks up a new error
 key, say 'xwork.default.invalid.fieldvalue.number'?
 
 Don
 
 On 8/9/07, mraible [EMAIL PROTECTED] wrote:

 The default value for a type mismatch error (when doing conversion) is:

 xwork.default.invalid.fieldvalue=Invalid field value for field {0}.

 I'd like to change it to render something like Please enter a valid
 date.
 or Please enter a valid number.. Is it possible to decipher the type of
 the field and print that out?

 I realize I can customize the invalid messages on a per-field basis, but
 I'd
 like to do it on a per-type basis.

 Thanks,

 Matt
 --
 View this message in context:
 http://www.nabble.com/-2--Changing-xwork.default.invalid.fieldvalue-to-report-type-tf4239378.html#a12062895
 Sent from the Struts - User mailing list archive at Nabble.com.


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


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

-- 
View this message in context: 
http://www.nabble.com/-2--Changing-xwork.default.invalid.fieldvalue-to-report-type-tf4239378.html#a12074911
Sent from the Struts - User mailing list archive at Nabble.com.


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



displaytable and Struts 2

2007-08-09 Thread Manuel Correa
Someone know the best way to use Display Table in Struts 2. I have in my
page a lot of Div and TabbedPane, in one div inside the tabbedpane I
have my table, the problem is the sort, the pagination and export
settings didn't work properly.

 

What is the best tag for tables using struts ? 

 

Manuel Correa.

 



Would it be possible to add ognl evaluation of param values in field validators.

2007-08-09 Thread David Harland
Would it be possible to add ognl evaluation of param values in field
validators.

Thanks

Dave.

__
Ufi Limited 
Registered in England No.  3980770 
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP 

learndirect Solutions Ltd 
Registered in England No. 5081669 
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP 

UFI Charitable Trust 
Registered in England No.  3658378 
Registered Charity No.  1081028 
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP 

This email has been scanned by the MessageLabs Email Security System.

__

RE displaytable and Struts 2

2007-08-09 Thread MLENEVEUT
I use displaytag too. All works fine.

Did you set the requestUri param ?

display:table name=myListInStack decorator=
org.myorg.DecoratorOfMyList requestURI=myAction.action

Regards,




Manuel Correa [EMAIL PROTECTED] 
09/08/2007 17:54
Veuillez répondre à
Struts Users Mailing List user@struts.apache.org


A
Struts Users Mailing List user@struts.apache.org
cc

Objet
displaytable and Struts 2






Someone know the best way to use Display Table in Struts 2. I have in my
page a lot of Div and TabbedPane, in one div inside the tabbedpane I
have my table, the problem is the sort, the pagination and export
settings didn't work properly.

 

What is the best tag for tables using struts ? 

 

Manuel Correa.

 




S2 : using resource bundle values containing HTML in ui tags

2007-08-09 Thread j alex
Hi,

I need to store the label values in the resource bundle ; and to support
screenreaders these values may have some span tags

ex : label.primaryapp.firstName=First namespan class=screaderstyle of
applicant/span

Now, in s:label tag ; i'm using using it as :

s:label value=%{getText('label.primaryNameAndAddress.lastName')} for=
primaryapp.firstname theme=mytheme/

Note that it's a custom theme with the escaping set to false.

#if parameters.nameValue?exists
@s.property value=parameters.nameValue escape=false/#t/
/#if

Please let me know if there's  a better way to do this -- we are migrating
from a Struts 1.x app and have to replace a lot of html:label tags ; so
it'll be good if the code is somewhat concise.

Thanks,
Joseph


Re: Struts 2 URL parameters lost - final final status

2007-08-09 Thread JBL

Turns out OC4J had a bug. They fixed it; we now have 10.1.3.3, and it works
fine. /story


JBL wrote:
 
 We have a link to a Struts 2 action that includes a URL parameter
 (.../something_method.action?name=NAME), and the URL parameter is getting
 lost -- it doesn't show up in the action, the request map (when we
 implement RequestAware), the parameter map (when we implement
 ParameterAware), or a custom interceptor we put at the top of the
 interceptor stack.
 

-- 
View this message in context: 
http://www.nabble.com/Struts-2-URL-parameters-lost-tf4196254.html#a12075310
Sent from the Struts - User mailing list archive at Nabble.com.


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



MultiPartRequest bean for File Upload missing?

2007-08-09 Thread yitzle
I'm trying to add a file upload to my web app.
When I submit the file, I get:

java.lang.RuntimeException: Unable to load bean
org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta) -
[unknown location]

Is there a line I'm missing from my JSP or a lib/jar I need to add or
a setting that needs changing?
Thanks!

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



RE: RE displaytable and Struts 2

2007-08-09 Thread Manuel Correa
Display table works fine, the problem is :  I have the table immerse in s:div 
component and a s:tabbedpane component, so when I click in order some column 
or next results, the page reload and show me single page without the tabpanes 
and div.

Thanks,  

Manuel Correa.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 09, 2007 12:01 PM
To: Struts Users Mailing List
Subject: RE displaytable and Struts 2

I use displaytag too. All works fine.

Did you set the requestUri param ?

display:table name=myListInStack decorator=
org.myorg.DecoratorOfMyList requestURI=myAction.action

Regards,




Manuel Correa [EMAIL PROTECTED] 
09/08/2007 17:54
Veuillez répondre à
Struts Users Mailing List user@struts.apache.org


A
Struts Users Mailing List user@struts.apache.org
cc

Objet
displaytable and Struts 2






Someone know the best way to use Display Table in Struts 2. I have in my
page a lot of Div and TabbedPane, in one div inside the tabbedpane I
have my table, the problem is the sort, the pagination and export
settings didn't work properly.

 

What is the best tag for tables using struts ? 

 

Manuel Correa.

 



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



RE: RE displaytable and Struts 2

2007-08-09 Thread MLENEVEUT
By setting the requestURI=myAction.action pointing to your current 
action (which you used to come to this page), you will have no problem. 
DisplayTag will just add some parameters (page, sort, ...). You just have 
to map this action method to this div/tab/... (so one action or method for 
each div/tab/or whatever)






Manuel Correa [EMAIL PROTECTED] 
09/08/2007 18:40
Veuillez répondre à
Struts Users Mailing List user@struts.apache.org


A
Struts Users Mailing List user@struts.apache.org
cc

Objet
RE: RE displaytable and Struts 2






Display table works fine, the problem is :  I have the table immerse in 
s:div component and a s:tabbedpane component, so when I click in order 
some column or next results, the page reload and show me single page 
without the tabpanes and div.

Thanks, 

Manuel Correa.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 09, 2007 12:01 PM
To: Struts Users Mailing List
Subject: RE displaytable and Struts 2

I use displaytag too. All works fine.

Did you set the requestUri param ?

display:table name=myListInStack decorator=
org.myorg.DecoratorOfMyList requestURI=myAction.action

Regards,




Manuel Correa [EMAIL PROTECTED] 
09/08/2007 17:54
Veuillez répondre à
Struts Users Mailing List user@struts.apache.org


A
Struts Users Mailing List user@struts.apache.org
cc

Objet
displaytable and Struts 2






Someone know the best way to use Display Table in Struts 2. I have in my
page a lot of Div and TabbedPane, in one div inside the tabbedpane I
have my table, the problem is the sort, the pagination and export
settings didn't work properly.

 

What is the best tag for tables using struts ? 

 

Manuel Correa.

 



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




RE: MultiPartRequest bean for File Upload missing?

2007-08-09 Thread Hafeez-ur Rehman
Hi,

Add enctype property as form attribute
html:form action=someAction.do  enctype=multipart/form-data 

Hafeez
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of yitzle
Sent: Thursday, August 09, 2007 8:23 AM
To: Struts Users Mailing List
Subject: MultiPartRequest bean for File Upload missing?

I'm trying to add a file upload to my web app.
When I submit the file, I get:

java.lang.RuntimeException: Unable to load bean
org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta) -
[unknown location]

Is there a line I'm missing from my JSP or a lib/jar I need to add or
a setting that needs changing?
Thanks!

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


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



Re: MultiPartRequest bean for File Upload missing?

2007-08-09 Thread yitzle
On 8/9/07, Hafeez-ur Rehman [EMAIL PROTECTED] wrote:
 Hi,

 Add enctype property as form attribute
 html:form action=someAction.do  enctype=multipart/form-data 

 Hafeez
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of yitzle
 Sent: Thursday, August 09, 2007 8:23 AM
 To: Struts Users Mailing List
 Subject: MultiPartRequest bean for File Upload missing?

 I'm trying to add a file upload to my web app.
 When I submit the file, I get:

 java.lang.RuntimeException: Unable to load bean
 org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta) -
 [unknown location]

 Is there a line I'm missing from my JSP or a lib/jar I need to add or
 a setting that needs changing?
 Thanks!


Thanks for the reply!

I had
s:form action=CertificateImport method=POST enctype=multipart/form-data 
and tried with
form action=CertificateImport.action method=POST
enctype=multipart/form-data 
When I tried
html:form ...  I got
No tag form defined in tag library imported with prefix html
even though I have
%@ taglib prefix=html tagdir=/WEB-INF/tags %

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



Re: MultiPartRequest bean for File Upload missing?

2007-08-09 Thread Dave Newton
--- yitzle [EMAIL PROTECTED] wrote:
 I had
 s:form action=CertificateImport method=POST
 enctype=multipart/form-data 
 and tried with
 form action=CertificateImport.action
 method=POST
 enctype=multipart/form-data 
 When I tried
 html:form ...  I got
 No tag form defined in tag library imported with
 prefix html
 even though I have
 %@ taglib prefix=html tagdir=/WEB-INF/tags %

I can't imagine that mixing S1 tags into an S2 app
would work particularly well. Perhaps extrapolating
from the response as using the enctype in the S2 form
tag would be a better idea.

d.



   

Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=listsid=396545469

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



Was AJAX extracted from 2.0.9?

2007-08-09 Thread stanlick
I remember hearing a rumor that dojo was being pulled out of S2 and being
made available via a plug-in.  Did this happen?  Are there steps someplace
for installing the plug-in?

-- 
Scott
[EMAIL PROTECTED]


Re: Was AJAX extracted from 2.0.9?

2007-08-09 Thread Musachy Barroso
Dojo will be available as a plugin in 2.1, not the 2.0.x family.

musachy

On 8/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I remember hearing a rumor that dojo was being pulled out of S2 and being
 made available via a plug-in.  Did this happen?  Are there steps someplace
 for installing the plug-in?

 --
 Scott
 [EMAIL PROTECTED]



-- 
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]



Re: can we access database in the interceptor??

2007-08-09 Thread Ray Clough
Which, of course, does not necessarily mean that we SHOULD!

 - Original Message -
 From: Musachy Barroso [EMAIL PROTECTED]
 To: Struts Users Mailing List user@struts.apache.org
 Subject: Re: can we access database in the interceptor??
 Date: Thu, 9 Aug 2007 11:31:23 -0400
 
 
 you can do anything you want in an interceptor.
 
 musachy
 
 On 8/9/07, urshari7 [EMAIL PROTECTED] wrote:
 
  Hi,
 Can anyone tell me,
 whether we can access database in the interceptor?
 
  --
  View this message in context: 
  http://www.nabble.com/can-we-access-database-in-the-interceptor---tf4242652.html#a12072518
  Sent from the Struts - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 --
 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]





- Ray Clough
[EMAIL PROTECTED]



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



Re: how to set global constants cross all of the scripts ?

2007-08-09 Thread Laurie Harper
Another alternative would be to put those definitions into a resource 
bundle (properties file). As long as all references are indirected 
through some collection of definitions, it doesn't really matter where 
those definitions are stored / setup :=)


L.

Paul Benedict wrote:

If you want to link to absolute URLs, perform a JSP include at the top of
your pages. The included page should contain all the definitions you need.
Alternatively, you can write yourself a ContextListener to put attributes
into application scope.

If you want to link to other Struts actions, use the actionId attribute.

Paul

On 8/7/07, john lee [EMAIL PROTECTED] wrote:

inside jsp/struts 1.3, how can i set global constants that i can make
change one place, but can make all the corrspondent change cross all the
files.

  for example, if i have script file 1.jsp, 2.jsp ..n.jsp, all the
file contains
   a href=www.test.com

  any way i can set it as a href=@website, then i change one place,
could make change all the scripts?

  tks in advance

  john


-
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.





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



s:iterator tag

2007-08-09 Thread Marcos Mendonça
Hello

I'm going crazy trying to use the s:iterator tag.

I have an action that generates an ArrayList of the files in a given directory.

In my JSP I'd like to show this files as a list.

Here's my action's code:

File dir = new File(props.getProperty(files.saveDir));

FileFilter fileFilter = new FileFilter() {
public boolean accept(File file) {
return file.getName().endsWith(.gpx);
}
};

File[] f = dir.listFiles(fileFilter);

ArrayListFile files = new ArrayList(Arrays.asList(f));

return SUCCESS;

And the JSP code:

s:iterator value=files
s:property /
/s:iterator


But it show absolutely nothing
I tried using s:property value=name/ instead, but it doesn't work
either. I also trying using JSTL's c:forEach with no success either.

I'm going desperate here, it should be so simple, yet nothing I tried
works. Please, give me a hand.

Much appreciated.

Thanks

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



Re: s:iterator tag

2007-08-09 Thread Dave Newton
--- Marcos Mendonça wrote:
 I have an action that generates an ArrayList of the
 files in a given directory.

Do you know that it's generating a list with any files
in it (determine via logging for the most complete
information or put something else in the
s:iterator.../ loop as a quick sanity check)?

d.



   

Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

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



Re: s:iterator tag

2007-08-09 Thread Marcos Mendonça
Yes, I did. ArrayList has something in it.

I managed to print it's size and log the file name, the one I'd like
to print with the JSP.

On 8/9/07, Dave Newton [EMAIL PROTECTED] wrote:
 --- Marcos Mendonça wrote:
  I have an action that generates an ArrayList of the
  files in a given directory.

 Do you know that it's generating a list with any files
 in it (determine via logging for the most complete
 information or put something else in the
 s:iterator.../ loop as a quick sanity check)?

 d.




 
 Need a vacation? Get great deals
 to amazing places on Yahoo! Travel.
 http://travel.yahoo.com/

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



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



[s2] How do I create a custom date range validator?

2007-08-09 Thread mraible

I have the following validation XML that suites my needs perfectly:

  field name=startYear
field-validator type=required
  messageStart year is required./message
/field-validator
field-validator type=int
  1900
  messagePlease enter a date after 1900./message
/field-validator
field-validator type=fieldexpression
  startYear gte currentYear
  messageStart year must be less than or equal to the current year
(${currentYear})./message
/field-validator
  /field
  field name=endYear
field-validator type=required
  messageEnd year is required./message
/field-validator
field-validator type=int
  1900
  messagePlease enter a date after 1900./message
/field-validator
field-validator type=fieldexpression
  endYear lt startYear
  messageEnd Year must be after Start year./message
/field-validator
  /field

I'd like to turn this into a Java class so I can have the following XML
instead:

  validator type=monthyear
message/
  /validator

Is this possible? 

I've given it a shot and I'm having some difficulty figuring out how to add
field errors so they appear in the proper location (next to the fields) in
my form. Here's the code I have so far. I realize that addFieldError() is
not supposed to take the error message as its 2nd argument, but I think it
helps convey what I'm trying to do.

public class MonthYearRangeValidator extends ValidatorSupport
{
  private String _startFieldName = startYear;
  private String _endFieldName = endYear;
  
  public void validate(Object object)
  throws ValidationException
  {
Integer startNumber = (Integer) getFieldValue(_startFieldName, object);
if(startNumber == null) 
  addFieldError(_startFieldName, Start Year is a required field.);

Integer endNumber = (Integer) getFieldValue(_endFieldName, object);
if(endNumber == null) {
  addFieldError(_endFieldName, End Year is a required field.);
}
   
if(!getValidatorContext().getFieldErrors().isEmpty())
  return;

if (startNumber  1900) {
  addFieldError(_startFieldName, Please enter a date after 1900.);
}
if (endNumber  1900) {
  addFieldError(_endFieldName, Please enter a date after 1900.);
}

if(!getValidatorContext().getFieldErrors().isEmpty())
  return;

if (startNumber  Calendar.getInstance().get(Calendar.YEAR)) {
  addFieldError(_startFieldName, Start year must be less than or equal
to the current year.);
}

if (endNumber  startNumber) {
  addFieldError(_endFieldName, End Year must be after Start year.);
}
  }

  public void setStartFieldName(String startFieldName)
  {
_startFieldName = startFieldName;
  }

  public void setEndFieldName(String endFieldName)
  {
_endFieldName = endFieldName;
  }

}

Thanks,

Matt
-- 
View this message in context: 
http://www.nabble.com/-s2--How-do-I-create-a-custom-date-range-validator--tf4245411.html#a12081467
Sent from the Struts - User mailing list archive at Nabble.com.


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



Doubled requests in TabbedPane

2007-08-09 Thread Sebastian Kolbe
Hello

Hope someone can help me with this:
I have a TabbedPane with some tabs in it, each calling an url for
their content.
Now I have several problems:
- I noticed that the selected tab calls the url two times before displaying.
- I reload a specific tab by publishing a dojo-topic. In this
situation the div calls the
 url two times.

Since especially some older browser need a lot of time to display the
tabs content
I need to correct this.
Is there a way to circumvent this behaviour? Maybe I did anything wrong?

Another question:
Is there an easy way to catch the event (something like 'onclick') when
a different tab is selected?

Here is my code for reference:
s:tabbedPanel id=resultTabPanel selectedTab=resultPanelTab_%{maxTabId}
s:url id=infoActionUrl
action=SearchAction_fetchResultTable/s:url

s:div id=resultPanelTab_1 cssClass=panelTab  
 label=tab1 theme=ajax labelposition=top
href=%{infoActionUrl}
 errorText=Loading error on tab1
 refreshOnShow=false listenTopics=searchTab_0_Topic
loadingText=Loading...
 showLoadingText=false autoStart=false executeScripts=true
div id=indicator1 align=center style=display:block;
   img  src=../pics/spinning_wheel_throbber.gif width=64
height=64 alt=Loading...border=0 title=Loading.../
  /div
/s:div
/s:tabbelPanel


Thanks,
Sebastian

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



Re: S2: HashMap - from jsp to action

2007-08-09 Thread cilquirm

the way to construct a map in ognl is 

%{ key : value , key : vale } 



http://www.opensymphony.com/ognl/html/LanguageGuide/collectionConstruction.html#mapConstruction

hth,
-a



Hartrich, James CTR USTRANSCOM J6 wrote:
 
 I'm iterating a collection (keys) from s:action to get corresponding
 hashmap (values) from aforementioned s:action then creating multiple
 s:select.
 
  
 
 Does anyone know how to construct a hashmap with ognl on a jsp? What
 type is then needed on the action to populate the hashmap? 
 
  
 
  
 
 James
 
  
 
 
 

-- 
View this message in context: 
http://www.nabble.com/S2%3A-HashMap---from-jsp-to-action-tf4238260.html#a12082014
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: S2 : Validation per Action method - ideas?

2007-08-09 Thread Zarar Siddiqi
Specify your validation rules in a file called
MyActionClass-myAction-validation.xml where MyActionClass is the
action class and myAction is the name of the action being executed.
So your struts.xml would look something like:

action name=myAction class=MyActionClass method=myMethod.../action

With this setup the validation in
MyActionClass-myAction-validation.xml is mapped to myMethod().

Zarar

On 8/9/07, j alex [EMAIL PROTECTED] wrote:
 Hi,

 Is there a way to declaratively restrict validations depending on the method
 within the Action? - this could be useful for wizard-like forms where each
 step of the wizard has a set of fields ; corresponds to a different method
 but all of them share the same Action.

 I can think of having an expression validator based on currentstep added to
 every field short-circuited ; but that's more of a workaround rather than
 the right way to do it.

 Thanks,
 Joseph


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



[OT] Question about performance with last array

2007-08-09 Thread Ashish Kulkarni
Hi
I have a program which creates permutations for 10 letters, so the values i
get is 10 ^10 which is more then 3 million
Now i have to go through all 3 million records and do some calculations to
determine the best possible combination .

Any ideas what i should use, LinkedList, ArrayList, HashMap,
what would be the best way performance wise

should i use primitive or objects for calculations.
Any suggestions on approaching this problem.

Ashish


please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Got a little couch potato? 
Check out fun summer activities for kids.

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Got a little couch potato? 
Check out fun summer activities for kids.

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, 
when. 

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 

please unsubscribe me from this list.

2007-08-09 Thread Mr. nitin
please unsubscribe my id from this user mail group.
i had tried lot but its not working.

   
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.