RE: Tile Problem

2004-03-25 Thread Avinash Gangadharan
Try the code below. This should work. 

[CODE]
.
%@ taglib uri=/WEB-INF/lib/struts-bean.tld prefix=bean %
html:html
HEAD
html:base/
TITLE./TITLE
/HEAD
BODY
tiles:useAttribute name=title/
bean:message name=title/
tiles:get name=header/
tiles:get name=message/
tiles:get name=content/
tiles:get name=navbar/
/BODY
.
[/CODE]

-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 25, 2004 4:52 PM
To: Struts Users Mailing List
Subject: Re: Tile Problem


I followed your suggestion.  Now, when I ran my
application, I got 

article.Main.title???en_US.??? 

displayed in the browser.  Still, cannot pick up the

article.Menu.title=Registered Members

in the application.properties (which is located in the
ApplicationRoot/WEB-INF/classes/resources folder).

Here is my code:

[CODE]
.
%@ taglib uri=/WEB-INF/lib/struts-bean-el.tld
prefix=bean-el %
html:html
HEAD
html:base/
TITLE./TITLE
/HEAD
BODY
c:set var=titleKeytiles:getAsString 
name=title//c:setbean-el:message
key=${titleKey}/
tiles:get name=header/
tiles:get name=message/
tiles:get name=content/
tiles:get name=navbar/
/BODY
.
[/CODE]

In my tiles-def.xml, I have:

[CODE]
   definition name=.article.Menu
extends=.article.Base
  put name=title
value=article.Menu.title/
  put name=content  
value=/article/content/menu.jsp/
  put name=navbar   
value=/article/common/navbarMenu.jsp/
   /definition
[/CODE]

-Caroline


--- Jason Lea [EMAIL PROTECTED] wrote:
 Are you using the struts-el tags.  You might have
 them installed as
 bean-el in which case you would need to use
 
 c:set var=titleKeytiles:getAsString
 name=title//c:setbean-el:message
 key=${titleKey}/
 
 I only use the EL tags, so I just use bean as the
 tag prefix eg %@
 taglib uri=/WEB-INF/jsp/tags/struts-bean-el.tld
 prefix=bean %
 
 
 
 Caroline Jen wrote:
 
 I tried both of your suggestions.  For example, I
 have
 
 [code]
 .
 BODY
 c:set var=titleKeytiles:getAsString
 name=title//c:setbean:message
 key=${titleKey}/
 tiles:get name=header/
 tiles:get name=message/
 tiles:get name=content/
 tiles:get name=navbar/
 /BODY
 .
 [/code]
 
 I got java.lang.IllegalArgumentException: can't
 parse
 argument number titleKey
 
 --- Jason Lea [EMAIL PROTECTED] wrote:
   
 
 If you are using JSTL you can do this:
 
 tile:useAttribute id=titleKey
 name=titlebean:message
 key=${titleKey}/
 
 if that doesn't work, try this:
 
 c:set var=titleKeytiles:getAsString
 name=title//c:setbean:message
 key=${titleKey}/
 
 
 
 Caroline Jen wrote:
 
 
 
 In general, the tile works fine for me except the
 title piece.
  
 [CODE]
 .
 BODY
 tiles:getAsString name=title/
 tiles:get name=header/
 tiles:get name=message/
 tiles:get name=content/
 tiles:get name=navbar/
 /BODY
 .
 [/CODE]
 
 In my tiles-def.xml, I have:
 
 [CODE]
   definition name=.article.Menu extends=.article.Base
  put name=title
 value=article.Menu.title/
  put name=content  
 value=/article/content/menu.jsp/
  put name=navbar   
 value=/article/common/navbarMenu.jsp/
   /definition
 [/CODE]
 
 The problem is that my application displays
 
 article.Menu.title
 
 in the browser, instead of going to the application.properties 
 (which is in the ApplicationRoot/WEB-INF/classes/resources folder)
   
 
 to
 
 
 get
 
 article.Menu.title=Registered Members
 
 What should I do?
 
 __
 Do you Yahoo!?
 Yahoo! Finance Tax Center - File online. File on
   
 
 time.
 
 
 http://taxes.yahoo.com/filing.html
 
   
 

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

-
   
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 
 __
 Do you Yahoo!?
 Yahoo! Finance Tax Center - File online. File on
 time.
 http://taxes.yahoo.com/filing.html
 

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

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


__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

-
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 

[OT] Object Design Question

