Yes, I'd love to see some code, right now the approach I'm following is
having the rss xml file inside the page.html template and simply
iterating throught the objects I need to generate the rss.
I'm changing the response to set the content-type to xml.
The Channel and items objects are in a da
While I don't have any code to share right now, and haven't heavily tested this
in a production/heavy load environment, I have had good luck using the ROME
library (https://rome.dev.java.net/) to both generate and consume RSS feeds in
Tapestry. For generation, I created Feed and Entry component
Is there a good tutorial or example out there anywhere for the new portal
support in Tapestry 4?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Phillip,
Thank you very much for the tip. I went ahead and more or less did what you
suggested and it worked giving something very close to what I originally
intended (or wanted to do).
Even though this worked, I am still very much interested in what John
suggested in his ealier post. His co
I was wondering what are the best practices in tapestry to output a RSS
document.
I was thinking either:
Custom EngineService that outputs to the HttpServletResponse
or a page using the xml as a template.
best regards.
Raul.
-
So If I where using JSF, I would have to:
Ask my designer to write a nice layout provinding a css that controls
everything and html that plays nice with the css and then I would have
to turn that html into JSF tags while I pray for the layout to not get
screwed.
Or I can teach my designer ho
Hi Andreas,
Hibernate is an alternative to EJB CMP, though I'm sure you could use
the two solutions together if you had/wanted to. Both are a way of
bridging your Java classes and your database tables by mapping them --
the goal is to not have to write SQL manually ... or rather, the goal is
to n
what I meant is something else:
if you compare html+css and xml+xsl: in html-css, there is no
"direction" - practically (theoretically maybe not...) they must be
coupled to achieve good results-
xml-xsl on the other side has a flow: first comes the xml (or rather
dtd) , then you write an xsl wh
Hi again,
I'm in despair because I just can't understand the whole
Hibernate/EJB/domain-model/etc.
stuff even after reading documentation, tutorials and example code for days,
now :(
(perhaps I've just read the wrong documents, I don't know...)
So *please*, even if it's not directly related to
Looks like I answered my own question. I set up a property on my page to
hold a ValidationDelegate (using "initial-value"; I found this easier to
work with in code than accessing a bean, though I could use a bean if I have
my own validation delegate that needs props set). I set the prop in the page
Worked like a charm Jeffsuperb. Thanks a lot for your help, appreciate it.
Stewart
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You sure Page1 isn't being cached by the browser?
Geoff
On 2/17/06, Stanczak Group <[EMAIL PROTECTED]> wrote:
> Say your on page 1. You make a selection from the dropdown, then click
> the submit button. That button takes you to the next page, page 2. On
> page 2 you click the submit button calle
Say your on page 1. You make a selection from the dropdown, then click
the submit button. That button takes you to the next page, page 2. On
page 2 you click the submit button called "Back" that takes you back to
page 1. But page 1 will not set back to the value you selected in that
dropdown previo
Sure. There's nothing component specific about Tapestry libraries.
Cheers,
e.
On 2/17/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> Is it possible to package a page inside a component library?
>
> --
> Dan Adams
> Software Engineer
> Interactive Factory
>
>
> ---
I should have specified, I'm using tapestry 3.0.3.
Jesse Kuhnert <[EMAIL PROTECTED]>
02/17/2006 12:59 PM
Please respond to
"Tapestry users"
To
Tapestry users
cc
Subject
Re: Localizing a single page (in an app that's localized in different
language)
I don't remember the exact syntax
Is it possible to package a page inside a component library?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I don't remember the exact syntax offhand, but I think you can use one of
the "meta" tags in your page spec to set this.
On 2/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> Greetings,
> I?m trying to change the locale of only 1 page in my web app. The system
> as a whole allows for a var
i'm already using it. thank you though.
On Fri, 2006-02-17 at 15:36 -0500, Hensley, Richard wrote:
> Jett launcher
>
> http://jettylauncher.sourceforge.net
>
>
> Richard Hensley
> Software Architect, Horizon Architecture, Eugene
> Fellow Emeritus, McKesson Provider Technologies
> (541) 681-822
Greetings,
I?m trying to change the locale of only 1 page in my web app. The system
as a whole allows for a variety of locales, but 1 page in particular is
displayed in a data specified locale. I?ve tried
myPage.setLocale(Locale.GERMAN), before activating the page, but that just
seems to resu
Look at the "Order and Export tab: on the build path of the project
that you want to import into another project's build path.
You have to explicity say, this stuff is exported to dependent
projects by checking the boxes on that tab.
Geoff
On 2/17/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> okay i
Jett launcher
http://jettylauncher.sourceforge.net
Richard Hensley
Software Architect, Horizon Architecture, Eugene
Fellow Emeritus, McKesson Provider Technologies
(541) 681-8221
mailto:[EMAIL PROTECTED]
Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use
But I shouldn't even get to my new page unless my listener code has
executed, which shouldn't be the case if validation fails, right? Otherwise,
I'm executing a save or add and then getting back to the validation error.
The problem isn't with the fact that redirection loses a delegate, I don't
thin
That is the well maintained MYTH of XSLT,
no XSL cannot transforme XML into anything (or it is insanely painful) that is
why it needs to be extended with real languages or replaced with XML-Query
http://kgionline.com/articles/xsl_50_faster.jsp
Ron Piterman <[EMAIL PROTECTED]> wrote: the xml can b
okay i have a webapp that i use jetty for and i'm trying to pull a bunch
of the code out into a separate project. anyone know how to do that and
still have jetty reference the other project when it runs? i've tried
adding teh other project to the classpath but that doesn't seem to work.
the only th
I know I know, that's why I say good content / style separation is a
*programming issue*. How do I provide templating facilities that allow
me to synchronize design work and integrate with my own database
connection routines and loops and such? That's a programming problem,
that Tapestry resolv
I don't fully agree with you -
ofcause, in theory, everyone can write good html, even java programmers ;-)
but if you work with a web-designer, you can not split the work: I write
the html and you do the styling with the css - they are coupled together
- they don't relate to each other like xm
Is a matter of order and of knowing the technology we are working with.
It's a myth that a good programmer can't be a good HTML coder (note that
I say *coder*, not designer).
Good separation of content / style is a programming issue, not a design one.
For me, bad HTML or CSS, given the current
I think where I get lost is not necessarily in the understanding of how to
do it, but more on the side of what people like to see. For instance I can't
for the life of me come up with good color palate matching or create that
initial page focal point (i.e. where the users eyes go on the page first)
I originaly posted this to the tacos-dev but looks like the responses are
better over here :P
I've been using the Tree component and noticed the following in my log file:
findChildren("myPage");
hasChildren("myPage");
hasChildren("myPage");
(This is for my ITreeContentProvider i
You will want to use the following translator binding:
translator="translator:number"
Paul
Howard Lewis Ship wrote:
> At the root of this is that the value comes up as a string, and if you
> don't tell Tapestry otherwise, it stays a string ... but needs to be a
> Number for max and min validator
It sounds like a bug in tacos to me, but I have been theoretically
successful in using the Upload component with AjaxForm, as show here:
http://tacos.mine.nu/tacos-demo4/app?page=forms%2FUploadProgressBar&service=page
(still some issues with the progress indicator...but it works)
On 2/17/06, Den
At the root of this is that the value comes up as a string, and if you
don't tell Tapestry otherwise, it stays a string ... but needs to be a
Number for max and min validators.
The translator parameter controls this. You want to use
"translator:int" (I believe, check the docs). This will convert
Hi,
Has anyone here had success in using Tapestry's @Upload component inside a
@tacos:AjaxForm? My AjaxForm works perfectly up to the point in which I add
the @Upload component. Then it just starts acting crazy. Whenever I click on
one of several AjaxSubmit buttons I have in my page it opens a
Well then the problem is the java programmer, not the CSS! I always
wonder how one guy who is disciplined enough to do proper JDBC and
transaction demarcation, or to build complex architectures, can't use
HTML as it was designed to. I think people underestimate the work of a
good web coder.
T
I meant more like the sample given in the translator parameter here (
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/DatePicker.html
).
On 2/17/06, Brian Long <[EMAIL PROTECTED]> wrote:
>
> Jesse,
>
> do you mean like this?
>
> validators="validators:min=15,max=5000" size="10" /
Jesse,
do you mean like this?
Regards, Brian.
On 2/17/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> Oh, try adding the translator: binding as well :)
>
> On 2/17/06, Brian Long <[EMAIL PROTECTED]> wrote:
> >
> > Jesse,
> >
> > thanks for the quick reply, but I have bound the value to
> > "ogn
Oh, try adding the translator: binding as well :)
On 2/17/06, Brian Long <[EMAIL PROTECTED]> wrote:
>
> Jesse,
>
> thanks for the quick reply, but I have bound the value to
> "ognl:amount", which is a BigDecimal (a subclass of Number) used in my
> java class? Is this a step to far for the Compiler
Jesse,
thanks for the quick reply, but I have bound the value to
"ognl:amount", which is a BigDecimal (a subclass of Number) used in my
java class? Is this a step to far for the Compiler/Tapestry framework,
because if what you say is true, this should have worked.
Brian.
On 2/17/06, Jesse Kuhner
You need to have you value binding for TextField be either a Numeric object
type or native numeric value. That's just the way it is for now...Won't be
in tap4.1...
On 2/17/06, Brian Long <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> I've spend this afternoon trying to get the minimum and maximum v
Hi guys,
I've spend this afternoon trying to get the minimum and maximum validators
for Tapestry 4.0 to work without success.
I have a TextField component with an associated FieldLabel component onto
which I attach the Min and Max validators :
DummyTextField
Pretty straightforward, or so y
Java developers, unless they are EXPERTS in HTML and CSS (and very few are)
waste an enormous amount of time trying to line stuff up and make it pretty.
My advice and it works for us, DON'T LET THEM!!! We prototype and let the GUI
guy do his thang or he creates the sample screen and we convert
For the most part our GUI guy points out our mistakes or when we stray from the
path... However, we count on him to make sure the layout is correct and then
we just muck with the tapestry bits...
-Original Message-
From: gaz jones [mailto:[EMAIL PROTECTED]
Sent: Fri 2/17/2006 9:21 AM
T
John,
That's definitly a different perspective than the one had, and it seems to
make a lot of sense. I would be interested see some code if its not too much
trouble. I greatly appreciate the insight.
Mike
From: "John Coleman" <[EMAIL PROTECTED]>
Reply-To: "Tapestry users"
To: "Tapestry u
>
> The beauty of Tapestry is that you _shouldn't_ be designing the pages but
> instead let your creative web designer do that.
Yup. We have that exact work separation and it works *perfectly*. Our
output (completed pages) is easily 3 times greater than any other
Tapestry project I've done where
woops - by no means, I meant Gavin King... sorry for the misunderstanding...
albartell wrote:
Mr Ron,
I am guessing your references to "he" in the email are referring to me. No I
didn't post that just to come out of the corner as you say, nor did I bring
it up to proclaim that "I know a better
On 2/17/06, Ben Gidley <[EMAIL PROTECTED]> wrote:
> I have had the same issue I have ammended the bug at SF as to how to fix it.
>
>
> see
> http://sourceforge.net/tracker/index.php?func=detail&aid=1203639&group_id=118870&atid=682377
>
> I am trying to submit a patch - but the SF CVS server is not
Mr Ron,
I am guessing your references to "he" in the email are referring to me. No I
didn't post that just to come out of the corner as you say, nor did I bring
it up to proclaim that "I know a better way" to gain mailing list
popularity. I simply posted because I thought I could add something to
the nice point about it: how imressive csszengarden is, try letting a
java programmer write *the html* (of cssgarden) from scratch- that would
never work...
Cheers,
Ron
Konstantin Ignatyev wrote:
csszengarden looks really impressive till I press CTRL++ (scale fonts) or
resize browser window
csszengarden was created to encourage designers to use css by illustrating
that they dont need to use tables to create beautiful looking sites. its not
particularly aimed at accessibility... as a quick fix you could bring your
face closer to the monitor lol.
seperation between style and content is
sure thing, but css and html work tight together - the html *must* be
very carefully written to allow the css do his work:
html (structure) + css ( style ) = design
and demanding clean html from java programmers is IMO not realistic.
so, saying that jsf-jsp "templates" made by java programmers
csszengarden looks really impressive till I press CTRL++ (scale fonts) or
resize browser window.
IMO Non liquid layouts belong to PAPER, they should be banned from e-mediums.
albartell <[EMAIL PROTECTED]> wrote: That's what I thought too until I saw it
on this site an realized how much
good css
Hi spamsucks,
Try using value="/usr/local/rhodepc/workspace/dmi/stitchfolder" />
Check out
http://jakarta.apache.org/hivemind/hivemind/BuilderFactory.html for more
details.
Cheers
Richard
spamsucks wrote:
I am trying to inject an aso into tapestry using the StateObjectFactory.
My class
I have had the same issue I have ammended the bug at SF as to how to fix it.
see
http://sourceforge.net/tracker/index.php?func=detail&aid=1203639&group_id=118870&atid=682377
I am trying to submit a patch - but the SF CVS server is not co-operating at
present!
On 2/17/06, Massimo Lusetti <[EMAIL
Am Freitag, 17. Februar 2006 16:10 schrieb Łukasz Pachciarek:
> Lukas Ruetz wrote:
> >Am Freitag, 17. Februar 2006 13:38 schrieb Łukasz Pachciarek:
> >>Hello
> >>
> >>first...
> >>I am new in tapestry :)
> >>I created html template, it contains left-frame and right-frame
> >>left-frame is menu fram
How vulnerable is the URL of an ExternalLink component to a Tapestry
upgrade? By "vulnerable," I'm talking about, for example, a bookmark of
that URL breaking if the application is upgraded to Tapestry 5. At the
very least, can I assume less vulnerability than a bookmarked hard-coded
link directl
I would like to use jettylauncher but I'm stuck with make it logging with log4j.
Searching the ML I've came across and old thread 'Tapestry logging'
which talks about some tweaks needed by PluginRunner which assumes
always org.mortbay.log.Factory, the patch was to comments some code.
The thread t
Lukas Ruetz wrote:
Am Freitag, 17. Februar 2006 13:38 schrieb Łukasz Pachciarek:
Hello
first...
I am new in tapestry :)
I created html template, it contains left-frame and right-frame
left-frame is menu frame,
right frame is data view frame (it contain table, only data in table
will change
I dunno, the project I'm working has no tables and all layout is done
using CSS. They key was to have a an HTML/CSS guru design the
templates from the beginning. No Java developer EVER modifies the css
and rarely needs to modify the html beyond the usual (jwcid).
It's been a joy to work this way.
I must have misunderstood how this works, no luck yet...
I created a squeezer for java.util.Vector that handles a collection of Item
(id, name) objects, and preserves the id property of the Item object. The
name properties should then be populated from request parameters (text
fields). The name pr
That's what I thought too until I saw it on this site an realized how much
good css and html could clean up my pages.
http://www.csszengarden.com/
We've gotten so used to using tables everywhere that css is seldom thought
of as a positioning technology but rather a way to have your fonts and
col
Hello all,
I'm using the BaseComponentTest case (unit great test framework, by the
way).
Is there any way to get it to load a template and mock render based on
that template? It would be really useful to check rendering based on
conditions in the component in the same has Tapestry's TestAny
Am Freitag, 17. Februar 2006 13:38 schrieb Łukasz Pachciarek:
> Hello
>
> first...
> I am new in tapestry :)
> I created html template, it contains left-frame and right-frame
> left-frame is menu frame,
> right frame is data view frame (it contain table, only data in table
> will change)
> what el
> made sure tapestry *really* uses your engine's class?
Yes it does. The proof is that I override the activateExceptionPage() in
this same custom Engine and it works fine.
/Martin
Ron Piterman wrote:
made sure tapestry *really* uses your engine's class?
ron
Martin Carel wrote:
Speaking of
Yes, that's correct, when I use this approach, the collection displays the
correct content in the form listener. But:
When I do this, the collection is serialized, causing a long Base64 encoded
string. I don't want that, becaus it may cause my html to become very large
and too big to submit.
I mi
I am not the authority, but I just solved this error myself.
You cannot pass objects directly to tapestry in hivemind. In brief,
have your DataContextService implement
org.apache.tapestry.engine.state.StateObjectFactory and return an
instance to itself. There is a page that I got some help
Hello
first...
I am new in tapestry :)
I created html template, it contains left-frame and right-frame
left-frame is menu frame,
right frame is data view frame (it contain table, only data in table
will change)
what element should I use (DirectLink, PageLink, ...) in menu in
left-frame to
re
made sure tapestry *really* uses your engine's class?
ron
Martin Carel wrote:
Speaking of which, I have this in my application file:
And I do have a custom Engine in which I have:
public void setLocale(Locale locale) {
if (getLocale() == null) {
super.setLocale(Locale.ENGLISH);
}
Speaking of which, I have this in my application file:
And I do have a custom Engine in which I have:
public void setLocale(Locale locale) {
if (getLocale() == null) {
super.setLocale(Locale.ENGLISH);
} else {
super.setLocale(locale);
}
}
And still, for the fields ha
Nick Faiz wrote:
You should make this *very obvious* - put it on the wiki, in the
javadocs, and then print t-shirts saying 'Set the values of all
injectable things using the Tapestry Creator'.
I will also buy one of those t-shirts...
ron
As a newcomer to Tapestry I had to dig through quit
As long as your collection is Serializable, you don't need a custom
DataSqueezer. The problem is that Tapestry isn't saving the
information about the collection itself. This is the problem I was
having with my String[].
Add a hidden field above your @For to save the items info:
and ge
I would think you loose your validation delegate on the way.
The new activated page has a new delegate, without any errors.
Cheers,
ROn
Drew McAuliffe wrote:
I am attempting my first go at the new Tapestry validation and seem to have
run into a problem. The vast majority of the pages in my app
I think OGNL would require this:
m2f
Sent from www.TapestryForums.com
Read this topic online here: <>
http://www.tapestryforums.com/viewtopic.php?p=14431#14431
m2f
Does there exist an example (vlib or similar) of a page that only gets
information from database on render, and that uses a custom datasqueezer and
no db fetching for the rewind phase? My ideal design is that all known
information in the rewind phase comes from request parameters, that way many
syn
I use HiveUtils (formerly hivetranse) ObjectBuilder for doing something
similar. It also solves the problem of injecting dependencies into POJOS:
http://hivetranse.sourceforge.net/quickstart.html#start.objectbuilder
Here is some sample code:
hivemodule.xml
class="com.estudiowebs.C
A few months ago, I would have agreed with you on this.
But we decided to get a bit starry-eyed (without the crack) and we
really surprised ourselves. All our applications are now being done with
this clean split between styling and mark-up. Benefits of this are
increased browser-compatiblity (yes
Hi Mike,
Sorry to not address your question directly, but from an architectural
perspective, do you really want persistence implementation dependant code in
your application objects? For most projects I know this is not a big deal as
you choose your persistence engine and stick to it.
One solutio
I am trying to contribute an object to tapestry's ASOs with session scope
and inject (or wire in) a Cayenne DataContext. I receive this error:
java.lang.NoSuchMethodException
setFactory
Stack Trace:
org.apache.hivemind.schema.rules.InvokeParentRule.findMethod(InvokeParentRule.java:127)
org.apach
77 matches
Mail list logo