Page redirected to a "You have clicked on a stale link Error..." page

2008-01-04 Thread Ajit Raj
Hi,
 
Really appreciate you Tapestry and Acegisecurity experts’ help on this 
 
I got an “stale link” error page after I reloged into the application -- it 
happens after I clicked a "Submit" button on one of the form page after session 
was already timeout, and it redirect me back into the login page (which I used 
ExceptionTranslaionFilter to handle the security log in). After I correct put 
in my login information, it went to the following page:
 
You have clicked on a stale link.
Rewind of form core/Example/SchoolReport expected only 0 form elements, but an 
additional id was requested by component sure/DateSelect/CheckDateSelected.
This is most likely the result of using your browser's back button, but can 
also be an application error.
You may continue by returning to the application's home page.
 
I have to go to the home page first, then go to the page where I clicked 
"submit" button.
 
Is this a tapestry issue? Is there a way to go back to the my last page after 
re-login instead of go through the home page? Or, can I be redirected to the 
home page instead of “stale link” page? It seems that it only happens when some 
data needs to be sent back to the server, not happens on a DirectLink item.
 
Thanks a lot in advance!
 
Ajit
_
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008

You have clicked on a stale link Error

2007-09-05 Thread Ajit Raj
Hi,I got a error as following after I tried to re-log in to the application -- 
it happens when I clicked a "Submit" button on one of the page after session 
already timeout, and it redirect me back into the login page.You have clicked 
on a stale link.Rewind of form core/Example/SchoolReport expected only 0 form 
elements, but an additional id was requested by component 
sure/DateSelect/CheckDateSelected.This is most likely the result of using your 
browser's back button, but can also be an application error.You may continue by 
returning to the application's home page.I have to go to the home page first, 
then go to the page where I clicked "submit" button.Is this a tapestry issue? 
Is there a way to go back to the my last page after re-login instead of go 
through the home page? It seems that it only happens when some data needs to be 
sent back to the server, not happens on a DirectLink item.Thanks,Ajit
_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us

RE: You have clicked on a stale link Error

2007-08-14 Thread Ajit Raj
Thanks.
 
I kind wonder why "DirectLink" works after user relogin -- it can go to the 
page the link points to. It only doesn't work with the "Submit" button -- is 
that becuase it contains some persist data that needs to be sent back to the 
server and server has already lost all the information for this session?
 
Ajit



> Date: Tue, 14 Aug 2007 16:29:39 -0400> From: [EMAIL PROTECTED]> To: 
> users@tapestry.apache.org> Subject: Re: You have clicked on a stale link 
> Error> > Ajit,> > You would have to actively store your trail, like 
> breadcrumbs in a> data structure that is still available even after the user 
> has timed> out. You might want to persist it to a database, instead of 
> keeping> track of it in memory.> > Then after login success, the login 
> page/component would look up the> last visited page and then try to send the 
> user there by sending that> page.> > So this is not something automatically 
> handled by Tapestry.> > On 8/14/07, Ajit Raj <[EMAIL PROTECTED]> wrote:> > 
> Hi,> >> > I got a error as following after I tried to relog in to the 
> application -- it happens when I cliecked a "Submit" button on one of the 
> page after session already timeout, and it redirect me back into the login 
> page.> >> > You have clicked on a stale link.> > Rewind of form 
> core/Example/SchoolReport expected only 0 form elements, but an additional id 
> was requested by component sure/DateSelect/CheckDateSelected.> > This is most 
> likely the result of using your browser's back button, but can also be an 
> application error.> > You may continue by returning to the application's home 
> page.> >> > I have to go to the home page first, then go to the page where I 
> clikced "submit" button.> >> > Is there a way to go back to the my last page 
> after relogin instead of go through the home page?> >> > Thanks,> >> >> > 
> Ajit> > _> > 
> Messenger Café — open for fun 24/7. Hot games, cool activities served daily. 
> Visit now.> > http://cafemessenger.com?ocid=TXT_TAGLM_AugWLtagline> > 
> -> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 
_
Find a local pizza place, movie theater, and more….then map the best route!
http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01

You have clicked on a stale link Error

2007-08-14 Thread Ajit Raj
Hi,
 
I got a error as following after I tried to relog in to the application -- it 
happens when I cliecked a "Submit" button on one of the page after session 
already timeout, and it redirect me back into the login page. 
 