2004-03-12 Thread Avinash Gangadharan
People,
I have a design question. It is regarding the retrieval of parent and
child objects in the best possible manner. For eg. Let's say there is a
Person object with properties such as ssn, lastName and firstname. It also
has a list child objects ( Address ) of addresses and a list of previous
employees ( Employee ). The Person, Address and Employee objects are
separate tables in the DB linked thru ssn.

Now what do you guys think is the most efficient way of retrieving a
complete Person. 

The simplest way is ofcourse issue 3 queries one for person, other for the
list of address and the third for previous employees. But this does not
scale well with increasing size of the table data. For 100 rows of Person
201 queries are issued. 1 which gets 100 persons, 100 each for there
subequent address and previous employees. Similarly for a 1000,  2001
queries. 

Complex queries may be a solution which relies on filtering the resultset
but is there a more simple and intelligent approach.

Is there a problem with the inherent design itself or is this a common
problem.

Thanks and Regards
Avinash

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



RE: [OT] Object Design Question

2004-03-12 Thread Avinash Gangadharan
That's the way I have it now, a view object querying the datastore and
forming the business objects. The view issues a query for the parent and
then calls the views of the children to give their list of objects for that
parent and then constituting the parent completely.  I agree getting them
back together and then parsing them out would be better but sure not a clean
OO way of getting data.

-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 12, 2004 1:01 PM
To: Struts Users Mailing List
Subject: RE: [OT] Object Design Question


+1. Join the tables in a query and write an algorithm to parse the 
+results into
the view you need. One connection, one query, let the database do the work.
Not very OO, but very efficient.


robert

 -Original Message-
 From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 12, 2004 3:37 PM
 To: Struts Users Mailing List
 Subject: RE: [OT] Object Design Question
 
 
 It's always on a case by case basis.  When and how much do you need at 
 a given time?  Hibernate/JDO/OJB/etc can handle these things for you 
 via a config to specify lazy relationships.
 
 When you are talking about web application with read data (data purely 
 pushed to the view like a list of persons with addresses), then the 
 best way IMHO is to write a special view object and query for this 
 case.
 
 List View Objects
 Select By Id
 Grab Business Object By Id
 
 
 
 -Original Message-
 From: Avinash Gangadharan [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 12, 2004 2:26 PM
 To: '[EMAIL PROTECTED]'
 Subject: [OT] Object Design Question
 
 People,
 I have a design question. It is regarding the retrieval of parent 
 and child objects in the best possible manner. For eg. Let's say there 
 is a Person object with properties such as ssn, lastName and 
 firstname. It also has a list child objects ( Address ) of addresses 
 and a list of previous employees ( Employee ). The Person, Address 
 and Employee objects are separate tables in the DB linked thru ssn.
 
 Now what do you guys think is the most efficient way of retrieving a 
 complete Person.
 
 The simplest way is ofcourse issue 3 queries one for person, other for 
 the list of address and the third for previous employees. But this 
 does not scale well with increasing size of the table data. For 100 
 rows of Person 201 queries are issued. 1 which gets 100 persons, 100 
 each for there subequent address and previous employees. Similarly for 
 a 1000,  2001 queries.
 
 Complex queries may be a solution which relies on filtering the 
 resultset but is there a more simple and intelligent approach.
 
 Is there a problem with the inherent design itself or is this a common 
 problem.
 
 Thanks and Regards
 Avinash
 
 -
 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]

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



RE: Alternating table rows in jsp's table using struts

2004-03-04 Thread Avinash Gangadharan
Try display-tag http://displaytag.sourceforge.net/
It does everything you need...
Sorting
Paging 
Alternate row colors ... 
And much much more
It's really cool

