Hi,
I develop with WTP and TOMCAT. If I set the tomcat don't auto-reload,
tapestry5 can take the changes of html template, while it can't take the
chages of page class. It make the hot code replace failed. However, If I
enable tomcat auto-reload. tapestry can take both html template and page
class
I have the same problem.
Jun Tsai
2007/6/30, Robin Ericsson <[EMAIL PROTECTED]>:
>
> On 6/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > If i remember correctly, a value that can't be resolved should cause a
> > runtime error; just in case, check the console. It may be that the
> > acegi
Hm...
Really seems like you're trying to work swim against the current...
For your example, I wouldn't forgo the bean model.
I would probably create a "MapBeanModel", which takes a map as an
input, and implements the BeanModel interface.
(An alternative might be to create a MapBeanModelSource s
I am trying to find the best approach to making changes to the
existing Tapestry 5 core components. This is what I've thought of so
far. Please add suggestions or correct me!
Very Small Changes:
Changing the look of a component:
1. Override styles with your own CSS file, no changes made to actua
Hmm... If someone opened up a jira ticket with specific parameter
examples && what does/doesn't work it would probably make it easier
for me to look at.
As for gif vs. png - I didn't make that configurable on purpose
because my overall goal was to avoid PNG whenever possible because IE
hasn't tra
Incidentally, I just ran into this. This was after spending over an hour
figuring out I needed to add tapestry-contrib to use the rounded service
(someone please update the docs).
I dug into it and it appears to be the PNG vs GIF logic that's failing. If
I remove the background color, everything
If it's anything like T4 you'll have to either do a redirect back to
the same page or whatever mechanism is in place to "make a page
active" somehow and have it do that to the same page.
All the i18n stuff probably happens in the very beginning while
setting up the page/components/resources so it
In several of our pages, the default locale we want to use for messages
depends on its activation context. We tried updating the locale using
'ThreadLocale' from within the activate event handler, but it seems that
this is too late, for the page has already been loaded and all messages
in the templ
On 8/14/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote:
>
> I found essentially the same problem in a @For loop over a list of objects
> that do not implement any common interface, but (by design) have matching
> method names. Tapestry would try to cast to the class of the first object
> in
> the lo
Thanks.
I kind wonder why "DirectLink" works after user relogin -- it can go to the
page the link points to. It only doesn't work with the "Submit" button -- is
that becuase it contains some persist data that needs to be sent back to the
server and server has already lost all the information f
Joost, I see what you did there. This is a clever hack, but I'm not
sure I want to get into DOM hacking with Tapestry. ;-)
Please let me know if you find a solution, and I'll do the same.
This is related to another more general question I'm going to post soon.
Daniel
On 8/1/07, Joost Schouten
Ajit,
You would have to actively store your trail, like breadcrumbs in a
data structure that is still available even after the user has timed
out. You might want to persist it to a database, instead of keeping
track of it in memory.
Then after login success, the login page/component would look u
Hi Jesse,
I found essentially the same problem in a @For loop over a list of objects
that do not implement any common interface, but (by design) have matching
method names. Tapestry would try to cast to the class of the first object in
the loop, instead of using a declared class of the loop varia
Hi,
I got a error as following after I tried to relog in to the application -- it
happens when I cliecked a "Submit" button on one of the page after session
already timeout, and it redirect me back into the login page.
You have clicked on a stale link.
Rewind of form core/Example/SchoolRepo
I’m using jdk 6 u2 on windows, and I still get errors using javassist
3.4. Although I don’t know why or how, I learned how to rewrite the code
to bypass them.
When I switch to 3.6.0 CR1, those errors were solved, but worse ones
appeared, so I decided to stay with the devil I know, and switch b
Thanks for the info. I'll add that to my component. However, it seems
odd that a simple conversion from Long to String isn't built in. It
seems to me that such standard conversions should be part of the
framework.
On 8/14/07, Christian Koeberl <[EMAIL PROTECTED]> wrote:
> Tapestry just supports a
Howard Lewis Ship wrote:
>
> I haven't tested myself under JDK 1.6. I suspect its Javassist that's
> having the problem. Not much we can do about that, except see if there's
> a
> newer version of it that can handle JDK 1.6 better.
>
That seems to be a problem with a certain combination of J
Any other thoughts what I might have done wrong with this rounded corner
service?
Henry Chen wrote:
>
> Just tried. Not work either. Same error in Tomcat.
>
> SEVERE: Image generated had zero length byte array from parameters of:
> [color:FF9900, bgColor:white, width:60, height:60, angle:tr,
>
Folks,
Tapestry compiles expressions with OGNL before using them (and caches the
compiled expressions).
Is there a way to turn off this caching?
Best regards
Ken in nashua
_
Tease your brain--play Clink! Win cool prizes!
http:/
Tapestry just supports a ValueEncoder for String and Enum. If you want
additional
encoders you have to implement them yourself:
class LongValueEncoder implements ValueEncoder
{
public String toClient(Long value)
{
return value == null ? "" : value.toString();
Martin,
I've just looked at DocumentScriptBuilder, which seems to be a delegate
of PageRenderSupport(Impl). I understand that PageRenderSupport uses a
notification (cleanup i think) to know when to insert the scripts, but
the way scripts are added (correct me if I'm wrong) are via explicit
me
Ooops... let me take that back...
That was extraneous text being clipped... not the image.
OK, so the actual image does scale down.
I reduced my height to somethign reasonable for header and went with
WIDTH=100%.
I think this should get me what I want for the short run.
Thanks for taking th
Thanks Jesse,
Wanted to let you know that the scaling down fails.
I went with...
div#header {
color: black;
clear: both;
padding: 0;
height: 15%;
width: 100%;
background: #fff url( images/trails-header94.jpg ) top left no-repeat;
}
And the image
Thanks Jesse,
Well I was hoping to find an end to end JSON example... just snippets
around... no one really has shown substantial usage of that.
For my solution though...
Currently this is what we got in css (the main reason why I wanted to go
with JSON)...
div#header {
color: blac
This error looks familiar. Can you post some source?
(I can't get to it myself for a couple of days though.)
Cheers,
Nick.
redijedi wrote:
>
> I've suddenly run into what seems to be a bug that appears when I pass
> an integer to a custom component that itself contains a radiogroup
> that use
I've gotten around IE's lack of innerHTML support in tables by creating
an entirely new table then ripping the row(s) out of it.
...
var rowHtml = 'data |
';
var div = document.createElement('div');
div.innerHtml = '' + rowHtml + '
Ok, I used not proper word(component), it should be widget :)
I will be looking for answer how to use dojo tree widget on tapestry page on
dojo forum but i thought that I find out how to do it on tap forum ... So
maybe someone give me example?
Jessek wrote:
>
> You should try the dojo support
27 matches
Mail list logo