Thanks in advance.
Anyway, there must be some way to build custom XML file, not just for RSS.
I'll need to build google sitemap, soon, so I need that badly.
On Fri, Mar 27, 2009 at 1:58 AM, Christian Edward Gruber <
christianedwardgru...@gmail.com> wrote:
> I have some code I used for the www
I have some code I used for the www.israfil.net site, but I haven't
open-sourced it. Let me go dig it out tomorrow and see if i can do
that.
I didn't write the raw feed, though. I used the SyndEntry as a model
object and created a display component and pulled data from the entry.
regard
Hi!
I'm using rome to build rss feed component.
@BeginRender
boolean init(MarkupWriter writer){
...
...
...
feed.setEntries(entries);
SyndFeedOutput output = new SyndFeedOutput();
writer.writeRaw(output.outputString(feed));
return false;
}
I'm using component like:
http://tapestry.apa
On Thu, Mar 26, 2009 at 9:53 PM, Fernando Padilla wrote:
> that's exactly what we do.. we just named it "url", instead of "uri". :) :)
Well, it's a trivial piece of code, so if a committer wants to run with it -
feel free, although you might want to check to make sure I didn't do
something inap
I think you're looking for:
public void contributeMetaDataLocator(
MappedConfiguration configuration) {
configuration.add(MetaDataConstants.SECURE_PAGE, "true");
}
On Thu, Mar 26, 2009 at 11:10 AM, Dave Greggory wrote:
>
> That looks like it might work, thanks a lot,
i think we had a discussion on the mailing list a bit back, I think we
were refering to it as "virtual hosting".
Michael Prescott wrote:
This probably won't help you, but have a look at URLRewriter (
http://tuckey.org/urlrewrite/), which is a filter that does URL rewriting.
I'm not sure if you
that's exactly what we do.. we just named it "url", instead of "uri". :) :)
Geoffrey Wiseman wrote:
On Thu, Mar 26, 2009 at 1:40 PM, Dave Greggory wrote:
Just use RenderSupport.
I just built my own component named asset attacher for this purpose.
And if anyone's curious what the other appr
we use YUI. We simply added a "url" asset factory prefix (which tapestry
should really really add by default actually, like 10 lines of code).
If you want it, I can attach my code easily.
And no, you should not bundle yui locally. It already does a tonne of
on-demand loading, dependency reso
Another reason to host the YUI scripts locally is so that you can take
advantage of JavaScript combination (in Tapestry 5.1). That only works
if all of the individual script files are located on the server (in
the context, or on the classpath).
On Thu, Mar 26, 2009 at 11:48 AM, Geoffrey Wiseman
w
I believe self-calls are handled; you can use @Cached on non-public
methods as well.
On Thu, Mar 26, 2009 at 12:54 PM, Geoffrey Wiseman
wrote:
> Does tapestry manipulate the page class enough that @Cached affects
> self-calls?
>
> That is, if I wrote this code:
>
> @Cached
> List getSomeExpensive
In tapestry 5.18 it was not possible (easily) to use tapestry-hibernate
outside of the web application so i am not sure how feasible is to use them
in the Test classes. That was one of the main reasons i did the early
upgrade and i don't regret at all.
On Thu, Mar 26, 2009 at 9:33 PM, Davor Miku
Thiago has checked some code into 5.1.0.2 that gives you greater
control over how URLs are generated and interpreted.
On Thu, Mar 26, 2009 at 2:17 PM, Geoffrey Wiseman
wrote:
> On Thu, Mar 26, 2009 at 4:04 PM, dpark wrote:
>
>>
>> Is this a job for a custom Service Encoder (friendly URL)?
>>
>
>
Are you using any special libraries, one that would add a Validator
named "string"? That message would tend to indicate that a Validator
emitted some initialization logic, but there was no
Tapestry.Validator.string function to match. A dump of the rendered
page and the pertintent details about you
On Thu, Mar 26, 2009 at 4:04 PM, dpark wrote:
>
> Is this a job for a custom Service Encoder (friendly URL)?
>
This is presumably Tapestry 4.X, based on this reference (and past Exchange
Solutions experience)?
My guess is that you're better off with something like URLRewriter or, if
you're usin
Hello
I'm getting this message: "Function Tapestry.Validator.string() does not
exist for field 'XXX'."
What does it mean? The field mentioned in the message, is set in
the .properties file with the label and required-message.
Thanks in advance.
Jorge
Howard, Thomas, thanks for your answers
I was using "" in the right place, but I was calling the
incorrect event (submit instead of success)
Sorry
Thanks again
Jorge
On Wed, 2009-03-25 at 10:44 -0500, DuBois, Thomas F CTR USAF AFMC 639
ACSG/PEC wrote:
> Place a component at the top of the form
>
Thank's for reply.
I'm using T5.018.
I tried:
builder.add(TapestryIOCModule.class,HibernateModule.class
,AppModule.class);
and got exception:
[INFO] cfg.Configuration Configured SessionFactory: null
[ERROR] ioc.Registry Symbol 'tapestry.app-package' is not defined.
[ERROR] ioc.Registr
Using a distinct password form - or even another page - might help
emphasize that dealing with the Google password field is different from
an ordinary edit (like changing your time zone or window for synch),
and sort of avoid my worry. But the question of spoofing the output with
a static stri
Consider putting the change-password fields in another form? Either that or
hiding them until the user indicates that they're trying to carry out this
optional operation.
Michael
On Thu, Mar 26, 2009 at 4:15 PM, Charles Coleman wrote:
> Hi,
>
> My group is working on a little application that w
Hi,
My group is working on a little application that will enable users to
set up synchronization between Oracle Calendar and Google Calendar. The
user's interface includes a password field where they must provide their
Google password (if they wish to use the application). The password is
enc
This probably won't help you, but have a look at URLRewriter (
http://tuckey.org/urlrewrite/), which is a filter that does URL rewriting.
I'm not sure if you can extend it with the sort of 'manipulate the context'
behavior you're looking for, but perhaps.
The context you're manipulating, by the wa
Oh, i forgot to tell u that for this test to work tapestry 5.1.0.1 is
required because it uses the CoreHibernateModule
On Thu, Mar 26, 2009 at 9:08 PM, Juan E. Maya wrote:
> Hi Davor, Injection only work on tapestry pages or components. U can't
> inject tapestry services in JUnit classes (as far
Hi Davor, Injection only work on tapestry pages or components. U can't
inject tapestry services in JUnit classes (as far as i know)
The way i run my test is as follow, i use testng but u could easily see how
it would be in Junit
It's important to notice that u have to manually load the Modules u n
I'm looking for any suggestions on the below:
Business Need:
A new partner client would like to leverage our current web application but
allow for some dynamic rebranding (through images).
The application will know which brand images to show based on the format of
the URL.
For example, given th
I know that, but I can't use it.
I there any other way?
On Thu, Mar 26, 2009 at 3:38 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> Em Thu, 26 Mar 2009 15:49:11 -0300, Davor Miku
> escreveu:
>
> I have onActivate(String name) called twice.
>> When called second time name="ima
Does tapestry manipulate the page class enough that @Cached affects
self-calls?
That is, if I wrote this code:
@Cached
List getSomeExpensiveResult() { ... }
String getSummary() {
if( getSomeExpensiveResult().isEmpty() )
return "nothing";
else {
String summary = "";
for( Object item
Oliver Lee wrote:
>
> i want use the more newer version of dojo in my application,such as v1.2.3
> , does any chance to update the dojo version of the tapestry4.1.6
>
As of Tap 4.1.5, you can replace the built-in JS engine with your own. The
Tacos group has already done so with the 1.0.2
Em Thu, 26 Mar 2009 15:49:11 -0300, Davor Miku
escreveu:
I have onActivate(String name) called twice.
When called second time name="images".
I believe this is because there are some relative links.
Use src="${asset:context:images/image.jpg}" instead of
src="images/image.jpg".
--
Thiago
I have onActivate(String name) called twice.
When called second time name="images".
I believe this is because there are some relative links. There is no way to
make all URLs absolute.
Is there any way to override this multiple calling?
Like telling Tapestry not to process anything from certain
On Thu, Mar 26, 2009 at 1:40 PM, Dave Greggory wrote:
>
> Just use RenderSupport.
>
> I just built my own component named asset attacher for this purpose.
>
And if anyone's curious what the other approach might look like:
package com.tsg.tapestry;
import java.io.IOException;
import java.io.Inpu
Hi!
This is probably dumb question.
I'm using tapestry-hibernate for DAO services.
How can I test them with JUnit.?
I tried with @Inject SomeDAO in test class, but I'm getting NPE.
Just use RenderSupport.
I just built my own component named asset attacher for this purpose.
public class AssetAttacher
{
@Parameter(required = true, allowNull = false, defaultPrefix =
BindingConstants.LITERAL)
private StringassetURL;
@Parameter(required = true, a
On Thu, Mar 26, 2009 at 1:25 PM, Howard Lewis Ship wrote:
> I think you are on to something, but is bundling YUI locally a real
> problem?
>
It's not a huge problem, no -- I'd just rather get it from the source,
given:
- Yahoo's servers are pretty reliable
- the per-host browser limits on
Thanks for the answer, and sorry for the duplicated mails (our mail
server has problems),
This solution works well, but I really can't see why the behaviour is
different : the actionlink is the same in the 2 situations explained
below.
Or does it simply mean that we should not use persisting attr
I think you are on to something, but is bundling YUI locally a real problem?
On Thu, Mar 26, 2009 at 10:05 AM, Geoffrey Wiseman
wrote:
> On Thu, Mar 26, 2009 at 12:47 PM, Geoffrey Wiseman <
> geoffrey.wise...@gmail.com> wrote:
>
>> If I were to build component that uses YUI, and I wanted to attac
On Thu, Mar 26, 2009 at 12:47 PM, Geoffrey Wiseman <
geoffrey.wise...@gmail.com> wrote:
> If I were to build component that uses YUI, and I wanted to attach the
> stylesheet from Yahoo (rather than copying it to my application), it doesn't
> seem as if @IncludeStylesheet will let me do that; am I
Ahhh, just as I wanted to go home after deploying the app to the
tomcat server and baaammm - the app crashes. So if it works on Jetty
6.1.14 and crashes on Tomcat 6.0.14, can the web.xml be the bad guy? I
am using T5.0.18
http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://java.sun.com/xml/
If I were to build component that uses YUI, and I wanted to attach the
stylesheet from Yahoo (rather than copying it to my application), it doesn't
seem as if @IncludeStylesheet will let me do that; am I correct?
- Geoffrey
--
Geoffrey Wiseman
http://www.geoffreywiseman.ca/
Found a solution. The login is now protected as google account is -
with captcha after 5 failed retries.
The thing that bothers me is this stack trace in the console which is
triggered by pressing the login submit button:
2009-03-26 16:44:51.494::WARN: /login.lform
java.lang.NullPointerException
another thing you can play with, which is sometimes easier to integrate,
is the service decoration.
try learning about decorators.
On 3/26/09 12:09 AM, Tuan wrote:
Hi all,
This is my problems when I use Alias or AliasOverrides. Please help me
correct them.
_*Context: *_
IndexPage.tml
M
I have tried with these modifications but now, when i click on the
links,
the value displayed is always "pix".
Le jeudi 26 mars 2009 à 15:12 +0100, Otho a écrit :
> a) You don't need to copy the value from the parameter to the property.
> b) There is no need to persist it.
>
> @Parameter
> @Prope
I have tried with your modifications but now, when i click on the links,
the value displayed is always "pix".
Le jeudi 26 mars 2009 à 15:12 +0100, Otho a écrit :
> a) You don't need to copy the value from the parameter to the property.
> b) There is no need to persist it.
>
> @Parameter
> @Prope
That looks like it might work, thanks a lot, Jonathan.
Do you want replaced TapestryConstants.SECURE_PAGE constant? It's not available
in T5.0.18.
- Original Message
From: Jonathan Barker
To: Tapestry users
Sent: Wednesday, March 25, 2009 10:18:42 PM
Subject: Re: Non Standard SSL p
Primitive values, int, are always required. Integers (wrapper types)
are (by default) optional. Could this be the problem?
On Thu, Mar 26, 2009 at 7:08 AM, tapestryphoto wrote:
> Hi Thiago,
>
> Thanks for your suggestion.
>
> Yes, the CSS is included correctly.
>
> The problem goes away when I
Hi,
I'm trying to use my own component inside a loop and I have a problem
when there is a "persist" annotation on attributes.
I want to loop with my component named "test" in a page like this :
The component contains a string attribute "usageValue" that will be
displayed in the
You should pass the "usage" string as context parameter on the action link.
The problem is that the url for each of the events in the loop are the same.
Kind regards,
Joachim
ahingsaka samsenesena wrote:
Hi,
I'm trying to use my own component inside a loop and I have a problem
when there is a
On Thu, Mar 26, 2009 at 11:08 AM, tapestryphoto wrote:
> Hi Thiago,
Hi!
> Thanks for your suggestion.
:)
> Yes, the CSS is included correctly.
> The problem goes away when I use an Integer rather than an int.
Tapestry makes fields bound to primitive types required as they do not
accept null.
What I do is add the SetupRender phase in my ComponentClassTransformWorker. For
I don't used T-S-S and don't know its source code at all, I am not sure whether
it is like my solution.
My complete transform worker is below:
public class SecurityWorker implements ComponentClassTransformWorker{
a) You don't need to copy the value from the parameter to the property.
b) There is no need to persist it.
@Parameter
@Property
private String usage;
${usage}
2009/3/26 ahingsaka samsenesena
> Hi,
>
> I'm trying to use my own component inside a loop and I have a problem
> when there i
Hi Thiago,
Thanks for your suggestion.
Yes, the CSS is included correctly.
The problem goes away when I use an Integer rather than an int.
p.
Quoting "Thiago H. de Paula Figueiredo" :
Check if the Tapestry CSS file is being correctly included in your
pages, because that's the one who hides
On Wed, Mar 25, 2009 at 4:18 AM, DH wrote:
> Maybe caused by MutableComponentModel#addRenderPhase?
> I don't use T-S-S, but have another role annotation based solution. I can
> work before 5.0.18 too but fail when upgrade to 5.1.0.0.
> I need call MutableComponentModel#addRenderPhase to make it w
Hi,
I'm trying to use my own component inside a loop and I have a problem
when there is a "persist" annotation on attributes.
I want to loop with my component named "test" in a page like this :
The component contains a string attribute "usageValue" that will be
displayed in the
On Thu, Mar 26, 2009 at 9:56 AM, lyifan wrote:
> Hi there,
Hi!
> Is it possible to remove default css and java files from T5.
Removing CSS is easy: take a look at the tapestry.default-stylesheet
configuration symbol at
http://tapestry.apache.org/tapestry5/guide/conf.html. Well, it is not
exact
Hi there,
Is it possible to remove default css and java files from T5.
I think it is reasonable that someone does not want any default style and
javascript librarays of T5 but wants to make by self. So there should be a
way to remove them, right?
Hope I am right.
Thanks
--
View this message i
Hello,
I would like to display a CAPTCHA challenge to a user after 3 failed
login attempts. If using tapestry5-spring-security 2.0.1 the form
looks like:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
action="${loginCheckUrl}" method="POST">
Username and/or password was wrong!
Us
Check if the Tapestry CSS file is being correctly included in your
pages, because that's the one who hides the red X image when the
textfield is rendered without errors.
--
Thiago
-
To unsubscribe, e-mail: users-unsubscr...@tape
hi,everyone
i want use the more newer version of dojo in my application,such as v1.2.3 ,
does any chance to update the dojo version of the tapestry4.1.6
any suggestion?thank you !!
2009-03-26
oliverlee
Quoting Borut Bolčina :
First, calm down :-)
:-)
Try with fresh maven tapestry 5 project.
Thanks, although everything in my project is working and I'd rather
understand how the class reloading works and how I can fix my
non-working version than start from scratch.
Perhaps
http://
I have an input box that accepts an int. It is enabled/disabled by a
selection from a combobox. Whenever it is enabled it shows a red
border and red X next to it, even though the value in the box is
correct (and is initialised with a value when the page is initially
shown).
Here is my m
First, calm down :-)
Try with fresh maven tapestry 5 project.
Perhaps
http://bbwebcraft.blogspot.com/2009/01/task-3-rapid-turnaround-in-tapestry-5.htmlwill
help.
Cheers,
Borut
2009/3/26 tapestryphoto
> A while ago I had a problem with Maven deciding to wreck my Eclipse
> environment.
>
> I ma
A while ago I had a problem with Maven deciding to wreck my Eclipse
environment.
I managed to fix all the problems, but I noticed class reloading no
longer works.
It's beginning to drive me insane, having to restart Jetty all the time...
Where abouts should I look to get class reloading wo
I'm sorry I have sent a wrong version of the email: disregard the first one.
Ivano Luberti ha scritto:
> Hi Howard, here are the three files.
>
> Howard Lewis Ship ha scritto:
>
>> It would be helpful to see more of you page class and template.
>>
>> On Wed, Mar 25, 2009 at 9:57 AM, Ivano Lub
Hi Andreas
Andreas Andreou ha scritto:
> There's an 'edit customers' example in the For component doc that
> should be close to
> what you're doing:
> http://tapestry.apache.org/tapestry4.1/components/general/for.html
>
>
I tried to use that example and I get a "Could not find a strategy
instan
63 matches
Mail list logo