-Original Message-
From: as as [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 04, 2004 10:15 AM
To: [EMAIL PROTECTED]
Subject: Alternating table rows in jsp's table using struts 


Hi,
Any taglib/custom tags for alternating row colors in jsp.. Thanks
 
(I can atatch my table creation code in jspusing logic:iterate Thanks.


-
Do you Yahoo!?
Yahoo! Search - Find what you're looking for faster.

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



RE: Alternating table rows in jsp's table using struts

2004-03-04 Thread Avinash Gangadharan
Not at all. It was a breeze for me. Look at the examples and do not miss
looking at the source code of each JSP for that example. You'll be amazed
how simple they are. Talk about doing it yourself  Man that's a lot of
boring work and much more overhead. 
The best thing about it --- get the source and change it the way you want it
and build it if you do not like something in it or want it to be different. 



-Original Message-
From: as as [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 04, 2004 10:27 AM
To: Struts Users Mailing List
Subject: RE: Alternating table rows in jsp's table using struts 


Yes, I saw this cool tool too.
Is it too much overhead to install itis what I was wondering
 
Thanks!

Avinash Gangadharan [EMAIL PROTECTED] wrote:
Try display-tag http://displaytag.sourceforge.net/
It does everything you need...
Sorting
Paging 
Alternate row colors ... 
And much much more
It's really cool

-Original Message-
From: as as [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 04, 2004 10:15 AM
To: [EMAIL PROTECTED]
Subject: Alternating table rows in jsp's table using struts 


Hi,
Any taglib/custom tags for alternating row colors in jsp.. Thanks

(I can atatch my table creation code in jspusing Thanks.


-
Do you Yahoo!?
Yahoo! Search - Find what you're looking for faster.

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


-
Do you Yahoo!?
Yahoo! Search - Find what you're looking for faster.

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



RE: Getting the real request url

2004-03-04 Thread Avinash Gangadharan
Hen,
   From what I could figure you want to get the .do uri right ?
If that is the case, I do not think the request parameters that Craig
mentioned from the SRV 8.4.2 would give you that as it is out of the struts
controller scope already by then.
But here's what you could do :
Struts sets a request attribute with the key 
org.apache.struts.action.mapping.instance
This gived you the AppConfig Object in your request scope and then path
property gives you the .do URI .

request:existsAttribute name=org.apache.struts.action.mapping.instance
bean:write name=org.apache.struts.action.mapping.instance
property=path/
/request:existsAttribute

HTH
Avinash


-Original Message-
From: Henri Yandell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 04, 2004 10:51 AM
To: Struts Users Mailing List
Subject: Re: Getting the real request url




On Thu, 4 Mar 2004, Craig R. McClanahan wrote:

 This technique works fine.  In a Servlet 2.4 environment (Tomcat 5 or 
 later) environment, however, it is unnecessary ... when the Struts 
 controller servlet executes the RequestDispatcher.forward() call, the 
 servlet container will create request attributes under the following 
 keys, to capture the path elements of the original request (rather 
 than the new request):

 * javax.servlet.forward.request_uri
 * javax.servlet.forward.context_path
 * javax.servlet.forward.servlet_path
 * javax.servlet.forward.path_info
 * javax.servlet.forward.query_string

 For more info, see Section SRV.8.4.2 of the Servlet 2.4 spec.

Hopefully you won't mind me using you as a walking spec for a clarification.
If it forwards twice to a third jsp file, what do the properties above refer
to? The first uri or the second?

Thanks,

Hen


-
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: Alternating table rows in jsp's table using struts

2004-03-04 Thread Avinash Gangadharan
Great!!! 
Enjoy. I sure did. 
Thanks to the display-tag project team.


-Original Message-
From: as as [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 04, 2004 11:43 AM
To: Struts Users Mailing List
Subject: RE: Alternating table rows in jsp's table using struts 


Avinash,
Man, this is excellent.I wanna jump in and strat coding now. Will post back
my success soon.
 
Thanks,
Sam.

Avinash Gangadharan [EMAIL PROTECTED] wrote:
Not at all. It was a breeze for me. Look at the examples and do not miss
looking at the source code of each JSP for that example. You'll be amazed
how simple they are. Talk about doing it yourself  Man that's a lot of
boring work and much more overhead. 
The best thing about it --- get the source and change it the way you want it
and build it if you do not like something in it or want it to be different. 



-Original Message-
From: as as [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 04, 2004 10:27 AM
To: Struts Users Mailing List
Subject: RE: Alternating table rows in jsp's table using struts 


Yes, I saw this cool tool too.
Is it too much overhead to install itis what I was wondering

Thanks!

Avinash Gangadharan wrote:
Try display-tag http://displaytag.sourceforge.net/
It does everything you need...
Sorting
Paging 
Alternate row colors ... 
And much much more
It's really cool

-Original Message-
From: as as [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 04, 2004 10:15 AM
To: [EMAIL PROTECTED]
Subject: Alternating table rows in jsp's table using struts 


Hi,
Any taglib/custom tags for alternating row colors in jsp.. Thanks

(I can atatch my table creation code in jspusing Thanks.


-
Do you Yahoo!?
Yahoo! Search - Find what you're looking for faster.

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


-
Do you Yahoo!?
Yahoo! Search - Find what you're looking for faster.

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


-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online

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



RE: ActionClass

2004-02-23 Thread Avinash Gangadharan
Are'nt you talking about what DispatchAction class does ???



-Original Message-
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 23, 2004 1:38 PM
To: Struts Users Mailing List
Subject: RE: ActionClass


for example XYZAction class handle multiple request coming from several
different JSPs .to identify the request I can pass some unique action
parameter and execute appropriate block.

My question is that is there any feature available is Struts so that I can
identify the request where it is coming from rather than define different
path against each request and associate that path with the XYZAction class.

Path would be the same(no action parameter passed)for all request but
XYZAction class must be smart enough to identify the source and redirect the
result to the page where it is coming from.

-Ramadoss







-Original Message-
From: Max Cooper [mailto:[EMAIL PROTECTED]
Sent: Monday, February 23, 2004 4:08 PM
To: Struts Users Mailing List
Subject: Re: ActionClass


Define what you mean by where the request is coming from and what kind of
processing you would like to optionally perform. It is not clear what you
are trying to accomplish -- give some more details so we can help.

-Max

- Original Message - 
From: Ramadoss Chinnakuzhandai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 23, 2004 11:26 AM
Subject: ActionClass


Hi,
   Is there any features in Struts using which I can make the
ActionClass smart enough to understand where the request is coming from and
execute appropriate block ? If so could you pls drop some light on it?

Thank you in advance,

-Ramadoss






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

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



Tiles and message resources

2004-02-19 Thread Avinash Gangadharan
Group,
I'm having a problem if I use the message-resources inside my tiles
jsp. I'm doing something similar to the standard tiles sample for designing
a layout for menus with the selected menu shown differently. 
I'm doing something like this :

% String sel = ( String ) request.getAttribute( foo.SELECTEDMENU ); %
tiles:insert page=/jsp/layout/submenuLayout.jsp flush=true
  tiles:put name=titlebean:message key=menu.title//tiles:put
  tiles:putList name=items 
tiles:addbean:message key=menu.menu1/ /tiles:add
tiles:addbean:message key=menu.menu2//tiles:add
  /tiles:putList
  tiles:putList name=links 
tiles:add value=/do/someAction /
tiles:add value=/do/someOtherAction /
  /tiles:putList
  tiles:put name=selected value=%=sel%/
/tiles:insert

Now in my layout, I check for the selected menu and do something like :

logic:equal name=selected value=%=item% 
span class=sel%=item%/span
/logic:equal

Here item is the value of the Menu Items( bean:message key=menu.menu1/
etc... ) which I iterate over.

The menu items gets rendered just fine. But the above logic block never
returns a true and therefore never prints the selected menu in the way I
want it to.
So I see the menu normally with none of them selected.

The moment I replace the bean:message... With hard coded values, it starts
working.

Could someone tell me if I'm missing something.

Thanks and Regards
Avinash





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



RE: Tiles and message-resources

2004-02-19 Thread Avinash Gangadharan
That was a great trick Jayesh. It solved my problem too.

Thx.
Avinash

-Original Message-
From: Gopalakrishnan, Jayesh [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 18, 2004 11:39 AM
To: Struts Users Mailing List
Subject: RE: Tiles and message-resources


You could pass in the key, instead of the actual text

tiles:put name=title value=page.title /

and in your consumer jsp you could do,

tiles:importAttribute /
bean:message name=title /


hth
-jayash

-Original Message-
From: Thad Humphries [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 18, 2004 11:33 AM
To: Struts Users Mailing List
Subject: Tiles and message-resources


Is there any way to for a tlles definition to take a value from the 
message-resources file?  For example, if I wanted only one file to control
my 
applications text, could 

tiles:put name=title value=Page Title /

pull the value from the message-resources file like a JSP would do.


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



Conditional tag for method results

2004-02-18 Thread Avinash Gangadharan
Hello All,
I'm fairly new to the world of struts so pardon me if this has already
been asked. 

Could someone tell me if I can replace the following with a much better
looking tag library usage:

% if( foo.method( xyz ) ) { % 
  html:submit value=Submit
  Submit
  /html:submit
% } %

You can assume that foo exists in the scope of the page.

Thanks and Regards
Avinash

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



RE: Conditional tag for method results

2004-02-18 Thread Avinash Gangadharan
I did look at those earlier, unfortunately I could not figure out how can I
pass in a method call with a paramater passed to it, as the expression for
comparison.
The tags allow bean properties, cookie , request parameter etc...
Could you tell me how can I use a method call with a parameter that I pass
from within the JSP for evaluating the result.

Thx
A

-Original Message-
From: Niall Pemberton
To: Struts Users Mailing List
Sent: 2/18/2004 1:07 PM
Subject: Re: Conditional tag for method results

Yo can either use the Struts logic tags, or the standard tag library
(JSTL)

JSTL:  http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
Struts Logic Tags:
http://jakarta.apache.org/struts/userGuide/struts-logic.html

Niall
- Original Message - 
From: Avinash Gangadharan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 18, 2004 8:43 PM
Subject: Conditional tag for method results


 Hello All,
 I'm fairly new to the world of struts so pardon me if this has
already
 been asked.

 Could someone tell me if I can replace the following with a much
better
 looking tag library usage:

 % if( foo.method( xyz ) ) { %
   html:submit value=Submit
   Submit
   /html:submit
 % } %

 You can assume that foo exists in the scope of the page.

 Thanks and Regards
 Avinash

 -
 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: Conditional tag for method results

2004-02-18 Thread Avinash Gangadharan
Exactly I thought so and that is why in my question I asked if I can
replace the following with a much better looking tag library usage 
I wanted to make sure there is'nt something already out there which I can
simply use. Moreover I do think that the struts logic tag should have a
generic attribute which takes any runtime exression and evaluated it's
result for comparison.




-Original Message-
From: Gopalakrishnan, Jayesh
To: Struts Users Mailing List
Sent: 2/18/2004 1:33 PM
Subject: RE: Conditional tag for method results

You will need to create a simple custom tag for this.
Its pretty simple,  plenty of samples are available.


-jayash


-Original Message-
From: Avinash Gangadharan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 18, 2004 1:20 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Conditional tag for method results


I did look at those earlier, unfortunately I could not figure out how
can I
pass in a method call with a paramater passed to it, as the expression
for
comparison.
The tags allow bean properties, cookie , request parameter etc...
Could you tell me how can I use a method call with a parameter that I
pass
from within the JSP for evaluating the result.

Thx
A

-Original Message-
From: Niall Pemberton
To: Struts Users Mailing List
Sent: 2/18/2004 1:07 PM
Subject: Re: Conditional tag for method results

Yo can either use the Struts logic tags, or the standard tag library
(JSTL)

JSTL:  http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
Struts Logic Tags:
http://jakarta.apache.org/struts/userGuide/struts-logic.html

Niall
- Original Message - 
From: Avinash Gangadharan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 18, 2004 8:43 PM
Subject: Conditional tag for method results


 Hello All,
 I'm fairly new to the world of struts so pardon me if this has
already
 been asked.

 Could someone tell me if I can replace the following with a much
better
 looking tag library usage:

 % if( foo.method( xyz ) ) { %
   html:submit value=Submit
   Submit
   /html:submit
 % } %

 You can assume that foo exists in the scope of the page.

 Thanks and Regards
 Avinash

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

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



Form Submission

2004-02-17 Thread avinash . tiwari

Hi 

How can we submit a form without using
html:submit tag. I dont want to use _javascript_ for this?

Thanks  Regards
Avinash Tiwari
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.comDISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.

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

RE: Form Submission

2004-02-17 Thread avinash . tiwari

there is a hyperlink in my form - clicking
this hyperlink should submit the form. 
I can't use html:submit because
it displays a button instead of a hyperlink.

And the restriction is not to use _javascript_.


Avinash Tiwari
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com





Wendy Smoak [EMAIL PROTECTED]

02/17/2004 08:29 PM




Please respond to
Struts Users Mailing List [EMAIL PROTECTED]





To
Struts Users Mailing List
[EMAIL PROTECTED]


cc



Subject
RE: Form Submission








 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

 How can we submit a form without using html:submit tag. I

 dont want to use _javascript_ for this? 

AFAIK, the only other option is to put the parameters in a URL:
http://www.example.com/myapp/someAction.do?abc=123

But without _javascript_, you'd have to know the parameter *before* the
form was filled out, when the HTML was generated. What is your
objection to a submit button?

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

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


ForwardSourceID:NT4E02
 
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.

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

Re: Form Submission

2004-02-17 Thread avinash . tiwari

I want to use a hyperlink instead -


for example
On a typical employee list page clicking
the employee id of an employee takes you to the employee detail page.

In this scenario employee id can not
be displayed over a button - it has to be a hyperlink..

Use of _javascript_ is restricted. So
i cant call a _javascript_ function to set the action atribute and then call
the submit function.

Avinash Tiwari
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com





Mark Lowe [EMAIL PROTECTED]

02/17/2004 08:57 PM




Please respond to
Struts Users Mailing List [EMAIL PROTECTED]





To
Struts Users Mailing
List [EMAIL PROTECTED]


cc



Subject
Re: Form Submission








May I ask why you don't want a submit button?


On 17 Feb 2004, at 15:55, [EMAIL PROTECTED] wrote:


 Hi

 How can we submit a form without using html:submit tag. I
dont want 
 to use _javascript_ for this?

 Thanks  Regards
 Avinash Tiwari
 Tata Consultancy Services
 Mailto: [EMAIL PROTECTED]
 Website: 
 http:// 
 www.tcs.comInterScan_Disclaimer.txt--

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


ForwardSourceID:NT4E3A
 
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.

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

Re: Form Submission

2004-02-17 Thread avinash . tiwari

Hi Geeta/Paul/Mark/Wendy

What Geeta has suggested is basically
the same thing but Paul is using JSTL for that.
But such is the restriction of my application
that I can not use request object to get the values from form directly
by calling request.getParameter(...);

I will explain this why.

The framework that we are working with
right now gives some add on features over struts. Basically taken from
StrutsEJB framework.

We are using Map Based DTOs to transfer
data from view layer to model layer and other way round.
We are also using the feature of Command
Files. I will explain it what it is for people unaware of StrutsEJB framework.

In Struts we are supposed to mention
the Action Class in the struts-config.xml. And from the Action class we
generally call some java programs (say command files) to access the model
layer basically to avoid keeping business logic in Action Classes.

But in my framework we just need to
mention the Command file name in struts-config.xml instead of Action classes.
There is only one action class that is DefaultAction class which handles
all the requests and diverts the program control to the command file. I
will give here one typical entry in my struts-config.xml for your reference.

action 
  path=/CreateUser

  type=framework.common.web.DefaultAction
  name=UserForm
  scope=request
  input = /CreateUser.jsp
  parameter=app.cmd.CreateUserCmd
  forward name=Success
path = /UserSucc.jsp /  
 /action

in the above action tag the attribute
parameter is the name of the command file where i would like my control
to go after the form gets submitted.

Now the problem is in the Command File
CreateUserCmd where i would keep my business logic -- i dont
have the request object. so i cant do a
request.getParameter(.); 
here.

the way i get values from forms is like
this.

if I have this code in JSP 
html:text property=dto(txtUsname)
styleClass=listItem size=14 /

I will have to write the following code
in my command file to get the value of User Name
String UserName = (String)paramDTO.get(txtUsName);

As Mark/Wendy were asking me why i cant
use _javascript_ is because 

whenever i use something like this in
_javascript_ I get _javascript_ error at runtime
document.UserForm.dto(txtUsName).value
= val;
document.UserForm.submit();

This is obvious because whenever _javascript_
parses something like dto(txtUsName) it takes it as a function call.

I hope I could explain the problem properly.


Regards
Avinash Tiwari
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com





Geeta Ramani
[EMAIL PROTECTED] 
02/17/2004 09:57 PM




Please respond to
Struts Users Mailing List [EMAIL PROTECTED]





To
Struts Users Mailing List
[EMAIL PROTECTED]


cc



Subject
Re: Form Submission








Avinash:

How about trying something like this:

%String myLink = /EmplyeeDetailAction.do?employeeId= +
employeeId; %

html:link page=%=myLinkEmployee Detail Page/html:link

Regards,
Geeta

[EMAIL PROTECTED] wrote:


 I want to use a hyperlink instead -

 for example
 On a typical employee list page clicking the employee id of an
 employee takes you to the employee detail page.

 In this scenario employee id can not be displayed over a button -
it
 has to be a hyperlink..

 Use of _javascript_ is restricted. So i cant call a _javascript_ function
 to set the action atribute and then call the submit function.

 Avinash Tiwari
 Tata Consultancy Services
 Mailto: [EMAIL PROTECTED]
 Website: http://www.tcs.com


 Mark Lowe [EMAIL PROTECTED]
  
  
To Struts Users Mailing List
  
  
 [EMAIL PROTECTED]
 02/17/2004 08:57 PM
  
  
cc
 Please respond to
   Struts Users Mailing List   Subject
Re: Form Submission
  [EMAIL PROTECTED]




 May I ask why you don't want a submit button?


 On 17 Feb 2004, at 15:55, [EMAIL PROTECTED] wrote:

 
  Hi
 
  How can we submit a form without using html:submit tag.
I dont
 want
  to use _javascript_ for this?
 
  Thanks  Regards
  Avinash Tiwari
  Tata Consultancy Services
  Mailto: [EMAIL PROTECTED]
  Website:
  http://
 
 www.tcs.comInterScan_Disclaimer.txt--

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


 ForwardSourceID:NT4E3A

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


ForwardSourceID:NT4E76
 
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated

RE: Orkut

2004-02-10 Thread avinash . tiwari

Please add me to this list.

Thanks
Avinash






Tomeu Vizoso
[EMAIL PROTECTED] 
02/10/2004 03:50 PM




Please respond to
Struts Users Mailing List [EMAIL PROTECTED]





To
'Struts Users Mailing
List' [EMAIL PROTECTED]


cc



Subject
RE: Orkut








I would also like to join.

Thanks

-Mensagem original-
De: Alvaro Martinez [mailto:[EMAIL PROTECTED] 
Enviada: quarta-feira, 11 de Fevereiro de 2004 9:43
Para: Struts Users Mailing List
Assunto: Re: Orkut


add me too. thanks a lot

- Original Message - 
From: Dirk Manske (Service Respond)
[EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 2:27 AM
Subject: AW: Orkut


add me please. thx.

-Ursprüngliche Nachricht-
Von: Oliver Thiel [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 10. Februar 2004 00:41
An: 'Struts Users Mailing List'
Betreff: AW: Orkut

... me too ... thanks!



-Ursprüngliche Nachricht-
Von: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 10. Februar 2004 00:22
An: Struts Users Mailing List
Betreff: RE: Orkut

add me too :-)

-R

-Original Message-
From: Babu, Bharathi [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 6:21 PM
To: 'Struts Users Mailing List'
Subject: RE: Orkut


Please add me.

-Original Message-
From: Srinivas Kusunam [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 3:47 PM
To: [EMAIL PROTECTED]
Subject: RE: Orkut


Can some one add me to the list please??

Thanks,
Sree

 [EMAIL PROTECTED] 02/09/04 02:11PM 
Hi,

Can someone please add me to Orkut
Thanks in advance

Cheers, Matthias




-Original Message-
From: Wiebe de Jong [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 6:33 PM
To: 'Struts Users Mailing List'
Subject: RE: Orkut


Hello, Please add me to Orkut.
Thanks


-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Cekvenich
Sent: Sunday, February 08, 2004 8:16 PM
To: [EMAIL PROTECTED]
Subject: Orkut

If you want to join Struts in Orkut Social Network send me an e-mail
saying so.

.V
(if you do not know what it is don't worry)


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



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


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


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


ForwardSourceID:NT3E32
 
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official

DisplayTag: each element in a table of it's own

2004-02-06 Thread Avinash Gangadharan
Hello All,
I have a question for people using the displaytag tablib for table
rendering. I was wondering is there an easy way I can display each of the
object in my list that gets rendered as a row to show in a table of its own(
showing the header again ).

Thx
Avinash

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



StrutsEJB

2004-01-29 Thread avinash . tiwari

Hi Struts Users

Has anybody tried and implemented the
StrutsEJB framework? 
What are its advantages and disadvantages
over Struts?

Thanks in advance.

Regards
AvinashDISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.

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

Re: Scheduled Jobs

2002-09-26 Thread avinash

hello gus,
you can find my resume as attachment for the jobs you are
looking at ;-)


- Original Message -
From: gus [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 3:24 PM
Subject: Scheduled Jobs


 Hi!

 In my struts app I have to do some cleanup jobs in my database that I
 like to start regularly. What's the best way to realize such schedules
 jobs in a struts app?

 Thanks in advance.

gus


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



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




Re: I seek a sample databae crud application

2002-09-21 Thread avinash

hi,
you can treat xml as an intermediate format and merge the xml into
database depending upon the database you're using. there are a number of
softwares for that.

bye

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 19, 2002 6:22 PM
Subject: I seek a sample databae crud application


 Does anyone have a working example of of a Struts
 application that does simple CRUD routines on a
 database. I'm looking for an example of how to

 a) handle the database connections (pooling)
 b) process create/read/update/delete database requests

 I'm not asking for someone to write one for me, just
 wondering if anyone could point me to a working example
 of one online that I can look at. The only one I've
 seen is the one on Husted's site, the Artimus app,
 which is *not* simple.. to me at least ;) All the other
 sample apps I have looked at don't go into using a
 database. They all save their data as xml which is not
 practical for  everything (but I understand they use
 xml to keep the example simple).

 I have started an application for a project at work but
 is going slowly and I'm not sure the way I'm doing
 things is the most elegant.

 Thanks in advance

 __
 Get your FREE personalized e-mail at http://www.canada.com

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



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




Re: CURD/CRUD: a better way?

2002-09-21 Thread avinash

Hello,
yes, we share the same problem as you do and are now in a process of 
developing the components for that. we have reached half the way. ie the components 
that perform the following operations are done. we have to integrate them and sell the 
product. the features are

Target code Generation Technologies 

JSP,Struts
ASP

1. CRUD Operations
2. Data base driven Role Based Security includes Menu and Tree
3. Cascading Styles Assigner
4. Validations Mapper using the Struts one.

The trial versions of the same are going to be released in a month. we're yet to work 
out a business model. However, there are a few free tools and sites also available 
that do the task. 
You can look out for such sites. 

Product Goal: To produce a product that will have re-usable, customizable components 
in the web kingdom.

Web Kindom is a superset of all Targe Technologies.

Target Technology: Given a specific requirement, the set of Programming Language, 
Database,Architechture form it.

Ex: 
Front End : JSP
Backend: My-SQL
Validations: Java Script
Browser : Netscape 6.0
WebServer : Tomcat

thanq for listening. 

Avinash M
Associate Member technical Staff
www.inspira.com
Inspira Technologies
(An ISO 9001 company)
# 8-3-214/2,
Srinivas Colony (West),
Ameerpet,
Hyderabad - 500 038.
INDIA

Tel: +91-40-374 0420, 374 0400, 374 0433, 6581348
Fax: +91-40-375 6170

- Original Message - 
From: Vincent Stoessel [EMAIL PROTECTED]
To: Struts Users [EMAIL PROTECTED]
Sent: Thursday, September 19, 2002 10:33 PM
Subject: CURD/CRUD: a better way?


 Hello All,
 I am here create my umpteenth form to interface with a db
 that I will be selecting, updating , inserting , deleting from.
 To save time I usually combine the insert/update form and make
 separate delete and search (select)  screens.
 What I was wondering if some angel out there has created
 an application, bean, or applet  that can generate an html form for you 
 based on the metainfo of an sql table.
 Doesn't have to be fancy looking, just working.
 this seems to be a common need for me at least. How are the smarts
 developers reducing time of this tedious task?
 
 Thanks.
 
 
 -- 
 Vincent Stoessel
 Linux Systems Developer
 vincent xaymaca.com
 



Re: Need some help

2002-07-18 Thread avinash

hi ,
i don't know how some people say that they are new to the new and can ask
such complex questions. ;-) is it humility ?


- Original Message -
From: Asit Kumar Padhi [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, July 18, 2002 3:29 PM
Subject: Need some help


 All,

 I am new to the Struts Framework.I am involved in extending the framework
 for Object Mapping and Testing (Cactus or JUnit).Can anyone tell me
how
 to extend the Struts framework and integrate them.I want some good
resources
 in this regards.

 Thanks

 Asit








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


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




Re: [ANNOUNCE] Visual tool for Struts

2001-09-17 Thread avinash

that's because of your jre version number.put into classpath a jre that is
1.3 or more.

- Original Message -
From: emmanuel.boudrant [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 17, 2001 15:33
Subject: Re: [ANNOUNCE] Visual tool for Struts


 When I run camino, I've got this error:

 C:\projet\camino-v1.0-b1-010914\camino\v1.0-b1java
 -classpath C:\Program Files
 \Borland\JBuilder4\jdk1.3\lib\tools.jar -jar
 ./lib/camino_dist.jar
 Exception in thread main
 java.lang.NoSuchMethodError: javax.swing.JSplitPane:
 method setResizeWeight(D)V not found
 at
 scioworks.camino.gui.MainFrame.jbInit(MainFrame.java:926)
 at
 scioworks.camino.gui.MainFrame.init(MainFrame.java:142)
 at scioworks.camino.Main.init(Main.java:39)
 at scioworks.camino.Main.main(Main.java:164)

 Is my classpath isn't good ?


  --- John Yu [EMAIL PROTECTED] a écrit :  Some
 people are still reporting problem about the
  download.
 
  I am still not sure why. I suspect the low bandwidth
  timed out the
  connection on our ISP. We have got rid of the
  download servlet for the
  being. Hopefully, this will get around the problem.
 
  Apologies for the inconvenience.
  --
  John
 
 
  At 12:42 pm 17-09-2001 +0800, you wrote:
  We'd like to invite everyone in the Struts
  community to try out Scioworks
  Camino, a visual tool for Struts. The free download
  can be found at
  
 http://www.scioworks.com/scioworks_camino.html
  
  regards,
  
  --
  John Yu   Scioworks
  Technologies
  e: [EMAIL PROTECTED] w: +(65) 873 5989
  w: http://www.scioworks.com  m: +(65) 9782 9610
 
  --
  John Yu   Scioworks Technologies
  e: [EMAIL PROTECTED] w: +(65) 873 5989
  w: http://www.scioworks.com   m: +(65) 9782 9610

 ___
 Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
 Yahoo! Courrier : http://fr.mail.yahoo.com