Hi Folks,
Is there a way to inject an environment variable into my page somehow ?
I would like to automate production mode to anchor off of a OS env var.
been searching for this without luck
Thanks for any tips.
Ken
But if all you need is to switch execution mode you should read this:
http://tapestry.apache.org/configuration.html#Configuration-SettingExecutionModes
and probably
http://tapestry.apache.org/symbols.html
On Mon, May 27, 2013 at 10:55 AM, Dmitry Gusev dmitry.gu...@gmail.comwrote:
@Inject
Hi @all,
i try to add tapestry-security and have provided the two contributions
described on their homepage:
http://tynamo.org/tapestry-security+guide
Accessing my page gives me a warning:
[WARN] TapestryModule.ComponentRequestHandler Unable to add
'SecurityFilter' as a dependency of
So my idea was that in my class that contributes to the tapestry url I
would have 2 methods
decodePageRenderRequest - that looks for the page under given subfolder
and transformPageRenderLink - that strips the actual folder (since i need
to put it or pagelink component would fail)
My assumption
@Inject @Symbol(env.VAR_NAME)
private String varName;
On Mon, May 27, 2013 at 10:35 AM, Ken in Nashua kcola...@live.com wrote:
Hi Folks,
Is there a way to inject an environment variable into my page somehow ?
I would like to automate production mode to anchor off of a OS env var.
Hi Boris,
Have you consider using tapestry.application-folder?
http://tapestry.apache.org/configuration.html#Configuration-tapestry.applicationfolder
If you are using two instances of the same application using
tapestry.application-folder would be your best option.
Is that the case? or you want
ok, seems that another lib is causing this error and not
tapestry-security itself.
kind regards
david
On 27.05.2013 09:04, D.R. wrote:
Hi @all,
i try to add tapestry-security and have provided the two contributions
described on their homepage:
http://tynamo.org/tapestry-security+guide
On Sun, 26 May 2013 12:52:12 -0300, Nomen Nomanum getibi...@outlook.com
wrote:
Ok, this behavior is very strange to me now. I have stored key location
of my file in db, and it is being pulled via getImages to show the
images to the user, however set of images from one article is displayed,
I was thinking about that but I dont see it will fit in what I need.
Right now what I need is to somehow generate a link to the page that
doesnt exist' since decodePageRenderRequest will make sure that that link
is processable.
To me at least this looks like a bug, why would a component throw an
Hi Thiago!
OK, my scenario is following. I have stored location of the file to db, and it
is being pulled from there by
public String getPictures(){
if (picture.getPictureLocation() == null ||
picture.getPictureLocation().isEmpty()) {
return picturesFolder/no_image.png;
I like the simplicity of using the @Startup annotation compared to the
startup contribution method.
However, it doesn't have the ability to order its execution as in the
contribution method.
It seems it would be a simple thing to accept the ordering constraint in
the annotation like:
Also, in the zone I get following error from the firebug:
ConnectioncloseContent-EncodinggzipContent-Typetext/html;charset=UTF-8DateMon,
27 May 2013 18:05:00
Not sure if this will help but thought it might be of interest. I've
written a ComponentEventLinkEncoder which looks for special URL prefixes.
If a special folder is found on the URL, it is removed from the URL and
passed on to the normal tapestry component rendering. The special folder
(which I
Thanks Dmitry,
I am able to keep developing. I reverted back to hibernate 3. And making more
progress. I stepped too fast into the hibernate revisions and got bit.
Appreciate the help. Its a great forum to share and I hope to give back for
others when I see too.
- cheers
I've used @Symbols a lot. I appreciate its flexibility and coercion ability.
I started programming around it though and instead accessing SymbolSource
and TypeCoercer directly because it is missing the ability to specify a
default value, and the ability to ignore when a value can't be found.
I
On Mon, 27 May 2013 17:23:36 -0300, Eli Doran e...@elidoran.com wrote:
I've used @Symbols a lot. I appreciate its flexibility and coercion
ability.
I started programming around it though and instead accessing SymbolSource
and TypeCoercer directly because it is missing the ability to specify
I've got a custom textfield that uses the autocomplete mixin. Everything is
working great except that when the user clicks on an item in the matchlist,
the onValueChanged event is not triggered.
I'm it's possible, but I'm in over my head. As far as I can tell, I would
need to trigger an event
Having an optional default value on @Symbol seems useful to me.
On Mon, May 27, 2013 at 4:42 PM, Thiago H de Paula Figueiredo
thiag...@gmail.com wrote:
On Mon, 27 May 2013 17:23:36 -0300, Eli Doran e...@elidoran.com wrote:
I've used @Symbols a lot. I appreciate its flexibility and coercion
I guess I am a bit tiered as I just manage to move the code from one
implementation to the other and it worked. So now PageRenderLinkTransformer
implementation can handle this transformation.
Thanks for the help everyone
On Tue, May 28, 2013 at 12:41 AM, Boris Horvat
Hi,
I was just wondering before I look too closely if anyone knows if a
Tapestry webapp can run on Android?
I see there is an Android port of Jetty.
Thanks, Ryan
-
To unsubscribe, e-mail:
Tapestry itself runs on a web container, like tomcat. The served pages will
operate in chrome in android and probably firefox as well, though I haven't
tested it there.
You can also use jQuery mobile for added capabilities, but a dedicated
project like tapestry-jQuery doesn't exist yet as far as
Sorry, just to clarify a bit I mean hosting it on Android. There is a
port of Jetty for Android, so will it run in that, but does Tapestry
require some libs that aren't on android?
Thanks, Ryan
On 28/05/2013 11:39 AM, Chris Cureau wrote:
Tapestry itself runs on a web container, like tomcat.
On Mon, May 27, 2013 at 8:44 PM, Ryan How r...@zbit.net.au wrote:
Sorry, just to clarify a bit I mean hosting it on Android. There is a port
of Jetty for Android, so will it run in that, but does Tapestry require
some libs that aren't on android?
The bare bones Tapestry should run fine. It's
Thanks. I will try it, just doing some preliminary investigation before
investing some time. I haven't done any android development before, so I
only know the basic theory.
Thanks, Ryan
On 28/05/2013 11:53 AM, Kalle Korhonen wrote:
On Mon, May 27, 2013 at 8:44 PM, Ryan How r...@zbit.net.au
I can see one problem here -- nothing prevents you from specifying more
than one @DefaultValue and you may get a conflict too late, as far as I see
you can't control this. Have you thought about it?
On Tue, May 28, 2013 at 12:23 AM, Eli Doran e...@elidoran.com wrote:
I've used @Symbols a lot.
http://powerplayhockey.noip.us:9011/pphl/home
my tapestry app runs fine on my droid III
kinda cramped though
strange... I can run fine on eclipse in a reverted source code branch...
but if I deploy love... it quits with the hibernate session creation failure
Seems I need to wait for the release to deploy live again
ouch
27 matches
Mail list logo