How to trigger a client side event after ajax form submit?For example a ajax
login form,redisplay the form when failure .
thanks
/luna
--
View this message in context:
http://www.nabble.com/t5%3AHow-to-trigger-a-client-side-event-after-ajax-form-submit---tp23499985p23499985.html
Sent from the
In jetty it works well to send non english parameter with ajax get
method,but in tomcat i have to switch to ajax post.If i need to use get,what
should i do?
--
View this message in context:
http://www.nabble.com/t5%3Atomcat-url-enconding-for-non-english-character-tp23384139p23384139.html
Sent
I have a page includes a lot of javascript.And i use Tapestry 5.1.0.4,set
compress and combine javascript on.It works well almost time.But i have
received odd response serveral times when i use ie.It's not a character
encoding problem,because the is even no "" in the response.Is this a
bug with i
Angelo Chen wrote:
>
> Hi,
>
> Is there a way to specify multiple parameters in the PageLink's context,
> example:
>
> this works:
>
> Send
> Order
>
> this fails:
>
> Send
> Order
>
> what I'm doing now is, return the combined paramter from java and put it
> in the context,
Davor Miku wrote:
>
> Hello!
>
> I have component witch takes one parameter and based on it
> shows Grid component.
>
> In page Archive, I have :
>
> public class Archive
> {
>
> @Persist
> private String currentCategoryName;
>
> public void onActivate(String currentCa
Andreas Pardeike-2 wrote:
>
> On 17 mar 2009, at 10.06, luna_guo wrote:
>
>> Is this what you want?
>>
>> http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/PageDocumentGenerator.html
>
> Yes! Works very well. Two minor questions rema
Is this what you
want?http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/PageDocumentGenerator.html
Andreas Pardeike-2 wrote:
>
> On 16 mar 2009, at 16.34, Lance Java wrote:
>
>> DWR does this by forwarding to the URL passing a response object
>> that writes to a local
See http://tapestry.apache.org/tapestry5/guide/event.html
onException caches exceptions throwed by event handlers.
Angelo Chen wrote:
>
> Hi,
>
> I'm trying to use onException to catch exceptions, when I throw an
> exception from onActivate, onException can catch it, but if it is thrown
> from
Tapestry's form related components is not very handy in some case.for
example:
select:
render out a list of options from database is complex,and what shall we do
when the options are rendered by javascript?More complex,eh?
checkbox can only used for a single boolean value.Multiple check is often
; Thanks,
> DH
> ----- Original Message -
> From: "luna_guo"
> To:
> Sent: Saturday, March 14, 2009 9:31 AM
> Subject: t5 How to use renderInformals together with t:body
>
>
>>
>> In the template i need .It doesn't work when i use
&
In the template i need .It doesn't work when i use
ComponentResources.renderInformals.Is there any way to render body in
component class ?
thanks in advance
luna
--
View this message in context:
http://www.nabble.com/t5--How-to-use-renderInformals-together-with-t%3Abody-tp22508231p22508231.ht
This dosn't work for me.
Harald Geritzer-2 wrote:
>
>> Unfortunately this settings will affect the whole application. I
>> wonder if there's a way to set charset only for specific pages.
>
> @Meta(value = {"tapestry.response-content-type=text/html",
> "tapestry.response-encoding=GBK"})
> publi
I have a page that required using GBK encoding.
I have the following line in the template file:
but in the browser,the page still display with UTF-8.
--
View this message in context:
http://www.nabble.com/How-to-set-response-encoding--tp19710060p19710060.html
Sent from the Tapestry - User mai
lds needed to validate?
/luna
Howard Lewis Ship wrote:
>
> It's only included if you need it. Try turning off client-side
> validation (it's a parameter of the Form component).
>
> On Sat, Sep 6, 2008 at 12:19 AM, luna_guo <[EMAIL PROTECTED]> wrote:
>>
>> t
Geoff
It's ok to return a block object in a action handler method,but you can't
use the type Block,it will throw exceptions.You should use Object instead.
/luna
--
View this message in context:
http://www.nabble.com/T5%3A-AJAX-ActionLink-exception-if-clicked-as-page-loads-tp19346336p19372125.ht
t5 5.0.14
I find that the tapestry.js file make my page works so slowly in IE.
Is there any way to make it faster or remove including of tapestry.js file?
Thanks .
/luna
--
View this message in context:
http://www.nabble.com/-T5--How-to-remove-tapestry.js-file-include--tp19343756p19343756.html
Filip S. Adamsen-2 wrote:
>
> Hi,
>
> This should get you started:
> http://wiki.apache.org/tapestry/Tapestry5HowToAddValidators
>
> -Filip
>
I want make a validator named confirm,just used to confirm the retype
password.
Using like this:
Now i have a problem:
public void validate(Field fie
Stephane Decleire wrote:
>
> I'm not sure at all that the password checking should be done on the
> client side for security reason
>
> Stephane
>
Password checking on the client is faster,
It will alert user immediately,right?
For security,I think it's ok.
It's just use to make sure us
Confirm password checking is so common.
It should happen on the client side,right?
So,what should i do ?
/luna
--
View this message in context:
http://www.nabble.com/-T5-How-to-make-indentical-validation-on-the-client-side.-tp19027077p19027077.html
Sent from the Tapestry - User mailing list ar
Write response to a html file.
So that I can request the html instead of a tapsestry page.
Toby Hobson wrote:
>
> Sorry ... i don't fully understand your question. Could you explain a
> little more
>
> Thanks
>
> Toby
>
--
View this message in context:
http://www.nabble.com/t5-how-to-writ
how to use t5 to write response to a html file?
is there any tutorial or example?
--
View this message in context:
http://www.nabble.com/t5-how-to-write-response-to-file-tp18785645p18785645.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
that line is this:
int id=Integer.getInteger(param.toString());
i just convert a string to a integer ,why does it throw exception?
does the inject service request's getParameter method return a actual
String?
Thiago H. de Paula Figueiredo wrote:
>
> Here:
>
> Caused by: java.lang.NullPointerE
tapestry5.0.13
@Inject
private org.apache.tapestry5.services.Request request;
String param=request.getParameter(PARAM_NAME);
int id=coercer.coerce(param,Integer.class);
log.debug(PARAM_NAME+" is "+param); //it's ok, display a number.
int id=Integer.getInteger(param.toString()); //The error mess
(tapestry5.0.13 hibernate3.2.2)
I have a page to display a list of some entities.
it lookes well.
but i get the error message in the log file:
Error invoking listener
[EMAIL PROTECTED]:
Transaction not successfully started
org.hibernate.TransactionException: Transaction not successfully starte
I use onPassivate() method to add the context to the pageLink of the page,
all the link to that page display with the context.
but when i group the link to a component named Navigator,the PageLink shows
only the pageName.
How to display a pagelink to somePage with context in a component?
--
View
oh,i've got it.
i put the wrong hibernate version.
Filip S. Adamsen-2 wrote:
>
> Hi,
>
> What error message do you get?
>
> -Filip
>
> On 2008-07-16 16:37, luna_guo wrote:
>> in tapestry 5.0.5
>> use tapestry-hibernate,to inject to Session,i write
&
tive Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tapestry5.ioc.internal.ServiceBuil
ip S. Adamsen-2 wrote:
>
> Hi,
>
> What error message do you get?
>
> -Filip
>
> On 2008-07-16 16:37, luna_guo wrote:
>> in tapestry 5.0.5
>> use tapestry-hibernate,to inject to Session,i write
>> @org.apache.tapestry.annotations.Inject
>> Session
in tapestry 5.0.5
use tapestry-hibernate,to inject to Session,i write
@org.apache.tapestry.annotations.Inject
Session _session;
It works well.
then i change to 5.0.13, the inject annotation changed.
@org.apache.tapestry5.ioc.annotations.Inject
Session _session;
and i get a error message.
can anyon
i've tested the hibernate.cfg.xml and the mapping files.
when i put them under classpath root.
i get a exception page:do i need more configuration when use
tapestry-hibernate?
Render queue error in Expansion[PropBinding[expansion Start(hello)]]: Error
invoking service builder method
org.apache.t
i have the following code:
int onPassivate(){
System.out.println("passivate is running");
return 3;
}
void onActivate(int a){
System.out.println("onActivate:"+a);
}
void onActivate(){
Sys
t5 beta:
Start.tml:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
tutorial1 Start Page
Start.java:
import java.util.List;
import org.apache.tapestry.annotations.Persist;
import org.apache.tapestry.ioc.internal.util.CollectionFactory;
publi
i use maven plugin ,and add the following code to pom.xml
tapestry5
http://tapestry.formos.com/maven-snapshot-repository/
but when i click add dependency ,i can't find tapesty5.0.11,
the lasted version i found is tapestry5.07.
can anyone tell me how to solve this proble
33 matches
Mail list logo