Hi! was reding about the JSF built in support in S2 (jsfstack) and was
wondering if that also includes facelets? i dont whant to use the shale. Or
could one build a facelets interceptor ontop the jsfstack ? because Facelets
is so dam good :)
Thanks!
/Rikard
--
View this message in context:
Hi All,
Is there any way to pass the argument value dynamically,
say,
field property=complianceGroupId depends=required
msg name=required key=errors.required/
arg position=0 name=required key=label.testGroup
resource=true
How do I perform string comparisons using the s:if tag? I'm trying to
compare a static value of the Action Class to a form value.
s:if test=resultsToDisplay == @[EMAIL PROTECTED]
Thanks,
Leon
Hi
I am using DispatchAction to do similar actions. As per the requirement i
have to use two different forms but similar actions. So added individual
methods in my action class for each type of form beans. This is my sample
config.xml
form-beans
form-bean name=SearchForm
Thanks, this will work. But I was not specific enough.
If there is a way to use the Validators for this task, that would be really
handy (if valid then do not display).
Am Dienstag, 20. März 2007 schrieb joey:
Just use condition tag to hide your fields,like this:
s:if
Hi,
if you want you can see http://formview.sourceforge.net/.
FormView can manage your case and other.
It works with Struts 1.x or without Struts.
Regards Angelo
2007/3/21, Piero Sartini [EMAIL PROTECTED]:
Thanks, this will work. But I was not specific enough.
If there is a way to use the
--- Angelo zerr [EMAIL PROTECTED] wrote:
if you want you can see
http://formview.sourceforge.net/.
FormView can manage your case and other.
It works with Struts 1.x or without Struts.
But not 2.0, which is what the question was?
d,
I have gotten the validator to work in may of my projects, but I am
stuck on this one and was wondering if someone can help.
I have a MessageResources.properties under WEB-INF/classes which
contains all the messages.
In my struts-config I have the following line
message-resources key=messages
make your message resource as the defautl one, dont put any key just add the
entry
message-resources parameter=MessageResources /
in struts-config and see.,
Thanks Regards,
Nuwan.
- Original Message -
From: Dilip Ladhani [EMAIL PROTECTED]
To: user@struts.apache.org
Sent:
--- [EMAIL PROTECTED] wrote:
Does S2 limitthe depth to which Action Domain
objects
can be populated?
Not as far as I know... I have three-deep fields that
work. I *may* (haven't checked in awhile) have
left-over null-creation configs, but I don't know if
they're (still?) necessary or not.
Thanks for the reply.
However, after doing that I get the error
Unhandled exception thrown during validation: No message resources
found for bundle: messages
java.lang.NullPointerException: No message resources found for bundle: messages
Also, on various jsps, I would have to, I would have
The point of ModelDriven is that we don't have to refer to the
parent or model property. We can just refer to the property
flat-out, as if it were a property of the Action class.
In this case, it might be that the reference should be to
child.property, rather than parent.child.property, since
On 3/21/07, Dilip Ladhani [EMAIL PROTECTED] wrote:
I have gotten the validator to work in may of my projects, but I am
stuck on this one and was wondering if someone can help.
I have a MessageResources.properties under WEB-INF/classes which
contains all the messages.
In my struts-config I have
On 3/21/07, Dilip Ladhani [EMAIL PROTECTED] wrote:
Thanks for the reply.
However, after doing that I get the error
Unhandled exception thrown during validation: No message resources
found for bundle: messages
java.lang.NullPointerException: No message resources found for bundle: messages
Thanks, I figured it out. I made sure this was by default bundle.
On 3/21/07, Niall Pemberton [EMAIL PROTECTED] wrote:
On 3/21/07, Dilip Ladhani [EMAIL PROTECTED] wrote:
I have gotten the validator to work in may of my projects, but I am
stuck on this one and was wondering if someone can
Hi all,
Its is possible to use ajax tags into a freemarker page? It's not working
for me..
The same code works fine in a jsp result type... (with s:url sintax..)
@s.head theme=ajax debug=true /
...
@s.url id=ajaxMenu value=getTreeMenu.action?decorate=false /
@s.div theme=ajax
Hi all,
I guess this is partially off-topic, but I've been asked to start
looking at improving the performance of our application, and wanted to
start reading up on things I should be looking for, techniques to
improve performance, and so on.
Our application has a pretty standard stack of
Chris,
I think before going for performance tuning you would have to decide on two
things- A Load Generator and a Performance Profiler. Then you generate load and
profile the application to find out exactly which layer\section of code\network
needs to be tuned\upgraded. Then you focus on tuning
In my case, I'm retrieving a specific data object from a persistent store
and acting on it. However, the only reason I need the list of child nodes
is for the s:tree menu, not in other places where I'll use that object, so
I'm retrieving the children separately.
Then again, even using this
I'm trying to return a stream of binary data (like the image or .zip example
on http://www.planetstruts.org/struts2-showcase/filedownload/index.jsp) from
a Struts 2 action class, but I'm not sure how to configure my application to
get Struts to write the data directly to the response without
Good recommendation, thank you. We are proceeding on that front as well,
as I should have mentioned. I think the plan is to use Optimize-It to do
the profiling, though I've been trying out the TPTP modules for Eclipse
as well and some other possibilities have also been floated. We've also
got some
After looking in the *source code* of the Struts showcase, I got the idea to
declare an action with a return type of stream and use a method like
public InputStream retrieveImage() throws Exception {
return ServletActionContext.getServletContext
().getResourceAsStream(images/403.jpg);
}
What is the advantage of declaring method abstract in a intreface ?
for example
difference between
Intreface Test
{
public void test();
}
and
Intreface Test
{
public abstract void test();
}
Thanks Regards
Sairam
Hi,
There is no difference.
All methods of an interface are abstract and public by default.
So, you could even type:
interface Test {
void test();
}
and it will have the same exact effect as your examples.
Tamas
On 3/22/07, temp temp [EMAIL PROTECTED] wrote:
What is the advantage of
One I like is Pro Java EE 5 Performance Management and Optimization,
by Steven Haines. Note that Steven Haines is associated with Quest
Software and Jprobe (and related products). Although the book uses some
pictures from those products, it is not in any way a veiled ad for
those products. In
All methods in an interface are implicitly abstract. If you declare them
abstract, you're just making it verbose. Some people don't even put
public in interface methods since all interface methods are implicitly
public too.
Paul
temp temp wrote:
What is the advantage of declaring method
26 matches
Mail list logo