FYI: Since link creation runs off the page names
@InjectPage
private Page page1
@InjectPage
private Page page2
really refer to the same object. Because of this onPassivate returns the
same values for page1 and page2. So I think without some internal changes
you can't really implement what is des
It's likely your pagelink should be to exportexel not export/excel
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Uncaught-exception-when-tried-to-return-a-StreamResponse-tp4899262p4899377.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
In my case the page does not know about the parameter. I have a grid like
component that is managing what rows in the grid to display. I don't really
want to make the page care one way or another what part of the grid is
displaying (or even that is is a grid).
Since the value is available in the R
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
I just make a page and return XML from onActivate. Here is an example
https://github.com/trsvax/Blog/blob/master/src/main/java/com/trsvax/pages/Index.java
The xml.streamWithStyle method takes a JAXB annotated object and does the
rest. In this
example there is a stylesheet to convert the JAXB
Get the ApplicationStateManager in the appmodule method call and from there
you can get any session state.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-get-a-SessionState-object-in-AppModule-contributeTypeCoercer-tp4978877p4978897.html
Sent from the Tapestry - Us
The latest version of runJettyrun has an option to scan the project for
changes and restart. I think the default is 5 seconds. For Tapestry you want
to turn it off. I think it's on the Jetty table after you pick run
configurations.
--
View this message in context:
http://tapestry.1045711.n5.nabb
I'm implementing forms for Bootstrap and I need to change the HTML emitted
for Blocks in BeanBlockSource. Since all the default types are added via a
Configuration I'm not sure how to override them. All I really need to do is
change the HTML in PropertyEditBlocks.tml for things defined in
DataTypeC
Thanks that looks like it. I guess you just add the new configuration into it
and the BeanBlockSource searches the overrides before the defaults? I'll
give it a try.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Is-there-a-way-to-override-Configuration-BeanBlockContributi
That works fine but there seem to be two was to go. The first is to create a
class like
public class BootStrapEditBlocks extends PropertyEditBlocks {
}
and just replace the template. The other is implement the whole thing. Is
extending PropertyEditBlocks a reasonable thing to do?
--
View this
I think you could create a "raw" datatype. Then in your bean
@Datatype("raw")
private String rawData;
Then create a property display block
but it seems like what you really want is
CellText
If that's the case I'd add a mixin to GridGell and write out the span tag.
GridCell has acce
should have been
cell text
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Dynamically-Writing-Raw-to-Grid-Cells-tp5716164p5716169.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
I'd try creating a dummy worker called beforeUnclaimedField and make it
before:UnclaimedField
then change yours to
after:beforeUnclaimedField
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Ioc-Ordering-Contraints-tp5716154p5716171.html
Sent from the Tapestry - User
It would be nice just to have some documented "markers". I usually just look
at the TapestryModule class to figure out what to do, but having some
documented phases would probably solve most issues. It would also solve the
problem workers changing between releases. For example what if
UnclaimedFiel
Here is my jQuery one that is added to a form
@MixinAfter
@Import( library={"submitonce.js"})
public class SubmitOnce {
@Inject
private Logger logger;
@Inject
private JavaScriptSupport javaScriptSupport;
@InjectContainer
pr
That would be a problem unless the service is perthread. As you say just pass
the object to your method.
To avoid this it's best to just declare all fields in services as final.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Sevice-State-Stateless-tp5716278p5716279.htm
You might be interested in this
https://github.com/trsvax/Jacquard/blob/master/src/main/java/com/trsvax/jacquard/services/MultiStatePersistenceStrategyImpl.java
It enables @Persist to use url query parameters. It's possible to make it
the default persist strategy in which case things such a
I would suggest that slurping up the HTML from a page is the easiest way to
do this. Tapestry is one of the most sophisticated HTML generation systems
out there and it's easy to call a URL with Java so why create some other
template engine just to send email? Here is the service I use to send pages
I wrote a CloudFront CDN while ago and also ran into a few problems. Is
loading content other than from S3 a new feature? I wrote a CDNManger
service that Lazily loaded the assets onto S3. The problem I ran into is
Tapestry uses the same URL to deliver compressed and uncompressed content
depending
I've been using VPS style hosting for almost 10 years now, switched to Amazon
about 5 years ago and my current thought is I will never buy hardware again.
I ended up with AWS because the various VPS venders I was using would come
and go and switching was too much work. My thought is AWS is here to
I would try using an informal parameter on the grid instead of a Mixin. The
row mixin should be able to access that with
ComponentResources.getInformalParameter(String name, Class type)
so in your template
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Can-I-attach-
The ValueEncoderSource error is usually caused by hibernate not being able to
access the database and the bottom of the stack trace is usually the reason.
In this case:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.hibernate.annotations.common.reflection.java.JavaReflec
I don't think nested grids would be a problem because environment variables
are a stack
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Can-I-attach-an-instance-mixin-to-a-nested-component-tp5717741p5717785.html
Sent from the Tapestry - User mailing list archive at Nabble
I guess you could implement it that way but it seems easier to install both
mixins with a component transformer and then just have a parameter on the
grid control the row rather than the existence of the grid mixin
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Can-I-att
Looks like you have both 5.3.1 and 5.3.4. Maven clean might fix that.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Trying-to-update-Tapestry-tp5718057p5718058.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
If you just mean the page should always be ssl just use
@Secure
http://tapestry.apache.org/https.html
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Auto-resolve-base-page-from-HTTP-to-HTTPS-tp5718424p5718426.html
Sent from the Tapestry - User mailing list archive at Na
For some reason the JVM cannot find the SHA1 crypto class. This is found via
a string so it would not cause a compile error, however it is required in
Java 6 and even earlier versions. The supported crypto classes are pluggable
so I suspect for some reason your Java 6 install has a custom config of
Maybe, but they could come from anywhere including just typing in the URL (ie
no where). The only way that might work sometimes is get the referring URL
from the request and send them back there.
You could also return a 404 "Page not found" with a StreamResponse and that
might make the most sense.
I have not tried it on 5.4 but I will in a week or two. The only problem I
see is it's dependent on the html output of the base components. If that
does not change then I suspect it will work without much difficulty.
As far as the Javascript part goes Bootstrap uses jquery and my module
brings in
I spend the that two months of the year making art and not programing.
I'll be porting the Bootstrap module to 5.4 in a week or two. Hopefully it
will be easy.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/5-4-rewrite-tp5718844p5718853.html
Sent from the Tapestry - Us
I'm building a mixin that does different things depending
what component it's added to. I was trying to use the
StrategyBuilder but it does not match the component class
In my AppModule I have this
public static void contributeSimplifySource(
MappedConfiguration config) {
config.addInstanc
I created a project with alpha-2 in my POM and followed the blog post
http://tapestryjava.blogspot.com/2013/01/tapestry-54-jquery-support-now-in-place.html
by adding this to my AppModule
@Contribute(SymbolProvider.class)
@ApplicationDefaults
public static void
contributeApplicationDe
I commented out the line to see if the the "jquery" line was working. The
Scriptaculous Trait only applies for prototype and that's exactly what
happens. If I set
SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER,"jquery"
the Scriptacolous trait does nothing. With
SymbolConstants.JAVASCRIPT_I
After removing most of the code from the project I found the line that causes
prototype to be included. If I SymbolConstants.APPLICATION_VERSION contains
'-SNAPSHOT' I get prototype.
So this includes prototype and dom.js is the prototype version
public class AppModule
{
@Contribute(SymbolProvi
I'll restest this when I get home but I'm pretty sure this is it. I did not
believe it either so I tried a few times. Also I don't think it's a cache
issue. The generated HTML changes
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/5-4-alpha-2-jQuery-support-solution-and
It turns out dom.js was being cached. What makes this tricky to figure out is
requirejs apparently adds the script tags to the DOM which makes it appear
prototype.js is being added by Tapestry when in fact it's being included by
the cached dom.js.
I'm looking forward to checksums in asset paths.
I'd write a mixin that just changes the method from POST to GET on the form
element. You might need to put in a different URL if Tapestry gets confused
about the form URL being a GET. Then just attach that mixin to the form
component. I've thought about this for searches but I just put
@ActivationR
I did some testing and while I can see a reason to support GET, I think
the way forms currently work make @ActivationRequestParamater along
with the redirect a better choice because Tapestry uses a hidden field
to map the form data to the Java parameters and I don't think you want
that in the URL.
I think the hover behavior was added in a latter version of 2.x bootstrap
than is included by default in the bootstrap module. I usually just include
the latest css and then override the parts I want to change in the
layout.tml file.
--
View this message in context:
http://tapestry.1045711.n5.n
Anyone going to SXSW this week and like to meet somewhere? I'll be there.
Barry
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Meetup-at-SXSW-tp5720375.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
I like that the compressed version is larger than the uncompressed version
and the documentation is just a link to the Javascript manual.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Now-hotness-at-SX-vs-5-4-tp5720473p5720482.html
Sent from the Tapestry - User mailing
I ran into this problem also. I think you might be able to create a different
binding prefix like default: that is writable and change the default to use
that prefix. This is still on my todo list because I'd like to do the same
thing.
--
View this message in context:
http://tapestry.1045711.n
I think that might work. I would try making a ThreadLocal binding and see
what happens. My plan was to bind them to an environmental so you could
change defaults by pushing a different environmental.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Read-only-bindings-How-d
I was thinking about using that same library and gave up on the whole idea
because of the emailing links problem and just went back to reloading the
whole page. The URL changes and the content changes. IMHO that is the "more
native" approach. The history.js approach is full of difficult problems su
Best news I've had since Tapestry 5.3.
Thanks
Barry
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/ANN-Tapestry5-jQuery-3-0-0-Available-tp5070822p5071911.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Personally I like the latest project layout with AppModule, DevelopmentModule
etc. I would think the default should be off and the value overridden in the
DevelopmentModule to on.
I also think -Dtapestry.execution-mode=development should be documented on
the Getting Started page.
Finally I think
At this point it seems like you could have a Tapestry5-jquery.jar and a
Tapestry5-prototype.jar and Javascript support becomes like Hibernate vs
JPA. You just include none/one/both depending on your needs. I would think
something that could happen in 5.4 by just moving the prototype code into
it's
I would just build a Tapestry page and call it like a web service from your
email code and put what it returns in the email. It should not be any more
complicated than that. If you want it to say
Dear Barry
then make the url /email?dear=Barry
and the tml
Dear ${dear}
--
View this message in co
I agree about having a prototype.jar and I don't view this as a backward
compatibility problem. Dependencies change from version to version anyway.
It would also make it easier to create something other than jQuery if
needed.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com
I have not used this but I think it does what you want.
http://tynamo.org/tapestry-routing+guide
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-handle-urls-for-a-White-Label-site-tp5091687p5092265.html
Sent from the Tapestry - User mailing list archive at Nabble.co
I'd vote for a lightweight one also. In fact if I could click on a java or
tml file and end up with a window something like the Maven Pom editor I'd be
happy. The tabs could include tml, java, properties, event handlers,
services etc. Auto complete in the tml file might be nice but I'd say just
hav
I did mean one window with multiple tabs. I'm not sure how the tabs are
implemented but I've seen a few plugging that use them. M2Eclipse does and
I've also used IBM products that do. I'm guessing you can run regular
editors in them because the maven one appears to have an XML editor.
You may be
Thanks Steve,
It was tough throwing out the old version and starting over but I think this
way is much better.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Announce-Tapestry-Bootstrap-2-0-early-Alpha-tp5462931p5466207.html
Sent from the Tapestry - User mailing list arc
I'm not sure what you are doing but i wanted to add help text for all the
input fields in a beadeditform. Here is how I did it with a mixin.
@AfterRender
void afterRender(MarkupWriter writer) {
Element element = writer.getElement();
element.visit(addHelp(ele
While there are many ways to do this specifically I'd use a mixin. I you are
using the Tapesty5-jQuery module there is a generic one for this called
bind. If not then something like this which makes things sortable:
@MixinAfter
public class RowSorter {
@Parameter
The mixin here implements sortable for any element that supports
ClientElement.
http://tapestry.1045711.n5.nabble.com/detect-textfield-text-change-td5477793.html
You need to change the onSort event handler and do something like:
--
View this message in context:
http://tapestry.1045711.n5.nab
I have a filter that manipulates the final DOM so that any components output
can be styled with Bootstrap CSS. In the real implementation the filter does
place an object into the environment to collect data along the way. The
filter works fine for plain requests but when used with partial renders i
I've got people running vulnerability scanners against a production site.
I've also got log4j configured to send email exceptions to me and
unfortunately this means I get a lot of email. For example the scanner
requests /index.php~
which results in the following log:
2012-02-21 14:17:37,324 [ajp
Thanks for the link. Something like that is pretty much what I want and I do
run an Apache front end but I don't control that machine. Unfortunately I
think my only real option is either a Tomcat filter or some Tapestry code.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/
Thanks for the suggestions, here is what I ended up doing.
I created a BlacklistTracker service. If you do things I don't like you are
tracked. For example if you end up on my exception page I track you. Get too
many exceptions and you are blacklisted, too many failed login attempts
blacklisted et
You can always just inject the Request object and get them from there.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Access-to-the-GET-method-parameters-without-Servlets-tp5506649p5509126.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Perhaps it's not clear what you want but I think
javaScriptSupport.addInitializerCall does exactly what you need if you
create a Tapestry initializer in you javascript file. it puts your
JSONObject into the html and then calls your javascript function in the
initializer with each JSONObject as an a
While I'm sure it could be made to work with addScript IMHO it's just not the
right way.
@SetupRender
void setupRender() {
js.addInitializerCall("GoogleMap",
createInitializerJsonObject());
}
Then in mygooglemap.js (I use jquery but it's more or less the same
My guess would be there is something in your script that cannot be sent in a
JSONObject. Without a zone the script is just included in the HTML but a
zone update returns a JSONObject and there are rules about what can be
included.
--
View this message in context:
http://tapestry.1045711.n5.nabbl
see
http://tapestry.apache.org/beaneditform-guide.html
This is for editing you can also have display blocks that work in a grid
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Gird-or-DataTable-add-complex-column-tp5553061p5553319.html
Sent from the Tapestry - User mailin
Now that it stopped raining any Tapestry users in Austin for SXSW that would
like to meet up somewhere?
Barry
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/SXSW-Meet-Up-tp709p709.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Thanks for the update but when I upgraded from 0.4.0 I can authenticate but
my roles quit working. When I run the app in debug mode it appears
protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection
principals)
in my UserRealm is not called. It does get called in 0.4.0. My UserRe
Tried 0.4.1 and I have the same problem. I'll see if I can track it down and
report back.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/tapestry-security-0-4-3-released-tp5574027p5575350.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
I see what the problem is although now I not sure why it works at all. I have
this in my AppModule
binder.bind(Realm.class, UserRealm.class);
and
public static void contributeWebSecurityManager(Configuration
configuration, Realm userRealm) {
configuration.add(userRealm);
}
but
I guess I've just gotten in the habit of making everything a service with an
Interface. Class reloading without a restart is pretty handy, but in this
case you are correct the following is the way to go:
public static void contributeWebSecurityManager(Configuration
configuration, UserDAO userDAO)
That's interesting. I did not know you could bind an abstract class instead
of an interface.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/tapestry-security-0-4-3-released-tp5574027p5576063.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Which version are you running? I had a context problem in 0.4.1 and upgrading
to 0.4.3 fixed it. I tried your senario and it works OK for me under 0.4.3
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/tynamo-security-login-issue-tp5576297p5576672.html
Sent from the Tapestry
I've been using FOP http://xmlgraphics.apache.org/fop/ for a number of years.
If you like XSLT (or want to learn it) try it out. FOP gives you precise
control over the output. I usually combine it with JAXB to convert Java
objects to XML then use XSLT to create the PDF.
--
View this message in con
I'm always up for a good flame war.
I do admit XSLT is an acquired taste.
In my particular case things like Freemarker are not versatile enough. My
first problem is only part of my project is Java so I need something that
does not require Java. For better or worse I can use XSLT in Cobol on a
mai
to two. So if you
are interested (or not) go to GitHub and comment
https://github.com/trsvax/tapestry-bootstrap/issues/10
The current status of the Bootstrap module is i think I have the basics
worked out and I'm about to start writing test cases and flush things out.
So if I'm going to
I used to use onActivate to do initialization but I also switched to
setupRender. I also think onActivate is called when rendering links and if
for example you put a database query in it you'll do more queries than you
need.
However in this case I would not use either I'd use
@ActivationRequestPa
I guess it depends on what you mean by work. I'd like to be able to use
existing components like grid and have them display like a Bootstrap table
instead of Tapestry table. In my first attempt I wrote bsGrid, bsBeanEdit
etc but after a few of them it seemed like the wrong direction. In the
second
Help me understand what you are saying. I understand most modules do not
change the look of your site but to me if you include the bootstrap module
it's because you want to change the look for your site.
Currently if you include bootstrap it will for example modify all your Grid
components. I thin
I experimented with the Grid component and as I suspected it's a problem if
you include both the Tapestry and Bootstrap CSS on the same page. While the
Tapestry side does have t- in the class names the Bootstrap does not. The
real problem is the Bootstrap CSS works on the table elements not by a cl
I may have been a bit premature with my grim assessment of combining Tapestry
and Bootstrap CSS. i tried grid first and ran into problems so i assumed
there would be problems will everything. After looking into things a bit
more it may be the only thing that does not work is grid and I think I may
I did something similar to this by creating a BeanModel
@Property
private Map args;
BeanModel model = beanModelSource.createEditModel(args.getClass(),
resources.getMessages());
and then add the datatypes I wanted like this
model.add(name, mapConduit(name,clazz)).dataType(datatyp
Works for me so far in a non root context! My mail reader is so excited it
got a 404.
http://tynamo.org/tapestry-security+guide
Thanks
Barry
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/tapestry-security-0-4-4-released-tp5604723p5604968.html
Sent from the Tapestry - Us
And thanks for the Doc update on @AutoBuild
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/tapestry-security-0-4-4-released-tp5604723p5604969.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
I don't really know but I would imagine two things
1. Both want to use $
2. Remove the dependency on prototype.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Mixing-prototype-and-JQuery-based-components-tp5605199p5605479.html
Sent from the Tapestry - User mailing list ar
There is an interesting paper on the Sonotype site.
http://www.sonatype.com/Products/Sonatype-Insight/Why-Insight/Mitigate-Security-Risks/Security-Brief
Tapestry is listed in the top open source downloads with a security
vulnerability. Unfortunately they don't say what version or what the
vulnera
ues) {
if ( values != null ) {
type = values.getType(null);
sortElement = values.getSortElement();
sortElementAttributes =
values.getSortElementAttributes();
}
}
Finally I created an EnvironmentBindi
While that will work look at
https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/services/javascript/JQueryDateFieldStack.java
You can create your own and override the jQuery one in your AppModule.
--
View this message in context:
http://tapestry.1045711
see
https://github.com/trsvax/tapestry-bootstrap/blob/master/src/main/java/com/trsvax/bootstrap/services/bootstrapprovider/FormProvider.java
It contains a visitor that could be used by a mixin in cleanupRender. The
visitor converts the BeanEditForm DOM to one that can be styled with
Bootstrap
It works fine for generating XML. I have many rest style web services that
are really Tapestry pages, but I have not tried to put at
the top of the document. I think that might be tricky but doable one way or
another.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Readabl
I have not tried to use MarkupWriter to generate a CSV but I do return CSVs
with StreamResponse. I usually use StreamReponse for XML also but sometimes
it's more work than necessary. For example if you just want something like
OK
MarkupWriter is much easier than either StreamResponse or a .tml fi
It looks like you might be contributing
"tapestry.production-mode", false
"tapestry.compress-whitespace", false
in your AppModule and DevelopmentModule
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Broke-something-In-contributeApplicationDefaults-when-adding-tapestry5-
the module
and just use what you want. It also easy to override various defaults and
even plug in your own DOM rewriting providers.
I've also uploaded the jar file to
https://github.com/trsvax/tapestry-bootstrap/downloads so you don't need to
build it. The only dependency is tapestry5-jque
I use Amazon S3 for this sort of thing. It easy and pretty cheap
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/File-System-Asset-Factory-help-needed-and-petition-wanted-tp5641308p5644639.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
https://github.com/trsvax/tapestry-aws-core.
This project has code for getting objects in/out of S3
https://github.com/trsvax/Blog
If you just want to serve images/movies you can just make them public and
serve them straight from s3 with a url like
https://s3.amazonaws.com/assets.judypaul.com
I know this is a bit old but I just ran into this problem. For me it was
org.chenillekit
chenillekit-tapestry
1.3.0
Which brings in the tapestry 5.2 functions jar file
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/5-3-0-java-lang-Incomp
I wrote a module that changes Tapestry HTML to Bootstrap HTML. Here is the
code for BeanEditForm
https://github.com/trsvax/tapestry-bootstrap/blob/master/src/main/java/com/trsvax/bootstrap/services/bootstrapprovider/FormProvider.java
Basically you run a Visitor on the DOM after the component is
There are several ways of doing this and I don't think there is any
consensus.
Personally I don't like storing things in text/xml files because you can't
refactor them.
Symbol providers are final and Strings if that works for you (but are run
thru Type Coercion)
I prefer to use Environmental Se
For modules you really have to use Assets because you need to serve them from
the classpath. For an app you could just hard code paths but it's harder
than using Assets because you have to deal with the context plus they handle
compression, expires etc. Lastly you can override the url lookup part a
While it seems like a good idea (and believe me I've tried) to have one page
handle create/update it turns out that many things conspire to make this
more difficult than it seems and I've just returned to having a PersonNew
and a PersonEdit.
The first problem is if you use @Persist like you are us
You can override AssetPathConverter
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-s-css-js-coming-from-other-languages-frameworks-tp5662291p5662599.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
1 - 100 of 156 matches
Mail list logo