Indeed. Much Thanks!
@Inject
private Messages messages;
// used for RDF objects
private String getLabel (String varName)
{
String key = varName + "-label";
if (messages.contains(key)) return messages.get(key);
return TapestryInternalUtils.toUserPresentable(varName);
I had these images references this way ** while
I should've had them referenced this way **
Thank you Geoff
*-*
*Muhammad Gelbana*
http://www.linkedin.com/in/mgelbana
On Mon, Jun 9, 2014 at 9:33 PM, Muhammad Gelbana
wrote:
> Sorry I couldn't reply earlier. This is the stat
Sorry I couldn't reply earlier. This is the statement at line 116:
(BTW, I created a new maven project using the quickstart archetype for
5.4-beta-10 and didn't modify anything in the code except that:
1. I commented an event handler in the *Index.java* file
2. Removed all the content in *In
Why don't you just adapt the code I've posted here?
@Inject
private Messages messages;
String componentId = ...;
String key = componentId + "-label";
if (messages.contains(key)) return messages.get(key);
return TapestryInternalUtils.toUserPresentable(componentId);
--
Thiago H. de Paula Figueire
Thanks, Thiago...but (how) can one use this in a page class?
Looks like the method defaultLabel is not static, nor does the
ComponentDefaultProviderImpl (an internal class) have a constructor, so cannot
do either
1. ComponentDefaultProvider.defaultLabel(Resource
side_question_what_would_t
Yes, asking on this list is fine. It's all Java. You can simply call the
setter:
setCredentialsMatcher(new
HashedCredentialsMatcher(Sha512Hash.ALGORITHM_NAME));
It makes the most sense to me to call it from the constructor of your
realm, but you can also call it from outside.
Kalle
On M
On Mon, 09 Jun 2014 05:50:33 -0300, Net Dawg
wrote:
Has anyone used org.apache.tapestry5.corelib.components.Label within
page class? I looked at the code for Lable and see method like
beginRender, afterRender...nothing obvious...
Label doesn't have any logic for defining the rendered la
Hi all,
There is a special way to configure zone property and events.
I actually declare one but doesnot do anything.
Here how I configured it.
Thanks in advance!
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
Hello,
I have a problem with Tapestry Security and I hope it is okay if I ask
the question over the tapestry mailing list.
My Problem is that I don't know how I can transform my working shiro.ini
to Tapestry Security.
I use Apache Shiro, allready for the desktop part of my application, but
I need
yes, nothing to hide here. :)
But your are right, I have to change the way this demo produce partial html
files to AngularJS.
In a real project those files have to be served by Apache.
2014-06-09 10:42 GMT+02:00 Lance Java :
> Oops. It's private... Please ignore ;)
> On 9 Jun 2014 09:31, "La
Has anyone used org.apache.tapestry5.corelib.components.Label within page
class? I looked at the code for Lable and see method like beginRender,
afterRender...nothing obvious...
Use Case:
I am trying to export the data and semantics of tapestry entity class ("model"
package) into semantic web
Oops. It's private... Please ignore ;)
On 9 Jun 2014 09:31, "Lance Java" wrote:
> FYI - This app seems to have a security hole. Index.java has an action
> which accepts a file path and serves a file from the classpath.
>
> I could use this to access .class files etc. Perhaps even your hibernate
FYI - This app seems to have a security hole. Index.java has an action
which accepts a file path and serves a file from the classpath.
I could use this to access .class files etc. Perhaps even your hibernate
cfg file with username password.
What's it doing at AppModule.java:116?
On 9 Jun 2014, at 5:09 pm, Muhammad Gelbana wrote:
> I'm trying to use a complicated bootstrap template that has numerous
> dependencies. So its possible that I'm missing one. I've put my asssets in
> META-INF/assets folders under my resources directory (
14 matches
Mail list logo