You have clicked on a stale link. 
Rewind of form core/Example/SchoolReport expected only 0 form elements, but an 
additional id was requested by component sure/DateSelect/CheckDateSelected. 
This is most likely the result of using your browser's back button, but can 
also be an application error. 
You may continue by returning to the application's home page. 
 
I have to go to the home page first, then go to the page where I clikced 
"submit" button.
 
Is there a way to go back to the my last page after relogin instead of go 
through the home page?
 
Thanks,
 
 
Ajit
_
Messenger Café — open for fun 24/7. Hot games, cool activities served daily. 
Visit now.
http://cafemessenger.com?ocid=TXT_TAGLM_AugWLtagline

Best way to get mutiple selection results back from a selection in a dynamic form

2007-07-07 Thread Ajit Raj
Hi,I have a page that contains a state selection, and a city(list) selection 
for that each state selected. The city list could be updatedif the state 
selection is changed. So, I use @Persist("client") to store the"state" lists. 
User could choose multiple "cities" in the selection and the city list could be 
very long and come from a List of City class which contains a "name", "index", 
and "checked" etc fields.
 
My question is what is the best way to get multiple selection results back when 
user click submit. I don't want to "persist" the "City" list because it has a 
PageLink linking to other page. I found out that if the city list get too long, 
the PageLink seems got disabled on IE. The city list is retrieved from other 
source on the fly and it is not stored in the db. 
 
But, it seems that the "cities list" comes back null when I click "Submit" if I 
don't persist them in the java code.
 
I know that I could persist a boolean array of "Selection" and "bind" the 
"selected" to "Selection -- but it needs to retrieve the city list multiple 
times during "state" change, kind not efficient.
Could anyone let me know best way to solve this issue?Thanks,
Ajit Raj
- Page file  --

 
http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
 

  


  


   
  
  


 
  
  


 
  
  


  

 
_
Missed the show?  Watch videos of the Live Earth Concert on MSN.
http://liveearth.msn.com

PageLink got disabled when URL get too long

2007-06-27 Thread Ajit Raj
Hi, 
 
I have a page that stores ( @Persist("client") ) two lists, for example -- a 
state list, and a city in that state list. The city list could be updated if 
the state selection is changed. So, I use @Persist("client") to store the lists.
 
I also have a PageLink linking to other page. I found out that if the city list 
get too long, the PageLink seems got disabled.
 
Could anyone let me know how to work around this issue?
 
 
Thanks,
 
 
Ajit Raj
_
With Windows Live Hotmail, you can personalize your inbox with your favorite 
color.
www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0607

illegal character: \64 error when built using jdk1.4

2007-06-13 Thread Ajit Raj
Hi,
 
I got an illegal character: \64 error for the following statement
 
 @InjectMeta
 ^
 
and @Persist
  ^
 
etc when I switch from jdk1.5 to jdk1.4 to compile the project which is using 
tapestry 4.0.
 
Could anyone let me know where the issue is?
 
Thanks,
 
 
Ajit
_
Play free games, earn tickets, get cool prizes! Join Live Search Club. 
http://club.live.com/home.aspx?icid=CLUB_wlmailtextlink

Problem of loop in client script with tapestry

2007-05-01 Thread Ajit Raj

Hi,

I try to use "for" or "while" in the scirpt of a tapestry page as shown 
below. But it keeps give the error of "Unable to parse 
jndi:/localhost/WebRpt/WEB-INF/secure/PageRender.script: The content of 
elements must consist of well-formed character data or markup." Could anyone 
let me know what the problem is?


Thanks,


Ajit

http://jakarta.apache.org/tapestry/dtd/Script_4_0.dtd";>
...

402 var i=0;
403 var msg = "";
404 var x = 1;
405 while (x <= 10)   <=== complaining error here
406 {
407 msg = msg + x + "\n";
408 x++;
409 }
410

_
Don’t quit your job – Take Classes Online and Earn your Degree in 1 year. 
Start Today! 
http://www.classesusa.com/clickcount.cfm?id=866146&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866144



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



RE: @Body causes IE6 crash when close the page (...0x623068e0 referenced memory. ..)

2007-04-09 Thread Ajit Raj

More:

