From the java apidocs:
The load and store methods load and store properties in a simple
line-oriented format specified below. This format uses the ISO 8859-1
character encoding. Characters that cannot be directly represented in this
encoding can be written using Unicode escapes ; only a single
hi,
i just noticed that catalina.out contains informations from different web
apps hosted in the same site, is there a way for me to specify a log file
for my tapestry 5 app only? thanks.
Angelo
--
View this message in context:
You can write an org.apache.tapestry5.FieldValidator and bind it to your
upload component with the validate parameter.
Uli
Am Di, 8.07.2008, 11:02, schrieb Peter Stavrinides:
Hi
I wish to limit the types of files that are handled by the upload
component (i.e: only excel and pdf files), but I
Found the solution:
Use the Suggest component instead.
http://tapestry.apache.org/tapestry4.1/components/scriptaculous/suggest.html
The Autocompleter has issues anyway:
http://issues.apache.org/jira/browse/TAPESTRY-1244
Andy Pahne schrieb:
I am trying to implement a form that uses the
Or you could just use the regexp validator and filter on file names. See
http://tapestry.apache.org/tapestry5/tutorial1/forms.html for an example
how to use it.
Uli
Am Di, 8.07.2008, 11:11, schrieb Ulrich Stärk:
You can write an org.apache.tapestry5.FieldValidator and bind it to your
upload
hi,
the Form component was changed some time ago to
use the flash persistence strategy for the ValidationTracker
from the code:
@Persist(PersistenceConstants.FLASH)
private ValidationTracker defaultTracker;
g,
kris
Vjeran Marcinko [EMAIL PROTECTED]
07.07.2008 21:15
Bitte antworten
Oh, I didn't know that since I've seen some discussions before that it was
session.
Nevertheless, clearing of the input values prior to success event still
poses slight problem IMO.
I am not fond of persisting some entity objects between requests just to be
able to see those input values
hi,
this is how i do it... one of many possible ways :)
i let tapestry populate a DTO bean that is sent during the validate
event through a facade (IOC service) to my businesslayer. there
the DTO is then mapped to my BOs. (as in the theory :)
because i don't want to write these stupid DTO- BO
Ah, sorry, it seems I was halfly asleep when I answered. I completely
misread your question. (And sure you are right about the identifier part.)
José Paumard schrieb:
Thank you for your answer Tobias, but it wont work, because a
component ID has to be a valid Java identifier.
José
Tobias
The load and store methods load and store properties in a simple line-oriented
format specified below. This format uses the ISO 8859-1 character encoding.
Characters that cannot be directly represented in this encoding can be written
using Unicode escapes ; only a single 'u' character is
Sorry but I just don't get it...
After you mentioned the first time that there are problems concerning
properties files in UTF-8 I also found this and similar articles on the sam
topic.
I would quietly accept this,
if my special characters were displayed wrong all over the application and
in
Hi,
Thanx for suggestion, but I really don't see that I have any issue with my
application design. The facade that you described here is just nice
*view-layer* convenience that prepares error messages in bottom layer for
web pages above. I emphasize this *view-layer facade* since
Hi Vjeran,
I completely agree with everything you just said.
Cheers,
Geoff
On 08/07/2008, at 11:20 PM, Vjeran Marcinko wrote:
Hi,
Thanx for suggestion, but I really don't see that I have any issue
with my application design. The facade that you described here is
just nice *view-layer*
Hi,
I hava a custom component which includes form. Part of my
CustomComponent.html looks like this:
...
input type=submit jwcid=@Submit listener=listener:onWriteRequest/
...
action is a parameter of my component and it is persistent in the page that
component is put on.
When listener
Sorry. It should look like this:
...
input type=submit jwcid=@Submit listener=listener:onWriteRequest/
...
Michał U
Michał U wrote:
Hi,
I hava a custom component which includes form. Part of my
CustomComponent.html looks like this:
...
span jwcid=@Insert
hi,
i'm newbie in tapestry. can we do something like grid.refresh()
(example) with the parameter inplace=true?
i noticed that it will run setupRender, setupDataSource,
getAvailableRows.. when I click on paging 2 in the grid ( because
after i click on the page2
and click back to the page1.
I'm very sure the property files that work are not utf-8 encoded
but iso-8895-1 encoded.
You can use ÄÖÜß and so on with no problem in property files
(we do it), just be very sure they are iso-8895-1 encoded.
If you use Eclipse, right click on the file, open Properties
and look at the Text
I get nice ajax validations on fields when using the @Validate-annotation
This isn't ajax validation, it's javascript validation which means there is
no trip to the server. Look at the source for your page you'll see the
validation registered in a script block at the end.
If you want
Hello all,
I'm new to Tapestry 5, and I'm having some problems:
In T4, the Shell component creates the outer layout. When I insert a
shell component in my pages, it ignores the page htmlhead etc and only
renderizes
the body, and renderizes the shell htmlhead.
On T5, with the t:layout, it
perhaps I should have mentioned that the code for checking if the
user-instance exists or not isn't here yet, but it isn't really relevant for
the problem. Thanks.
Britske wrote:
I want to strip JsessionId from the url (for browsers who dont support
cookies) for SEO purposes.
btw:
For future reference, here is the fix. I found it by looking at the
source for BeanModelSourceImpl.java:
BeanModel toReturn = _beanModelSource.create( MyClass.class, false,
_componentResources );
toReturn.exclude( (String[])toReturn.getPropertyNames()
.toArray( new
Hi,
I encounter this warning quite often, it usually happens when I updated a
row using mysql command line, then quit, after that I either update or
append some rows using T5-hibernate, any idea why ? Thanks.
Angelo
[WARN] ThreadPoolAsynchronousRunner
[EMAIL PROTECTED] --
APPARENT DEADLOCK!!!
22 matches
Mail list logo