Thanks Barry, the squeezer now works, but now I am having problem passing
the object to and from component on the page. Becouse the error is so weird,
I conclude something is wrong with component parametrs not being properly
handled. It works without the component. Page includes component
ok. the only other way for me to obtain a users selection would a
radio button. might try that.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Most of the time a checkbox - by definition - is more of a boolean operation
than value...But far be it from me to argue with semantics that do work..
If you want to just get past the problem and move on you can always call
IRequestCycle.getParameterValues("thenameyou gaveallofyourcheckboxes");
just to clarify again, i want to gather the underlying value of each
checkbox and not its label.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ok i will try again.
i have a bunch of options which the user can select from. they are all
checkboxes (approx say 25). based on this user selection i display
corresponding information on the next page.
now first thing,
1. how should i group these checkboxes, individually, within a span or
somet
Hi Peter.
Your explanation is rather vague, but if you want to treat the checkboxes
as a group, you might want to look at the contrib MultiplePropertySelection:
http://tapestry.apache.org/tapestry3/doc/api/org/apache/tapestry/contrib/form/MultiplePropertySelection.html
Note that all the html doc
may be i should put everything within a span and then pass on values
of checked checkboxes. but how do i group them together. if they were
radio buttons i would have selected RadioGroup.
any help guys.
-
To unsubscribe, e-mail:
i can pass a boolean fine. but how do i pass on the value of the
checkbox on a submit.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
its good for a start. how come i couldnt find it. but thanks anyways.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Does this help?
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Checkbox.html
On 9/7/06, Peter Dawn <[EMAIL PROTECTED]> wrote:
guys,
i am trying to implement a big form within my web app. in the form the
user is able to select through checkboxes what information they want
viewed.
guys,
i am trying to implement a big form within my web app. in the form the
user is able to select through checkboxes what information they want
viewed. now each checkbox has a corresponding value associated with
it.
now when the user clicks on the submit button, i want to pass on the
values of
Right... that's been working well for us. I have a request listener
method in a POJO:
import org.apache.log4j.MDC;
public class EventListener implements ServletRequestListener // among
others
{
public void requestInitialized(ServletRequestEvent sre) {
HttpServletRequest req = (Ht
Chapter 8 of the book
Tapestry in Action discussed (also relevant to Tap4) a
way of submitting an 'external' form to a Tapetsry
page. (I think you can download the example source
code of the book for free from Manning's web site.)
Briefly, you set up a Tapestry page whose java class
extends Bas
Can tapestry accept a form submissions from another application(a logon page in
this case)?
e.g. input page is not a tapestry template or under its control. It must
redirect back.
Anyone have an example?
Matt
This message, including any attachments, is intended only for the recipient(s)
named
There ~will~ be more features like this soon, have been on the tail end of a
"rent paying" project release and haven't had time for anything else...
I'm not sure polling is the perfect answer (at least done this way.) You
might check out cometd.org as well. The dojo + jetty guys have been working
Malin Ljungh wrote:
This means I will have to check on the details page that the item to be
shown is indeed owned by the current user.
OK, I can do that, but is there maybe a better way to perform the link?
Hi Malin,
If you don't enforce the rule by checking on the server, no matter what
you
The HiveMind registry is stored as a context
parameter.
Please check out the
following post in the archive.
http://article.gmane.org/gmane.comp.java.tapestry.user/38716/match=shing
You can retrieve the
ApplicationStateManager
from the HiveMind registry,
Shing
--- [EMAIL PROTECTED] wrote:
>
I guess, you are speaking of the MDC (Mapped Diagnostic Context)
feature in log4j.
This is somehow a j.u.Map context that can be used in log statements.
You are the one responsible for correction populating the context map.
Regards,
Jérôme.
On 9/6/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
I
I know one of the logging packages has a feature that allows you to bind
logging output to a particular user associated with a particular servlet
session. I'd probably go that route. The syntax in the logger involved
something along the lines of "%u" I think.
On 9/6/06, Henri Dupre <[EMAIL PROTEC
Ohhh. . . .this is *so* close to what I need!
I have a stand-alone HttpSessionListener impl class in my Tap 4 project
that needs access to an ASO.
As a hivemodule noob, how can I get access to the
ApplicationStateManager like shown in Barry's awesome example below?
I *assume* I can't define my H
I'm writing an application where logged in users can create "items". User
can then list their items and by following a link (DirectLink) they will
reach the item details page where the selected item can be edited. This is a
typical scenario which I imagine occurs in many apps.
I have implemented
I'm experiencing some strange bugs and I can't figure out how our customers
browsing our website cause these problems.
How could I trace the actions people do on the website in order to be able
to reproduce them? (and also without killing the log files)
--
Henri Dupre
Actualis Center
Here is mine. Just add the state manager as a property and pull out
what you need.
public Object unsqueeze(DataSqueezer squeezer, String string) {
try {
Repository repository = (Repository)
stateManager.get("repository");
User user
Hi Nielsh,
You can use a special renderer on DirectLink, PageLink, ExternalLink and so
on..:
On template:
Link
Don't forget to use the @Body component, becouse of the generated javascript
See the documentation for more details about features and so on...
Mael Caldas
On
look at the popuplinkrenderer component.
On 9/6/06, Nilesh <[EMAIL PROTECTED]> wrote:
hi,
I need to add dynamic link to Tapestry Page, which should open in a pop-up
window. can any one please let me know how can i do this?
Thanks A lot
--
View this message in context:
http://www.nabble.com/D
hi,
I need to add dynamic link to Tapestry Page, which should open in a pop-up
window. can any one please let me know how can i do this?
Thanks A lot
--
View this message in context:
http://www.nabble.com/Dynamic-Link-tf2226663.html#a6170388
Sent from the Tapestry - User forum at Nabble.com.
Yay, it works, thanks. It really looks like there should be a more elegant
solution to this, but hey, it works.
Now I am facing a different thing, using AJAX requests I only want to
transfer deltas. For example if there are 11 rows on the screen and on the
next update there is a new one, I don't
Hi,
I want to pass objects between the pages so I am trying to write my custom
squeezer adaptor. In my hivemodule.xml I have an application ASO
In my unsqueeze method in my class which implements SqueezeAdaptor I need a
reference to initialized Manager ASO ob
28 matches
Mail list logo