(...0x623068e0 referenced memory at 0x623068e0 seems only happens when you 
leave the page on for sometime (ex 20 minutes), then close the IE.




From: "Ajit Raj" <[EMAIL PROTECTED]>
Reply-To: "Tapestry users" 
To: users@tapestry.apache.org
Subject: @Body causes IE6 crash when close the page (...0x623068e0 
referenced memory. ..)

Date: Mon, 09 Apr 2007 22:46:31 +

Hi, All,

I have the following codes that are very shot that I copied from "enjoying 
web development with tapestry" book. I found out that if put the @Body tag 
to the html file, it will cause IE (v 6.0.2900) to crash when close the 
page. Can anyone let me know anything wrong here, or someway to fix it?


Thanks,


Ajit






IBM








http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>















package com.test.stockquote;

import org.apache.tapestry.html.BasePage;
import org.apache.tapestry.*;
import org.apache.tapestry.form.*;

public abstract class Home extends BasePage{

public abstract String getStockId();

public IPropertySelectionModel getAvavilStockIds()
{
		return new StringPropertySelectionModel(new String[] {"IBM", "MSFT", 
"RHAT"});

}

public void onOK(IRequestCycle cycle){
cycle.activate("Result");
}

}

_
Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings 
https://www2.nextag.com/goto.jsp?product=10035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117



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



_
Interest Rates Fall Again! $430,000 Mortgage for $1,399/mo - Calculate new 
payment 
http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18679&moid=7581



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



@Body causes IE6 crash when close the page (...0x623068e0 referenced memory. ..)

2007-04-09 Thread Ajit Raj

Hi, All,

I have the following codes that are very shot that I copied from "enjoying 
web development with tapestry" book. I found out that if put the @Body tag 
to the html file, it will cause IE (v 6.0.2900) to crash when close the 
page. Can anyone let me know anything wrong here, or someway to fix it?


Thanks,


Ajit






IBM








http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>















package com.test.stockquote;

import org.apache.tapestry.html.BasePage;
import org.apache.tapestry.*;
import org.apache.tapestry.form.*;

public abstract class Home extends BasePage{

public abstract String getStockId();

public IPropertySelectionModel getAvavilStockIds()
{
		return new StringPropertySelectionModel(new String[] {"IBM", "MSFT", 
"RHAT"});

}

public void onOK(IRequestCycle cycle){
cycle.activate("Result");
}

}

_
Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings 
https://www2.nextag.com/goto.jsp?product=10035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117



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



RE: Layout of dynamic checkout box

2007-04-02 Thread Ajit Raj

Yes, Thanks.

This looks like one way to make it work.



From: "Jonathan Barker" <[EMAIL PROTECTED]>
Reply-To: "Tapestry users" 
To: "'Tapestry users'" 
Subject: RE: Layout of dynamic checkout box
Date: Mon, 2 Apr 2007 15:52:46 -0400

Ajit,

Given that you are trying to render a list of boxes, have you tried using
CSS with a list rather than a table?  The strategy would be the same as 
that

used to generate Navigation Menus using .

ul {
list-style: none;
margin: 0px;
padding: 0px;
}
li {
display: block;
float: left;
width: 20%;
}


Jonathan

> -Original Message-
> From: Ajit Rajasekharan [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 02, 2007 12:08 PM
> To: users@tapestry.apache.org
> Subject: Layout of dynamic checkout box
>
> Hi,
>
> I am new to the tapestry. I have a question to the layout of dynanmic
> generated checkout box(or other components).
>
> I know that I could put dynamic generated checkbox items into a list and
> use
> following mechanism to display in each rows:
>
> 
>  
>  
>  
>  
> 
> 
>  
> 
>
> The above will put the checkbox in each rows (defined by "literal:tr").
> But
> I can't figure out how to put the dynamic generated items into a better
> layout format such as (rows + columns). For example, I like the checkout
> boxes displayed on the first rows (maximum to 5 items), then the next 5
> items displayed to the second rows, and so on...
>
>
> Could anyone let me know the best way to do it?
>
>
> Thanks in advance...
>
>
> Ajit
>
> _
> Live Search Maps - find all the local information you need, right when 
you

> need it. http://maps.live.com/?icid=hmtag2&FORM=MGAC01
>
>
> -
> 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]



_
Download Messenger. Join the i’m Initiative. Help make a difference today. 
http://im.live.com/messenger/im/home/?source=TAGHM_APR07



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