help needed in custom validation

2008-11-10 Thread Muralidhar Y
Hi ,

  I am using tapestry4.1. I have recorded an error in the listener
method in the java class as shown below 

 

 

 public String onWordSubmit(IRequestCycle cycle) {  

   if(getUserName().equals("murali")){

 getVisit().setAttribute("org.fps.companyName", "Kensium
solutions"); 

 return "Secret";

   }else{

 Form currentForm=(Form)getComponent("homeForm");

 IValidationDelegate
validationDelegate=(IValidationDelegate)currentForm.getDelegate();

 IFormComponent
formComp=(IFormComponent)getComponent("userName");

 validationDelegate.record(formComp, "Invalid
password");

   }

 

 return null;

   }

 

And when I see the same page the text field is being decorated as error but
on the html page the error messages are not being displayed. What should I
do to display error messages also along with the decoration? Do I have to
add anything to the template in order to see the error messages? Kindly help
me in this. Currently I am struck here.

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



RE: problem custom validation

2008-11-10 Thread Muralidhar Y
I am using tapestry4.1.If I return null It is showing the same page with
field decoration(the user name text field is being decorated with red color)
but the error messages(for example "Your user id is invalid") are not being
displayed any where on the page. So what I have to do in order to display
the messages on the page.  Thanking you in advance.

Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
 
US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511
India Fax:   +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
 
Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 


 

-Original Message-
From: Andreas Andreou [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 10, 2008 4:32 PM
To: Tapestry users
Subject: Re: problem custom validation

You still have to return the page to be rendered even in case your
validation fails

So, just add
return null

after
validationDelegate.record(formComp, "Invalid password");

On Mon, Nov 10, 2008 at 11:52 AM, Muralidhar Y <[EMAIL PROTECTED]>
wrote:
> Hi friends,
>
>
>
> I have done the following in the html form
>
>
>
>  delegate="bean:mydelegate">
>
>
>
>
>
> I have included the bean in the page specification like the following
>
>
>
> 
>
>
>
>  
>
>
>
>
>
> 
>
>
>
> In the listener method I have coded as following:-
>
>
>
>   public String onWordSubmit(IRequestCycle cycle) {
>
>   if(getUserName().equals("murali")){
>
> getVisit().setAttribute("org.fps.companyName",
"Kensium
> solutions");
>
>   }else{
>
> Form currentForm=(Form)getComponent("homeForm");
>
> IValidationDelegate
> validationDelegate=(IValidationDelegate)currentForm.getDelegate();
>
> IFormComponent
> formComp=(IFormComponent)getComponent("userName");
>
> validationDelegate.record(formComp, "Invalid
> password");
>
>   }
>
>
>
>  return "Secret";
>
>   }
>
>
>
> Actually when the error is recorded it has to stay on the same page but it
> is moving to the next page without showing errors on the current page. Do
I
> have to do anything in the html template?
>
>
>
> Thanking you.
>
>
>
>
>
> Warm regards,
>
> Muralidhar Y
>
> [EMAIL PROTECTED]
>
>
>
> US Main: 877 KENSIUM (536.7486)
> India Main:  +91 9949495511
>
> India Fax:   +91 9949495522
>
> Kensium
>
> 200 S Wacker Dr, Suite 3100
>
> Chicago, IL 60606
>
>
>
>
>
> Confidentiality Note:
> -
> The information contained in this e-mail is strictly confidential and for
> the intended use of the addressee only. Any disclosure, use or copying of
> the information by anyone other than the intended recipient is prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
>
>
>
>  _
>
>
>
>



-- 
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

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



problem custom validation

2008-11-10 Thread Muralidhar Y
Hi friends,

 

I have done the following in the html form 

 



 

 

I have included the bean in the page specification like the following

 



 

  

 

 



 

In the listener method I have coded as following:-

 

   public String onWordSubmit(IRequestCycle cycle) {   

   if(getUserName().equals("murali")){

 getVisit().setAttribute("org.fps.companyName", "Kensium
solutions"); 

   }else{

 Form currentForm=(Form)getComponent("homeForm");

 IValidationDelegate
validationDelegate=(IValidationDelegate)currentForm.getDelegate();

 IFormComponent
formComp=(IFormComponent)getComponent("userName");

 validationDelegate.record(formComp, "Invalid
password");

   }

 

  return "Secret"; 

   }

 

Actually when the error is recorded it has to stay on the same page but it
is moving to the next page without showing errors on the current page. Do I
have to do anything in the html template?

 

Thanking you. 

 

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



extension of my earlier mail

2008-11-09 Thread Muralidhar Y
The error says  " Exception: Exception invoking listener method
onWordSubmit of component Home: Component Home/homeForm does not define a
bean name mydelegate."

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



custom validation

2008-11-09 Thread Muralidhar Y
equestServicer_11d84db2
b52.java) 
*
$ServletRequestServicer_11d84db2b44.service($ServletRequestServicer_11d84db2
b44.java) 
*
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:126
) 
*
org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:171) 
*   javax.servlet.http.HttpServlet.service(HttpServlet.java:710) 
*   javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 
*
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:269) 
*
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:188) 
*
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213) 
*
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:174) 
*
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
) 
*
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
) 
*
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:108) 
*
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) 
*
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) 
*
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:665) 
*
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:528) 
*
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:81) 
*
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:689) 
*   java.lang.Thread.run(Thread.java:595) 

 

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



