RemoteHost=0:0:0:0:0:0:0:1%0
C
On Nov 1, 2011, at 10:19 PM, Steve Eynon wrote:
> Cool!
>
> But I'm also interested in your remote host ('cos I use an embedded
> Jetty to!). Could you try adding this to one of your pages (not
> checked for syntax):
>
> @Inject
> private Request request;
>
> voi
Thank you Kalle,
JIRA issue submitted: http://jira.codehaus.org/browse/TYNAMO-103
On Nov 1, 2011, at 11:33 PM, Kalle Korhonen wrote:
> On Tue, Nov 1, 2011 at 5:37 PM, Lenny Primak wrote:
>> secure-enabled = true...
>> I have a pretty simple authenticated page...
>> @RequiresRoles(logical = Logic
Not too sure but... if zoneOne and zoneTwo are injected components,
try returning zone.getBody() instead - as in:
Object onSelectedFromUpdate() {
return new MultiZoneUpdate("zoneOne",
zoneOne.getBody()).add("zoneTwo", zoneTwo.getBody());
}
Steve.
On 2 November 2011 03:27, George Christman
Cool!
But I'm also interested in your remote host ('cos I use an embedded
Jetty to!). Could you try adding this to one of your pages (not
checked for syntax):
@Inject
private Request request;
void setupRender() {
System.err.println("RemoteHost="+request.getRemoteHost());
}
Cheers,
Steve.
Well I take that request and up the ante. Rather than doing what you asked
(cause I didn't know how todo it :-}). I changed my request from
http://localhost/. to http://127.0.0.1/ and it worked
On Nov 1, 2011, at 10:01 PM, Steve Eynon wrote:
> Having said that
>
> http://svn.apa
Having said that
http://svn.apache.org/viewvc?view=revision&revision=1183162
and
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/security/LocalhostOnly.java?view=markup&pathrev=1183162
gives
public class LocalhostOnly imple
Not a problem. But I am sure its my fault :-}
C
On Nov 1, 2011, at 9:53 PM, Steve Eynon wrote:
> package-info is just JavaDocs (interesting that it makes it through as
> a bonified page class!)
> propertyeditblocks & propertydisplayblocks aren't meant to be hit
> directly, they're a holding grou
(Oh and I didn't mean to leave my last response hanging - only I'm not
in a position to look at T5.3 code right now, so unfortunately I can't
give much more than a few pointers...)
Steve.
On 2 November 2011 12:52, Chris Collins wrote:
> Just to add to this (which I am sure points to the fact I a
package-info is just JavaDocs (interesting that it makes it through as
a bonified page class!)
propertyeditblocks & propertydisplayblocks aren't meant to be hit
directly, they're a holding ground for blocks that are displayed by
the Grid and BeanEditor
pagecatalog & servicestatus should be rendere
Just to add to this (which I am sure points to the fact I am doing something
really stupid) I want to give a bit of a background and a validation (or an
attempt at a validation).
My process embeds jetty and adds the tapestry filter through web.xml (but I am
not using a standard tomcat or jetty
A pleasure! Done.
https://issues.apache.org/jira/browse/TAP5-1741
Thanks,
DH
2011/11/1 Howard Lewis Ship
> It is possible, can you open up a JIRA issue and attach your template?
>
> On Tue, Nov 1, 2011 at 3:01 AM, dh ning wrote:
> > Me too where tml contains Chinese words.
> >
> > Should be c
PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
package-info: org.ap
When you start up T5 it lists all the available page class files with
their corresponding URLs, e.g:
ComponentClassResolver - Available pages:
ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
Do you see the pages listed?
On Tue, Nov 1, 2011 at 5:37 PM, Lenny Primak wrote:
> secure-enabled = true...
> I have a pretty simple authenticated page...
> @RequiresRoles(logical = Logical.OR, value = { Role.LogisticsRole,
> Role.AccountingRole, Role.PalletsRole })
> @Secure
> public class TapPage
> {
> ...
> }
> When t
I dont think that is the case. I had already verified that exception reporting
was working.
I programmatically set tapestry.production-mode=false in one of my AppModule's
(I didnt do it via the web.xml):
configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
.
I have a page I
Great Idea!
2011/10/30 Barry Books
> I'm working on a couple of projects that will use Twitter Bootstrap
> http://twitter.github.com/bootstrap/ templates so I decided to create
> a Tapestry Module for this. The project is on GitHub
> https://github.com/trsvax/tapestry-bootstrap and I've been wor
Hi,
secure-enabled = true...
I have a pretty simple authenticated page...
@RequiresRoles(logical = Logical.OR, value = { Role.LogisticsRole,
Role.AccountingRole, Role.PalletsRole })
@Secure
public class TapPage
{
...
}
When the page is redirected to the login screen (no authentication yet)
I am not sure what is the issue, but I noticed lately that I am not able to
save a form anymore for some reason. I can provide more details if you need
any further details, but the exception occured consistently while I am
saving the form i.e.
Nov 1, 2011 7:59:20 PM
com.google.appengine.tools.deve
On Tue, 01 Nov 2011 19:37:06 -0200, Tony Nelson
wrote:
void setupRender() {
try {
response.sendRedirect(linkSource.createPageRenderLinkWithContext(ViewUser.class,
userId));
} catch (IOException ioe) {
// shrug?
}
}
Why don't you do
The pages are "invisible" when not in development mode, so the most
likely case is that you are not actually running in development mode.
On Tue, Nov 1, 2011 at 12:29 PM, Chris Collins
wrote:
> I am a novice at T5 so apologize for what is surely a stupid question.
>
> I am trying out 5.3-rc-1.
>
I have a very simple page that does nothing but redirect to another page. It
works fine under jetty, but fails under tomcat 6.0.33.
Any help would be greatly appreciated.
My page class is:
package com.starpoint.instihire.pages.view;
import com.starpoint.instihire.pages.user.ViewUser;
import o
I am a novice at T5 so apologize for what is surely a stupid question.
I am trying out 5.3-rc-1.
I am trying to get either the pagecatalog or servicestatus pages such:
http://localhost:/
I can render any of my pages but neither of these pages seem to be found. I am
running in developer mode.
I simplified my problem with a small code example. Hopefully this helps.
This select menu will trigger the popup box.
This is the popup box that contains a text field which will update the
select menu in form 1 on submit
On Tue, 01 Nov 2011 16:35:59 -0200, Michael Prescott
wrote:
Grid seems to have some obvious problems for editability - click anything
on the pager bar, or any of the sort buttons, and you lose your edits.
Inge Solvoll mentioned this in 2009, but I can't find any conclusion.
http://tapestry.10
onValidate is fired by your form after all of fields have been
processed, your fields also trigger an validate event. You may want to
be more specific about which field/form your validate method is
intended to service.
Here is a test:
@P
I have a form that contains two form fields, form1 and form2
Form1 contains all the main form data and form2 is a popup box surrounded by
a zone.
Form2 popup box zone is triggered from a select menu within form1. The
select menu contains an add new value option.
When the popup box zone is trig
I figured out a way to handle the defer without having to defer the form.
Seems to work perfectly.
private Integer action;
void onPrepare() {
}
void onValidate() {
}
void onSuccess() {
}
void onSelected(Integer action) {
this.action = action;
}
--
View this message
Josh, I should probable refrain the question, when using defer inside of
onSelected, could I get it to run after onValidate runs?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Submit-inside-loop-tp4946513p4955694.html
Sent from the Tapestry - User mailing list archive at
Thanks Josh, I got it working. I do have one question though, I notice it
runs things in the following order.
onSelected
onValidate
formSupport.defer run code
back to onValidate
and back to onSelected
Should I somehow be preventing it from rerunning the onValidate onSelected a
second time?
Thank
Yes, I'm using apache-tomcat-7.0.22, with the only additions of mysql
connector and java-mail libs.
If it is relevant my other enviroment is:
Arch Linux (64 bits).
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4)
(ArchLinux-6.b22_1.10.4-1-x86_64)
OpenJDK 64-Bit Server VM (bui
Sure I will :)
I'll try to do this tomorrow
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Insert-Stylesheet-to-the-Head-top-tp4952484p4955381.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
On Tue, 01 Nov 2011 12:41:46 -0200, Eugene Zhulkov
wrote:
Thank you for reply,
I'll try it but think it will drastically increase overall processing
time...
Believe me, it won't. I've worked on projects that rely on Tapestry DOM
rewriting heavilly and they don't have any performance probl
Thank you for reply,
I'll try it but think it will drastically increase overall processing
time...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Insert-Stylesheet-to-the-Head-top-tp4952484p4955357.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
You should be able to do this with a MarkupRendererFilter
Here is an example of one that puts code after the body tag
https://github.com/trsvax/tapestry-facebook/blob/master/src/main/java/com/trsvax/tapestry/facebook/services/FBModule.java
--
View this message in context:
http://tapestry.1045
We're finding that YUICompressor doesn't work inside Tomcat. Could
this be the issue?
On Tue, Nov 1, 2011 at 5:48 AM, pico.dev . wrote:
> Hi!
>
> I've updated my app to Tapestry 5.3-rc-2 and I'm testing the
> minification and production mode. I've included in my project the
> tapestry-yuicompres
It is possible, can you open up a JIRA issue and attach your template?
On Tue, Nov 1, 2011 at 3:01 AM, dh ning wrote:
> Me too where tml contains Chinese words.
>
> Should be caused by the html5 doc type changes?
>
> Caused by: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8
> sequ
Hi!
I've updated my app to Tapestry 5.3-rc-2 and I'm testing the
minification and production mode. I've included in my project the
tapestry-yuicompressor dependency and I've made contributions to the
ApplicationDefaults like this in my app module:
public static void
contributeApplicationDefaults(
Me too where tml contains Chinese words.
Should be caused by the html5 doc type changes?
Caused by: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8
sequence.
at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)
at org.apache.xerces.impl.io.UTF8Reader.
Hi,
Am 31.10.2011 18:48, schrieb Martin Strand:
Perhaps you could use Google closure compiler and its preprocessor
features?
http://stackoverflow.com/questions/2934509/exclude-debug-javascript-code-during-minification
That looks like a good idea, thanks for the hint.
I have no experience wit
39 matches
Mail list logo