can't find anything else, but it still force to be https
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/https-and-Secure-tp5098520p5098545.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
There is also metadata entries.
On Dec 23, 2011, at 9:49 PM, angelochen wrote:
> Hi,
>
> I annotated a class with @Secure, pagelink renders it with https prefix,
> that's right, now I removed the annotation, I still get https prefix, I have
> searched the entire project for @Secure, there is
Hi,
I annotated a class with @Secure, pagelink renders it with https prefix,
that's right, now I removed the annotation, I still get https prefix, I have
searched the entire project for @Secure, there is none at all, but I'm still
getting https, quite strange, is there any other place I have to lo
right, that works, is there a way to remove the line 'dismiss all'?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Alerts-tp5096663p5098371.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Thanks Kalle,
That document is great, much better than what I could find last time around.
The only step which I had to go searching elsewhere to solve was finding
where the "DevLoader" was!
"7. Install devloader for Tomcat (for Tomcat 7.x use devloader from
version 3.3). Unzip and copy the
Yes, I see. I'll try to replace the arguments I passed before to my JS
function by JSON object.
P.S. The difference is that in RoR you can embed Ruby code inside js files.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/inject-i18-text-in-javascript-variables-jQuery-tp50943
Am 23.12.2011 17:05, schrieb Javix:
> @Chris: thanks again and sorry for my tone of sharpness regarding the
> community activity.
> I watched JSON technics. As far as I got it, it is just a container to keep
> your data, like a hash. So what is advantages to use it instead of
> 'renderSupport.addSc
@Chris: thanks again and sorry for my tone of sharpness regarding the
community activity.
I watched JSON technics. As far as I got it, it is just a container to keep
your data, like a hash. So what is advantages to use it instead of
'renderSupport.addScript(js);' where I constructed the js function
Thanks, that's also very helpful.
On Dec 23, 2011, at 8:16 AM, Wechsung, Wulf wrote:
> Hi Lenny,
>
> I did something similar and it works quite well although the emails do not
> show any styling. I've documented this approach here:
>
> http://wiki.apache.org/tapestry/Tapestry5HowToSendErrorPag
Hi Paul,
The live class reloading issue in tomcat has been fixed since tapestry 5.3.
See https://issues.apache.org/jira/browse/TAP5-1336.
For previous releases, you can create your own patch based on this one :
https://issues.apache.org/jira/secure/attachment/12458804/patch_tomcat_reload.txt.
It w
Hi everyone,
the new version of the chenillekit library has been released as a
snapshot since it need some more tweaks.
It would be cool if you can test it and report back to
u...@chenillekit.codehaus.org.
The maven repository is:
https://nexus.codehaus.org/content/repositories/snapshots/ and v
Ok thanks for the ideas, that's even better ;)
Nathan
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Call-event-from-javascript-tp5096654p5097330.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Thanks again, after escaping single quote it worked for me.
As for JSON, I'l take a try and come back if I ever have some questions; For
the moment it is not so clear (really I never did it) how to get JSON values
in a JS function. One more question to google for.
--
View this message in context:
On Fri, 23 Dec 2011 11:29:43 -0200, Javix wrote:
Thank you for the info. Two more questions:
1. In the page TML the call to the abov JS fucntion was done in on 'IF'
loadPath();
...
@BeginRender
void addJsLibs() {
if (error) {
String js = String.format("loadPass(\"%s\
https://issues.apache.org/jira/browse/TAP5-1803
Done!
Regards
--
David Germán Canteros
2011/12/22 Lenny Primak
> Thanks for confirming this. It is definitely a bug. Please file an JIRA
> issue.
>
> On Dec 22, 2011, at 4:21 PM,
Thank you for the info. Two more questions:
1. In the page TML the call to the abov JS fucntion was done in on 'IF'
loadPath();
...
Can I add the same condition to the abov addJsLibs method:
@BeginRender
void addJsLibs() {
if (error) {
String js = String.format("loadPas
2011-12-22 16:46, dick_hu:
> Can show a zone in the page with only javascript?
When the zone is already rendered you can - otherwise you have to call
an event handler on your page/component which returns the zone.
Look at the code that Tapestry generates when you do usual Tapestry AJAX
with zones
Am 23.12.2011 11:38, schrieb nquirynen:
> Ok nevermind, I fixed my problem :) !
>
> Some simplified code of what I've done:
>
> @Inject
> private Request request; // to access GET and/or POST variables
>
> // Event handler method which returns the JSON based on request parameters
> StreamRespon
On Fri, 23 Dec 2011 10:49:53 -0200, angelochen
wrote:
Hi,
Hi!
I have an entity named 'detail', if I use this:
model = beanModelSource.createDisplayModel(Detail.class, _messages);
this will not include the item field, how to add this item field to the
model? or just a field of item? t
On Fri, 23 Dec 2011 11:14:32 -0200, Javix wrote:
AH, OK, I see. Thank you for the attention.
As for JSON, I have no idea how to use it, especially when I'm on
Tapestry 5.1.5 :(
The JSON support hasn't changed for a long time, way before 5.1.0.5.
--
Thiago H. de Paula Figueiredo
Independent
Hi Lenny,
I did something similar and it works quite well although the emails do not show
any styling. I've documented this approach here:
http://wiki.apache.org/tapestry/Tapestry5HowToSendErrorPageAsEmail
Kind Regards,
Wulf
-Original Message-
From: Lenny Primak [mailto:lpri...@hope
AH, OK, I see. Thank you for the attention.
As for JSON, I have no idea how to use it, especially when I'm on Tapestry
5.1.5 :(
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/inject-i18-text-in-javascript-variables-jQuery-tp5094388p5097160.html
Sent from the Tapestry - Use
2011-12-23 14:00, Javix:
> Could you indicate where exactly I have to escape single quotes, please,
> here:
>
> String js = String.format("loadPass('%s','%s','%s','%s','%s');", m1, m2, m3,
> m4, m5);
>
> Thks
Here is the generated output from your last mail:
loadPass('Veuillez indiquer un nouv
Could you indicate where exactly I have to escape single quotes, please,
here:
String js = String.format("loadPass('%s','%s','%s','%s','%s');", m1, m2, m3,
m4, m5);
Thks
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/inject-i18-text-in-javascript-variables-jQuery-tp5094
2011-12-23 13:01, Javix:
> Sure it is not the best solution. Unfortunately, Tapestry is not able to do
> it as flexible as it does Ruby on Rails.
Yes, your solution is not the best one but the reason is not Tapestry!
There are hundreds of components using JS in Tapestry libraries and all
manage t
The newer m2e plugin (from Eclipse.org rather than Sonatype) works
MUCH better for me than the m2eclipse plugin. I've been using it
happily for the past year or so after getting fed up with m2eclipse. I
never run Maven from a shell window anymore. One hint: NEVER EVER use
the Maven eclipse:eclipse
Hi,
I have an entity named 'detail', if I use this:
model = beanModelSource.createDisplayModel(Detail.class, _messages);
this will not include the item field, how to add this item field to the
model? or just a field of item? thanks,
angelo
@Entity
@Table(name = "detail")
public class Detai
Unfortunately no one gave a good solution how to achieve the same
functionality from Java code.
So, finally, there 2 solutions, both are working for me.
1. Declare the needed variables insode a tml page like that:
Like that we are passing the needed translations to the js function.
2. Copy-p
I think I know why it doesn't work properly.
1. I add a js function from inside the java class using
[code]
String m1 = messages.get("js_error_password_not_given");
String m2 = messages.get("js_error_no_confirmed_password");
String m3 = messages.get("js_error_password_not_matched");
Ok nevermind, I fixed my problem :) !
Some simplified code of what I've done:
@Inject
private Request request; // to access GET and/or POST variables
// Event handler method which returns the JSON based on request parameters
StreamResponse onGetData() {
return new TextStreamResponse
Try manager.alert(Duration.TRANSIENT, Severity.INFO, "INFO TRANSIENT");
This will display the message for 15 seconds before closing.
There is an open JIRA that would allow us to set this duration at:
https://issues.apache.org/jira/browse/TAP5-1640
--
Dusko Jovanovski
On Fri, Dec 23, 2011 at 10:
Hi,
thanks for the links, I copied and paste those sample codes into a t5
project, it works, but why it does no go away, i have to click 'dismiss all'
to get those removed. any?
angelo
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Alerts-tp5096663p5096756.html
Sent from
Hi
You can have a look to our Tapestry5-jQuery demo website :
https://github.com/got5/tapestry5-jquery-demo/blob/master/src/main/java/org/got5/tapestry5/jquery/pages/core/DocsAlert.java
https://github.com/got5/tapestry5-jquery-demo/blob/master/src/main/resources/org/got5/tapestry5/jquery/pages/c
Hi,
can anybody show me a simple code that uses Alerts? Thanks,
Angelo
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Alerts-tp5096663p5096663.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Hi,
I read somewhere that it is possible to do in javascript a simple get
request like:
(jquery)
$.getJSON('pageName:eventName/arg');
and in Tapestry page:
JSONObject onEventName(String arg) {
JSONObject obj;
...
return obj;
}
I'm trying this, but it never gets into the event handl
On Thu, Dec 22, 2011 at 11:51 PM, Paul Stanton wrote:
> For productivity, live class reloading, the ability to step through code and
> being able to start and stop the container are all required.
> We ended up compiling into "webapp/WEB-INF/classes" and copying all
> dependencies into "webapp/WEB-
2011-12-23 08:51, Paul Stanton:
> Its been over 2 years since I started a new production tapestry
> application, and once again in the same server environment we need to do
> our development & testing in the environment familiar with the team: ie
> tomcat.
>
> For productivity, live class reloadin
37 matches
Mail list logo