input validation

2008-11-06 Thread Muralidhar Y
Hi friends I got a problem. I am working with tapestry4.1. Actually in the
java class I am taking the user name from the html file and in the listener
method I have to validate the user name and if the user name is not correct
I want to add an error saying that "your user name is incorrect" and it has
to go to the same html page and should display the error on the top of the
page. How to do this? 

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



is there any eclipse plugin for tapestry4.1

2008-11-05 Thread Muralidhar Y
Hi friends is there any eclipse plugin for tapeatry 4.1. if so where can I
get it? 

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



RE: problem with validators

2008-11-05 Thread Muralidhar Y
Hi I found the solution. In form component I have to use "success" instead
of " listener"  thank you so much. But If you add this in the documentation
(in user guide under input validation) It will be more helpful. Thanking you
so much.

Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
 
US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511
India Fax:   +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
 
Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 


 

-Original Message-
From: Jonathan Barker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 05, 2008 10:28 PM
To: 'Tapestry users'
Subject: RE: problem with validators


Please include the portion of the HTML that includes the Form.

Please include your page class code... at least any form-related methods,
but preferably the whole file.


Jonathan



> -----Original Message-
> From: Muralidhar Y [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 05, 2008 03:32
> To: users@tapestry.apache.org
> Subject: problem with validators
> 
> Hi friends, I am working on tapestry4.1. I have problem with validators.
> In the html file I have done the following
> 
> 
> 
> 
> 
>User
> Name
> 
> validators="validators:required" displayName="Login Name" size="30"/>
> 
> 
> 
> 
> 
> 
> 
> After I kept the validator required also I am able to move to the nextpage
> with empty username. The username field is empty still when I click on
> submit I am able to move to the next page which is not expected. Do I have
> to do any additional things in the html file? Thanking you so much.
> 
> 
> 
> 
> 
> 
> 
> Warm regards,
> 
> Muralidhar Y
> 
> [EMAIL PROTECTED]
> 
> 
> 
> US Main: 877 KENSIUM (536.7486)
> India Main:  +91 9949495511
> 
> India Fax:   +91 9949495522
> 
> Kensium
> 
> 200 S Wacker Dr, Suite 3100
> 
> Chicago, IL 60606
> 
> 
> 
> 
> 
> Confidentiality Note:
> -
> The information contained in this e-mail is strictly confidential and for
> the intended use of the addressee only. Any disclosure, use or copying of
> the information by anyone other than the intended recipient is prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
> 
> 
> 
>   _
> 
> 



-
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: Tapestry 5 and ServletContext

2008-11-05 Thread Muralidhar Y
I am not sure of T5 but you can use ASO with global scope. In this way the
ASO will store in the servlet context. That might solve your problem.

Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
 
US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511
India Fax:   +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
 
Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 


 

-Original Message-
From: Tuan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 06, 2008 10:22 AM
To: Tapestry users
Subject: Tapestry 5 and ServletContext

Hi all,

I am new comer to tapestry. I am joining a project require using servlet 
context. I read emails from tapestry-user mail archive. Some info I get 
is that T5 dev planned to support it. So I want to know that T5 whether 
support servlet context in ApplicationState (beside the session in 
default) now.

http://tapestry.markmail.org/message/5wfqhhg6jm3johpc?q=ServletContext+from:
%22Howard+Lewis+Ship%22

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: problem with validators

2008-11-05 Thread Muralidhar Y
Hi The following is my html:-



  

Guess the Word

  

  

  Guess the Word
  

  

  
   User
Name
  
  
  
  
  
  
 User
Name
   


  
   

  

  

  





In page specification I have written nothing.the following is my page
specification.






In java class the following is the code:-

public abstract  class Secret extends FPSBasePage{


   @InitialValue("literal:Murali")
 public abstract String getUserName();

public abstract String getUserPassword();
 
public IPage onWordSubmit(IRequestCycle cycle) {

One nextPage = (One) cycle.getPage("One");
nextPage.setUserName(this.getUserName());
return nextPage;
}

Please kindly look into this issue. I have given required validator as shown
in the user guide (you can see that in my html file). In the user guide they
have not shown any other configuration but the "required" is not working. I
am able to move to the next page without any values in the password field
and username field 

Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
 
US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511
India Fax:   +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
 
Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 


 
-Original Message-
From: Jonathan Barker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 05, 2008 10:28 PM
To: 'Tapestry users'
Subject: RE: problem with validators


Please include the portion of the HTML that includes the Form.

Please include your page class code... at least any form-related methods,
but preferably the whole file.


Jonathan



> -----Original Message-
> From: Muralidhar Y [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 05, 2008 03:32
> To: users@tapestry.apache.org
> Subject: problem with validators
> 
> Hi friends, I am working on tapestry4.1. I have problem with validators.
> In the html file I have done the following
> 
> 
> 
> 
> 
>User
> Name
> 
> validators="validators:required" displayName="Login Name" size="30"/>
> 
> 
> 
> 
> 
> 
> 
> After I kept the validator required also I am able to move to the nextpage
> with empty username. The username field is empty still when I click on
> submit I am able to move to the next page which is not expected. Do I have
> to do any additional things in the html file? Thanking you so much.
> 
> 
> 
> 
> 
> 
> 
> Warm regards,
> 
> Muralidhar Y
> 
> [EMAIL PROTECTED]
> 
> 
> 
> US Main: 877 KENSIUM (536.7486)
> India Main:  +91 9949495511
> 
> India Fax:   +91 9949495522
> 
> Kensium
> 
> 200 S Wacker Dr, Suite 3100
> 
> Chicago, IL 60606
> 
> 
> 
> 
> 
> Confidentiality Note:
> -
> The information contained in this e-mail is strictly confidential and for
> the intended use of the addressee only. Any disclosure, use or copying of
> the information by anyone other than the intended recipient is prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
> 
> 
> 
>   _
> 
> 



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



even tried with deligate

2008-11-05 Thread Muralidhar Y
Hi friends, This is the extension of my earlier mail. I have used deligate
also in the form like the following

 



 

and I have configured the beans in the page like the following

 



  

 

still there is no luck. kindly help me. Thanking you all.

 

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



problem with validators

2008-11-05 Thread Muralidhar Y
Hi friends, I am working on tapestry4.1. I have problem with validators.
In the html file I have done the following

 



   User
Name

   





 

After I kept the validator required also I am able to move to the nextpage
with empty username. The username field is empty still when I click on
submit I am able to move to the next page which is not expected. Do I have
to do any additional things in the html file? Thanking you so much.

 

 

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



IS there a plugin for tapestry4.1

2008-11-04 Thread Muralidhar Y
Hi friends, Is there any eclipse plugin for tapestry4.1. if so where can I
get it from? Thanking you.

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



what is the importance of id and package

2008-11-04 Thread Muralidhar Y
Hi friends what is the importance of id and package in hivemodule.xml

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



RE: visit and global

2008-11-04 Thread Muralidhar Y
Thank you it worked. Thank u so much.

Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
 
US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511
India Fax:   +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
 
Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 


 

-Original Message-
From: Andreas Andreou [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2008 5:37 PM
To: Tapestry users
Subject: Re: visit and global

Hi, remove the call from the constructor of Home and just keep the
definition
in hivemodule.xml

That's all that's needed - otherwise, maybe post the stacktrace here

PS. You don't need to keep the visit name for your session state object, you
can use whatever name best describes its purpose


On Tue, Nov 4, 2008 at 1:46 PM, Muralidhar Y <[EMAIL PROTECTED]>
wrote:
> Even I have created hivemodule.xml under WEB-INF. The following is the
xml.
>
> 
>   
>   
>
>   
>  
>
> 
>
> Still it is throwing null pointer exception. Kidly look into this. I am
> struck at this point. I need to access the ASO in my application.
>
> Warm regards,
> Muralidhar Y
> [EMAIL PROTECTED]
>
> US Main: 877 KENSIUM (536.7486)
> India Main:  +91 9949495511
> India Fax:   +91 9949495522
> Kensium
> 200 S Wacker Dr, Suite 3100
> Chicago, IL 60606
>
>
> Confidentiality Note:
> -
> The information contained in this e-mail is strictly confidential and for
> the intended use of the addressee only. Any disclosure, use or copying of
> the information by anyone other than the intended recipient is prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
>
> 
>
>
>
> -Original Message-
> From: Andreas Andreou [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 04, 2008 3:57 PM
> To: Tapestry users
> Subject: Re: visit and global
>
> http://tapestry.apache.org/tapestry4.1/usersguide/state.html
> http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html
> (InjectState & InjectStateFlag)
>
> On Tue, Nov 4, 2008 at 11:00 AM, Muralidhar Y <[EMAIL PROTECTED]>
> wrote:
>> Hi friends,
>>
>>  From tapestry4.1 "getVisit() and getGlobal()" has been
>> deprecated from AbstractPage". So how do we access  Visit and Global
>> objects.
>>
>>
>>
>> Warm regards,
>>
>> Muralidhar Y
>>
>> [EMAIL PROTECTED]
>>
>>
>>
>> US Main: 877 KENSIUM (536.7486)
>> India Main:  +91 9949495511
>>
>> India Fax:   +91 9949495522
>>
>> Kensium
>>
>> 200 S Wacker Dr, Suite 3100
>>
>> Chicago, IL 60606
>>
>>
>>
>>
>>
>> Confidentiality Note:
>> -
>> The information contained in this e-mail is strictly confidential and for
>> the intended use of the addressee only. Any disclosure, use or copying of
>> the information by anyone other than the intended recipient is
prohibited.
>> If you have received this message in error, please notify the sender
>> immediately by return e-mail and securely discard this message.
>>
>>
>>
>>  _
>>
>>
>>
>>
>
>
>
> --
> Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
> Tapestry / Tacos developer
> Open Source / JEE Consulting
>
> -
> 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]
>
>



-- 
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

-
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: visit and global

2008-11-04 Thread Muralidhar Y
Even I have created hivemodule.xml under WEB-INF. The following is the xml.


   
   

 
  



Still it is throwing null pointer exception. Kidly look into this. I am
struck at this point. I need to access the ASO in my application.

Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
 
US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511
India Fax:   +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
 
Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 


 

-Original Message-
From: Andreas Andreou [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2008 3:57 PM
To: Tapestry users
Subject: Re: visit and global

http://tapestry.apache.org/tapestry4.1/usersguide/state.html
http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html
(InjectState & InjectStateFlag)

On Tue, Nov 4, 2008 at 11:00 AM, Muralidhar Y <[EMAIL PROTECTED]>
wrote:
> Hi friends,
>
>  From tapestry4.1 "getVisit() and getGlobal()" has been
> deprecated from AbstractPage". So how do we access  Visit and Global
> objects.
>
>
>
> Warm regards,
>
> Muralidhar Y
>
> [EMAIL PROTECTED]
>
>
>
> US Main: 877 KENSIUM (536.7486)
> India Main:  +91 9949495511
>
> India Fax:   +91 9949495522
>
> Kensium
>
> 200 S Wacker Dr, Suite 3100
>
> Chicago, IL 60606
>
>
>
>
>
> Confidentiality Note:
> -
> The information contained in this e-mail is strictly confidential and for
> the intended use of the addressee only. Any disclosure, use or copying of
> the information by anyone other than the intended recipient is prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
>
>
>
>  _
>
>
>
>



-- 
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

-
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: visit and global

2008-11-04 Thread Muralidhar Y
I have seen these two links and I am not able to understand. I have done the
following and still not able to get the visit object.

I have created a class with name Visit and configured that in the
FPS.application like the following



I have created a custom base page which is FPSBase page in that the
following code has been written.

public abstract class FPSBasePage extends BasePage {

 @InjectState("visit")
  public abstract Visit getVisit();

public String getCompanyName(){
return
(String)getVisit().getAttribute("org.fps.companyName");
}


}

And in the home class in public constructor of Home.java the following code
has been written

public Home() {
   getVisit().setAttribute("org.fps.companyName", "Kensium solutions"); 
   }

This creating aproblem. When I call the home page it is saying getVisit is
null. What is the problem.


Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
 
US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511
India Fax:   +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
 
Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 


 

-Original Message-
From: Andreas Andreou [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2008 3:57 PM
To: Tapestry users
Subject: Re: visit and global

http://tapestry.apache.org/tapestry4.1/usersguide/state.html
http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html
(InjectState & InjectStateFlag)

On Tue, Nov 4, 2008 at 11:00 AM, Muralidhar Y <[EMAIL PROTECTED]>
wrote:
> Hi friends,
>
>  From tapestry4.1 "getVisit() and getGlobal()" has been
> deprecated from AbstractPage". So how do we access  Visit and Global
> objects.
>
>
>
> Warm regards,
>
> Muralidhar Y
>
> [EMAIL PROTECTED]
>
>
>
> US Main: 877 KENSIUM (536.7486)
> India Main:  +91 9949495511
>
> India Fax:   +91 9949495522
>
> Kensium
>
> 200 S Wacker Dr, Suite 3100
>
> Chicago, IL 60606
>
>
>
>
>
> Confidentiality Note:
> -
> The information contained in this e-mail is strictly confidential and for
> the intended use of the addressee only. Any disclosure, use or copying of
> the information by anyone other than the intended recipient is prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
>
>
>
>  _
>
>
>
>



-- 
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

-
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: where is tapestry4.1 java api

2008-11-04 Thread Muralidhar Y
Thank you so much.

Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
 
US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511
India Fax:   +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
 
Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 


 
-Original Message-
From: Geoff Callender [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2008 3:13 PM
To: Tapestry users
Subject: Re: where is tapestry4.1 java api

http://tapestry.apache.org/tapestry4.1/apidocs/index.html?overview-summary.h
tml

On 04/11/2008, at 8:30 PM, Muralidhar Y wrote:

> Hi friends I am using tapestry 4.1 but could not find java api.  
> Kindly help.
>
>
>
> Warm regards,
>
> Muralidhar Y
>
> [EMAIL PROTECTED]
>
>
>
> US Main: 877 KENSIUM (536.7486)
> India Main:  +91 9949495511
>
> India Fax:   +91 9949495522
>
> Kensium
>
> 200 S Wacker Dr, Suite 3100
>
> Chicago, IL 60606
>
>
>
>
>
> Confidentiality Note:
> -
> The information contained in this e-mail is strictly confidential  
> and for
> the intended use of the addressee only. Any disclosure, use or  
> copying of
> the information by anyone other than the intended recipient is  
> prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
>
>
>
>  _
>
>
>


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



where is tapestry4.1 java api

2008-11-04 Thread Muralidhar Y
Hi friends I am using tapestry 4.1 but could not find java api. Kindly help.

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



visit and global

2008-11-04 Thread Muralidhar Y
Hi friends,

  From tapestry4.1 "getVisit() and getGlobal()" has been
deprecated from AbstractPage". So how do we access  Visit and Global
objects. 

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _  

 



RE: where can i find java api

2008-10-26 Thread Muralidhar Y
Thank you so much. I also found that in quick links of 4.0

Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
 
US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511
India Fax:   +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
 
Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 


 

-Original Message-
From: Donyee [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 27, 2008 12:21 PM
To: Tapestry users
Subject: Re: where can i find java api

You can find T5 javadoc here http://tapestry.apache.org/tapestry5/apidocs/

2008/10/27 Muralidhar Y <[EMAIL PROTECTED]>

> Hi all where can I find tapestry's java API ? I could not see that on
site.
>
>
>
> Warm regards,
>
> Muralidhar Y
>
> [EMAIL PROTECTED]
>
>
>
> US Main: 877 KENSIUM (536.7486)
> India Main:  +91 9949495511
>
> India Fax:   +91 9949495522
>
> Kensium
>
> 200 S Wacker Dr, Suite 3100
>
> Chicago, IL 60606
>
>
>
>
>
> Confidentiality Note:
> -
> The information contained in this e-mail is strictly confidential and for
> the intended use of the addressee only. Any disclosure, use or copying of
> the information by anyone other than the intended recipient is prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
>
>
>
>  _
>
>
>
>


-- 
Yet Another Java EE Developer!


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



where can i find java api

2008-10-26 Thread Muralidhar Y
Hi all where can I find tapestry's java API ? I could not see that on site.

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _