I don't understand what do you mean about "reverse solution".
What exactly are you trying to do ? Why do you need to pass the URL as an
url parameter ?
2010/9/9 t5.0
>
> Thanks but I'm looking for the "reverse" solution: handle a URL provided to
> the page.
>
> I tried with a onActivate(url)
Weird, does you Index page extends a base class ?
2010/9/8 Markus Feindler
> Sorry to bother you, but Im stuck with a DuplicateMemberException:
> Caused by: java.lang.RuntimeException:
> javassist.bytecode.DuplicateMemberException: duplicate method:
> extractRequestParameters in de.wiv.tapestry
Thanks but I'm looking for the "reverse" solution: handle a URL provided to
the page.
I tried with a onActivate(url) based page but it seems Tapestry prevents the
URL to be passed as a parameter, since it interprets the '/' as parameter
separator.
Is there a way for *one* to prevent this interpr
I had another developer complaining to me about the same issue that
Paul originally stated in this thread, so in case it's of interest to
others... This particular issue is caused by Eclipse trying to copy
resources around while Tapestry is reloading resources for live class
reloading, and the reme
Behind the scenes for Grid, BeanEditor and BeanDisplay is the
BeanModel class, a description of the properties of the object to be
displayed.
Most of the time, Tapestry creates this BeanModel for you, using the
BeanModelSource service.
The best way to accomplish what you want is to get the BeanMo
hehe, cool
i cant see the forrest there are too many trees in front of
with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org
2010/9/8 LLTYK :
>
> If you validate server side its easy with onValidateFromSoAndSoField().
> Then you just check you
If you validate server side its easy with onValidateFromSoAndSoField().
Then you just check your parameter that enables validation and decide
whether or not to do it.
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/form-field-validation-tp5511922p5512116.html
Sent fr
Sorry to bother you, but Im stuck with a DuplicateMemberException:
Caused by: java.lang.RuntimeException:
javassist.bytecode.DuplicateMemberException: duplicate method:
extractRequestParameters in de.wiv.tapestryportlet2.pages.Index
at
org.apache.tapestry5.internal.services.InternalClassTr
Does putting it in the filename instead of the "directory" also have caveats?
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Versioned-assets-tp5421811p5512040.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
---
Hi there,
i search for a solution for the problem below:
i have a components that includes some form field components.
in one page i want to use this component with sone validations
and in an other page i want to use the same component but with
no validations.
how is the best way to solve this p
This has been considered, but it would mess up relative URLs inside stylesheets.
On Tue, Sep 7, 2010 at 4:14 AM, LLTYK wrote:
>
> What it should do is instead insert some sort of hash of the file's contents
> in the url. Then whenever your file changes the browser won't pick up the
> previous cac
Concerning to
*"URL given as a parameter to a page"*
Be careful, as this practice is not considered a good idea at all ;)
You can read here why : http://www.owasp.org/index.php/Top_10_2010-A10
Thanks Christophe Cordenier for the tip
2010/9/8 Katia Aresti Gonzalez
> Hi,
>
> You can return an
Hi All,
I hope I'm posting in the right place! I could really use some help with
this position that I am currently recruiting for. Tapestry seems to be quite
a specialist skill at the moment so any help you can provide will be
sincerely appreciated. Who do you know that would be interested in th
Well I finally tried it, and you need a correct addrow too:
Add
Row
Worked great :)
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/AjaxFormLoop-insists-on-being-a-tr-Or-how-to-control-where-add-row-inserts-tp5342543p5510163.html
Sent from the Tapestr
Hi,
You can return an URL object and this will perform the redirect like this
example :
public Object onActivate()
{
URL myURL= null;
try
{
myURL= new URL("http://www.google.com";);
}
catch (MalformedURLException e)
{
//log
What is the best strategy to deal with a URL given as a parameter to a page,
and then perform a redirect to it, with Tapestry 5.0.x
1. onActivate
@Inject
private Response response;
public void onActivate(String url) {
...some processing with url...
response.sendRedirect(url);
}
2.
On Wed, Sep 8, 2010 at 11:43 AM, Christophe Cordenier
wrote:
> Hi
>
> Here it is https://cwiki.apache.org/TAPESTRY/
Thank you.
Cheers
--
Massimo
http://meridio.blogspot.com
-
To unsubscribe, e-mail: users-unsubscr...@tapestry
Hi
Here it is https://cwiki.apache.org/TAPESTRY/
2010/9/8 Massimo Lusetti
> Hi guys,
> I've been aways for a while and I think I miss the new location of
> the new 'official' Tapestry5 doc site? Would anyone please remind me,
> I'm stuck with http://tapestry.apache.org/tapestry5.2-dev/ but I t
Hi !
You can create your own RequestFilter that will add the corresponding header
in the Response, also you can combine this filter with the use of @Meta
annotation (see MetaDataLocator) if you want to handle it for specific pages
only.
HTH
2010/9/8 Patrick Moore
> Hi there --
>
> Does T5 hav
Hi guys,
I've been aways for a while and I think I miss the new location of
the new 'official' Tapestry5 doc site? Would anyone please remind me,
I'm stuck with http://tapestry.apache.org/tapestry5.2-dev/ but I think
the whole effort has been directed towards Confluence... right?
BTW I completel
Hi there --
Does T5 have support for X-Frame-Options ?
http://blogs.msdn.com/b/ieinternals/archive/2010/03/30/combating-clickjacking-with-x-frame-options.aspx
Patrick Moore
Amplafi
http://amplafi.com
mobile: 650-207-9792
"Put your front window on your front page"
corp blog : http://amplafi.com/
Ok, I see. You want one of your activation methods to be called: either the
one with numeric context or the one with string context. As Thiago
suggested, just create an appropriate event context object and pass it.
BTW this can be implemented without the URL rewriting as well. Just provide
an acti
22 matches
Mail list logo